3 ms·
Hide your Email for HTML Scammers/Parsers
Created a cool little script that allows you to display your email but hides it from the html, JS so know when can scrape. Try it:
---
<p id="eid_id"></p>
<script type="text/javascript" src="http://www.leoreavidar.com/js/email.js">
</script>
<script>
window.onload = function() { appendStyle("username", "gmail.com") };
</script>
What do you think?
- zoowar 14y agoFail
- bavidar 14y agowhat happened? did you get an error?
- zoowar 14y agoWhat, you can't scrape that?
- bavidar 14y agono you cant. Take a look. Its not HTML. the email appears no where in the HTML,JS, or CSS. Its a hack that dynamically changes the pseudo selectors and combining the before and after to make a complete word.
- zoowar 14y agoA can scrape "appendStyle("username", "gmail.com")" just as easy as I can scrape "username at gmail dot com".
- bavidar 14y agoI think your missing the point. The text is going to be encrypted in and then decrypted in the external JS. The append style parameters are just to show that nothing is in the html/js besides that.
- bavidar 14y agoThis is how its supposed to work: <p id="eid_id"></p> <script type="text/javascript" src="http://www.leoreavidar.com/js/email.js> http://www.leoreavidar.com/js/email.js> </script> <script> window.onload = function() { appendStyle("dXNlcm5hbWU=","ZG9tYWlu","Y29t") }; </script>
- zoowar 14y agoLike I said, a scraper can easily decode your appendStyle parameters. Do let us know when you perfect perpetual motion though.
- ValG 14y agoWorked for me