Open Chrome in dev mode


/ Published in: Bash
Save to your folder(s)

this is not for daily use, but for testing cross-domain AJAX .


Copy this code and paste it in your HTML
  1. # Mac
  2. open /Applications/Google\ Chrome.app --args --disable-web-security
  3.  
  4. #Nix
  5. chromium-browser --disable-web-security
  6.  
  7. #Win
  8. chrome.exe --disable-web-security

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.