5 ms·
> JavaScript should always be enabled. Why? Most pages are static text and images, most pages don't need JS. So why should JS be always enabled?
by rebolek 4y ago
> JavaScript should always be enabled.
Why? Most pages are static text and images, most pages don't need JS. So why should JS be always enabled?
- h4x0rr 4y agoI think they wanted to say that when you make a website you can pretty much expect everyone to have javascript enabled since it's on by default. Outside of HN IT nerds of course :p
- speedgoose 4y agoWhen I look at the most visited websites, I see mostly web applications that are a bit more complex than static text and images and they all require JavaScript. For sure you could create lightweight versions of many of these applications, without JavaScript and server side generated HTML, but my point is that the users should have JavaScript enabled to browse the web. https://en.m.wikipedia.org/wiki/List_of_most_visited_websites https://en.m.wikipedia.org/wiki/List_of_most_visited_website...
- chipotle_coyote 4y agoI wouldn't be as prescriptive as the OP, but it seems to me that the vast majority of web sites for 15+ years have had some JavaScript, even if they aren't "single page applications". Sometimes those sites will break completely without JavaScript, but very often it's more that parts of them break, or just work worse. I know the folks who advocate turning off JavaScript think that such reduced functionality is a worthwhile tradeoff, but they don't know what they're missing in a very literal sense. And I can't help but suspect the main benefit they're getting is not improved security; it's a warm, fuzzy feeling of smugness. Many of them probably also use Emacs.