PDA

View Full Version : Simple text encryption for HTML: Mailto Obfuscator


webado
05-22-2004, 04:02 PM
Originally designed to obfuscate (encode to Unicode) an email address used in the mailto: HTML construct, it can also be used very successfully to obfuscate any text string present between quotes in any HTML tag. The obfuscated text is fully understood and interpreted by the browser as if it were ASCII.

The result is that when you view the source code of a web page where it has been used you cannot visually identify and decode the original text that was thus encoded.

Useful to combat most spambots and prevent surfers from seeing information you'd rather keep private (like the name of a script file).

I use it to obfuscate the name of my php email script as referenced in the email form I use, so that I don't run the risk of anybody using the script by itself, without going through my contact page. I have other safeguards in place as well, but this is a very valuable first step.

Download this little free program from http://www.awes.com/obfuscator/.