this post was submitted on 07 Jul 2023
21 points (100.0% liked)
Kbin Userstyles and Userscripts
15 readers
1 users here now
Custom CSS and JS to help improve your Kbin experience! ### Userscripts Greasy Fork ### Stylesheets UserStyles.world ### Userscript managers
- Tampermonkey - FireMonkey (Firefox only) - Violentmonkey ### Stylesheet managers
- Stylus (chrome/edge, firefox) - Cascadea (safari only)
founded 1 year ago
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Seems it broke for me. Inspection shows an error "DOMException: Document.querySelector: '.dropdown:has(.login)' is not a valid selector"
Are you possibly on Firefox? The userscript now requires the
:has()
selector which is disabled behind a flag on Firefox. you can enable it by opening about:config in a new tab, searching forlayout.css.has-selector.enabled
and setting it to trueThat did it. Weird that the first refresh had both the old indicator and the bell showing, but now it's back to normal again. I guess there's no way to indicate to FF users what needs to be toggled, is there?
It's on the greasyfork page, but I will probably add a warning that shows up if the userscript detects you don't have it enabled in a future update
Definitely if you can detect it, have it break gracefully and let the user know. Wasn't sure if that was possible or not. I can't fault FF for locking some things down a bit.
Yeah, I will definitely do it the first thing in the morning! It's too late for me to do that now