Chrome 49 plus --disable-web-security

I have solutions that are using --disable-web-security.

Finally I found solution. Now chrome just will accept it if you set --user-data-dir together. You will have different instances when you use it. Try it:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir="D:\chrome"

For linux

google-chrome  --user-data-dir=”/var/tmp/Chrome” --disable-web-security

I suggest a temp directory


Just for OS X user, this worked for me (on El Capitan): /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security --user-data-dir="<some-dir>"

Also works on Yosemite 10.10.5. Please note that --user-data-dir may no longer be left empty. You have to specify some dir.