:: Re: [DNG] Block code animations in …
Pàgina inicial
Delete this message
Reply to this message
Autor: dng@d404.nl
Data:  
A: dng
Assumpte: Re: [DNG] Block code animations in Firefox
On 11-05-2023 22:40, Syeed Ali wrote:
> 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.


I opened this website with the Noscript addon enabled in Firefox and no
animated code block to be seen.

Grtz

Nick