r/webdev • • Feb 14 '26

Discussion Do me a favour, disable JavaScript

Some time ago, I stumbled upon this website and started reading some articles.

After opening a link on a new tab and returning back to the site, I noticed a layer with a message explaining why it would be better to disable JavaScript. I was curious to try it, so I followed the instructions and disabled JavaScript. It's been about six months since I disabled JavaScript, and it's incredible to see how unreadable the web has become.

And it's your fault.

Some sites are navigable, to the extent that certain functions, such as completing an online payment, require JS to be enabled.

Others, however, are completely invisible.

Today I received an email listing 12 professional websites, and all 12 were completely invisible without JavaScript enabled. I cannot even read the contact like a phone number or an email.

I understand that disabling JavaScript is an extreme choice and that only nerds like me and the guy from the site I linked to are willing to continue browsing this way.

I also understand that the various bots of the major search engines have now evolved and are even able to index a site that makes extensive use of JavaScript.

But it is really sad to see that the web, which was created precisely to share ideas, is now just unreadable to human.

Do me a favour: disable JavaScript now, and if the projects you are developing do not work, review them until they are at least readable by a human being.

More info: https://disable-javascript.org/

0 Upvotes

47 comments sorted by

6

u/queen-adreena Feb 14 '26

Disable CSS and see how unreadable the web has become too!

3

u/azangru Feb 15 '26

That's what some people do on the [css naked day](https://css-naked-day.org/), to make sure their sites are still readable

2

u/fpluss Feb 15 '26

Didn't know this project, I love it!

-3

u/fpluss Feb 15 '26

If you were a real web developer, you would know that what you wrote is not true, since CSS is a style sheet and you can read the content of the page even without it.

2

u/queen-adreena Feb 15 '26

And if you were a real web developer, you'd know about media queries, hidden/branching elements, psuedo elements and grid/flex order.

0

u/fpluss Feb 15 '26

But what does that have to do with it? If I have a well-structured website, even if I disable CSS, I can still read the content.

You're getting off topic.

My point was to make people realise that the web is now dichotomous: either it works or it doesn't.

Disabling JS is a way to realise what could happen if anything else goes wrong: connection errors, script errors, etc.

If I arrive on your website and see a blank page just because you are unable to offer the user a good browsing experience, then I am sorry, but you are a mediocre developer.

Regardless of whether or not I have voluntarily disabled JS, because there could be a thousand other reasons that lead to the same effect.

0

u/queen-adreena Feb 15 '26

This little Luddite rant isn’t going too well for you is it…

0

u/fpluss Feb 15 '26

It seems that my provocation has stung the queen.

0

u/queen-adreena Feb 15 '26

A queen does not concern herself with the irrelevances of outdated and obsolete developers.

9

u/CandidateNo2580 Feb 15 '26

Why don't you disable html and CSS rendering while you're at it and browse text files. Hell while we're going down this road, disable your Internet connection. Turn off your computer. Why exactly are we catering to JavaScript being disabled?

4

u/uncle_jaysus Feb 15 '26 edited Feb 15 '26

That’s a pretty disingenuous response.

Why would anyone need to disable HTML and CSS, when all the junk that users are forced to load is JS?

Sites that use JS sparsely, and work properly without needing JS, are wonderful. They run faster and put less load on people’s computers. Turning JS off is an improvement. Or at least it would be if so many websites that don’t actually need it, didn’t have an unnecessary reliance on it.

3

u/fpluss Feb 15 '26

Thank you for understanding the meaning of my post. You hit the nail on the head and understood the point of my provocation.

And judging by the comments, it brought out the laziest developers.

The next time I interview a developer, I know what topic to bring up to assess their skills.

3

u/uncle_jaysus Feb 15 '26

For too many developers JavaScript has become a fundamental element in how they build websites. Even websites that are basically “read only”. Which I believe is flat-out wrong. No webSITE should be reliant on JS.

0

u/CandidateNo2580 Feb 15 '26

The post made none of these arguments. There would be something to respond to and have a conversation about if they did. There's no argument for more performant websites or call to action to reduce JS fueled bad practices.

My sites require JS to run. If you have it disabled you don't need to use them - there's no hostility here and no bad practices, I simply don't care to develop in an environment without the tooling and developer experience that the JS frameworks provide.

2

u/fpluss Feb 15 '26

The point of my post is to say that nowadays the web without JS is dichotomous: either it works or it doesn't.

There is no longer a sense of progressive improvement, there is no middle ground. There are tons of unreadable sites, without explaining the reasons to the user. No content, non errors. Just a blank page.

And you would understand this by taking a look around with JS disabled.

5

u/uncle_jaysus Feb 15 '26

You’re getting a lot of insecure responses, but you’re right.

Turning off JS lightens the burden on browsers substantially. And the sites that have been made properly run much faster. It’s just a shame so many sites aren’t created HTML and CSS first.

2

u/fpluss Feb 15 '26

Thank you, it's nice to see that I'm not the only one who thinks outside the box.

4

u/creaturefeature16 Feb 15 '26

Even the most rudimentary accessibility enabled devices are able to use JavaScript. You're talking about catering to 0.0001% of users. It's irrelevant, and so this this post. 

1

u/fpluss Feb 15 '26

Thank you for throwing around percentages without any basis. Clearly, in your world, as long as everything works, everything is fine, but if for some reason something goes wrong... goodbye users.

0

u/creaturefeature16 Feb 15 '26

I'll take my chances for those 2 users a year. 

4

u/brisray Feb 14 '26

No. The JavaScript on my sites is there for a reason. You're welcome to turn off your JS and have a rubbish browsing experience if you want.

2

u/fpluss Feb 15 '26

I have explained my provocation in several comments; the point is to offer users an anchor in case something does not work: content, an error, or even a simple call to action to reload the page or enable JavaScript. These details are often missing and make the difference between a crappy website and a well-made one.

If you browse the web with JS disabled, you'll understand what I mean.

Maybe your websites are perfect, but I assure you that most of them are rubbish.

2

u/uncle_jaysus Feb 15 '26

Turning JS off is the safest and fastest way to browse. As long as the websites are built to work, it’s a great way to remove any background junk and save your CPU.

If your website offers a poor browsing experiencing without JS, then that’s on you.

But maybe your website is more of a web app. I have no idea. But for reading web SITES, turning JS off improves the browsing experience for any site built properly.

3

u/MartinMystikJonas Feb 15 '26

This sounds like "please disable internet, I decided to disable internet in home and I found out many informations are not available on paper. You all should do that and start sending informations on paper."

Modern web is build on interactivity provided by javascript. Why do you think everybody should stop using modern tech just because you decided to disable it in your browser for no good reason?

1

u/fpluss Feb 15 '26

The point is not to use modern technology, but to use it wisely according to the principle of progressive enhancement.

A professional website should not be "all or nothing".

I mean... there can be a thousand reasons why JavaScript might fail, independent of me, such as an unstable 4G network or an overly strict corporate firewall.

If your website becomes a blank page when a script crashes, it is not modern, it is fragile.

0

u/MartinMystikJonas Feb 15 '26

While I also preffer progressive enhancement it simply is either not possible or resonable for many sites to build no-js version. Especially complex webapps.

If corporate firewall blocks JS then half of the internet would not be usable. No sane admin would setup it like that.

Even basic anti spam bot protection (like Cloudflare Turnstile) requires JS. You cannot expect websites to ditch security just to be able to run for handful users that decided to disable js.

2

u/fpluss Feb 15 '26

In my post, I wasn't referring to web apps that are actual applications and therefore require a certain type of structure.

My rant came after receiving a list of professionals (architects, photographers, and other creatives) where all the websites were completely invisible. Blank. Nada. No information. A title, a footer, a telephone number. Or anything that would tell me, 'Hey, there's a connection problem or your JS is disabled'.

Of course, mine is a provocation, but it serves to highlight a certain laziness in delivering a website that is potentially unreadable.

This is to say that what is now referred to as the small web lacks attention to this type of detail and care in programming. The developers I consider mediocre just make heavy use of libraries and don't give a f*.

1

u/MartinMystikJonas Feb 15 '26

For small info websites I agree. I also agree that it should show at least something. But browsing without js in today internet...

3

u/electricity_is_life Feb 15 '26

"But it is really sad to see that the web, which was created precisely to share ideas, is now just unreadable to human."

I don't really understand this. Obviously you need a computer to access the web, you can't just yell into an ethernet cable. Generally I do try to make sites work without JS, not because I expect people to disable it but because every page is without JS until the JS loads. But I don't really expect anyone to go digging through the raw HTML regardless.

2

u/fpluss Feb 15 '26

Mine is obviously a provocation to say "test your projects to make sure they are still accessible, even without JS".

Of course, disabling JS is an extreme choice, but as I said in another comment above, if your site doesn't work because it's too complex, it risks being fragile and unreadable.

3

u/AshleyJSheridan Feb 15 '26

There are certain things that can't be easily done in an accessible way on the web without Javascript. One great example is the hamburger menu.

3

u/digitalnoises Feb 15 '26

Just found out — you can’t even google anymore if you switch of JS on an iphone :)

1

u/digitalnoises Feb 15 '26

or use instagram/facebook

1

u/Bp_isthebest Oct 26 '26

well no shit you just turned off the programming language

1

u/digitalnoises Feb 15 '26

Progressive enhancement is the way.

However, if your target audience is okay with mandatory JS - it’s an absolutely okay requirement

2

u/fpluss Feb 15 '26

Did you know that some companies disable JS by default on their computers?

I mean, it doesn't take much to test what you're doing without JS and adjust your approach and direction accordingly.

Even adding a simple message such as, "We apologise, but to enjoy this site to the fullest, you need to use JS. However, you can still browse the content freely," would help.

But showing a blank page is just ridiculous.

2

u/digitalnoises Feb 15 '26

you might like this talk: https://youtu.be/ga_byUbqvCc

2

u/fpluss Feb 15 '26 edited Feb 15 '26

Thanks for sharing! Really interesting, indeed.

Edit: Those who commented in a rather arrogant and rude manner should watch it. Thanks again, I really enjoyed it.

1

u/digitalnoises Feb 15 '26

Glad you liked it.

I personally think accessibility is most important, then speed then a low power footprint.

I really enjoyed Heydon Pickerings books on inclusive components and layouts.

funny in the whole context: he also explains how CSS is basically a type of javascript (technically within the browser)

2

u/digitalnoises Feb 15 '26

Some companies disable JS: Not really anymore, but that certainly was the case in 2005 or earlier. However you still might find them.

As I said progressive enhancement IS THE WAY. But still if you know you can get a way with a PWA SPA that stays blank because it’s a rare find in your usergroup, why not.

1

u/azangru Feb 15 '26

And it's your fault.

...that certain functions, such as completing an online payment, require JS to be enabled

Who is "you" in this case?

Sites that require online payment usually belong to companies. Companies often have designers. Designers often want sites to do fancy things that browsers don't natively do. Companies also have managers, who often don't care about the tiny sliver of the visitors that do not have javascript enabled, and will not spend developer time on reviewing the projects until they work for the javascriptless audience.

It is our industry's collective fault.

2

u/fpluss Feb 15 '26

As I explained in other comments, it is a matter of offering users a progressive enhancement.

It is one thing to show a completely BLANK and silent page.

It is another to show a page that says:

  • you do not have JS disabled, enable it (or as another example there is a problem with JavaScript, reload the page or whatever)
  • here is the information blah blah blah for payment where even the structure of the form helps you understand the content of the page

In short, there are a thousand solutions to "showing a blank page" and here it is not the designer's fault, but the fault of those who implement the code :D

1

u/azangru Feb 15 '26

Writing "this site requires javascript to work" on an otherwise blank screen is not progressive enhancement; it's an admission of defeat. Progressive enhancement means having a website that allows the user to accomplish all crucial tasks even without javascript or browser's support for modern css features; and that improves the user's experience if appropriate browser features are available. It is certainly not something that the developer can just improvise on his own. It requires the whole company to have this as a goal.

2

u/fpluss Feb 15 '26

I agree, I tried to give some examples and I wasn't exhaustive. Obviously there are a thousand solutions, and if everyone is sensitive to the issue, everything works better.

That's why I suggested disabling JS to get an extreme and obvious result.

1

u/Straight_Tea_4397 Feb 15 '26

Most websites are complete trash, full of animations and slow as hell

1

u/muhys Jul 12 '26

It seems youve hurt the javascript glazers. Im all for a new form of it. Maybe something a little more.. ehhhh... open source? Because yanno, while the engines that execute Java are ~often~ open source, Javascript itself is an open STANDARD (ECMAScript). If anything, javascript is fascism coded (literally).

0

u/[deleted] Feb 15 '26

[deleted] — view deleted comment

2

u/fpluss Feb 15 '26

Mine is a provocation to reflect on how a website is developed and to offer users the possibility to read the information in case of errors: connections, errors, scripts, etc.

Disabling JS is a way to immediately check whether it is accessible or not.

And now the quality of the web is very low precisely because many people think like the average comment in this thread: "Ah, you're a poor loser without JS, I'm a good developer, I use JS, and I don't give f*& about you."