Enkoderform Modified Anti Spam Tutorial
December 13, 2005 | In web design |Posting your email address on a website is a sure-fire way to get an Inbox full of unsolicited email advertisements. The Enkoder protects email addresses by converting them into encrypted JavaScript code, hiding them from email-harvesting robots while revealing them to real people.
Go to the EnKoder form.
- Enter in email: yourname@yourdomain.com
- Enter in the text users will see and click: E-mail YourName
- Enter in the “bubble” text seen when your hover your cursor over the link: Send e-mail to YourName

Clicking the “Enkode It” button takes you to “The Result” page

Select all the code in the box, CTRL-A, copy it, CTRL-C and paste it, CTRL-V into your Web page editor.
<script language=”javascript”>function hiveware_enkoder(){var i,j,x,y,x=
“x=\”783d223536366570613232353637376463356463733635373330656e75333532663634″ +
“363663363d2b6636343637797b293437303263365c225c5c393634323d5c5c5c5c3d786a55″ +
“74682c692b3830293b2d2d6a3e3d693b297b792b3d782e636861724174286a293b7d7d793b” +
“\”;y='’;for (i=0;i <x.length;i+=2){y+=unescape(’%'+x.substr(i,2));}y”;
while(x=eval(x));} hiveware_enkoder(); </script>
Delete the bolded text above and replace it with the bolded text below leaving the “encrypted JavaScript code” section as is.
function email_yourname(){var i,j,x,y,x=
“x=\”783d223536366570613232353637376463356463733635373330656e75333532663634″ +
“363663363d2b6636343637797b293437303263365c225c5c393634323d5c5c5c5c3d786a55″ +
“74682c692b3830293b2d2d6a3e3d693b297b792b3d782e636861724174286a293b7d7d793b” +
“\”;y='’; for(i=0;i <x.length;i+=2){y+=unescape(’%'+x.substr(i,2));}y”;
while(x=eval(x));}
Save the edited code as a file, email.js
Additional e-mail addresses (functions) can be added to email.js and called via the corresponding e-mail link:
function email_dick(){var i,j,x,y,x= (the rest of the code)
function email_jane(){var i,j,x,y,x= (the rest of the code)
Add this line between the head tags of the Web page that will contain the e-mail link(s):
<script type=”text/javascript” src=”email.js”> </script>
Add this line on that Web page exactly where you want the e-mail link to be:
<script type=”text/javascript”>email_yourname();</script>
<noscript> <a href=”contact.htm”> </a> </noscript>
The “noscript” option will take a javascript disabled browser to a contact form, if you have on set up.
That’s All Folks!
Update March 25, 2006
My Enkoderform tutorial show you how to create multiple unique encoded email addresses on a single site. If you are creating only one unique encoded email on a site, this script is a cool alternative.
Sphere: Related ContentNo Comments yet »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^







Recent Comments