DEV Community

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

Collapse
 
revskill10 profile image
Truong Hoang Dung • Edited

I think Javascript could be used to ask user: This site uses Javascript for interactivity, do you agree to run Javascript on this site ?

That's it. Treat running Javascript as Cookie. And let user accept it or not.
The merit here is: Please tell user what the javascript has done to user's site, let user know and let them decide on their own.

Collapse
 
renannobile profile image
Renan Lourençoni Nobile

But isn't that a bad practice? I mean, not everybody knows what javascript is right?

Collapse
 
peteraba profile image
Peter Aba • Edited

oh god, no! and also take the f'in' cookie questions away already! they're worthless. (I know it's legally not possible at the moment, but the laws should be changed ASAP.)