Hacker News new | ask | show | jobs
by robin_reala 1842 days ago
HN uses JS for the voting buttons.
2 comments

I assume also for thread collapsing. For some reason, it is pretty slow on large threads.
Yeah I looked at the code once and I believe it was recursively collapsing every single comment under when you clicked collapse, and also storing the state of each in localstorage I think. It didn't quite make sense. I think it has been fixed though it's much faster now.

Also not sure when we're finally get non-paginated page loads.

It also has ads. Few, limited to YC companies, but ads nonetheless.