简体   繁体   中英

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM