New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The tag 'script' is disallowed except in specific forms. #405

Closed
aniskhan001 opened this Issue Jun 15, 2016 · 4 comments

Comments

Projects
None yet
4 participants
@aniskhan001

aniskhan001 commented Jun 15, 2016

Google Search Console reports there is some User-authored JavaScript found on page.
But I believe currently there is none with my page.
Example url: http://futurism.com/apotd-sharpest-view-of-ngc-1300/amp/

I don't know the exact problem at this moment.
But could be related to this? ampproject/amphtml#2966

@mjangda

This comment has been minimized.

Show comment
Hide comment
@mjangda

mjangda Jun 22, 2016

Member

It's due to the newrelic script that's being automatically added to the page. I'd suggest disabling it for AMP content.

Member

mjangda commented Jun 22, 2016

It's due to the newrelic script that's being automatically added to the page. I'd suggest disabling it for AMP content.

@mjangda mjangda closed this Jun 22, 2016

@aniskhan001

This comment has been minimized.

Show comment
Hide comment
@aniskhan001

aniskhan001 Jun 27, 2016

The newrelic script was not included on the reporting date. Added later for some internal testing. I will update the ticket if I found any clue.

aniskhan001 commented Jun 27, 2016

The newrelic script was not included on the reporting date. Added later for some internal testing. I will update the ticket if I found any clue.

@EmpowHERRyan

This comment has been minimized.

Show comment
Hide comment
@EmpowHERRyan

EmpowHERRyan Jul 13, 2016

Having the same issue. Both valid amp scripts in head (ads and analytics), but validator fails. If I remove them, it validates ok. Any luck?

EmpowHERRyan commented Jul 13, 2016

Having the same issue. Both valid amp scripts in head (ads and analytics), but validator fails. If I remove them, it validates ok. Any luck?

@ymkjp

This comment has been minimized.

Show comment
Hide comment
@ymkjp

ymkjp Sep 4, 2016

There is a PHP API newrelic_disable_autorum to disable NewRelic by each request. And I found a plugin _disabled-newrelic-for-amp_ to do this working with amp-wp.

ymkjp commented Sep 4, 2016

There is a PHP API newrelic_disable_autorum to disable NewRelic by each request. And I found a plugin _disabled-newrelic-for-amp_ to do this working with amp-wp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment