Safari

Safari is the default Mac OS X browser, based on WebKit.

Resources:

Date Link Notes
Sep’11 ClickToPlugin An alternative for Safari 5
Jan’09 ClickToFlash A plugin to disable Flash content on a page unless it’s clicked upon
Older Glims a great plugin that adds a full-screen mode, improved search and other niceties.
ForgetMeNot a SIMBL plugin that saves open URLs when you quit Safari and restores them when you re-launch it.
Blocking Ads Using nothing but CSS. My technique of choice for years now.
Pimp My Safari plugins and add-ons

Speeding it up

  • Disable Top Sites (and set the home page to about:blank)
  • Disable RSS polling (the source of some irritating little pauses)
  • Disable “Warn when visiting a fraudulent website” (i.e., no checks for every single URL)
  • Disable Flash by using an extension (see above) or removing the plugin in it’s entirety.

Enabling the Debug Menu:

On Mac OS X open a terminal and enter:

defaults write com.apple.Safari IncludeDebugMenu 1

On Windows, edit C:\Documents and Settings\<em>username</em>\Application Data\Apple Computer\Safari\Preferences.plist and insert a new preference:

<key>IncludeDebugMenu</key><true/>

…or start Safari.exe with /enableDebugMenu or /disableDebugMenu (it updates the.plist, so you only need to do it once).

Safari 4 Hidden Preferences

Copied from here for future reference:

# http://swedishcampground.com/safari-4-hidden-preferences

Having a quick poke through the new Safari binary yields the following strings:
	
	$ strings /Applications/Safari.app/Contents/MacOS/Safari | grep DebugSafari4
	DebugSafari4TabBarIsOnTop
	DebugSafari4IncludeToolbarRedesign
	DebugSafari4IncludeFancyURLCompletionList
	DebugSafari4IncludeGoogleSuggest
	DebugSafari4LoadProgressStyle
	DebugSafari4IncludeFlowViewInBookmarksView
	DebugSafari4TopSitesZoomToPageAnimationDimsSnapshot
	DebugSafari4IncludeTopSites

*NB: Need to restart Safari after changing any of these.*

## DebugSafari4TabBarIsOnTop

This moves the tab bar back where you expect it to be:

	$ defaults write com.apple.Safari DebugSafari4TabBarIsOnTop -bool NO

## DebugSafari4IncludeToolbarRedesign and DebugSafari4LoadProgressStyle

When both set to NO it restores the blue loading bar behind the URL.

	$ defaults write com.apple.Safari DebugSafari4IncludeToolbarRedesign -bool NO
	$ defaults write com.apple.Safari DebugSafari4LoadProgressStyle -bool NO

## DebugSafari4IncludeFancyURLCompletionList

Switches off the new URL autocomplete menu and goes back to the original one.

	$ defaults write com.apple.Safari DebugSafari4IncludeFancyURLCompletionList -bool NO

## DebugSafari4IncludeGoogleSuggest

Turns off the new Google suggest menu.

	$ defaults write com.apple.Safari DebugSafari4IncludeGoogleSuggest -bool NO

## DebugSafari4IncludeFlowViewInBookmarksView

Unknown.

## DebugSafari4TopSitesZoomToPageAnimationDimsSnapshot

Unknown.

## DebugSafari4IncludeTopSites

Disables Top Sites feature completely.

	$ defaults write com.apple.Safari DebugSafari4IncludeTopSites -bool NO

## Undoing changes

Just run the defaults command with the `delete` flag for the appropriate key you wish to delete.

	$ defaults delete com.apple.Safari <key>

See Also

About the OS X Lion v10.7.3 UpdatehtmlAreaClickToPlugin & ClickToFlash Safari extensionsHow to Switch to the Mac
SafariApple, Is It Time To Shut Safari Down?gleeBoxFive Updates
Serial NumbersGoogle Reader, Amazingly Better3 million and then someMac OS 10.6.4 and Safari 5 Coming Next Week
Google Chrome for Mac: Ready, beta, now stable!HTML5 presentationAnnouncing WebKit2After Long Wait, Camino 2.0 Finally Hits The Streets
The Hierarchy Of Digital DistractionsOnlifeCitrix XenApp Online Plug-in for Mac - Version 11.000JavaScript InfoVis Toolkit Version 1.1.3
Google Reader supportAdSweep - An ad blocker for your favorite web browser (like Adblock)XUL Extensions and Add-OnsSafari 4 Beta
Building CoverFlow for Safari on iPhoneMobile SafariOn Apple, Netbooks, and My Line of WorkLess is More
Tale of a NetbookGoogle Chrome, Google's Browser ProjectThe Early Days Of Palm 2.0Five things that are still broken in browsers, ten years later
del.icio.usFoxes on fire, and other entertainmentSquirrelFishInquisitor
I, for one, welcome our new diapered overlordsURL TriggerSafari 3.1Musings on Photo Galleries
Entourage 2008 ReviewAn update on my RSS setupTabulateFluid - Free Site Specific Browser for Mac OS X Leopard
Outsourcing My StuffA Month Of Seeing SpotsDonate to CaminoHear The Leopard Spots Roar
JavaScript Tune UpsThe Python Grimoire, DustedRadar Bugs I'd Like To SeeA Bank That "Gets" Online
Ad Blocking via userContent.cssCSSForm Above SubstanceThree in a Row
Dragging this site ever closer to XHTMLOnline Game: BrickShooteriUI Music DemoiMusings - the iPhone, Standards, and jQuery
iPhone - From Announcement To LaunchiPhoneyBlinkPost-Keynote Notes
The Trojan Aqua HorseFlashThe Cat With Nine LivesWiki Editing, Mind Maps and Usenet
Shiny ToysFlash 9 StupidityGeek ModeThe New Portuguese ID Card - and Macs
Ah, The Wonderful InternetThe Grill is OpenPulling a MarioiPhone Updates
The iPhone, At Long LastThe StealthBookSunnyGrowl Notifications On Your Ubuntu Desktop
Taming my RSS feeds, the Bayesian wayPicLensTemporarily Out of OrderGoogle Apps For Your Domain, and Spam
The Biz, ReloadedNew Blackberry software for MacMailArchive.pyGoogle/Reader - Nearly There, Nearly There...
Tag, You're ItBacklogCasual DebunkingMac OS X
Mail Hiatus.Mac's Missed OpportunitiesYojimbo on the CheapLagging
Apple Jam RecipesThe MacBook Has Landed.The Razor-Thin Mobile ComputerGoogle Maps Goes European
Easter BreakThe Citrix Dashboard WidgetPlaceless GTDIceRocket Idiocy Alert
Corporate Thought Of The DayBoostedThe Borg...Do Not Disturb
Post-Dinner ReadingiSyncMinor Photography UpdatePressure Cooker
WindowsMorning News BreakMacBooks and Other Happenings - The SequelMacBooks and Other Happenings
Miscellaneous HacktivityGoogle/MapsQuills and Web 2.0Steady
10.4.3 Odds and EndsPost-10.4.3Tick TockPatently Absurd
PSPWareStuff to ReadCamino, AgainCould We Have Real Collaboration, Please?
And Now, The Real News: iPod nanoMid-Week PauseBack to WorkSummer Cleaning
GeotaggingTake TwoIs Mac OS X Becoming Crufty?Random News
RSSReal NewsLink ModeFive Almost-Killer Applications in Tablet Form
A Few Other Tiger NotesSaturday Night CodingSaturday Morning ReadingLink Mode, Take 24 and a Half
Mail.app 0.2Link ModeMonday ModeTaming Tiger
The Pint-Sized TigerThe Markup Thing, Rails, and Other Musings10.3.9 - Safari in Uncharted LandsOuch...
Catching UpP2P.icio.usThree(ish) ThingsTerminal.app is not your grandfather's VT100 terminal
Things That Go Dump In The NightStill Catching UpNews, in a NutshellTen Open Source Projects Worth Keeping Track Of
PowerPoint MondayWho Needs Flickr, Anyway?Miscellaneous CodingComing up this week
Kubrick Phase TwoDowserLink DumpThat Bird, by Thunder!
Arcane Uses of JavaScriptAcidSearchNLSU2 BootstrappingThe Widest Desktop On Earth
CliffhangingLinking SpreePithHelmetRandom Bouts of Geekness
Coralizing Your SiteBigger, Better, FasterReturn Of The LinksRendezvous
Hardware/PowerMateGmailThe Mouse, Done RightWhy Netcabo Sucks
No Time, Some LinksSkepticismMonday RushSaft
Paradigm ShiftMerry SneezeHOWTO: Enable Rendezvous on Fedora LinuxUnobtrusive Tech
Dabbling in FlashDancing With RendezvousCutting CornersPanther in the Office
The Panther Needs a Manicure?Firebird 0.7.1 for MacBrilliant Hack Of The DayPalm Launches
Mac OS X 10.2.8Tricks for Surviving DNS HellMicrosoft vs Eolas UpdatePhoto Log Revamped
New Photo AlbumSo You Think Mobile Blogging is Cool?Zen By Any Other NameThe Box Model Hack, CSS, and my Vanishing Tolerance For IE Bugs
WWDC NewsGeeks In The MistChanging FormatApple and Toast Patches
New Apple JavaWork In ProgressWorking WeekendNotes on SteveJobs' Keynote