Skip to content

Instantly share code, notes, and snippets.

@camt
Created January 24, 2012 19:14
Show Gist options
  • 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