Last active
February 14, 2017 15:30
-
-
Save Kennyl/7f13056a18597172b4b45e6258ade39d to your computer and use it in GitHub Desktop.
Simple Email Link Protection as well as Any A href
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
// use it on mouser over will replace all whitespace when human interacts it | |
this.href='mailto:'+ (this.innerHTML=this.innerHTML.replace(/ /g,'')) | |
/*<a id="e" href="#" onmouseover="this.href='mailto:'+ (this.innerHTML=this.innerHTML.replace(/ /g,''))">abc @ efg.com</a>*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment