Jordan Brough Stuff I found online.

 Subscribe

 Twitter

Posted
February 28, 2009
5:11 pm

In
Tech

Force Safari 4 to Open Links in a New Tab

Apple released Safari 4 Beta for both PC and Mac this week. When web sites uses the target=”_blank” attribute in a link (like this), Safari 4 will open that link in a new window. After a short browsing session you can find yourself buried under a pile of browser windows. Thanks to the power of tabbed browsers we can consolidate!

Open Terminal.app (Applications -> Utilities -> Terminal). Then enter the following:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

Terminal

Restart Safari. Now links using the target=”_blank” attribute will create a new tab in Safari.

Twitter / jordantbro

To revert this change, simply run the following command from the Terminal:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool false
blog comments powered by Disqus