Vista Normal

Hay nuevos artículos disponibles. Pincha para refrescar la página.
AnteayerSalida Principal

Userscript to fix ram/bandwidth issue on Civitai

16 Abril 2025 at 10:04
Userscript to fix ram/bandwidth issue on Civitai

Since Civitai added gif/badge/clutter the website has been sluggish.

Turns out they allow 50mb images for profiles and some of their gif badge/badge animation are +10mb.
When you are loading a gallery with potentially 100 different ones, it's no wonder the thing takes so long to load.

Just a random example, do we really need to load a 3mb gif for 32x32px ?

So, with the help of our friend deepseek, here is an userscript that prevent some html elements to load (using Violentmonkey/Greasemonkey/Tampermonkey):
https://github.com/Poutchouli/CivitAI-Crap-Blocker

The script removes the avatars, badges, avatar outlines, outline gradients on images.

I tested it on Chrome and Brave, if you find any issue make sure to either open an issue on github or tell me about it here. Also I do not generate images on there, so the userscript might interfere with it, but I haven't ran into any issues with the few tests I did.

Here is the before/after with loading the front page

Some badges still shows up because they don't stick to their naming conventions. But the script should hide 90% of them, the worst offenders are the gifs ones which are mostly covered in those 90%.

submitted by /u/Patchipoo
[link] [comments]
❌
❌