I want to have a new Chrome window with same origin policy (CORS) disabled for development, while keeping the existing one open for browsing. I already have tried the CORS plugin but it does not work for local files.

Apparently, this can be done on Windows. Can it be done on OSX (10.8) ?

nohup /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security 2>&1 &

nohup lets you quit Terminal without killing the process.
Arguments are added as normal before the 2>… redirection.

Alternatively, you can try:

open /Applications/Google\ Chrome.app --args --disable-web-security
  • Opened a new window but CORS was still enabled (argument was not in effect)... – user3648895 Sep 18 '14 at 22:33
  • @user Edited answer—try that? – grg Sep 19 '14 at 14:38
  • No luck, just makes the last viewed chrome window focused... – user3648895 Sep 20 '14 at 21:34
  • any updates guys? – Nikos Jun 19 '20 at 19:21

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .