2

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) ?

1 Answer 1

1
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
4
  • Opened a new window but CORS was still enabled (argument was not in effect)... Sep 18, 2014 at 22:33
  • @user Edited answer—try that?
    – grg
    Sep 19, 2014 at 14:38
  • No luck, just makes the last viewed chrome window focused... Sep 20, 2014 at 21:34
  • any updates guys?
    – Nikos
    Jun 19, 2020 at 19:21

You must log in to answer this question.

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