Train Firefox mailto: to use Google Apps

Update 5/10/13: With Firefox 20 the method below of using a javascript entry to add the external mail resource apparently did not work on Linux Mint LMDE. Instead, I found it necessary to manually edit the mimetypes.rdf file in the user’s profile folder to add the resource. See my later post Train Firefox mailto: to use Google Apps – Take 2 for details on this method.

This post’s text is lifted very closely from a similar one (which appears to have been similarly lifted from others going back to a Lifehacker article). Why repost? To make note of what actually worked for me (to remind myself later, when upgrading requires it again) and to hopefully inform you. I used the correct wordpress tagging to make sure the commands and javascript come through correctly here (without WP mangling the quotes), so all copy & pastes will actually work.

In your browser address (URL) bar, type: About:config

Answer “yes” to “you will be careful”

In the filter bar on the screen type (or copy and paste): gecko.handlerService.allowRegisterFromDifferentHost

This will bring up the specific entry. Double click on the line to change the value from “false” to “true

Do the same as the above, in the filter bar, for: network.protocol-handler.external.mailto, toggling it from “true” to “false“.

Go back to the browser address (URL) bar and copy and paste the string below. Be sure to change “veino.com” to your actual domain name and the label at the end similarly:

javascript:window.navigator.registerProtocolHandler("mailto","https://mail.google.com/a/veino.com/mail/?extsrc=mailto&url=%s","V.C at Google Apps")

Hit return and a message line above the page should appear (like for pop-up blocking messages) in the browser asking if you want to add this application to your mail. Click on “yes”.

Go to Firefox Edit > Preferences > Applications (using Linux FF – for Windows it is under Tools > Options > Applications), and select your new Google Apps entry as your default mailto: handler.

Return to about:config in the address (URL) bar and reset the values for the two variables to their original default values by repeating what you did before, reversing the toggling of values.

Close and restart Firefox, log in to your Google apps account and then try clicking on a mailto: link on any other web page. You should get a compose mail window loading, using your Google apps account. Yay!

Previously, I’d figured out how to have it open a new window to compose your message – but I can’t figure it out right now. Will update this post, if I remember how I did that.

This entry was posted in Computer, Firefox, Linux and tagged . Bookmark the permalink.

2 Responses to Train Firefox mailto: to use Google Apps

  1. Pingback: Train Firefox mailto: to use Google Apps – Take 2 | A New Don

  2. Hi there, just wanted to tell you, I liked this post.

    It was practical. Keep on posting!

Leave a Reply

Your email address will not be published. Required fields are marked *