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. 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): 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%. [link] [comments] |