Last active
June 27, 2017 00:24
-
-
Save chrisl8888/f941afb71942fcd8f75eda867bd4c271 to your computer and use it in GitHub Desktop.
open chrome and disable web security
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
#!/usr/bin | |
open -a Google\ Chrome --args --disable-web-security --user-data-dir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --user-data-dir="/tmp/chrome_dev_session" --disable-web-security
or
http://stackoverflow.com/questions/6200756/run-mac-chrome-with-command-line-arguments-as-a-background-process