Skip to content

Instantly share code, notes, and snippets.

@olso
Last active January 11, 2018 13:36
Show Gist options
  • Save olso/a8fc81458db924413b92c167a18561a8 to your computer and use it in GitHub Desktop.
Save olso/a8fc81458db924413b92c167a18561a8 to your computer and use it in GitHub Desktop.
Launch Chrome with disabled web sec
open -n -a "Google Chrome" --args --disable-web-security --profile-directory="Profile 1"
@olso
Copy link
Author

olso commented Jan 11, 2018

Actually this works

Close profile which you want to open next time as last
Kill Chrome

open -a "Google Chrome" --args --user-data-dir="" --disable-web-security

It will launch the last closed profile with disabled web sec

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