Live data from Hacker News

Your website should work without JavaScript (2021)

endtimes.dev

11–20 of 159 posts

Re: Your website should work without JavaScript (2021)

#11
I guess it depends if your website does something valuable or substantial.

If it's just your hobby site... great, develop it without JS.

But if it's a site people pay to access (or requires ads) and they expect some functionality - like Youtube or Netflix say - I don't think this is possible.

Re: Your website should work without JavaScript (2021)

#12
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.

Re: Your website should work without JavaScript (2021)

#14

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.

The infinitely-fast web! LMAO well played.

Re: Your website should work without JavaScript (2021)

#16
i don't think vanilla html saves more bandwidth than JavaScript. if a part of your website needs update (react,vue,fetch) only that part is transmitted over the wire. It's also less jarring for the user, since most browsers would scroll the content to the top.

Also, without JavaScript, some webapps would require storing user state in a server database rather than in memory of the browser.

Fix html and we won't need JavaScript.

Re: Your website should work without JavaScript (2021)

#17
> 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 generally not far off a worst-case scenario, regularly off from the likely realistic case by at least a factor of ten. Though there certainly are scenarios where the cost will be even higher than the figure presented.

—⁂—

> Very old browsers like IE

Your site should not work in those named browsers, because you should be serving by HTTPS only (no, your general-purpose public-internet site is not an exception). And using comparatively recent cipher suites so even things like IE 8 should not work. But the likes of Lynx, sure.

—⁂—

For my part, I default to turning JavaScript off via uMatrix because it makes the web better and faster and lighter far more often than it breaks things. But I also have that extension disabled in Private Browsing windows, so if I want to run something with JavaScript I can open it that way nice and easily.

Re: Your website should work without JavaScript (2021)

#18

I guess in real world scenarios, progressive enhancement is the way to go for many sites (like embedded web interfaces). Offer the minimum core functionality without js. Add js for better UX and additional functionality.

"Everything in moderation"

Spot on

Re: Your website should work without JavaScript (2021)

#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.

Re: Your website should work without JavaScript (2021)

#20

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.

There are such apps (pay for parking with SMS) and work just fine.
Post reply on HN