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
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
- Previous post: Quick Tips for web developers and web designers
- Next post: The id attribute’s value must be unique
Subscribe / follow
DreamHost web hosting
Use the promo code 456BEREASTREET3 to save USD 20 when you sign up for DreamHost