Skip to content

Commit

Permalink
Update obfuscator.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Bersier committed Apr 15, 2012
1 parent 8025e7e commit 978b70c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions obfuscator.html
Expand Up @@ -108,10 +108,11 @@ <h1>Email Obfuscator</h1>
var subjectb = '?fhowrpg=' + subject.rotate();

// OUTPUT
if (subject === ''){var subjectb = '';$('#result').css('height','120px');}else{$('#result').css('height','140px');}

if (subject === ''){var subjectb = '';$('#result').css('height','120px');}else{$('#result').css('height','130px');}
var help = '<!--Place the code below where you want the link to be displayed-->';
var noscript = '<noscript><span style="unicode-bidi:bidi-override;direction:rtl;">' + emailrev + '</span></noscript>';
var code = help + '\n<script'+ ht +'>\n'+'document.write("<n uers=\\"znvygb:' + emailb + subjectb + '\\" '+ target +'>' + anchorb + '</n>".replace(/[a-zA-Z]/g,function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);}));'+'\n<\/script>\n' + noscript;
var code = help + '\n<script'+ ht +'>'+'var eo=document.createElement("span");eo.innerHTML="<n uers=\\"znvygb:' + emailb + subjectb +'\\" '+ target +'>' + anchorb + '</n>\".replace(/[a-z0-9]/g,function(c){return String.fromCharCode((c<="Z"?90:122)>=(c=c.charCodeAt(0)+13)?c:c-26);});document.body.appendChild(eo);'+'<\/script>\n' + noscript;
$("#result").val(code);
}).keyup();
}).change();
Expand All @@ -134,4 +135,4 @@ <h1>Email Obfuscator</h1>
<script src="http://platform.twitter.com/widgets.js"></script>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
</body>
</html>
</html>

0 comments on commit 978b70c

Please sign in to comment.