How to Stop the Spam-bots! |
![]() |
Created by jmeile . Last modified 2006-09-08 11:24:32. |
This script encrypts your email address, so it's not readable by the spam bots. |
I just get this code from http://www.happysnax.com.au/testemail.php and converted it to python with the authorization of its autor Jeff Robson.
A shorter python alternative, which doesn't use javascript, can be found here: What can it do? It just hides the email addresses on your webpages from the spamboots, programs similar to the search engines wich get the email addresses on a webpage and send them to someone who sells them to the spam companies.
For example, if you make a view source of this
page, you won't see my real email address: Finally, you have to create an external method called encode. Issues:
Thanks to Holger Lehmann for his peace of code to replace the old to_hex funcion.
If there is a bug or something is missing, please let me now:
|