Forum > Documentation (Maintaining -)

Running and stuttering Cheetah on documentation pages

<< < (2/2)


--- Quote from: trev on February 26, 2022, 01:33:32 am ---My SeaMonkey (nee Netscape Communicator and then Mozilla Suite) allows me to set "Animated images should loop" (1) as many times as the image specifies (2) once (3) never. I have it set to once, so I've never been annoyed  :-)

I'm not sure about other browsers as I've used SeaMonkey for web browsing and as an email client almost exclusively since 1994.

--- End quote ---

I've used SeaMonkey (AKA IceApe, nee Mozilla Suite nee Netscape Communicator) a lot in the past, but mainstream Firefox no longer has that menu entry.

Fiddling and Googling, the corresponding setting in about:config is image.animation_mode, which takes the values "normal", "once" or "none", but I suspect that it might also interfere in some way with completion of the page-load operation (the animation on the tab might take much longer than normal to settle down).

Regrettably, we live in an era where using about:config is quite simply beyond most people. Now obviously it's not beyond me, but the browser profile I use for simple documentation etc. already has as much scripting as possible disabled, and it's irritating to find a 90's style animation intruding.


You can run the following Javascript code in the console and close the relevant view.
If you want, I can write this for you as a Chrome extension and automate things.

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---const elements = document.getElementsByClassName("mw-wiki-logo");while(elements.length > 0){        elements[0].parentNode.removeChild(elements[0]);    } 
Or you can create your own browser with CEF3 or CEF4Delphi and run this code automatically.


[0] Message Index

[*] Previous page

Go to full version