Results 1 to 16 of 16
Nov 21, 2012, 15:34 #1
- Join Date
- Dec 2007
- Carlsbad, California, United States
- 15 Post(s)
- 0 Thread(s)
Need help on fine tuning full proof email obfuscation
Using Css this flips the mirror image. In testing this is fullproof http://albertogasparin.it/scraps/201...on-css-anchor/. However, the css/html only you cant use mailto also. So it's unclickable. This guy http://albertogasparin.it/scraps/201...on-css-anchor/ has a almost near perfect solution. Using JS he makes it clickable and flips it. However it's a little buggy. But its proof of concept! On my ipad it works perfect. In firefox on click it loads default email program and fills the the send to box but with this ""%firstname.lastname@example.org%20%20%20%20%20. In IE like this "%email@example.com" and on click changes it back to reverse "moc.niamod@liame".
So in a perfect world I'm hoping someone can fix the js. Then I will try and feed the backwards text with JS or other. Because if js fails I dont want it there. Its no longer clickable and if you copy and paste it it pastes the reverse text. Thats no good. So I'll do some noscript thing or something.
<a href="#" onclick="this.href='mailto:'+ this.innerHTML.split('').reverse().join('')" style="unicode-bidi:bidi-override; direction: rtl;"> moc.niamod@liame </a>‎