How to protect your e-mail address:
This tutorial will show you how to protect your e-mail address against Spam Crawlers.
So, how do you protect your e-mail? Easy, it can be done with simple JavaScript - no need to use complicated Images or REMOVE text in e-mail links.
Let's take a basic example of an e-mail link to
me@somewhere.com Quote:
| <A HREF="mailto:me@somewhere.com" ALT="Mail Me!">me@somewhere.com</A> |
Now this will not work, a Spam Crawler could pick up this e-mail easily. So how would you protect the example above? Like this:
-------------------- Revised Version ----------------------
Quote:
<SCRIPT LANGUAGE="JavaScript"> <!-- hide me
function mailme()
{
window.location = "m" + "a" + "i" + "l" + "t" + "o" + ":" + "me"+ "@" + "somewhere" + "." + "c" + "o" + "m";
}
//--> </SCRIPT> <A HREF="javascript:void(1)" ALT="Mail Me!" onClick="mailme()" >Mail me</A> |
-------------------------------------
I do not who the author is.I had stored on my HDD