Last active
February 22, 2018 23:03
-
-
Save brianmriley/6dd64b63d41b727adbb0 to your computer and use it in GitHub Desktop.
Adds an alias to your bash profile to launch chrome in "developers mode", aka less secure. This allows you to use some high-security, and bleeding edge JavaScript like `subtle.crypto` in HTTP instead of HTTPS in localhost.
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
####################### | |
# Chrome | |
alias chrome="open /Applications/Google\ Chrome.app/" | |
alias chromedev="open /Applications/Google\ Chrome.app/ --args --ignore-certificate-errors --allow-running-insecure-content --reduce-security-for-testing --disable-web-security --unsafely-treat-insecure-origin-as-secure=http://local-dev.siriusxm.com:8890 --user-data-dir=~/Library/Application Support/Google/Chrome/Default" | |
####################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment