|
Script Summary:
Makes "mailto" links open in your favorite web-based email account, instead of a pop-3 client (like Outlook, Eudora, Thunderbird, etc.) Supports Gmail, Yahoo Mail, and Google Apps Mail. [UPDATED (Again)!](Bug Fix) |
this script has 1 topic, 53 posts |
this script has 1 review |
||||||||||||||||||||||
Ok, so I don't use Outlook or Thunderbird or anything for my email. No pop-3 here.
So it really bugs me when I accidentally click a mailto link instead of cutting and pasting the address, and Outlook (unconfigured) pops up. It takes a while to load, and I'm not going to use it anyway. One night I had just had it! Well, then I remembered greasemonkey, and the 2-column Google script a friend of mine wrote. (link)
...So I wrote my own script to get mailto links to open in gmail instead of Outlook! This script works with Yahoo mail as well. I attempted to get it to work with Hotmail and Aim Mail, but to no avail. (Suggestions welcome.) With the script installed, try hovering over a mailto link. (Need a place to test it? Why not http://www.efoxdesigns.com/max/downloads? Hover over the email link at the top...)
## CONFIGURATION PLEASE READ ##
#To use this script with gmail: Just install! No configuration necessary.*
#To use this script with Google Apps Mail (for your domain): Set gmailDomain.
#To use with Yahoo mail: Install the script. Then, in greasemonkey's "Manage User Scripts", select and edit this script. Under "EDIT THIS ONLY", 1)change whichService to yahoo instead of gmail. 2)Then change yahooServer to be the server your account uses. Read the instructions provided.
*With any option, you can set showAlert equal to true, to get a notification any time Mail 2 Webmail comes across a page with mailto links on it. The notification even tells you the text of the mailto link!
[UPDATED] You can now set whether or not the new email composition will open in a new window/tab, or the current one. Just set openNewWindow to true or false.
[UPDATED](again) Sorry gmail users. Last time I made an update, I put a bug in where "mail"(usually) was being added to the end of the email addresses. Bug fixed!
[UPDATED] Now compatible with the new gmail ui system.
[UPDATED] Fixed a minor, rare bug, where Mailto 2 Webmail would not work on web-pages that had "Mailto" links instead of "mailto" links.(Note: The lower-case() function is part of XPath 2.0, but libxml only implements XPath 1.0. So, until GM/FF work with XPath 2.0, I cannot really fix this bug the "correct" way.)





