Graceful E-Mail Obfuscation - Demonstration


Paste some HTML code that contains one or more references to e-mail addresses and/or mailto links. Note: if you're pasting the source code of an entire web page, make sure the page doesn't have an onLoad handler of its own (in real world situations, you'll need to add the call to makeMailtoLinks() to a global onLoad handler).

Look at the source code to understand what's happening. Try to disable JavaScript (and refresh this page) to see what happens when you click an e-mail link.

Example HTML

Example output