JavaScript Email Protection Against S.P.A.M v.1

 

This script will help protect against S.P.A.M Bots. Very useful if you display your email address on your website e.g. youremail@yoursite.com.

I have also included <noscript>, which will help if any of your users do not have JavaScript enabled.

 

 

Example


 

Script Source

 

<script type="text/javascript">
<!--
// +++++++++++++++++++++++++++++++++++
// + Script by www.wizzardweb.co.uk
// + Copyright 2016
// + Please DO NOT remove this information
// +++++++++++++++++++++++++++++++++++

eml='yourserver.com'
eml=('yourname' + '@' + eml)
document.write('<a href="mailto:' + eml + '">' + eml + '</a>')
//-->
</script><br />
<noscript>
<font color=red>JavaScript email protection against S.P.A.M. Please enable JavaScript!</font>
</noscript>

 

Please let me know if this script was helpful to you.

[rating]