Title: Custom Javascript not Allowed
Last modified: February 24, 2020

---

# Custom Javascript not Allowed

 *  Resolved [page52](https://wordpress.org/support/users/page52/)
 * (@page52)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/custom-javascript-not-allowed/)
 * Hello,
 * My Google Console is giving me the above error and when I send my test page through
   the amp tester it says invalid. Using Avada theme but not using Really Simple
   SSL. Please could you assist?
 * Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-javascript-not-allowed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/custom-javascript-not-allowed/#post-12471783)
 * The script error is coming from some plugin that is adding a custom script containing`
   pysWooSelectContentData`. That plugin is apparently not AMP-compatible. I’m surprised
   that it is adding that script to the AMP template, however. Can you determine
   which plugin is adding that to the page?
 *  Thread Starter [page52](https://wordpress.org/support/users/page52/)
 * (@page52)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/custom-javascript-not-allowed/#post-12471876)
 * Thanks for the quick reply. I deactivated Woo-focused plugins one by one and 
   it seems it’s caused by Pixelyousite Superpack. Thank you!
 *  [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/custom-javascript-not-allowed/#post-12473258)
 * [@page52](https://wordpress.org/support/users/page52/) Good to know you were 
   able to find the culprit, thanks for the update.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom Javascript not Allowed’ is closed to new replies.

 * ![](https://ps.w.org/amp/assets/icon.svg?rev=2527602)
 * [AMP](https://wordpress.org/plugins/amp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amp/)
 * [Active Topics](https://wordpress.org/support/plugin/amp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amp/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/custom-javascript-not-allowed/#post-12473258)
 * Status: resolved