Comment by orf

Comment by orf 6 months ago

8 replies

> There's absolutely no need for JavaScript on a page that has a text input and two buttons

The whole web is evil then. Hacker news has JavaScript for simple upvote buttons, is it also evil?

EvanAnderson 6 months ago

HN is usable w/o JavaScript. It doesn't block my access because I choose not to allow it to execute arbitrary code on my computer.

  • gnfargbl 6 months ago

    * execute arbitrary code in one of the best studied sandboxes on the planet, which happens to be running on your computer.

    • hedora 6 months ago

      … and is an extension of the largest surveillance apparatus ever built by mankind.

    • desdenova 6 months ago

      > which happens to be running on your computer.

      not if you turn it off

_Algernon_ 6 months ago

Voting works for HN without js. Just forces a page refresh.

bmacho 6 months ago

Hackernews don't require javascript for upvote buttons. They work without it.

BTW hackernews requires javascript for collapsing threads, despite it can be achieved with checkbox/css or with the summary element. The reddit frontend teddit used it, and it worked really well. HN is basically the same as reddit, so it would work really well for HN too.

pluc 6 months ago

I don't disagree with you. I use NoScript which lets me selectively enable every JS source a site has ever since marketers and advertisers have weaponized it, and you'd be surprised what you find and what works with minimal JS. If anything, it's very educational.

elicksaur 6 months ago

You miss the point. non-necessity =/= evil, but it does require a non-evil reason. JavaScript could be used on a site for some neat rendering or game where it’s necessary to do that neat thing. Without such a need, the person is inferring the change now is likely nefarious based on other actions from the same company and their motives.

I’m not necessarily agreeing with the OP, but I can understand their point without naively misconstruing it.