How to Open Links in New Tabs by Default in Safari 5

Written by:  • Edited by: Rebecca Scudder
Updated Sep 23, 2010
• Related Guides: Mac Os X | Safari | Windows

If you are confused about why Safari always opens links in separate windows instead of tabs, this article will show you how to customize Safari 5 and create a better browsing experience.

For a long time, I have used Mozilla Firefox as my main Mac web browser. With the introduction of Safari 5, I wanted to switch over. Safari is a lightning-fast browser that integrates seamlessly into Mac OS X. It also has a cool new feature called Top Sites, in which the page automatically keeps track of the sites you visit most and keeps snapshots of them for easy and quick access.

There was just one problem. When I started using Safari 5, I was irritated by the fact that every time I clicked on an external link, it was opened in a new window instead of a new tab. I went into preferences and was dismayed to find that there was no option to have Safari open links in tabs instead of new windows.

So, the online search of computer forums began - I knew there just had to be a way to get Safari to do this simple task. How could Apple have overlooked such a basic option - very uncharacteristic of them. Yes, I could hold down command while clicking on the link, but that’s a little too much trouble for me.

The following instructions will help configure Safari to open links in tabs instead of new windows.

  1. Open Terminal under Utilities in the Application folder, or by typing Terminal into Spotlight.
  2. Enter the following command: defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
  3. Restart Safari

If you ever need to switch this setting back to the way it originally was, simply change the true in this command to false.

With this simple terminal hack, I am now enjoying Safari as my default web browser. It's a very fast browser, and with this configuration, your desktop will not be cluttered with endless windows popping up upon each click of a new link. While there are still some websites that this hack doesn't work for, it will open most links in tabs instead of new windows.


Comments

Showing all 2 comments
 
Mike Piero Jul 30, 2009 12:13 AM
RE: Where to find terminal
There are two easy ways to open Terminal...You can go into Applications/Utilities or you can just type "terminal" into the Spotlight search. Both of these avenues will bring you to your final destination: the Terminal command prompt window.

Hope this helps...

Mike Piero
Deep Jul 29, 2009 5:18 PM
Where to find terminal
please i don't understand where this terminal is situated i what application folder???
 
blog comments powered by Disqus
Email to a friend