Skip to content

Instantly share code, notes, and snippets.

@matinrco
Created December 3, 2017 12:21
Show Gist options
  • Save matinrco/b9941ef8b892e28907dff788f59718ed to your computer and use it in GitHub Desktop.
Save matinrco/b9941ef8b892e28907dff788f59718ed to your computer and use it in GitHub Desktop.
Disable same origin policy on google chrome
Run chrome with these flags :
--disable-web-security --user-data-dir
* Windows
* In windows create google chrome shortcut somewhere & add these flags to the end of target field then relaunch it from this shortcut
* tested on chrome 62
* "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --user-data-dir
* Linux
* In linux it's Ez, just run it !
* not tested yet
* google-chrome --disable-web-security --user-data-dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment