Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #290644

    Hello,

    Do you know an easy way to prevent spam bots from gathering email addresses that are in the script as mailto code? Is there a way to avoid this? I’m using the Team Member widget. I also want to list email addresses on the contact page without spam bots grabbing it. The following code works in a code widget but not in a table within a text widget.

    <script language=”JavaScript”>
    var username = “[your_username]”;
    var hostname = “[your_mail_account_domain]”;
    var linktext = username + “@” + hostname ;
    document.write(“” + linktext + ““);
    </script>

    Thanks!
    John

    #291164

    Hey jgdoyle1!

    Tbh personally I didn’t test any plugins but you can try some free plugins from the wordpress plugin repository – i.e. https://wordpress.org/plugins/email-address-encoder/

    Regards,
    Peter

    #291293

    Thanks for the link.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Preventing Spam bots from grabbing mailto links’ is closed to new replies.