Hey all, I made a Firefox extension (signed by Mozilla) specifically to add Show/Hide Child Comments functionality similar to how RES had it (where the parent comment is still visible).

It’s not very useful, but I could use some feedback on tightening up the Javascript. I’m not a JS beginner, but I know I can do better, so any tips are welcome!

EDIT: Also, if anyone has any suggestions for the extension, I’m open to those as well.

  • v9CYKjLeia10dZpz88iU@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 months ago

    I thought that the idea of just explaining to instance hosters that they can start user-like scripts on every page might be a good enough plugin system for LemmyUI until there’s more effort into a real plugin system. Users don’t have to install extensions, and people running instances can make decisions for improving the UI.

    With a centralized services like reddit, this doesn’t work very well. Though the fediverse allows lots of customizations when it’s related to themes.