Skip to content
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

Add support for script amp-onerror #501

Open
honeybadgerdontcare opened this issue Feb 24, 2021 · 1 comment
Open

Add support for script amp-onerror #501

honeybadgerdontcare opened this issue Feb 24, 2021 · 1 comment

Comments

@honeybadgerdontcare
Copy link
Collaborator

See ampproject/amphtml#22543 (comment).

Support adding <script amp-onerror>document.querySelector("script[src*='/v0.js']").onerror=function(){document.querySelector('style[amp-boilerplate]').textContent=''}</script> to the <head>.

@jridgewell
Copy link
Contributor

We should probably wait for b/163852894 before adding it further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants