JavaScript eMail Encrypter

JavaScript eMail Encrypter

09.26.2012
Written by: J. Zatkulak


Source: http://jumk.de/nospam/stopspam.html
Go here to encrypt email address: http://jumk.de/nospam/stopspam.html

Add these lines to the head of your page <head></head>:
<script type="text/javascript"> <!-- function UnCryptMailto( s ) { var n = 0; var r = ""; for( var i = 0; i < s.length; i++) { n = s.charCodeAt( i ); if( n >= 8364 ) { n = 128; } r += String.fromCharCode( n - 1 ); } return r; } function linkTo_UnCryptMailto( s ) { location.href=UnCryptMailto( s ); } // --> </script>