by JoshMnem · 8y ago · 0 comments
edit: Dug up the code.
<style>
body {animation:-amp-start 8s steps(1,end) 0s 1 normal both}
@keyframes -amp-start{from{visibility:hidden} to{visibility:visible}}
</style>
<noscript>
<style>
body {animation:none}
</style>
</noscript>
The timeout function is turned off if JS isn't available, so JS being disabled shouldn't be a problem.I'm guessing this is actually to delay page paint so it doesn't display when half-loaded.
> block the AMP JavaScript
not,
> JS being disabled
Anyways, long story short, I don't like AMP and don't mind the occasional broken site. But it's definitely not for everyone.
https://developer.mozilla.org/en-US/docs/Glossary/Graceful_d...