A Safari Annoyance Fixed

As I mentioned the other day, I’m giving Safari 3.1 a proper trial as my main browser on the Mac. Apart from missing some of the Flickr customisations I got through using Greasemonkey on Firefox, I had one irritation: links opening in new windows rather than new tabs as they should[1]. I’d selected all the relevant options, but some things just insisted on disobeying me. Mutter.

But those RSS feeds I’ve been watching came in useful. A post on the Unofficial Apple Weblog alerted me to a post by Dennis Stevense, which revealed that Safari 3.1 has a hidden option that forces links to open in tabs, and keep Safari as a sensibly single-window application.

Mac OS X seems to have loads of these options, which are buried in numerous preference files. The usual way of setting these is with a bit of command line fun[2], in this case a single command that looks like this:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

It appears to be working, too!

[1] In my not even slightly humble opinion, anyway
[2] I really need to talk about the nifty command line interface at some point