Skip to content

Instantly share code, notes, and snippets.

@cdeath
Last active July 27, 2022 02:45
Show Gist options
  • Save cdeath/77ddbf03610a58c2ec039731eabb71f5 to your computer and use it in GitHub Desktop.
Save cdeath/77ddbf03610a58c2ec039731eabb71f5 to your computer and use it in GitHub Desktop.
always open chrome in incognito

Force Incognito on Chromium based browsers

Chrome

defaults write com.google.Chrome IncognitoModeAvailability -integer 2
defaults delete com.google.Chrome IncognitoModeAvailability

Brave

defaults write com.brave.Browser IncognitoModeAvailability -integer 2
defaults delete com.brave.Browser IncognitoModeAvailability

you get the idea...

note: when enabled you won't be able to access browser settings

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