Safari is my browser of choice with Firefox 3 being a very close second. I found a great hack today for the Safari browser that really makes alot of sense and fixes one of the issues that I have a real problem with.

Safari was opening too many windows during my daily web usage. I would finish the day and find out that I had a bunch of windows open even though I had specifically told Safari to only open site in existing windows.

I did a bit of poking and found that even though you have the open links in a new tab checked off (as above) Some applications will over ride this and force a new window to spawn.

I found a great hack that will cure this for you VIA TUAW

This command changes the behaviour such that links that would ordinarily open in a new window now open in a new tab instead. Start by opening up Terminal (located in Applications/Utilities), and paste in the following line:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

Press return, and quit and reopen Safari. Now all links targeted for a new window will open in tabs instead. To change back to the normal settings, use the same command but with false at the end instead:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool false

Hope this helps you enjoy Safari more!

Cheers

Scott

If you enjoyed this post, make sure you subscribe to my RSS feed!

Categories: ConceptShare ~ ~ Trackback

Leave a Reply