Search code examples
javascriptgoogle-chromecorssame-origin-policy

Chrome disable web security same origin policy no more working


After updating my chrome, I'm unable to disable web security using the --disable-web-security command. I've tried lot of options, but without success, including using the --user-data-dir flag.

This is the command I'm running:

start "" "c:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --user-data-dir="d:/_chrome_dev" --disable-web-security

I'm getting the following error:

You are using unsupported command --disable-web-security


Solution

  • I used this Chrome plugin instead and it wokrs :) https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi