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.

  • kn0wmad1cOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 months ago

    Your repo made me want to convert the extension to TS, which I’ve never written in before.

    So I did that, and I’m getting to learn a new syntax! Thanks :D