Make Safari open targeted links in new tabs instead of new windows
One of the things I find most annoying when browsing the web is when a link opens a new window. It completely disrupts my workflow when a new window pops up, especially when it does so without warning.
If you’re using Firefox this isn’t such a big problem anymore since it will open targeted links in a new tab instead, which is much more manageable and less intrusive.
For Safari, however, there is no such setting to be found when you look through its preferences window. But the setting does exist (at least in the Mac OS X version), though you have to use Terminal.app to enable it:
- Quit Safari
- Open Terminal.app
- Enter
defaults write com.apple.Safari TargetedClicksCreateTabs -bool trueand press enter - Open Safari
- Notice that links that used to open in a new window will now open in a new tab
Much better.
- Previous post: Quick Tips for web developers and web designers
- Next post: The id attribute’s value must be unique
Comments are disabled for this post (read why), but if you have spotted an error or have additional info that you think should be in this post, feel free to contact me.
Subscribe / follow
Sponsors
Authentic Jobs
- Lead Java Developer at Synacor, Inc. (Buffalo, NY, Ne, US)
- Front-End Slicer at Slice n Press (US, , US)
- Interactive Javascript Developer at Slice n Press (US, , US)
- Public Information Specialist I (Limited-Term) at West Basin Municipal Water District (Carson, CA, Ca, US)
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost

