We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

Documentation: Hide an e-mail address from a spam bot

Avatar photo[anonymous]

Great thinking, Champi!

But I think Verhoeckx’s solution is better. Because it is way cleverer and more complicated.

If I were a spam bot reading your code, I would see  <span class=”st0″>”mail_link”>, which would trigger my attention.

Then I would see : <span class=””>data-server=</span><span class=”st0″>”bar”</span> , where  “bar” in reality would be “gmail” or similar, further arousing my interest.

The extension “.com” would remove my doubts.

Then, the jQuery would read like an open book for an educated spam bot like me 😉

Just my impression, an amateur designer thinking out loud. 🙂