Skip to content

Instantly share code, notes, and snippets.

@timothy
Last active March 1, 2017 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timothy/5b7678f32e24e97fe26394fe6da98fe1 to your computer and use it in GitHub Desktop.
Save timothy/5b7678f32e24e97fe26394fe6da98fe1 to your computer and use it in GitHub Desktop.
Creates new temp/dev Chrome session with security disabled
##This example is for Windows OS.
1. Create chrome shortcut.
2. Go to shortcut properties and add the below to the end of the shortcut target.
3. add as many other flags to the end as you need. i.e. --disable-web-security
--args --user-data-dir="/tmp/chrome_dev_session" --disable-web-security --ignore-certificate-errors --allow-running-insecure-content
or enter... to cmd...
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --args --user-data-dir="/tmp/chrome_dev_session" --disable-web-security --ignore-certificate-errors --allow-running-insecure-content
"Put the file location of chrome.exe for your system in the quotes..." --args --user-data-dir="/tmp/chrome_dev_session" --disable-web-security --ignore-certificate-errors --allow-running-insecure-content
##For Linux run the below in the terminal
chromium-browser --args --user-data-dir="/tmp/chrome_dev_session" --disable-web-security --ignore-certificate-errors --allow-running-insecure-content
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment