Sign in
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

#2434
Avatar photochampi

Here is the ultimate improved code (indeed exactly the one we use in our agency to counter google bots and improve seo)

<span fusb="Zm9vQGJhci5jb20=">Send me an email</span>
The rest of my webpage here
<script>
    $("*[fusb]").click(function () {
        location.href="mailto:"+atob($(this).attr("fusb"));
    });
</script>