chrome 禁止跨域策略(CORS policy)
2021-11-26 本文已影响0人
Talentisan
Linux:
google-chrome --disable-web-security
Windows:
1) Right click on desktop, add new shortcut
2) Add the target as "[PATH_TO_CHROME]\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp
ex on Windows 10 :
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp
3) Click OK.
OSX:
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security