Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it reasonable to assume my visitors have javascript enabled?

Tags:

javascript

I understand that server-side validation is an absolute must to prevent malicious users (or simply users who choose to disable javascript) from bypassing client-side validation. But that's mainly to protect your application, not to provide value for those who are running browsers with javascript disabled. Is it reasonable to assume visitors have javascript enabled and simply have an unusable site for those who don't?

like image 638
Kevin Pang Avatar asked Sep 30 '08 23:09

Kevin Pang


People also ask

Should JavaScript be enabled?

Yes, you probably need JavaScript enabled - in most cases... Every web browser comes with JavaScript enabled by default, and that's probably a pretty good sign that it's ok for most people to just leave it enabled.

What happens if JavaScript is enabled?

It makes web pages functional for specific purposes and if disabled for some reason, the content or the functionality of the web page can be limited or unavailable. Here you can find instructions on how to enable (activate) JavaScript in five most commonly used browsers. Javascript is enabled in your web browser.

What percentage of people turn off JavaScript?

After crunching the numbers, we found a consistent rate of JavaScript-disabled requests hovering around 1% of the actual visitor traffic, with the highest rate being roughly 2 percent in the United States and the lowest being roughly 0.25 percent in Brazil.


1 Answers

I browse with NoScript in Firefox, and it always annoys me when I get pages that don't work. That said - know your audience. If you're trying to cater to paranoid computer security professionals - assume they might not have JavaScript enabled. If you're going for a general audience, JavaScript is probably on.

like image 92
Neall Avatar answered Oct 20 '22 00:10

Neall