Jasinski Technical Wiki

Navigation

Home Page
Index
All Pages

Quick Search
»
Advanced Search »

Contributor Links

Create a new Page
Administration
File Management
Login/Logout
Your Profile

Other Wiki Sections

Software

PoweredBy

MailTo Protocol - Avoiding Spammers

RSS
Modified on Thu, Dec 08, 2011, 3:15 PM by Administrator Categorized as HTML and CSS, JavaScript, jQuery, and Angular
This technique involves converting an email address to an array of integers: the Unicode value for each character.

<a href="javascript:void(location.href='mailto:'+String.fromCharCode(105,110,102,111,64,115,
111,108,116,101,99,104,46,110,101,116)+'?')">Contact Us</a>

A tool to help you build the HREF attribute can be found here.

ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.