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

View all comments

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.