Hack Safari to open links in new tabs, not new windows

Safari (by default) will open certain links (e.g. target=”_blank”) in a new browser window instead of a new tab even if you have your preferences set no too. Fortunately, there is a hidden preference you can set to force Safari to behave.

If you run this command in Terminal /Applications/Utilities/Terminal.app

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

to disable this afterwards, change the true on the end to false.

I have tested this on Safari Mac 2, 3 and 4 Beta.

This entry was posted in apple, Technology and tagged , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">