Quantcast
A Graphics.com site
JimD's picture
2549 pencils

Force Safari to use one window only

SafariI had posted this tip over at The Graphic Mac last week and it was quite popular, so I thought I would share this Safari tip with the readers of CB as well.

One of the things that has kept me using Firefox over the last few years is Safari's insistence on opening links in new windows, rather than a new tab in the current window. It drives me nuts. I hate having multiple windows open.

Thankfully, the latest version of Safari (3.1) has a hidden feature that forces all links to open in a new tab, rather than a new window — even the stubborn sites like Google and Gmail finally stay in a single window.

All you have to do is open Terminal from your Applications/Utilities folder and enter the following:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true

Hit the enter key and you're all set. To reverse this, simply retype the code into the Terminal and substitute false at the end where you previously typed true.

-----------
Visit The Graphic Mac for graphics and Mac OS tips, reviews, tutorials and discussion.

717's picture
15 pencils

Command and *click* on the link, and it opens the link in a new tab. Has been working for years.

–717

JimD's picture
2549 pencils

The preferences don't respect the tab settings, and even command + click doesn't work on many sites (Google Gmail comes to mind). Besides, you shouldn't have to use a keyboard to click a link and have it open in the same window - that's just bad design on Apple's part.

-----------
Visit The Graphic Mac for graphics and Mac OS tips, reviews, tutorials and discussion.

cherbs's picture
8 pencils

Has anyone figured out how to do this on a PC? I use a PC (yek!) at work. Thanks!

Cherbs

Graphic Artist and Mac Addict

Cherbs

Graphic Artist & Mac Addict

Ivan's picture

Thanks! This should be an option in the next release. Especially that it's so easy to switch on.

harrison's picture
173 pencils

i've found this solution to be quite clunky and breaks a couple of websites using target=_blank

i use the SingleWindow plugin from Bitheap instead, and it works without fail every time

http://bitheap.org/singlewindow/

Latest critique

  • Frey's Boutique
  • New Macsolutions logo /BC - Advice Appreciated

On Demand Videos

Photoshop: From Ho-hum to Wow!
You can use Photoshop to bring out the magic of photos that are muddy, soft, or blandly composed.
watch a preview

On Demand Videos: Video tutorials for advertising pros and designers providing tools and information you can trust — and use — on your very next project. Subscribe today!

Creativebits recommends

stocklogos.com logoawards.mediabistro.com

Marketplace