Safari

From Indie IT Wiki
Jump to: navigation, search

The following are applicable to Safari running on Apple OS X.

HOWTO: DISABLE:

DNS Prefetching

If you find webpages are either loading slowly or corrupting try altering DNS prefetching to see if it makes a difference.

defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean false

To revert:

defaults write com.apple.safari WebKitDNSPrefetchingEnabled -boolean true

Tool Tips

defaults write com.apple.Safari WebKitShowsURLsInToolTips 0

HOWTO: ENABLE:

Debug Menu

defaults write com.apple.Safari IncludeDebugMenu 1

To revert the behaviour run again changing 1 to 0

Open All Links In New Tabs

In a terminal:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool TRUE

To revert the behaviour run again changing YES to NO

Show Status Bar

defaults write com.apple.Safari ShowStatusBar -boolean true

To revert:

defaults write com.apple.Safari ShowStatusBar -boolean false

HOWTO: MODIFY:

History Limits

The history limits in Safari can either be set by the number of items or by time:

defaults write com.apple.Safari WebKitHistoryItemLimit 2000

or

defaults write com.apple.Safari WebKitHistoryAgeInDaysLimit 30

INFO:

Emptying Cache On OS X

See this article.