Skip to content

Instantly share code, notes, and snippets.

@camt
Created January 24, 2012 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save camt/1671973 to your computer and use it in GitHub Desktop.
Save camt/1671973 to your computer and use it in GitHub Desktop.
JS creation of mailto link - avoids scrapers and bots
<script>
document.write("<a href='mailto:" + 'moc.elpmaxe@em'.split("").reverse().join("") + "'>email</a>");
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment