Skip to content

Instantly share code, notes, and snippets.

@chrisl8888
Last active June 27, 2017 00:24
Show Gist options
  • Save chrisl8888/f941afb71942fcd8f75eda867bd4c271 to your computer and use it in GitHub Desktop.
Save chrisl8888/f941afb71942fcd8f75eda867bd4c271 to your computer and use it in GitHub Desktop.
open chrome and disable web security
#!/usr/bin
open -a Google\ Chrome --args --disable-web-security --user-data-dir
@chrisl8888
Copy link
Author

chrisl8888 commented Jun 8, 2016

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir="/tmp/chrome_dev_session" --disable-web-security

or

alias chrome="open /Applications/Google\ Chrome.app/ --args --disable-web-security"

http://stackoverflow.com/questions/6200756/run-mac-chrome-with-command-line-arguments-as-a-background-process

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment