TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

What's the deal with sites that require JavaScript to render any content at all?

8 pointsby jamiewebover 6 years ago
I use Google Chromium, and I have JavaScript disabled by default. I then whitelist specific trusted sites that require it.<p>There are a large number of websites that display nothing but a blank, white page when visiting them with JS disabled.<p>Some of these websites are very popular, large and well-known, while others are smaller startup&#x2F;personal projects that are posted on HN.<p>Is there a particular design decision that results in this large number of websites? Or perhaps a common framework that doesn&#x27;t have a &lt;noscript&gt;-like component?<p>I&#x27;m not expecting the full website to work with JS disabled, but I should at least be able to view the static content. At the very least there should be a warning suggesting that JS should be enabled.<p>I know that I&#x27;m in an extreme minority with this, but it seems like a silly thing for website operators to miss out.

4 comments

CM30over 6 years ago
Most JavaScript frameworks load content just fine without JavaScript. For instance, React, Vue and Angular can all do this with server side rendering.<p>But it requires a bit of work to set up, and so some developers either can&#x27;t figure it out or can&#x27;t be bothered to try and figure it out, hence the JavaScript needed to render the page at all thing.
codegeekover 6 years ago
The thing is that in 2018, JS is a requirement. Yes developers <i>could</i> spend extra time adjusting for static vs dynamic content but there is a tradeoff to everything. In most cases, it is not worth tweaking the site to cater to audiences who turn off JS by default. You are just a small minority and not worth the time. It is all about trade-offs.
评论 #18464546 未加载
评论 #18463791 未加载
buboardover 6 years ago
It seems to be part of the whole JS-ification of everything. I expect this to take its time, and in 3 years people will be laughing at the kitchy-ness of this era.
zzo38computerover 6 years ago
I agree this is stupid, most document you shouldn&#x27;t need any scripts to display them.