Advertisement

Terminal Tips: Force Safari to open all links in new tab

Firefox users have been able to open all links clicked within Firefox in a new tab for a while now, but what about us poor Safari users? Well, sure, you could always hold down command while clicking a link, but that's not fun, now is it? With this simple Terminal hack, you will be surfing like a pro!

Just open Terminal (/Applications/Utilities/) and type in the following command:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

Once you restart Safari, all clicked links will open in a new tab. If you want to reverse the command for some reason, just replace "true" with "false."


Want more tips and tricks like this? Visit TUAW's Mac 101 and Terminal Tips sections.