Skip to content

Instantly share code, notes, and snippets.

@jet10000
Forked from BRELID/chrome-without-cors.txt
Created February 13, 2021 04:45
Show Gist options
  • Save jet10000/90ec3a573c6d97d537ab8eeeaa99e01c to your computer and use it in GitHub Desktop.
Save jet10000/90ec3a573c6d97d537ab8eeeaa99e01c to your computer and use it in GitHub Desktop.
Run Chrome browser without CORS
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment