Tuesday, May 20, 2008

Use Gmail for mailto links on webpages

A wonderful series of posts here and here show how to add a mailto handler to the newest version of firefox in order to click an "email me" link on a webpage and compose your email in gmail... then shoot it off. Here are the steps:
  1. In Firefox’s address bar, copy and paste the following and hit enter: about:config
  2. Click “I’ll be careful, I promise!” when the warning appears
  3. In the “Filter:” field, copy and paste: gecko.handlerService.allowRegisterFromDifferentHost
  4. Double click the found result to change the boolean value from false to true
  5. In the address bar, copy and paste the following: javascript:window.navigator.registerProtocolHandler("mailto","http://mail.google.com/a/yourdomain.org/mail/?extsrc=mailto&url=%s","Google Apps")
  6. Replace “yourdomain.org” with your own Google Apps hosted domain and hit enter
  7. Click “Add Application” when it asks you a question
  8. go to Edit > Preferences > Applications > mailto
  9. Choose “Use Google Apps”
For those who use schwerzler.com the javascript string I used is this:
  • javascript:window.navigator.registerProtocolHandler("mailto","http://mail.google.com/a/schwerzler.com/mail/?extsrc=mailto&url=%s","Schwerzler.com")
    • This is just flippin awesome!