Live data from Hacker News

Your website should work without JavaScript (2021)

endtimes.dev

21–30 of 159 posts

Re: Your website should work without JavaScript (2021)

#21
post #2

As recent as 2016 I was building some sites without any JavaScript. These weren’t small sites either. You can achieve a lot using some basic forms. It was quite fun

"I Turned Off JavaScript for a Whole Week and It Was Glorious - Wired 2015" It's not 2015 or 2016 anymore, not even close. We're the better part of a decade moved on. This is not a valid argument any longer. JavaScript is a critical part of the modern web experience. You may not like it, but that doesn't change the fact.

I just read through that article. Of the specific things it mentions, I think Twitter might no longer work without JavaScript, but everything else is true now just as it was then.

Nothing has changed.

Source: personal experience, as one who blocks JavaScript by default because it makes the web better more than it breaks things. Also very occasional observation of people browsing the web with very similarly-configured browsers apart from the disabling of JavaScript, and of people browsing the web without even uBlock Origin or similar (and that’s really painful to watch).

Re: Your website should work without JavaScript (2021)

#23
I would very much like for HTML to incorporate concepts from htmx (particularly more flexible transclusion) so that more dynamic websites and applications can be built entirely in HTML.

JavaScript became popular because HTML stopped moving forward as a hypermedia, focusing instead on client-side features that, while certainly nice, didn't increase the expressive power of the format in terms of hypermedia.

Re: Your website should work without JavaScript (2021)

#24
post #6

Earlier quoted context omitted.

Why would people use WASM for their HTML content?

Because that is what new frameworks are doing.

There are situations where JavaScript is being replaced with WebAssembly. There are absolutely no situations where serialised HTML is being replaced with WebAssembly.

Re: Your website should work without JavaScript (2021)

#25
This is the site in question: https://missingdice.com/dice-roller/. It’s a nice site, I like it.

But if I made that site with JS, and some user wrote in telling me they disabled JS and it didn’t work, I’m much more likely to tell them to either enable JS or pound sand than I am to reimplement the logic on a platform where any requests beyond 125k/mo or 100hrs compute start billing me.

Re: Your website should work without JavaScript (2021)

#26
post #19

I’ve found that the best browsing for me has been a result of disabling HTML and CSS as well. No errors, 0 load time, accessible to anyone even if they don’t have a computer or internet connection. Websites built without JS is cute but if you’re serious about fast, accessible, error-free browsing then using HTML and CSS is really just bloat.

i agree. we need a browser that connects to port 80, remove all tags using regexp and put all links at the bottom like a true document format.

I enjoy browsing with curl and discarding the bodies of http requests. The headers give me all I need.

Re: Your website should work without JavaScript (2021)

#27

I’ve found that the best browsing for me has been a result of disabling HTML and CSS as well. No errors, 0 load time, accessible to anyone even if they don’t have a computer or internet connection. Websites built without JS is cute but if you’re serious about fast, accessible, error-free browsing then using HTML and CSS is really just bloat.

[deleted]

Re: Your website should work without JavaScript (2021)

#28
post #27

I’ve found that the best browsing for me has been a result of disabling HTML and CSS as well. No errors, 0 load time, accessible to anyone even if they don’t have a computer or internet connection. Websites built without JS is cute but if you’re serious about fast, accessible, error-free browsing then using HTML and CSS is really just bloat.

[deleted]

[deleted]

Re: Your website should work without JavaScript (2021)

#30

> Downloading d3.js (a popular graphing library) costs 1 cent in Canada. In Mauritania it costs 0.06% of the average daily income. The whatdoesmysitecost.com links are now broken and that site as a whole seems to be fairly broken, but it was discussed here last year: https://news.ycombinator.com/item?id=27759583 . They claim that the method they used to decide prices is a best-case scenario, but in reality it’s gener…

[deleted]
Post reply on HN