this post was submitted on 09 Jul 2023
6 points (100.0% liked)

/kbin meta

63 readers
1 users here now

Magazine dedicated to discussions about the kbin itself. Provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics. ---- * Roadmap 2023 * m/kbinDevlog * m/kbinDesign

founded 2 years ago
 

Is there a way to configure kbin to ignore custom css on magazines?

top 6 comments
sorted by: hot top controversial new old
[–] atocci@kbin.social 4 points 2 years ago (1 children)

Nothing built in but there are tampermonkey scripts for it on the @kbinstyles magazine. I think it was in the pinned post.

[–] readbeanicecream@kbin.social 2 points 2 years ago (1 children)
[–] Mr_Figtree@kbin.social 5 points 2 years ago (2 children)

I'm using kbin Magazine Style Toggle to disable the custom styling on certain magazines, but I had to modify line 36 to make it work:

36c36
<         let style = document.querySelector("head > style:nth-child(22)");
***
>         let style = document.querySelector("head > style:nth-of-type(1)");

[–] readbeanicecream@kbin.social 2 points 2 years ago
[–] minnieo@kbin.social 2 points 2 years ago

worked like a charm

[–] vaguerant@kbin.social 2 points 2 years ago

You already got a solution to this, but an alternative mechanism for people who use uBlock Origin is to add this filter to your custom list:

kbin.social##^style

That assumes you're on kbin.social, obviously substitute in your home kbin instance.