June 20, 2008 2:23 PM PDT

Set Web e-mail as default Firefox e-mail

In olden days, when you clicked on an e-mail link in your browser, it had to have an e-mail client to launch. That method doesn't work if you use a service such as Gmail or Yahoo Mail as your main account.

Firefox 3 to the rescue. Watch our video on how to do this tip, then come back here for the written steps.

Go to Tools and options (Firefox and Preferences on a Mac).

Choose Applications.

Search "mailto".

In the drop-down menu Choose Yahoo Mail.

What? You don't use Yahoo Mail? Thanks to Lifehacker.com for publishing the instructions for how to use Gmail.

Open your Gmail in Firefox.

You'll need this string of code to enter.

javascript:window.navigator.registerProtocolHandler("mailto","https://mail.google.com/mail/?extsrc=mailto&url=%s","GMail")

Press add application.

And now when you click an e-mail link, it will ask you which Web mail program you'd like to use.

Get a few more non-video Firefox tips at Webware.com.
Recent posts from CNET TV
CNET Live - Episode 84
10 Firefox keyboard shortcuts
Use a flash drive as memory in Windows XP
Replace your Wii sensor bar... romantically.
CNET Live - Episode 83
Add a Comment (Log in or register) 12 comments (Page 1 of 2)
by mmckaibab June 21, 2008 9:00 AM PDT
The instructions for GMail make no sense whatsoever. Where, exactly, do you enter the listed string of code? Where do you see this "Add Application" button? Can someone please review these instructions and provide specific, step-by-step instructions that actually work?
Reply to this comment
by mmckaibab June 21, 2008 9:04 AM PDT
I've tried this several times and it just does not work. When I paste the code into the address box and press Enter I just get a blank page.
Reply to this comment
by rluckey77 June 21, 2008 4:26 PM PDT
Besides the previous two comments, I noticed that, at least *the way this article displays to me*, the code that is mentioned that we should paste ends with both an unclosed quotation mark and an unclosed parenthesis, which seems likely to me to not be correct (tho I know nothing about writing any kind of program code...)
Reply to this comment
by rluckey77 June 21, 2008 4:37 PM PDT
Hmmmm.... thinking that perhaps it was just the layout of the page that was for some reason blocking the full view of the line of code there, I copied a bit of the page, including above and below that line of code, and lo & behold, looking at the text that went to the clipboard, the code text does continue beyond what is visible to me on the page. Dunno if this comment box allows hypertext, but if it does, going to post the complete line of code here. The complete line is:
javascript:window.navigator.registerProtocolHandler("mailto","https://mail.google.com/mail/?extsrc=mailto&url=%s","GMail")
Reply to this comment
by rluckey77 June 21, 2008 4:45 PM PDT
Sigh....
Okay... that didn't work, too long, text didn't wrap around. There's two parts of that line of code, first part is easily visible, and is:
javascript:window.navigator.registerProtocolHandler
The line continues, with no spaces, with the following text:
("mailto","https://mail.google.com/mail/?extsrc=mailto&url=%s","GMail")
Reply to this comment
by rluckey77 June 21, 2008 5:25 PM PDT
PS... (Yeah, I know, I'm camping out on this page all friggin' day, lol....) For a clarification of the instructions on how to do this, follow the link in the article to the video demonstration!! It shows that you don't just paste that code into Firefox - you first open your Gmail account in Firefox, then paste the code in, and hit return, at which point a little "Add Application" button slides out for you to click on...
Reply to this comment
by m18981 June 21, 2008 8:44 PM PDT
it does not work ,there is nothing like add application ,I am using a windows xp ,this is what i did instead
- choose other ,it opens a windows application folder ,
- and I choose thunderbird it comes up in the mail to window ,
- I click email link in a webpage ,nothing happens
Reply to this comment
by RoccoGraz June 22, 2008 1:13 PM PDT
Gmail worked great. When choosing to use Yahoo, the "mailto:" is placed in the To: space. Also when using Yahoo with Craigslist, it places the "mailto:" in addition to the Craigslist Description all in the To: field. The Gmail in this regard worked flawlessly. Gmail knows what to place in the subject line.
Reply to this comment
by Brian_Johnson June 22, 2008 2:58 PM PDT
Hey people, just to let you all know, you must be on gmail before you paste the code (in the adress bar) then you will get the "add application" thing. Works Great for me, thanks Tom XD

Brian
Reply to this comment
by johnnyzero July 2, 2008 8:59 AM PDT
I went through quite a bit of effort to make FF3's Mailto-related functions work correctly with the "new" Yahoo Mail Classic. I finally ended up using an extension called Webmail Compose to make it work. Everything works great, except Firefox's Send Link function.

Anyway, in the process I deleted the Yahoo Mail protocol handler (not needed, since Webmail Compose intercepts any MailTo functions), and I suspect this is why Send Link doesn't work.

I'd like to restore that protocol handler, but I can't figure out how to do that. I tried re-installing FF3, since I'm pretty sure the Yahoo Mail protocol handler is "bundled" with it. I also tried installing Yahoo Toolbar, thinking that might re-install the protocol handler. No go...

If anyone can go into their about:config file and let me know the values for that protocol handler, I should be able to use registerProtocolHandler to restore it.

Any help will be much appreciated.

JohnB
Reply to this comment View reply
1 | 2 | Next 10 Comments >>
Powered by Jive Software
advertisement
  • About CNET TV

  • CNET TV is where you get your video fix on the coolest gadgets, the latest gear, and up-to-the-minute tech reviews and news. And the CNET TV blog provides you a behind-the-scenes look at our shows, personalities, and even upcoming site features.

Add this feed to your online news reader
Google
Yahoo
MSN

CNET TV bloggers

Brian Cooley
Molly Wood
Veronica Belmont
Tom Merritt
Rich DeMuro
Mark Larkin
Justin Eckhouse
Randall Bennett

Get the CNET TV newsletter

Would you like a wrap-up of the week's hottest CNET TV videos delivered directly to your in-box? Then sign up for the weekly CNET TV newsletter, delivered every Friday.
Subscribe now!