admin管理员组

文章数量:1310325

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

This is the mand 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 mand --disable-web-security

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

This is the mand 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 mand --disable-web-security

Share Improve this question edited Aug 5, 2016 at 12:08 Blue 22.9k7 gold badges66 silver badges98 bronze badges asked Aug 5, 2016 at 10:11 Raiper34Raiper34 5372 gold badges7 silver badges20 bronze badges 7
  • Try start "" "c:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir – Blue Commented Aug 5, 2016 at 10:16
  • 1 Also, before you launch chrome, make sure there are no processes already running. Check task manager, and look for chrome.exe. Sometimes even when all the windows are closed, it still lingers in the systray for a bit longer. – Blue Commented Aug 5, 2016 at 10:17
  • Same... "You are using unsupported mand --disable-web-security" – Raiper34 Commented Aug 5, 2016 at 10:26
  • You said "Same". I didn't see any mention of an error "You are using unsupported mand". Can you edit your question and update it with the error you're receiving? – Blue Commented Aug 5, 2016 at 10:29
  • Does it show "Stability and security will suffer." after? – Blue Commented Aug 5, 2016 at 10:30
 |  Show 2 more ments

3 Answers 3

Reset to default 3

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 mand:

/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./webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi

1)You have to make sure there are no processes already running. Check task manager, and look for chrome.exe, if exist close it.

2) Then open with mand "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -disable-web-security -user-data-dir

本文标签: javascriptChrome disable web security same origin policy no more workingStack Overflow