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
[-] Lemminary@lemmy.world 1 points 2 months ago* (last edited 2 months ago)

bundle for both chrome and Firefox

You're a true warrior tolerating that. It gives me headaches.

E: And you even set up Storybook? Respect.

[-] Baizey@feddit.dk 2 points 2 months ago

Oh yeah, but the current manifest v3 difference between Firefox and Chrome is peanuts compared to when I had to have custom logic around regex as they didn't support the same set of regex specs. Fuck that

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

Programming

17318 readers
56 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