Full version: jsB@nk » Email » Email Obfuscator and Encoder
URL: https://www.javascriptbank.com/email-obfuscator-and-encoder.html
Email harvesting is a real problem nowadays; publishing an email address on a web page means exposing it to automated email collection softwares. Once it's been collected, there no way of getting rid of spam.The best way to avoid this is to obfuscate and encode email addresses; this simple JavaScript does exactly that. It splits an address in six different parts, so that bots are not able to recognize it, and it also encode the @ symbol and the . (dot) using ASCII codes, just to make it harder for bots to decode it. Even if the email harvesting software can read JavaScript and put the different parts of the address together, it would obtain an useless text like this: [email protected] instead of [email protected].
Full version: jsB@nk » Email » Email Obfuscator and Encoder
URL: https://www.javascriptbank.com/email-obfuscator-and-encoder.html
Contact me:<script language="JavaScript" type="text/javascript">// Ernesto Tuti// Example of usage with the following email address: [email protected]// Visit http://www.nienteansia.it/altri-files/email_obfuscator_and_encoder/ for more informations and installation instructionsvar aaa=('mailto:'); // ascii code for mailto: - don't change itvar bbb=('Send email to:'); // link title - change it to your likingvar ccc=('Click here'); // link text - change it to your likingvar first=('.'); // ascii code for . (dot) - don't change itvar second=('@'); // ascii code for @ (at) - don't change itvar third=('jsbank'); // first part of address (before @) - change it to match your addressvar fourth=('gmail'); // second part of address (after @) - change it to match your addressvar fifth=('com'); // last part of address (.com .net .org - etc.) - change it to match your addressvar sixth=('Enter an email subject here'); // email subject - change it to what you prefervar seventh=('?sub'); // ascii code for ?sub - don't change itvar eighth=('ject='); // ascii code for ject= - don't change itvar em=('<a')+(' ')+('hr')+('ef')+('=')+('"')+(''+ aaa +'')+(''+ third +'');var ai=(''+ second +'');var l=(''+ fourth +'');var ad=(''+ first +'');var dr=(''+ fifth +'');var es=(''+ seventh +'');var s=(''+ eighth +'')+(''+ sixth +'')+('"')+(' ')+('ti')+('tle')+('=')+('"')+(''+ bbb +'')+(' ')+('' + third +'')+(''+ second +'')+(''+ fourth +'')+(''+ first +'')+(''+ fifth + '')+('">')+(''+ ccc +'')+('</a>');document.write(''+ em +'');document.write(''+ ai +'');document.write(''+ l +'');document.write(''+ ad +'');document.write(''+ dr +'');document.write(''+ es +'');document.write(''+ s +''); // compose and write address</script><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->