News for hackers. Stuff that matters.
Re:Teddit: a free and open-source Reddit front end focused o... by NosyHammock on Saturday December 05, 2020 @07:47AM (#25314140)
>The show/hide design pattern is annoying, IMO.

Hmmh, I don't know how to make it better. It's really challenging to do it without JS in the first place. Do you have any ideas?

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.

Re:Teddit: a free and open-source Reddit front end focused o... by 1vuio0pswjnm7 on Saturday December 05, 2020 @02:49PM (#25317692)
The way I work around this, if I am stuck using a Javscript-enabled browser, is to just view the source of the page.

The information (content) is right there, in the page. I would say there is nothing to fix. It is just the Javascript getting in the way.