By default, any time a web site uses the target="_blank" attribute on a link (like this one), Safari 4 will open that link in a new window. If you’d prefer it to open in a new Tab, follow the instructions outlined in this brief tutorial.
Start by opening a Terminal window (Applications -> Utilities -> Terminal). Enter the following command:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
Now restart Safari. Links that used to open in a new Window (like this one) will now open in a new Tab instead.

If you decide you want to change back, just re-enter the command but replace true at the end of the command with false.
{ 65 comments… read them below or add one }
← Previous Comments
thanks. good tip.
It was quicker for me to download Firefox than keep trying to make such a basic function work. Ridiculous that either I’m missing something simple or that Safari is. Thank you Mozilla. I shouldn’t have to open my terminal and reprogram anything on a brand new computer, especially for such a simple and popular function. Who on earth wants to have a new window open every time you click a link?
works fine, but gmail chat not rendering, hopefully google’s issue but stopped right after config’g. will reverse and see.
It works; thanks so much.
I tried to do this but it didn’t seem to work. Help?
Amazing. No more holding down the Apple key! Thanks!!!!
Works for me in Snow Leopard
I love you, man.
This has been irritating me for months.
Thanks for the tip.
My first apple MacBook and the fix works like a hot damn. I am wondering why there are so many diehards when simple options like this are not included in prefs?
Its not working!!!!! I am getting access denied message in cmd what should I do??
Thank you. That was driving me nuts.
In Safari 5 you can change this in the menu!
hi
thx for offering a solution, but somehow it does not work for me. i am running the latest mac OS. when i enter command in terminal it seems to accept it, no error msg, nothing.
but loads of the links do not open in tabs but in the same window (which i cannot stand)
would you have any suggestions to what could have gone wrong?
thx
My computer is opening new tabs and I don’t want it to. I tried going onto the terminal screen but my prompt is different and not sure how to write it without fear of screwing with my computer. Not confident. Please help stop these annoying tabs and please direct me to having new windows pop-up. Anyone…anyone.
This isn’t working for me for some reason and it’s about to drive me nuts. I’m about to switch browsers, but I really like the read me later thing in this Safari.
← Previous Comments
{ 5 trackbacks }