Support » Plugin: PixGridder » Pixgridder breaking javascript on pages

  • I’m using some javascript to obscure email addresses from bots. However pixgridder really doesn’t like this code as it breaks both the page output as well as the pixgridder UI.

    Code being used:

    <script language="JavaScript">
    var username = "[your_username]";
    var hostname = "[your_mail_account_domain]";
    var linktext = username + "@" + hostname ;
    document.write("<a href='" + "mail" + "to:" + username + "@" + hostname + "'>" + linktext + "</a>");
    </script>

    https://wordpress.org/plugins/pixgridder/

  • The topic ‘Pixgridder breaking javascript on pages’ is closed to new replies.