Apt articles on health, wealth, happiness

Free email address obfuscator script, page 3 of 3

Link to this article!



If you know what you want, then on this page you will find a script you can use now, right now. So, what do you need? This script can do wonders for your web site. Look no further, if you want a free script that obfuscates your email address.

Author: AptArticle.com

Description: It is a JavaScript that obfuscates your email address, and perplexes the many bad bots that visit your web site.

Assumption: Here we're assuming your email address format is your_name@example.com.

Demo: The following demo shows what this script can do for you. Notice how perfect and clickable your email address looks to users. And, also notice how perplexing your email address looks to the bad bots.



Users get the following, clickable, realistic email address:


However, bots get the following obfuscated email address:
var d="me"; var c="na"; var b="ur"; var a="yo"; var z="example.com"; document.write('<a href="ma'+'i'+'lt'+'o:'+a+b+'_'+c+d+'@'+z+'">'); document.write(a+b+'_'+c+d+'@'+z+'</a>');


Directions:

Step 1: Copy the following code, and add it to the 'body' section of your web page.

<script>
var d="me";  /* may edit */
var c="na";    /* may edit */
var b="ur";      /* may edit */
var a="yo";        /* may edit */
var z="example.com";    /* may edit */

/******* DO NOT EDIT BELOW THIS LINE ************/

document.write('<a href="ma'+'i'+'lt'+'o:'+a+b+'_'+c+d+'@'+z+'">');
document.write(a+b+'_'+c+d+'@'+z+'</a>');

/*********************************************************
* Copyright © AptArticle.com (http://aptarticle.com)
* This notice MUST stay intact for legal use.
* Visit http://aptarticle.com/ for this script and hundreds more.
*********************************************************************/
</script>


Step 2: Carefully edit the above five lines of code, so that it produces your own email address that you want to obfuscate. However, in your own interest, do limit your editing to the lines we marked /* may edit */.

Replace "yo" with the "first half of your first name".
Replace "ur" with the "second half of your first name".
Replace "na" with the "first half of your last name".
Replace "me" with the "second half of your last name".
Replace "example.com" with the "name of your email provider".


Step 3: Enjoy it, and have fun using it!


Tell a friend!