aboutsummaryrefslogtreecommitdiffstats
path: root/.osx
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2012-07-28 16:40:31 +0200
committerMathias Bynens <mathias@qiwi.be>2012-07-28 16:40:31 +0200
commit93bb03921b057499caffd1d4fed78e66d56a131e (patch)
treeebb9c2b46f98e6b044549eee651af4f8bfa2072e /.osx
parent772506ca2cbc9b78d46c8ab5f5a353d3eff41c49 (diff)
downloaddotfiles-93bb03921b057499caffd1d4fed78e66d56a131e.tar.gz
dotfiles-93bb03921b057499caffd1d4fed78e66d56a131e.tar.bz2
dotfiles-93bb03921b057499caffd1d4fed78e66d56a131e.zip
.osx: Enable the Develop Menu and the Web Inspector in Safari
Diffstat (limited to '.osx')
-rwxr-xr-x.osx5
1 files changed, 5 insertions, 0 deletions
diff --git a/.osx b/.osx
index 90173b6..12436a3 100755
--- a/.osx
+++ b/.osx
@@ -285,6 +285,11 @@ defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false
# Remove useless icons from Safari’s bookmarks bar
defaults write com.apple.Safari ProxiesInBookmarksBar "()"
+# Enable the Develop menu and the Web Inspector in Safari
+defaults write com.apple.Safari IncludeDevelopMenu -bool true
+defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true
+defaults write com.apple.Safari "com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled" -bool true
+
# Add a context menu item for showing the Web Inspector in web views
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true