Title: Pixgridder breaking javascript on pages
Last modified: August 30, 2016

---

# Pixgridder breaking javascript on pages

 *  [bofslime](https://wordpress.org/support/users/bofslime/)
 * (@bofslime)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/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/](https://wordpress.org/plugins/pixgridder/)

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

 * ![](https://ps.w.org/pixgridder/assets/icon-256x256.png?rev=978716)
 * [PixGridder](https://wordpress.org/plugins/pixgridder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pixgridder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pixgridder/)
 * [Active Topics](https://wordpress.org/support/plugin/pixgridder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pixgridder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pixgridder/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 0 replies
 * 1 participant
 * Last reply from: [bofslime](https://wordpress.org/support/users/bofslime/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/pixgridder-breaking-javascript-on-pages/)
 * Status: not resolved