Skip to content

Instantly share code, notes, and snippets.

@splorp
Created January 12, 2011 19:36
Show Gist options
  • Save splorp/776730 to your computer and use it in GitHub Desktop.
Save splorp/776730 to your computer and use it in GitHub Desktop.
Preferences to disable local storage in Safari
# To disable Safari’s annoying modal local database
# storage dialog, use this Terminal command:
defaults write com.apple.Safari WebKitDatabasesEnabledPreferenceKey -bool false
# To disable local storage altogether, use this command:
defaults write com.apple.Safari WebKitLocalStorageEnabledPreferenceKey -bool false
@splorp
Copy link
Author

splorp commented Jan 12, 2011

Here’s an example of what the modal dialog looks like in Safari when accessing the new version of Twitter.

A jaunty tip of the tuque to Jeff Johnson for informing me of these handy settings.

— Grant

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