3 ms·
Go for this on all pages instead: html[\26a1] body, html[amp] body { animation: none; } (I wrote \26a1 because HN doesn’t allow the literal U+26A1 cha
by chrismorgan 8y ago
Go for this on all pages instead:
html[\26a1] body, html[amp] body {
animation: none;
}
(I wrote \26a1 because HN doesn’t allow the literal U+26A1 character.)
That way it applies to all AMP pages, regardless of their URL, and doesn’t clobber any other pages (though I can’t actually imagine any genuine animation on a body element).
- hadrien01 8y agoWorks perfectly, thank you! I took the liberty to put it on userstyles.org for one-click install: https://userstyles.org/styles/171953/disable-amp-blank-loading https://userstyles.org/styles/171953/disable-amp-blank-loadi...