Live data from Hacker News

Using the Web for a Day with JavaScript Turned Off

smashingmagazine.com

31–40 of 180 posts

Re: Using the Web for a Day with JavaScript Turned Off

#31
post #22

http://lite.cnn.io/en https://text.npr.org/ Every site should have a plain html option. Or create their html so that it works fine without js or cnn.

I'm trying to assemble a list: https://sjmulder.nl/en/textonly.html but so far there aren't many sites like this that I found useful.

Oooh cool, is noslite actually by the nos?

I can only applaud this effort!

Re: Using the Web for a Day with JavaScript Turned Off

#32
post #3

Install uBlock Origin and do it every day! I block all JavaScript, then re enable it when needed to fix a site. Often I just need to enable 1st party scripts in the uBlock Origin grid to fix it. Make sure you enable advanced mode to see the grid.

If you're serious about giving this a whirl, uMatrix is even better for fine-grained control. I disable everything except first-party images and CSS by default and it's like a whole new internet. There's a bit of a dance you have to get used to when things don't work, but I've got it into muscle memory now so I don't even think about it. I tend to click around in there enabling the first few obvious things for about…

I tried uMatrix, and uBlock Origin advanced mode, but after a while I decided it was too much fiddling. I'm back to using uBlock in default config, along with an /etc/hosts file.

Re: Using the Web for a Day with JavaScript Turned Off

#33

Earlier quoted context omitted.

I thought progressive enhancement. I think people expect much more interactivity now, (I think google maps was a driver and web based email as well), so it became harder to do pure back end. For example a lot of the queries I run now show a dynamically generated graph. I can do that on the back end, but much easier to use a javascript charting package. I guess I could just use javascript all the way down

> I think people expect much more interactivity now, This keeps coming up. Personally I keep thinking that devs and cv-driven development might be to blame as I rarely hear any customer demand anything that demands a frontend framework for their web sites (now web apps , that's another story).

Seconded. Actual users have little demand. Especially non-tech users. They just take what devs give them. Frontend stuff seems mostly fashion-driven these days, with designers copying other designers. I can't imagine any user actually asking for hero images, hamburger menus, floating headers/footers, webfonts, or making JS required to render article text.

Re: Using the Web for a Day with JavaScript Turned Off

#34
post #3

Install uBlock Origin and do it every day! I block all JavaScript, then re enable it when needed to fix a site. Often I just need to enable 1st party scripts in the uBlock Origin grid to fix it. Make sure you enable advanced mode to see the grid.

I have uBlock Origin and blocked all scripts on the Twitter website to try the trick described in the article, but nothing happened. Are noblock tags displayed when JS is disable in uBlock?

Re: Using the Web for a Day with JavaScript Turned Off

#35
post #3

Install uBlock Origin and do it every day! I block all JavaScript, then re enable it when needed to fix a site. Often I just need to enable 1st party scripts in the uBlock Origin grid to fix it. Make sure you enable advanced mode to see the grid.

If you're serious about giving this a whirl, uMatrix is even better for fine-grained control. I disable everything except first-party images and CSS by default and it's like a whole new internet. There's a bit of a dance you have to get used to when things don't work, but I've got it into muscle memory now so I don't even think about it. I tend to click around in there enabling the first few obvious things for about…

How does uMatrix compare to uBlock Origin with its matrix enabled through advanced mode? I can't tell much difference but would be willing to jump ship.

uBlock Origin doesn't have CSS or image control per domain but it's the JS I worry about!

Re: Using the Web for a Day with JavaScript Turned Off

#37
post #8

Back in 2006/7 I remember we'd use "progressive enhancement" to make a site work without JavaScript and then add JavaScript enhancements for those who had JS enabled. At some point (maybe after the popularity of Google Maps?) nobody wanted progressive enhancement and it was totally cool to just ignore users who had JS turned off. It made web app development so much easier, but probably less user friendly. It feels li…

It does make development easier, and at some point it just doesn't make sense to support any longer. If the number of people who visit your site with JavaScript disabled is less than the number of people who visit using the Opera browser, does it really make sense to add [number of supported browsers] x [JS on | JS off] permutations to your testing workload? Is spending the time and resources on creating a non-JS sit…

> It does make development easier, and at some point it just doesn't make sense to support any longer.

It depends on what you're doing. If you're building an app (something which would make more sense as a native program anyway), then sure — use JavaScript. But if you're displaying text and images, then HTML & CSS are perfectly capable of handling that.

In general, I think that a good content-focused website will work equally well across all browsers. There's no need to force end-users to allow you to execute code on their machines in order to display paragraphs or images.

> I'm more worried about the recent trend of sites not even working in Firefox anymore, just Chrome.

And I'm worried about the long-standing trend of sites not even working in lynx, links, elinks, eww or w3m anymore, just Firefox, Chrome & IE.

Re: Using the Web for a Day with JavaScript Turned Off

#38
post #8

Back in 2006/7 I remember we'd use "progressive enhancement" to make a site work without JavaScript and then add JavaScript enhancements for those who had JS enabled. At some point (maybe after the popularity of Google Maps?) nobody wanted progressive enhancement and it was totally cool to just ignore users who had JS turned off. It made web app development so much easier, but probably less user friendly. It feels li…

It's more than that, they could have fixed html to support snippets without needing a full page reload.

They haven't and now we're in this javascript SPA mess.

Re: Using the Web for a Day with JavaScript Turned Off

#39
Oh my lord, this article is non-sense. Had you gone to a website and had not been able to read anything I would say... good point. But you went to a Wordpress admin to prove your point. Lord have mercy... you're really going to hate your experience once WP switches to a JS based editor. Quick, let's try using Facebook and other apps built on JS frameworks and complain about the functionality not working. Let's try searching data tables with JS off, and let's try making ajax requests to load data over time instead all at once. It's not only in your browser it's in your phones, in apps that provide you services you can't live without.

These type of articles are a shame and are only written to instigate fights among developers. The world is using JS, it's on every major app. Get over it or make something better.

Re: Using the Web for a Day with JavaScript Turned Off

#40
post #8

Back in 2006/7 I remember we'd use "progressive enhancement" to make a site work without JavaScript and then add JavaScript enhancements for those who had JS enabled. At some point (maybe after the popularity of Google Maps?) nobody wanted progressive enhancement and it was totally cool to just ignore users who had JS turned off. It made web app development so much easier, but probably less user friendly. It feels li…

You are correct that it is simply not worth it. It was not worth it and we dropped it thankfully. Hopefully we can drop stuff like internationalization with all its wasted effort soon as well. Regarding JS, I hate its overusage as much as the next guy, but it is in no way a reason to block it all. Nobody is going to waste time to develop for inferior platform (web without JS logic) just so you alone could see an infe…

What do you mean about dropping i18n?

How can we drop that, force everyone to speak Esperanto?

Post reply on HN