Title: Custom Java script not allowed
Last modified: July 6, 2020

---

# Custom Java script not allowed

 *  Resolved [dmr440](https://wordpress.org/support/users/dmr440/)
 * (@dmr440)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/)
 * Hi there google search console is showing this error. Not sure what to do as 
   I know nothing about html code. This appears to be the error
 * <script type=”text/javascript”>!function(){“use strict”
 * Thanks for your time
    Dave
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-java-script-not-allowed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13076728)
 * We didn’t find any issues on your page. This is a valid AMP page.
    Like this:
   [https://prnt.sc/tcmhoj](https://prnt.sc/tcmhoj)
 * Can you please share the screenshots of the Google search console?
 *  Thread Starter [dmr440](https://wordpress.org/support/users/dmr440/)
 * (@dmr440)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13079436)
 * Hi there,
 * Thanks for your reply. How d I add screen shots here?
 *  Thread Starter [dmr440](https://wordpress.org/support/users/dmr440/)
 * (@dmr440)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13079501)
 * I have them saved here? [https://www.flickr.com/photos/189202775@N02/?](https://www.flickr.com/photos/189202775@N02/?)
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13084886)
 * Can you please share the URL of which page showing “Custom Javascript not allowed”?
   And also please click the “validate fix” button in the search console.
 * Follow this tutorial: [https://ampforwp.com/tutorials/article/how-to-send-for-recrawling-your-website-in-google-search-console/](https://ampforwp.com/tutorials/article/how-to-send-for-recrawling-your-website-in-google-search-console/)
 *  Thread Starter [dmr440](https://wordpress.org/support/users/dmr440/)
 * (@dmr440)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13088667)
 * Hello sir thanks again for your reply.
 * The validation is now starting and pending. I’ll let you know the outcome. This
   most likely means the issue will soon be resolved from past experience.
 * Will be in touch again as soon as I notice any changes.
 * Cheers
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13088731)
 * Ok. When the issue resolved please let me know.
 *  Thread Starter [dmr440](https://wordpress.org/support/users/dmr440/)
 * (@dmr440)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13111905)
 * Hi there sorry for the delayed response.
 * It looked like the validation was working but now there’s 2 more warnings. Here’s
   the url’s
 * [https://quartermileaddiction.com/2020/06/27/experience-drag-race-merch-history-by-quarter-mile-addiction/amp/](https://quartermileaddiction.com/2020/06/27/experience-drag-race-merch-history-by-quarter-mile-addiction/amp/)
 * [https://quartermileaddiction.com/2020/06/21/cool-hot-rod-shirts-1938-willys-pickup-gasser/amp/](https://quartermileaddiction.com/2020/06/21/cool-hot-rod-shirts-1938-willys-pickup-gasser/amp/)
 * Thanks again for your help. Much appreciated
 *  Plugin Author [Ahmed Kaludi](https://wordpress.org/support/users/ahmedkaludi/)
 * (@ahmedkaludi)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13114490)
 * We checked your pages. We didn’t find any issues on your pages. The two pages
   are valid AMP page.
    Like this: [https://prnt.sc/tgnspo](https://prnt.sc/tgnspo)
   [https://prnt.sc/tgnsv9](https://prnt.sc/tgnsv9)
 *  Thread Starter [dmr440](https://wordpress.org/support/users/dmr440/)
 * (@dmr440)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13114532)
 * Ok thank you. Not sure what is going on with google search console. I tried to
   validate this again 10 hours ago. I’ll wait a few more days then try again.
 * Thanks again for your help.

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

The topic ‘Custom Java script not allowed’ is closed to new replies.

 * ![](https://ps.w.org/accelerated-mobile-pages/assets/icon-256x256.png?rev=1693616)
 * [AMP for WP - Accelerated Mobile Pages](https://wordpress.org/plugins/accelerated-mobile-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/accelerated-mobile-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/accelerated-mobile-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/accelerated-mobile-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/accelerated-mobile-pages/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [dmr440](https://wordpress.org/support/users/dmr440/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/custom-java-script-not-allowed/#post-13114532)
 * Status: resolved