From my reading of https://www.ampproject.org/docs/fundamentals/spec, it looks like you could override this behaviour in uBlock Origin with a style cosmetic filter. Something like... ##html[amp] body,html[\26A1] body:style(animation:none!important)
(I can't test it in my current browser, unfortunately, but I think that's right.)[edit] Update: I got to a browser I could test it on. Unfortunately, it turns out uBO doesn't let you apply :style() rules to all pages indiscriminately, you have to specify a domain name pattern - which is pretty annoying, because the principle is evidently sound; this does work on the link in OP: ehow.co.uk##html[amp] body,html[\26A1] body:style(animation:none!important)
Hrmph.Alternatively, you could use a CSS injection addon (or userContent.css, in Firefox) to add the rule to all pages: html[amp] body, html[\26A1] body {
animation: none !important;
}
Or do it with a userscript (ie via Greasemonkey or similar).[edit 2] It appears uBO is aware of a need for something like this - they provide an injectable "scriptlet" that adds the necessary CSS: https://github.com/gorhill/uBlock/wiki/Resources-Library#amp... Unfortunately, scriptlet injection also can't be applied to every page indiscriminately. :/ ! works on OP's link
ehow.co.uk##script:inject(ampproject.org/v0.js)
! doesn't work at all
##script:inject(ampproject.org/v0.js)
So I'm just mentioning it here for completeness' sake. |