Search

Top Posts

Comments

  • Imre: ….2048*1152
  • Imre: My (black) MacBook work with Samsung 2343BW 2040*1152 px res external display…
  • Fred: Works fine with my Google Chrome.
  • Dave M.: I’m sorry, but you expected TurboTax to support a “BETA” browser and were surprised that...
  • David: thanks! And Hey I wasn’t calling you a liar just that the image may have been a fake and i said that i...

Categories

Recent Posts


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

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 com.apple.Safari 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 com.apple.Safari 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.

Posted by: David Mendez

Share

Save big on Mac Deals from Amazon.com

Comments:

Comments: 3

Comment from Murphy
Time: October 21, 2009, 9:07 pm

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.

Pingback from Jak zmusić Safari do otwierania kart w nowych zakładkach | Sławomir Jasiński
Time: October 28, 2009, 2:59 am

[...] 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 [...]

Pingback from A Collection of 250+ Terminal Commands, Hacks, Tips and Tuts for Mac OS X
Time: November 11, 2009, 1:11 pm

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

Write a comment






October 21st, 2009