DEV Community

Discussion on: Should browsers still allow users to disable JavaScript?

Collapse
 
theycallmenucci profile image
Steve Antonucci

As long as JavaScript can still be used to abuse the user and their experience on the client-side, yes browsers should still allow JavaScript to be blocked.

While it may degrade their experience to do so, it is a conscious choice by the user in this case and not something forced upon them by malignant code.

That's my .02 anyway. 😎

Collapse
 
ben profile image
Ben Halpern

I buy this. Frankly I’m pretty amazed by this vote split.

Collapse
 
pbnj profile image
Peter Benjamin (they/them)

I am not amazed by this vote split. This is a classical example of self-selection bias.

Collapse
 
theycallmenucci profile image
Steve Antonucci • Edited

I am too Ben. Very interesting. Thanks for calling it out.

I wonder if the split is maybe correlated between older and younger developers? It would be interesting to see if there's any particular pattern amongst the voters on each side.

Collapse
 
adhocore profile image
Jitendra

but does that come with the need of a version of web that just works without JS? now with the rise of all cool JS frameworks and paradigms things are much different than just losing small part of something when JS doesn't work, the whole site even doesn't render. so while it is upto user to disable their browser from executing JS but the site owner/developer should make sure they address those users.

Collapse
 
jvanbruegge profile image
Jan van Brügge

Just for performance reasons, you shouldnt require Javascript for your side to load. If you write your app in JS, get Node to render it on the server for you like in the old days.

I really get annoyed when a page just presents a basic shell and starts loading content with JS, for no particular reason. Design your websites so they are usable even without JS, it's not that hard

Thread Thread
 
adhocore profile image
Jitendra

apps delegating heavy lifting to browsers is also for saving server resources :)

Collapse
 
jshamg profile image
jshamg

I totally agree with you Steve. There are for example a lot of paranoid Linux guys that are using the Web in a Javascript free way. I know a couple :D. We shouldn't exclude them when developing browsers and Web pages. I always think about how my site works without Javascript and that all content is accessible in a certain way.

Collapse
 
theycallmenucci profile image
Steve Antonucci • Edited

Thank you jshamg. I'm a Linux guy myself. 😎 Though not a paranoid one... well... anymore. 😂

I'm glad that you're considerate and inclusive of your user's situations and content accessibility. We should all follow your example. 👍