The ability to assign protocol handlers programs that’ll accept links from different protocols like ftp, mailto and so on isn’t new, but thanks to Google’s love for Firefox, you can now assign Gmail as the default e-mail handler for mailto: links.
Open Gmail in a new tab.In this same tab, enter this JavaScript snippet:
javascript:window.navigator.registerProtocolHandler(“mailto”,”https://mail.google.com/mail/?extsrc=mailto&url=%s”,”Gmail”).
You’ll see a warning bar at the top of the page, asking you whether you want to add Gmail as the default mailto handler.
Select Add Application, and you’re done and you can use Gmail as default application for all your mails!
I use both firefox and chrome. I log into my gmail account. copied the code snippet. OK, I have the code but where do you past it? You solution does not state where to “run” the javascript snippet.