Thursday, October 22, 2009

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

forras: osxdaily.com

ou 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