Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

VagabondMuse

macrumors newbie
Original poster
Dec 6, 2008
15
0
Two questions about Safari:

First, what's the best way to set up gmail as the default mail application. Do I have to install notifier or is there another way to do it?

Second, is there a way to make it default to opening page links in a new tab (instead of a new window)? I know I can cmd-click for a new tab but I'm a lazy cow and just want all my links to automatically go to a new tab. I'd rather cmd-click for a new window if I want it.

Thanks,
VM
 
Two questions about Safari:

First, what's the best way to set up gmail as the default mail application. Do I have to install notifier or is there another way to do it?

Second, is there a way to make it default to opening page links in a new tab (instead of a new window)? I know I can cmd-click for a new tab but I'm a lazy cow and just want all my links to automatically go to a new tab. I'd rather cmd-click for a new window if I want it.

Thanks,
VM

You need to set Safari's "Open links from applications" (located in the General tab of the Preferences) to the behaviour you want. That doesn't have anything to do with the tool you use to make Gmail your mail app.

Google Notifier is the easier way, as it registers itself as a mailto: helper. Other programs won't/can't do that, and that includes Safari.

You can also use Fluid to create a site-specific Gmail web application. It can be registered as your mailto helper. However, your Gmail app will operate as an independent application, rather than using Safari.
 
Two questions about Safari:

First, what's the best way to set up gmail as the default mail application. Do I have to install notifier or is there another way to do it?

Second, is there a way to make it default to opening page links in a new tab (instead of a new window)? I know I can cmd-click for a new tab but I'm a lazy cow and just want all my links to automatically go to a new tab. I'd rather cmd-click for a new window if I want it.

Thanks,
VM
You can set up a Gmail account in Mail and don't use other accounts.

To force Safari to open new tabs instead of new windows: close Safari, open Terminal, copy and paste this:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool true​

If it gives you trouble, close Safari, open terminal, copy and paste this:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool false​
 
defaults write com.apple.Safari TargetedClicksCreateTabs -bool true​

If it gives you trouble, close Safari, open terminal, copy and paste this:

defaults write com.apple.Safari TargetedClicksCreateTabs -bool false​

A GUI method for which is found in the General tab of the Safari Preferences.
 
Yes, but if a link is written to normally open in a new window, it's going to open in a new window. With that code, it'll open in a new tab always.

Awesome! *saves that to his script list*
 
Yes, but if a link is written to normally open in a new window, it's going to open in a new window. With that code, it'll open in a new tab always.

Yes, this is what I wanted. Works perfectly!
I've installed Notifier to deal with the mailto:Gmail thing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.