Sign in

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>