Terminal Tip: Safari 3.1 brings true one-window mode
Are you a browser fiend? The sort of person who loves Safari, yet can't quite live with some of its peculiarities? If you hadn't guessed, I certainly am one of those people. I love the speed and simplicity of Safari, but it never worked as well as (say) Camino, particularly when it came to persuading links from the likes of Gmail to open in the same window. No number of SIMBL hacks (yes, hacks) seemed to persuade Safari to open links in the existing window - driving me away from Safari, and instead swear by Camino.But that's about to change, as Apple has added a hidden preference to Safari 3.1 that allows you to tell Safari to stick to one window. Even in Gmail. Tipster Dennis Stevense, explains in a blog post that through a simple Terminal command, true one-window mode is finally, finally, here for Safari. All you need to enter is the command below into Terminal, hit enter, and you're sorted.
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true
Thanks Dennis!
Update: If you want to reverse the change, it's a simple matter of entering the following into Terminal:
defaults write com.apple.Safari TargetedClicksCreateTabs -bool false
Share
Are you a browser fiend? The sort of person who loves Safari, yet can't quite live with some of its peculiarities? If you hadn't guessed, I...
Add a Comment
YES!!!! THANK YOU!!! Firefox has become annoyingly slow in the last few releases and now I can finally start using Safari exclusively! Thank you! Thank you! Thank you!
April 09 2008 at 7:34 PM Report abuse Permalink rate up rate down ReplyNow, if only there was a way to middle-click a tab to close it. Having to Cmd+W or click the X is not how I want to do this.
March 24 2008 at 12:47 PM Report abuse Permalink rate up rate down ReplyWhat about Safari on Windows?
March 23 2008 at 6:48 AM Report abuse Permalink rate up rate down Reply1. How to uninstall Safari TwiceTabs now ?
2. with Pdf plugin from shueber.it , Camino provides two-finger scrolling, but Safari doesn't. Any preference tweaking possible ?
Thanks btw, this should reduce annoyance with gmail. And i don't see any issue with Capital letters typing in gmail like many are reporting.
Ok, TwiceTab was lying in ~/Library/Application Support/SIMBL/Plugins . deleting it was fine as Safari continues to provide the same feature now.
March 22 2008 at 8:20 AM Report abuse Permalink rate up rate down ReplyIt's really cool! I've wished for this function since the time I switched from Firefox to Safari. (Another is mouse gesture). Now it comes true! Thanks!
March 21 2008 at 11:05 PM Report abuse Permalink rate up rate down ReplyStill opens the new tab in front of the current one....
"No amount of SIMBL plugins?"...SafariStand has done this since it came out...
March 21 2008 at 9:17 PM Report abuse Permalink rate up rate down ReplyIs there any way to alter this terminal command so that the new tab created isn't automatically selected at the time of clicking?
On my three button mouse, using the third button on all sites (except gmail) pops open the link in a new tab while letting me stay on the original page.
Now, having entered this terminal command I can finally have links in gmail messages open in a new tab, but I'm instantly forced to the newly created tab. Any way to stay in the original message when these new tabs are created?
Thanks in advance!
Awesome. Just what I needed. But how do you undo this in the terminal, in case I ever need to?
Yes, please let us know what terminal command needs to be entered to restore the default behaviour. The suggestion above to replace "write" with "delete" didn't work for me.
March 21 2008 at 7:59 PM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Verizon Leather Sleeve for Tablets for $4 + free shipping
- Wicked Jaw Breaker Noise-Isolating In-Ear Headphones for $6 + free shipping
- Refurb Apple MacBook Air Laptops: 12" 64GB SSD for $699 + free shipping
- JVC Motion Sensing Clock Radio with Dual iPod Docks for $55 + free shipping
- Apple iPhone Headset with Mic for $4 + $2 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



65 Comments