Tip Details Add a Related Tip

Rate as: Positive Negative

Forcing new windows to open in tabs instead in Safari

Firefox gives you a preference so that when you click on a link that would normally open in a new window, it opens in a new tab instead. If you are using Safari, there is no such preference. You can end up with a lot of extra windows open as a result.

But Safari does have a hidden command line preference that lets you configure it so that links will open in new tabs instead of new windows. To set this up, do the following:

1 - Quit Safari.

2 - Open a Terminal window. If you don't normally using the Terminal application, you can find it in Applications -> Utilities.

3 - In the Terminal window, enter this command: defaults write com.apple.Safari TargetedClicksCreateTabs -bool true and then hit Enter.

You can then close the Terminal window and restart Safari. Now when you click on a link that would normally open in a new window, it will open in a new tab instead.

If you change your mind and you want the links to open in new windows again, just repeat the process but in the command in the terminal window change the true to false.
Rating: 100% positive, 2 total Votes
Categories: Safari browsers customization terminal
Added: on Jul 20, 2009 at 11:03 am
Added By: an anonymous user
Searches: window open safari terminal tab

Comments on this Tip

Add a Comment
There are no comments for this tip
Your Comment:
(how to format)
Rate This Tip:

Verify Humanity:
Sorry, we know it's annoying, but please enter the characters shown in the image to the left so that we know you're an actual person and not an evil spammer. Thanks.
       

Related Tips

Showing Safari 4 bookmarks without Cover Flow

66% positive, 3 comments - last added on Aug 14, 2009 at 7:15 am
– Tip added by an anonymous user on Mar 09, 2009 at 4:32 pm

Disable Safari warning when closing a window with a form

100% positive, 0 comments
– Tip added by an anonymous user on Dec 21, 2007 at 9:18 am

Set the Topsites page as your homepage in Safari 4

100% positive, 3 comments - last added on Jun 17, 2009 at 1:55 pm
– Tip added by an anonymous user on Mar 25, 2009 at 10:28 am

Change tab location in Safari 4

100% positive, 0 comments
– Tip added by an anonymous user on Feb 26, 2009 at 6:52 am

Set the history lifetime in Safari

no ratings, 0 comments
– Tip added by an anonymous user on Mar 07, 2009 at 2:49 pm

Have Safari open new windows in tabs

no ratings, 0 comments
– Tip added by an anonymous user on Feb 28, 2009 at 2:11 pm

Move the Stop and Refresh buttons in IE8

100% positive, 1 comment - last added on Apr 06, 2009 at 4:24 am
– Tip added by an anonymous user on Mar 23, 2009 at 8:13 am

Adding spacers to the Dock

100% positive, 2 comments - last added on Dec 05, 2008 at 7:56 am
– Tip added by an anonymous user on Oct 30, 2008 at 7:56 am

Safari private browsing is not private

Categories: Safari Privacy browsers Mac
100% positive, 0 comments
– Tip added by an anonymous user on Mar 06, 2009 at 7:33 am

Opening Firefox search results in the same tab

100% positive, 0 comments
– Tip added by an anonymous user on Oct 02, 2008 at 4:07 pm

Change the default domains in Firefox

100% positive, 0 comments
– Tip added by an anonymous user on Oct 01, 2008 at 1:34 pm

Disable page transitions in IE8

100% positive, 0 comments
– Tip added by an anonymous user on Oct 26, 2009 at 6:48 pm

Changing Firefox startup behavior

100% positive, 0 comments
– Tip added by an anonymous user on Jul 19, 2009 at 10:33 am

Turn on visual tab previews in Firefox 3.6

no ratings, 0 comments
– Tip added by an anonymous user on Nov 05, 2009 at 7:10 am

Changing the default download folder for Opera

no ratings, 0 comments
– Tip added by an anonymous user on Oct 09, 2009 at 6:15 pm

Get close icons in iTerm tabs

no ratings, 0 comments
– Tip added by an anonymous user on Sep 04, 2009 at 3:02 pm

Recovering Autoscroll in Firefox

no ratings, 0 comments
– Tip added by an anonymous user on Jun 05, 2009 at 7:59 am

Moving tabs in Safari 4

Categories: Safari browsers tabs
no ratings, 0 comments
– Tip added by an anonymous user on Feb 26, 2009 at 2:14 pm

Safari 4 beta now available

Categories: Safari beta Apple browsers
no ratings, 0 comments
– Tip added by an anonymous user on Feb 25, 2009 at 8:15 am

Safari search history

no ratings, 0 comments
– Tip added by an anonymous user on Oct 08, 2008 at 2:50 pm