Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install

Mailto Alert

Ask confimation for mailto: link click

Are you bored on mailto: links that opens Thunderbird (or Outlook), and in most of cases you don't want to send an e-mail? Mailto Alert will modify all mailto link so that they will ask you to confirm what are you doing.






Nov 24, 2006
Jeong-hoon Kang User

I got it.
Great.

 
Nov 24, 2006
Jeong-hoon Kang User

You mean the below.

<html><head><title>Untitled Page</title>
function test(){
var links = document.links;
for (var i=0; i<links>
if ( (links[i].href.substring(0, 7).toLowerCase() ==

"mailto:") && (links[i].text) )
links[i].setAttribute("onclick", 'javascript:return

confirm("Are you sure you want to send an e-mail?")');
}
}
</head><body>someone</body></html>

 
Jan 28, 2006
Yokhannan 2 User

Very Nice! I use to have to use the "TargetAlert" Extension ( http://www.bolinfest.com/targetalert/ ) just to fight against mailto links... now I can uninstall it!!

You could comment on this script if you were logged in.