Created
May 18, 2013 15:30
-
-
Save aach/5604820 to your computer and use it in GitHub Desktop.
Avoid spam in the mail with a mailto link
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var mailLink = document.getElementById( 'mail' ), | |
fullName = [ 'alex', 'alvarez', 'chinchilla' ]; | |
mailLink.href = 'mailto:' + fullName.join( '.' ) + '@gmail.com'; | |
}()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment