For all the Gmail fans who are frustrated by the absence of Gmail in Firefox3 to open their mailto links(or the inclusion of Yahoo mail there ;-) )
A new gmail url is released which accepts the mailto url directly. So Firefox 3 users can now use Gmail as their default mailto: handler .
How to do this.
1. set gecko.handlerService.allowRegisterFromDifferentHost to true in about:config
2. Run this in address line
javascript:window.navigator.registerProtocolHandler("mailto","http://mail.google.com/mail/?extsrc=mailto&url=%s","GMail")
Firefox will ask permission to add this as default mailto handler..say yes
3. Next time u click a mailto link it will ask which app to choose...choose Gmail.....you are done
[ If you enjoyed this post, please Digg it. Thanks ]
May 9, 2008
Firefox 3 Gmail web mail handler bug fixed
Subscribe to:
Post Comments (Atom)
Thanks for the suggestion. Works great! I updated my tutorial with a modified version of your instructions to work with Google Apps for people who have their own domain.
ReplyDeleteTutorial Here
I'm using FF3 RC1 and it dont want to work for me. When I'm pasting JS code into adressbar nothing happens.
ReplyDeleteGreat job, thanks! Do you know a way to make this popup in a separate small window a la shift+c compose? Thanks again.
ReplyDelete@Rajca
ReplyDeleteMake sure you have Javascript enabled under Tool>Options>Content
Also, make sure any addons, like NoScript aren't blocking it.
Once these have been met, when you past the Javascript into the addressbar, and hit enter, it should work. Note, in FF3, there isn't a popup like FF2, instead there is a popup line under your tabs.
Hope this can help
Same here. FF3RC1. No response on address bar. Then I tried pasting it in web pages... as an a href target, then as various dom event targets with "return true;" ...all to no avail.
ReplyDeleteHaving the same trouble with the line of javascript. I don't have NoScript, but I've disabled all of my add-ons and javascript is enabled in Options>Content.
ReplyDeleteCould I have messed around with an about:config setting in the past that would have disabled certain javascript actions?
Okay, the javascript issue has been solved by Gina Trapani over at the Lifehacker blog...
ReplyDeleteIf nothing happens when you paste the javascript into the address bar, make sure that the network.protocol-handler.external.mailto value is set to true in the about:config window.
This is great but I'm missing something. It works as advertised except when I click a mailto link it opens a new tab and goes to the free gmail login page, not the page for people use gmail premier edition with their own domain. When I use the page it opens and enter my premier edition login, i.e. chris@mydomain.com and password (not my free account login/password) it does log me in but opens to my free gmail email account mailbox. Very strange how it even knows about that account.
ReplyDeleteHelp, please.
@christopher
ReplyDeleteCheck the first comment. Ozz314 has modified the steps to suit those who have their own domain.
Hope it helps :-)
Is there anyway to have the mailto: open up a new tab instead of the tab that you're in?
ReplyDeleteThank you for this great hack...
The easy way is Ctrl + click ....or middle click ... :-)
ReplyDeleteThank you.. That does the trick for now :)
ReplyDeleteThanks for the fix. I appreciate it, and as you might have noticed from a link back or two that I saw on my blog, I posted a link to your site here...
ReplyDeleteIts appreciated...
@adam Thanks for the comments...keep visiting...
ReplyDeleteOk, for those of us who don't live and breath Firefox 3, please tel me how I get to right the menu to do this. Nothing happens when I follow the lifehacker's instructions.
ReplyDeleteTony wrote: If nothing happens when you paste the javascript into the address bar, make sure that the network.protocol-handler.external.mailto value is set to true in the about:config window.
Thanks!
d-
Type about:config in address
ReplyDeleteAccept that u will b careful...
type network.protocol-handler.external.mailto in the filter
click on it and change false to true...
paste the javascript snippet in ur address bar....
Thats it
it did not work for me either... all about config stuff that is mentioned from lifehacker and yourself are set to true java is enabled and its not working... i am using FF3.0
ReplyDeleteps... i also have ALL addons disabled
ReplyDeleteps... i also have ALL addons disabled
ReplyDeleteThe fix is here:
ReplyDeletehttp://www.businessmarketingguru.com/news/firefox3-and-gmail-bug-fix
You can middle-click on a link to open it in a new tab (that goes for mailto links also).
ReplyDeleteThe only problem is it opens the mail in the same window - How do you make it open in a new tab?
ReplyDeleteyou need to do it when you have gmail open or firefox will think it is an unwanted hacked website
ReplyDeleteIt worked--you guys rock!
ReplyDeleteI had this working for the longest time -- gmail set as my mailto.
ReplyDeleteI installed the toolbar, but didn't like it. So I uninstalled it and lost the mailto feature.
I have tried all the suggestions on here, anything else anyone can point to me?
You dont need all this crap anymore ... just pick mailto handler in gmail preferences..
ReplyDeleteWhere is the mailto handler in gmail preferences? Are you referring to an addon? I don't see that in gmail notifier or better gmail 2.
ReplyDeleteI've tried this over and over, but it keeps popping Outlook up to handle the mailtos. And I don't see a mailto app in the options/applications in FF 3 options
preferences>applications>mailto
ReplyDeleteTools>Options>applications>mailto
ReplyDeleteI'm trying to undo this and Firefox is stuck with the Gmail setting.
Does anybody know how I can set the L.Click of mailto links to be opened in a new tab or a new window by default? Please note the use of "set" and "by default." In other words, I am not interested in hearing how I can use Ctrl+L.Click to do this, or M.Click. I already know about these functions, as I use them often for other purposes. The point is, I don't naturally remember to Ctrl+L.Click or M.Click when opening a mailto link, and thus I would prefer NOT to have to remember. Having Firefox do this FOR me by way of a standard L.Click would accomplish this wonderfully. ;)
ReplyDeleteI've installed this successfully, everything works, except the TO: field in gmail doesn't populate the email address I just clicked on. Help
ReplyDeleteBump on the auto open of a tab for gmail
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteI have the opposite problem; my mailto goes to gamail and I want Thunderbird to be my default. What do I change? I don't want to screw up anything.
ReplyDeletegecko.handlerService.allowRegisterFromDifferentHost;false
gecko.handlerService.schemes.mailto.0.name;Yahoo! Mail
gecko.handlerService.schemes.mailto.1.name;Gmail
i'm still having problems with this. i've opened the link in gmail, clicked on "add application" when it came up, but then it's not in my applications list. mailto isn't working, and now links in AIM are not being opened in firefox either. i've changed all the mentioned protocols in about:config, i don't know what else to do.
ReplyDeleteMy mail to link works for gMail, but it doesn't open up the gMail account that I am currently signed in under. It opens another gMail account of mine. Any suggestions?
ReplyDeleteThanks!
I don't know what your step 1 means. Since I didn't understand it, I went to another article http://email.about.com/od/gmailtips/qt/et_default_prog.htm?rd=1, which seemed less confusing and accomplished the same.
ReplyDeleteOn a related subject, since you have researched this, I wonder if you know how the following may have happened- Yesterday, I wanted yahoo as my default mailtp app, so I downloaded Firefox with Yahoo and installed greasemonkey to enable the mail to script. But my mail to links opened in Gmail!! I had to manually rewrite the preference in the greasemonkey code to set it from gmail to yahoo. Then I decided that gmail was a better and more free program (I pay yahoo to access my other pop mail addresses, which is free in gmail). Then I had the darndest time getting rid of yahoo, even after rewriting the script back to gmail. Any way, the situation is resolved, but it's a mystery how gmail snuck in.
FFS this is Ooooold people.See the date May 9 2008!!!!!! Now you dont need any of this workarounds.
ReplyDeleteMany thanks
ReplyDeleteHey thanks for the tutorial !
ReplyDeleteI'm having problems when I click on email address. The selected email address don't appear in the "To" box. So I have to ctrl+c ctrl+v every time I want to email someone, what is quite annoying. Anyone has an idea for solving that ?