Force Safari to Open New Tabs Instead of New Windows

Posted on February 9th, 2009 in os x by jeremyp

I have always been annoyed how Safari (by default) will open certain links (e.g. target=”_blank”) in a new browser window instead of a new tab. Fortunately, there is a hidden preference you can set to force Safari to behave. I came across a post that details how. In a nutshell, you do this:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

Hopefully this helps someone else out, too. I know I will be referring back to this post every time I set up a new Mac.

Linkify Your Twitter Feed

Posted on February 7th, 2009 in php by jeremyp

In case you missed it, I wrote a guest blog article over at the david walsh blog on how to add html links to your Twitter status using some regular expressions in PHP. You should go check it out if you haven’t.