Hacker News new | ask | show | jobs
by praptak 3750 days ago
Tor users do disable JS. A friend who makes Tor sites told me that it makes web development interesting.
1 comments

Only because JS has been used as lipstick on the html pig. Html should do a lot more by default, which would make javascript unnecessary in 90% of the case. A few features that should really be html based:

- form/input server-side validation (you would specify a URL as an attribute of the input / form to which what-if data would be posted)

- input auto-complete (same thing, URL in attribute of the input)

- adaptive design (they should rethink CSS with various formats in mind)

With these 3 things alone I think you can pretty much create a fully working JS-free website. You would only need JS if you really need to build a SPA (which should be the exception: online trading platforms, etc).

The fact that now even a blog article is not viewable without JS is a joke.