Created
August 19, 2019 10:30
-
-
Save BRELID/81bdf39be1fb0fee8f7d95c01796b442 to your computer and use it in GitHub Desktop.
Run Chrome browser without CORS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
yeah it not working now
Use this: "[PATH_TO_CHROME]\chrome.exe" --disable-web-security --user-data-dir="C:/ChromeDevSession"
It works for me.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is not working with the last Chrome version