by tokenizerrr · 10y ago · 0 comments
It's probably because you opted to disable one of the essential web technologies in your browser. Plenty of websites are written as SPAs nowadays. This is like complaining that pages are black on white because you disabled CSS. Or that you can't see websites at all because you uninstalled your browser.
It is entirely unlike the examples you gave. Especially because his browser does show ~99% of the internet properly (with various degrees of functionality, but still something does come up), and that there spiders, proxies, screenreaders, and other useful software which will also see nothing on this page.
It's a static list of items. Hardly very efficient to load all that javascript, do a server request, just to display a list is it.
Still, this guy did it (took a long time between this site being up and the post on HN that instigated it) while the rest of the readers in that thread who thought it would be a good idea, including me, didn't. So kudos for 'just doing it' anyway.
Edit: I checked hours ago and then it was clean but apparently there is no moderation on it either... So this site would've taken literally less than an hour including hosting setup to put together? Still I didn't do it while I did like FuckedCompany and think it's good to have something like it.
It wouldn't run without JavaScript being enabled, for one.
Would you ever make the argument: "this website would be so much easier to use with a little Javascript, but Javascript is bad for the environment, so it should remain without"?
If not, the environment isn't actually a factor in the reasoning process. It's just a club to wield when it supports what you've already decided is the correct answer.
Disabling JS displays nothing at all, while changing text and background color is a progressive enhancement.
Content should still be accessible without JavaScript, even if, perhaps, in a less convenient way, i.e., every click reloads the entire page
It's the World Wide Web. Being accessible to everyone is the whole point.
We have other platforms that target specific markets. That's fine. But we only have one Web.
It's not an arbitrary rule, it's just that they always have.
That's the hole point of progressive enhancement, you don't start requiring some technology as soon as it reaches x% market share and ignore the remaining minority. You build on top and offer a better experience to those that can or want.
In the apps world, it's usual to draw a line on a set of minimum system requirements and expect that line to move forward as the years go by.
But this is the Web, being accessible should be a priority.
I got used to this comfortable way of browsing the web and seeing more sites that don't work without JS doesn't make me happy.
However a "website" has the purpose of 'displaying information' -- essentially some form of text + images akin to a newspaper page. In those cases JavaScript is an enhancement but ought not be a requirement.
For a web application though, not using JavaScript is like a car pulled by donkeys. Sure you can sit in it and try to steer but it doesn't provide optimal functionality.
However on the other hand, anyone expecting a good web experience in 2016 without JavaScript is fighting a Quixotic battle.
You're making a conscious decision based on the trade-offs at hand and saying that every website should double down on server side rendering to cater to your intolerance of how modern web browsing works. That's just not feasible.
If your site looks like garbage when I turn the javascript off, fair enough. If your site breaks because it needs to do client side process, then that's on me, fair call.
But if your website can't even load text without javascript, then you're using a carpenters square as a hammer. Loading text is what html does. That's it's one and only job, and it's really fucking good at it. Way better at it than javascript is.
If your website cannot load text without javascript, you're a shitty developer, because you're rejecting the objectively correct tool and shoehorning a far more complex tool into it's place. That's how you get security vulnerabilities and high maintenance costs. It's the very definition of over engineering.