Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Disable web security to make CORS request
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