Travis Tran

Travis Tran

Keep Doing Better

Protect your sensitive information on website from spam

We hate spam so much that we wrote the following script to help you avoid getting spam in the first place. This javascript program converts normal e-mail addresses into code that most, if not all spam-bots (robots that run programs that harvest e-mail addresses) were not decoding in 2005. If you use the generated codes you are likely to get a great deal less spam than if you put an e-mail address in a web-page in clear text (that is, not encoded). The javascript program to obfuscate an e-mail address is simple to use.

 

function encode(inputText)
{
    var encodedText = "";
    for (var i = 0; i < inputText.length; i++) {
        encodedText += "&#" + inputText.charCodeAt(i) + ";";
    }
    return encodedText;
}

 

X
Welcome to travistran.me
Welcome to TravisBot
wpChatIcon