-
-
Save matiascarranza/377167a3fb3cfd3613c692929288c19b to your computer and use it in GitHub Desktop.
Disable Web Security in Chrome Canary to make cross-domain XHR requests (local servers obvs).
This file contains 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
open -a Google\ Chrome\ Canary --args --disable-web-security | |
on its own does not work anymore. You need to use it with --user-data-dir: | |
open -a Google\ Chrome\ Canary --args --disable-web-security --user-data-dir=$HOME/profile-folder-name | |
http://stackoverflow.com/a/34680023/368691 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment