473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

JavaScript stats

Does anyone know of web client stats showing the percentage of users that
JavaScript enabled/disabled?

I am writing several Java (not JavaScript) components that would be much
easier to code if I could include a .js file to do client side validation.
Just wanted to know what percentage of clients I would expect this to work
on.
Jul 20 '05 #1
2 4430
"Tom Cole" <tc****@earthlink.net> writes:
Does anyone know of web client stats showing the percentage of users that
JavaScript enabled/disabled?
<URL:http://www.thecounter.com/stats/2003/May/javas.php>

The Counter usually gives numbers of ~10% non-javascript. Some are
most likely spiders, but if you check the browser statistics too, you
can see that at least half of the non-javscript clients are IE
browsers (or identify themselves as such), since 95% of the clients
are IE.
I am writing several Java (not JavaScript) components that would be much
easier to code if I could include a .js file to do client side validation.
They won't be easier, because you should never rely on client-side
validation alone. You still have to make the server-side validation anyway.
Not just because of the 10% who are not using Javascript, but because of
the one person who deliberatly send non-validating data to your server and
crashes it. It might happen. Always validate data on the server.
Just wanted to know what percentage of clients I would expect this to work
on.


~90%.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleDOM.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2
Tom Cole wrote:
Does anyone know of web client stats showing the percentage of users
that JavaScript enabled/disabled?


You do not think of so-called "statistics" (because most of them are no
statistics at all, missing the most important aspects of such a work) as
a reliable resource for your decision-making process, do you?

A Web document that requires JavaScript to provide basic functionality is
simply b0rken because there are people who cannot use it. It should not
matter to you if those are 90%, 50% or 0.01% of the visitors because you
could be the one that helps to decrease the number of visitors for the
site of an author or your own site. Visitors are potential customers on
commercial sites.

Besides, having JavaScript enabled does not mean automagically that
accessing JavaScript from Java works. Security settings may, and because
of Murphy's Law, will prevent that and the user may/will not be able to do
anything about it (because security policies imposing access restrictions
will prevent it).

And last but not least you cannot presume that even client-side Java is
supported.
PointedEars
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Bob II | last post by:
Hey, I've never used PHP before. I was wondering if it is possible to use PHP to generate web stats. My web host's stats aren't very good. So I want to generate some custom stats for myself. ...
3
by: Tommo | last post by:
Hello All, I am a still learning so be easy on me. I am trying to get some code to work that is using JS and Perl/CGI, I am using AS Perl and an Apache Server on XP as the webserver. Can anyone...
30
by: Mason A. Clark | last post by:
If I use javascript on my page, how likely is it that the viewer will not have javascript? Anyone have data? Mason C
2
by: Dominique Vermeersch | last post by:
I try to do the following: <script> <!-- function getStats() { nav = navigator.appName; c = 0; if (nav != "Netscape") {
2
by: Tim Johnson | last post by:
Hi All: I have recently (with the invaluable help of this newsgroup) learned how to provide dynamic html using client-side Javascript. I have a happy and excited customer. Well, I'm happy that...
8
by: chrisdude911 | last post by:
how do i add video into a javascript web page with my own custom buttons?
9
by: ankitdesai | last post by:
I would like to parse a couple of tables within an individual player's SHTML page. For example, I would like to get the "Actual Pitching Statistics" and the "Translated Pitching Statistics"...
36
by: Mark Rae | last post by:
Hi, Just had an interesting message from someone who was unable to view one of my sites because they have JavaScript turned off, and expecting me to re-write my site so that they could view...
2
by: Monu | last post by:
HI All, I am getting problem in using hotshot profiler. When I hotshot with lineevents=0, it works fine, but when I use lineevents=1, I get error in stats here is my code: import hotshot,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.