Force Safari to open target links in new tab rather than window

Oct 21, 2009 - 3 Comments

You can force Safari to open target = “_blank” links into new tabs rather than new windows by opening the Terminal and typing the following command:

defaults write TargetedClicksCreateTabs -bool true

Then restart Safari and from here on anytime you click a link targeted as _blank it will open in a new tab.

You can reverse this behavior and go back to the default new windows instead by typing:

defaults write TargetedClicksCreateTabs -bool false

I think opening these links in a tab makes a lot of sense and I’m not sure why Safari defaults to new windows, or has this feature so hidden.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: David Mendez in How to, Mac OS X, Tips & Tricks


» Comments RSS Feed

  1. Murphy says:

    Nice one. You can also hold command when you click. If you have the status bar displayed at the bottom of Safari you’ll see it change to new tab when you hover with Command pressed.

  2. […] trick oczywiście nie jest mojego autorstwa, pochodzi z OS X Daily, ale postanowiłem go “przepisać” ze względu na to, że jest to bardzo przydatna […]

  3. […] Force Safari to open target links in new tab rather than window […]

Leave a Reply


Shop for Apple & Mac Deals on

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates