56
submitted 2 months ago* (last edited 2 months ago) by kn0wmad1c@programming.dev to c/programming@programming.dev

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.

you are viewing a single comment's thread
view the rest of the comments
[-] LarkinDePark@lemmygrad.ml 3 points 2 months ago

I tend to think that extensions for websites should be treated as feature requests by the website. Reddit for example should have just incorporated RES features.

One I liked was tags for users to I could remember who they are better.

[-] towerful@programming.dev 5 points 2 months ago

An extension is a great way for users to try features before companies implement them.
I have huge respect for games that enable modding, then - respectfully - incorporate mod QoL features into the main game. It shows they are listening to the community.

An extension is actually a great way to propose a feature, allow users to try it, and if it's popular then you have a great case for devs to implement it.

And I wish that Reddit had spent time & money implementing RES features natively. It was basically a "Reddit but useable" feature list.

[-] v9CYKjLeia10dZpz88iU@programming.dev 1 points 2 months ago* (last edited 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.

this post was submitted on 19 Aug 2024
56 points (98.3% liked)

Programming

17351 readers
298 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS