this post was submitted on 15 Jun 2023
20 points (100.0% liked)
Lemmy Plugins and Userscripts
2145 readers
1 users here now
A general repository for user scripts and plugins used to enhance the Lemmy browsing experience.
Post (or cross-post) your favorite Lemmy enhancements here!
General posting suggestions:
- Preface the submission with the type of enhancement - ex: [UserScript].
- Include a screenshot of the enhancement in use (where possible)
- Indicate the requirements for use (eg, greasemonkey, stylus, etc.)
Thanks!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Great job, thank you!
Just one thing - it would be great if these rules would not work on strictly moderated instances themselves because there is no point of such highlighting there. We can configure it in userscript setting in UI. But it's better to have such logic right in the scripts itself. So far I have just added this additional condition to the block at the end:
if (isLemmy && !isStrictlyModerated(window.location.hostname)) {
GM_addStyle(...