News for hackers. Stuff that matters.
Re:Teddit: a free and open-source Reddit front end focused o... by j-krieger on Saturday December 05, 2020 @07:52AM (#25314167)
So you're asking how to do it without a tool that was specifically designed for that purpose? I really don't get the hate for JS these days.
Re:Teddit: a free and open-source Reddit front end focused o... by NosyHammock on Saturday December 05, 2020 @10:16AM (#25315115)
>So you're asking how to do it without a tool that was specifically designed for that purpose?

Yes, you are correct. This is a hobby project of mine, and one of the goal was to make old.reddit.com like UI without no JS at all. That's what I will do.

>I really don't get the hate for JS these days.

Unnecessary Javascript bloats websites, hogs system resources, enables surveillance, hinders accessibility that’s native to devices and clients, and introduces vulnerabilities. https://nojs.club/

Of course in this case using JS to hide/show comment tree wouldn't really be that bad, but works fairly well without it. Not many have complained.