Saturday, December 5, 2009

Redirecting mailto: links in firefox to Google Apps

Firefox preferences → Applications → mailto. Choose to run the following script:

#!/bin/sh
firefox -remote "openurl(https://mail.google.com/a/YOUR_GOOGLE_APPS_DOMAIN_HERE/mail?view=cm&tf=0&to=`echo $1 | sed 's/mailto://'`,new-tab)"

Note: Some of the code is hidding beyond the right margin of the webpage. Copy-paste to a text editor to see the complete script.

Got this tip from How-to Geek and slightly modified it.

No comments:

Post a Comment