Scott Whittaker

Software engineer

Day job React | side projects Svelte

Chrome Disable Web Security

Launching Chrome and Chrome Canary from the command line with web security disabled on OSX. Alias them in your .bash_profile and never worry about them again…

# chrome
# ------------------------------------------------------
alias chrome="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome --disable-web-security"
alias canary="open -a /Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary --args --disable-web-security --user-data-dir"