Chrome for Android may start disabling JavaScript on 2G connections

This week a pull request was made on the Chromium project that, in certain situations, blocks Javascript from loading on 2G connections.

*

Currently the Gutenberg editor doesn’t work without Javascript; it doesn’t even have a noscript tag.

Chrome for Android may start disabling Javascript on slow connections, which would mean Gutenberg doesn’t work.This may be a non-issue: the suggestion is that there would be an ‘intervention bar’ asking the user if they want to load Javascript for a site so users would be able to make sites work.

But, the whole concept is interesting and gives an idea of how things could evolve in the future. For instance Flash used to be ‘click to play’ and is now being phased out. Of course I don’t think Javascript will be removed – Google use it all over the place – but it is a strong argument for progressive enhancement and not relying too heavily on Javascript.

I think WordPress, the editor, can probably get away with it. Users can install the WordPress app, or allow the Javascript download for the editing experience. But for themers and plugin developers; it’s a good reason to make sure the core reading experience works without Javascript.

Note: I have created a Gutenberg Issue suggesting a noscript tag is added. I think there should be at least a message explaining why the page is blank.

Was it good/ useful/ a load of old rubbish? Let me know on Mastodon, or BlueSky (or Twitter X if you must).

Link to this page

Thanks for reading. I'd really appreciate it if you'd link to this page if you mention it in your newsletter or on your blog.

Related Posts

07 Sep 2018

Finding the Essence of a Product

I was recently reading the article Via Negativa by Adrian Zumbrunnen and found it a really nice reflection on the reasons for creating a simple product.Minimalism in web design is an evergreen trend but how many of us have actually...
26 Sep 2018

WordPress get_post_gallery() Gutenberg Polyfill

I’m working on a new WordPress theme designed for Gutenberg, however Gutenberg isn’t finished, and there are elements that won’t work until the plugin is merged with core.One such issue, that I ran into this weekend, is that get_post_gallery() doesn’t...
21 Oct 2018

Contributing to WordPress

In this article for WPTavern Chris Van Patten shares his experience with contributing to the Gutenberg project. The original article was a Twitter thread, but it’s nicer reading a proper long form piece.For Chris, the experience of contributing to Gutenberg...
27 May 2013

WordPress: 10 Years Young, What Does The Future Hold?

WordPress is now 10 years old. I started using wordpress 9 years ago – which means I joined the WordPress community early on. The reason I chose WordPress is simply because of the fabled 5 minute install process – I...
20 Jul 2016

Empathy in Web Design

I wasn’t able to make WordCamp Europe this year, but they’ve been really quick at getting all of the talks online, and so I have been watching some of them – and this one stood out.Morten Rand-Hendriksen is an experienced...