Title: Custom JavaScript is not allowed.
Last modified: February 23, 2019

---

# Custom JavaScript is not allowed.

 *  [shaz2012](https://wordpress.org/support/users/manjushaz2012/)
 * (@manjushaz2012)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-javascript-is-not-allowed-7/)
 * Hi,
    I am getting ‘Custom JavaScript is not allowed.’ to almost all of my pages
   in google search console.
 * I am not able to figure out the problem.
 * I am using AMP plugin.
 * Please help.
 * Thank you
    -  This topic was modified 7 years, 3 months ago by [shaz2012](https://wordpress.org/support/users/manjushaz2012/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcustom-javascript-is-not-allowed-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Priyanka Behera](https://wordpress.org/support/users/priyankabehera155/)
 * (@priyankabehera155)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-javascript-is-not-allowed-7/#post-11238417)
 * Hi [@manjushaz2012](https://wordpress.org/support/users/manjushaz2012/)
 * Yes “Custom Javascript is not allowed” for this you have to use `amp-bind`.
 * [https://www.ampproject.org/docs/reference/components/amp-bind](https://www.ampproject.org/docs/reference/components/amp-bind)
 * Please check it.
 * Thanks
 *  Thread Starter [shaz2012](https://wordpress.org/support/users/manjushaz2012/)
 * (@manjushaz2012)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/custom-javascript-is-not-allowed-7/#post-11238475)
 * Hi Priyanka
 * Thank you for your reply.
    Is there any plugin to solve this problem? Many of
   my pages are affected by this error.
 * Actually, I am not coding manually. I don’t know where to do those changes.
 * Thanks

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

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

## Tags

 * [Custom JavaScript is not allowed](https://wordpress.org/support/topic-tag/custom-javascript-is-not-allowed/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [shaz2012](https://wordpress.org/support/users/manjushaz2012/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/custom-javascript-is-not-allowed-7/#post-11238475)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
