• hello
    help me please
    Custom JavaScript is not allowed.
    First detected: 26/01/2019
    Status: Error
    more than 1400 pages

    Instance 1/2 in page
    <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>

    Instance 2/2 in page
    <script>

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @aljawalat,

    I’ve just tested the URL which you’ve shared and it seems the AMP is validated without any error and working perfectly. Here is the Screenshot: https://take.ms/REIpG

    Can you please share the exact URL where you’re seeing this error? We’ll check and let you know the solution.

    Thank you.

    hello @ampforwp same problem I have available

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @byaslan,

    May I know how you’re adding the custom javascript? In AMP, It’s officially declared that custom javascript is not allowed in AMP otherwise it will give the validation error. Please remove the custom script from the AMP to validate your AMP pages.

    Hope it helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom JavaScript is not allowed.’ is closed to new replies.