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
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
Thanks for the link.