|
Tutor Section: How to Encode Email addresses
Return to tutor home
This is a Javascript Object used to encode email addresses in web pages in order to somewhat
protect the user from e-mail harvesters. Utilizes Javascripts ability to modify the HTML
document once it has been delivered to the client.
This works by encrypting an email address using simple XOR byte operations, then using
Javascript to unencode it on the fly once it reaches the client (browser). This will fail
if the harvester is sophisticated enough to execute the javascript and parse the
results. However, many sources say this is a fairly safe way to go about it. Many other
email protectors simply encode the email addresses into their character numbers, which is
definently quite weaker than this method of simple encryption.
|