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.

Ask HN: Can we just agree on showing HTML without requiring JavaScript?

55 pointsby damirabout 3 years ago
I&#x27;m browsing with JS and cookies disabled for speed and safety. Lately, more and more simple and plain blogs require JS to show any text on website. Can we just agree on letting basic html do it&#x27;s thing? Why insist on JS to be able to show simple text on webpage?<p>For example: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30725933" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=30725933</a><p>Go ahead, disable JS and try opening blog on this link. Won&#x27;t happen...<p>This page is simple dark text on white background with some images sprinkled in. Why is JS required to show this?<p>I&#x27;m sure I&#x27;m not alone in this...

22 comments

notapennyabout 3 years ago
No, we can&#x27;t.<p>We can&#x27;t agree on your stance, because other people have different stances. You may have some reason why you want JS and cookies disabled, but many people don&#x27;t. JS has been a part of the internet for as long as I&#x27;ve been alive. Sure, it&#x27;s being used different and sometimes needlessly as with the blog you noted, but it&#x27;s here and it&#x27;s not going anywhere.<p>If you want the web to be cookieless and JS-less, you can disable them. But the web is not cookieless and JS-less. You get the experience you want. You can&#x27;t expect everyone to want that experience.
评论 #30732909 未加载
评论 #30732913 未加载
评论 #30733290 未加载
评论 #30733335 未加载
评论 #30734586 未加载
评论 #30732952 未加载
评论 #30732919 未加载
mrspeakerabout 3 years ago
I use this as a productivity tool: See something interesting on HN, click the link... it&#x27;s a blank page. Close the page, do something else. Often I remember I&#x27;m procrastinating and use it as the bell to get back to working on my side projects.<p>Even if I&#x27;m happily time-wasting - there&#x27;s a heck of a lot of stuff on the web, no need for dealing with sub-standard websites!
评论 #30732927 未加载
bArrayabout 3 years ago
I go further - if you want me to interact with your content regularly, add an RSS feed (or some other notifications system). I will _not_ remember to check your website on a regular basis, no matter how good the content is. Almost all of these JS websites do not have an RSS feed.<p>This all reminds me of the days when a whole website was an Adobe Flash application. It wasn&#x27;t good then and it isn&#x27;t good now.
评论 #30733203 未加载
评论 #30738519 未加载
blunteabout 3 years ago
I think it should not be an all or nothing proposition. A little js for the right reason can be valuable.<p>If we could instruct our browsers to use some budget constraints, such as max js size, max number of network requests, and max time, it would force site designers to reign in the unnecessary bulk.
评论 #30733066 未加载
评论 #30732817 未加载
rudasnabout 3 years ago
On mobile, in the EU, the Web is unbearable so I mostly use Chrome with JS disabled with very few exceptions.<p>When I care enough about the content I open the page with either Firefox or DDG.<p>Then again I know I&#x27;m an exception, as I don&#x27;t socialise or do anything fun online (anymore) or seek for cool stuff - just boring text only articles from HN and news.
JCWasmx86about 3 years ago
Yes. If your site requires JS for one of the following things, it is simply broken:<p>- Video<p>- Plain-Text<p>- Images<p>- Sometimes forms<p>HTML provides everything you could need in the huge majority of cases.
News-Dogabout 3 years ago
&gt; <i>browsing with JS and cookies disabled</i><p>Same, I would prefer to use <a href="https:&#x2F;&#x2F;nitter.net" rel="nofollow">https:&#x2F;&#x2F;nitter.net</a> front-end, rather than <a href="https:&#x2F;&#x2F;twitter.com" rel="nofollow">https:&#x2F;&#x2F;twitter.com</a><p>eg. <a href="https:&#x2F;&#x2F;nitter.net&#x2F;pastebin&#x2F;status&#x2F;1250847990131986432" rel="nofollow">https:&#x2F;&#x2F;nitter.net&#x2F;pastebin&#x2F;status&#x2F;1250847990131986432</a> vs <a href="https:&#x2F;&#x2F;twitter.com&#x2F;pastebin&#x2F;status&#x2F;1250847990131986432" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;pastebin&#x2F;status&#x2F;1250847990131986432</a>
评论 #30732790 未加载
kkfxabout 3 years ago
I absolutely agree. My own personal website have no js, well usable with links, eww, w3m etc BUT most people do not care, for most a Mb+ webpage is nothing strange and they do not care about privacy and safety.<p>Just try to see how many use a modern WebVM [1] without limiting it&#x27;s access to system resources (firejail, bubblewrap, capsicum, ...).<p>[1] those things too many call &quot;browsers&quot; for legacy reasons
epolanskiabout 3 years ago
Can we go back to a simpler time when cars weren&#x27;t media centers?
recursivedoubtsabout 3 years ago
I would recommend evangelizing and working on HTML-bridges to this:<p><a href="https:&#x2F;&#x2F;gemini.circumlunar.space&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gemini.circumlunar.space&#x2F;</a><p>Asking people to not require javascript is like asking them to not use cell phones: yes, it would probably be better in many ways but it&#x27;s not happening.
0xyabout 3 years ago
You are an extreme minority, and often any other visitor to a website who &quot;looks like&quot; you are malicious.<p>Why would anyone invest significant engineering time to placate a userbase that&#x27;s far far smaller than Internet Explorer 10 usage?
评论 #30732964 未加载
评论 #30732950 未加载
chrismsimpsonabout 3 years ago
The modern HTML spec assumes JS predictability as part of its parsing state machine.
reaperducerabout 3 years ago
Web sites can function well with both Javascript, and without Javascript. But programmers and companies have to want to do that.<p>Apple is a good example. It&#x27;s often accused (especially on HN) of having a web site that is long on flash and short on substance. It&#x27;s a massive company constantly trying to separate people from their money.<p>Guess what? apple.com works fine without Javascript.<p>And it still looks good. Even the pages flogging the latest phones and computers.<p>Almost any company can do the same. It just takes good managers, and good programmers. But both of those are in short supply these days.
评论 #30741100 未加载
gregjorabout 3 years ago
No, that train has left the station. We can’t agree to go back to riding horses to work instead of cars or churning our own butter either.<p>I have the same reaction you describe — why does a site site use so much Javascript to display a page that could be plain HTML? But try pushing that idea to customers and bosses and their marketing teams and advertisers.<p>Even sadder is I talk to more and more people calling themselves front-end developers who can’t write plain HTML and CSS and have no clue how HTTP works. For them web front-end means React (or whatever the flavor is this month).
forgotmypw17about 3 years ago
As I&#x27;ve commented elsewhere, I&#x27;ve found no-JS accessibility (as well as cookie and newsletter modals) to be great gatekeepers for low-quality content.<p>At some point, I&#x27;ve noticed a strong correlation between low-value content which was a waste of my time to read and these accessibility anti-patterns, so now I just close the tab and read the comments instead.<p>On the rare occasion I want to access the content despite these roadblocks, I use a proxy service.
trogabout 3 years ago
Weird how some giant companies that sell ads for a living invented these JavaScript frameworks that render sites totally unusable when JavaScript is disabled
daqhrisabout 3 years ago
Well, that&#x27;s an individual decision; its free software after all. There is a myriad of devs and more entering the field constantly.<p>I think it would be easier to invent a new programming language or a browsing engine than having a general consesus on what you are proposing.
baash05about 3 years ago
- About 2% of users have JS turned off (in the US)<p>- About 1.7% of people have horses (in the US)<p>Can we agree it makes as much sense to add horse friendly paths to the side of all the roads in the US, as it does to add JS friendly paths to web sites?
评论 #30741118 未加载
评论 #30741126 未加载
评论 #30741129 未加载
评论 #30741115 未加载
tmikaeldabout 3 years ago
You can&#x27;t even buy online without JS because card collection (HTML forms) requires PCI Certification, which is expensive and the majority of merchants can&#x27;t afford it.
radoabout 3 years ago
Yes please. Browsers need to add much more to CSS to avoid JS for simple things like powerful calc() (with attribute values, more math etc), vertical rhythm and so on.
BryanLundukeabout 3 years ago
&quot;Can we just agree on letting basic html do it&#x27;s thing? Why insist on JS to be able to show simple text on webpage?&quot;<p>Preach it, brotha!
jzellisabout 3 years ago
Maybe if the kids still remembered how to write html in a text editor without needing frameworks and fucking transpilers and bundlers. My first site was written with Notepad. Back then we just uploaded stuff to the server with FTP and we liked it! :-D
评论 #30733138 未加载