Conceal Email Address with JavaScript

I wrote this perl script years ago when I needed to include my email address on a webpage, but also conceal it from spam bots and spiders.

Download the esc-mailto.pl script.

Cut-and-paste the resulting javascript output to any webpage. The client’s browser will execute the JavaScript and display the resulting HTML text. For example, here’s the output for esc-mailto.pl user@domain.com.