:: Re: [DNG] Block code animations in …
Góra strony
Delete this message
Reply to this message
Autor: Syeed Ali
Data:  
Dla: dng
Temat: Re: [DNG] Block code animations in Firefox
On Thu, 11 May 2023 12:37:26 -0700
capercally.bleery670@??? wrote:

> I mean things like this:
>
> https://fastapi.tiangolo.com/tutorial/
>
> I can easily disable it with uBlock on each site separately, but it
> gets old. The details of the CSS seem different on each site (on
> purpose?) so at my epsilon level understading of the web tech I cannot
> find a common pattern to kill it once & for all time.
>
> Can you? Thanks!


After using Stylish and poking around with CSS like these:

animation-duration: 0s;
animation: none !important;

I opened the developer tools, inspected the page, selected the element,
and reloaded the page. I could see it inserting additional HTML as it
animated.

Wouldn't that be JavaScript? In that case it's likely a lost cause for
universality. However, perhaps GreaseMonkey or the like could be
crafted to target whatever library they are using; I don't know.