BTrem Brian Tremblay's software projects​/​websites

create-mailto.js

create-mailto.js is a small javascript program to turn email addresses with certain markup into "clickable" <a href="mailto:"> links. The script allows web authors to avoid putting such <a> elements in the static content of their pages, providing some protection from spam harvesters.

requires jquery 1.12.4 or better

get the code for createmailto.js on GitHub

demo page