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
The following are the steps to achieve chrome web browser to be working in disabled security mode so that it do not enforces same origin policy on windows: Go to the “Desktop” select the “Google chrome” icon and “right click” on it, then go to its “Properties” as shown in image below:-.
For disabling same origin policy or allowing cross origin resources sharing in IE and Edge browser on windows, go with steps as follows: Open Internet Explorer browser. Go to: tools -> Internet Options -> Security.
For Chrome Browser on Windows. The following are the steps to achieve chrome web browser to be working in disabled security mode so that it do not enforces same origin policy on windows: Go to the “Desktop” select the “Google chrome” icon and “right click” on it, then go to its “Properties” as shown in image below:-.
Open command prompt and run following command. Open terminal and run Chrome in command line with arguments. Run following command in terminal. Here is a helper script written in Python to launch Chrome with the Same-Origin policy disabled. The script are tested under Python3.6.
For mac OS, the steps are as follows:
1 - Close down chrome. All instances of chrome must be closed first.
2 - Open Terminal
3 - Run the following command:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --disable-web-security --user-data-dir
I used this Chrome plugin instead and it wokrs :) https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With