diff options
| author | Zhineng Li <[email protected]> | 2026-01-08 10:27:47 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-01-08 10:27:47 +0800 |
| commit | 1c3d88c05886681e74c2a8fc861d6167d25a6135 (patch) | |
| tree | b4b03bd2cddcbc957218b45d5e55e82070b9181b | |
| parent | c00a341f26d268589943c0de0be7aa74a1969167 (diff) | |
configure Safari
| -rwxr-xr-x | .macos | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -151,6 +151,30 @@ defaults write com.apple.Siri VoiceTriggerUserEnabled -bool FALSE # Safari ######################################################################### +# Do not close tabs automatically +defaults write com.apple.Safari CloseTabsAutomatically -int 0 + +# Remove history items manually +defaults write com.apple.Safari HistoryAgeInDaysLimit -int 365000 + +# Command-click opens a new tab +defaults write com.apple.Safari CommandClickMakesTabs -bool TRUE + +# Use Command-1 through Command-9 to switch tabs +defaults write com.apple.Safari Command1Through9SwitchesTabs -bool TRUE + +# Search with DuckDuckGo +defaults write com.apple.Safari SearchProviderShortName DuckDuckGo + +# Private Browsing uses the same search engine as normal browsing +defaults write com.apple.Safari PrivateSearchEngineUsesNormalSearchEngineToggle -bool TRUE + +# Warn before connecting to a website over HTTP +defaults write com.apple.Safari UseHTTPSOnly -bool TRUE + +# Disable ad measurement +defaults write com.apple.Safari WebKitPreferences.privateClickMeasurementEnabled -bool FALSE + # Show full website address defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool TRUE |
