This userscript adds a checkbox to the sidebar that lets you turn magazine stylesheets on and off. It also remembers if you have a magazine's stylesheet disabled, so when you come back to it later, it'll still be turned off (or back on!)
If you don't have a userscript manager, you can install Tampermonkey or Firemonkey if you're on firefox, and then click the install button on the greasyfork page.
Here's what it looks like
5 Comments
JohnEdwa@kbin.social · 1 pts · 3y
Line 36:
let style = document.querySelector("head > style:nth-child(22)");is a rather easily broken way to do it (though I don't know anything better either :P ), and at least for me to make this work (on https://kbin.social/m/boycottreddit and https://kbin.social/m/SilentHill at least) I have to set it to the 21st child instead.artillect@kbin.social · 1 pts · 3y
I'll see if I can figure out a better way to do this, good job finding a decent workaround though
DreamySweet@kbin.social · 0 pts · 3y
That puts a checkbox on the magazine but it doesn't seem to do anything. Also, when it is unchecked, refreshing the page causes it to be checked again.
artillect@kbin.social · 2 pts · 3y
Hmm, it seems to have been broken by an update to the site (or maybe incompatibility with another script), I'll see what I can do about fixing it