Can I override custom styles for magazines?

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

6 points · 6 comments · view on lemmy.world

6 Comments

atocci@kbin.social · 4 pts · 3y (4 replies)

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 pts · 3y (3 replies)

@atocci thanks I will check it out.

Mr_Figtree@kbin.social · 5 pts · 3y (2 replies)

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 pts · 3y

Thank you!

minnieo@kbin.social · 2 pts · 3y

worked like a charm

vaguerant@kbin.social · 2 pts · 3y

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.