473,666 Members | 2,604 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

JS Browsers in use?

Anyone know what percentage of browsers have
javascript enabled? -- security setting --

I love to use it but am worried about my viewers.

Mason C
Jul 23 '05 #1
4 1257
MasonC wrote:
Anyone know what percentage of browsers have
javascript enabled? -- security setting --
No, nobody knows what percentage of browsers ... (anything). The
Internet does not lend itself to the gathering of accurate or useful
statistics. Published statistics cannot be accurate or representative so
mostly what you here from people is prejudice, rumour and hearsay (more
a reflection of what they would like to be true than anything else). The
most commonly stated figure is 8-12% but that is from a range of
proposed statistics of 2-80% (and most statistics are made up on the
spot). The best that can be said with certainty is that it is more than
none and less than all.
I love to use it but am worried about my viewers.


Javascript has place in web site design but it needs to be handled with
an awareness of its inevitable failure in some environments. And it is
not nearly as simple as a browser having javascript enabled or not, as
even with javascript enabled some browsers are just not dynamic enough
(or don't expose sufficient of their DOM or provide required methods) to
do what can be done on others. So even on a browser that will happily
execute javascript the failure of any particular script is always a
possibility.

The solution is to use javascript to provide enhancements to a web page,
not as a critical part of presenting the content. So in a worst case
scenario the viewer will have access to the content (which is what they
will be most interested in) and just not get the enhancements.

This is achieved by starting from a basis of viable HTML, which will be
all there is whenever javascript is not available. And then using
javascript to manipulate that HTML, once it has verified that the
browser in use fully supports the features that it intends to use to
achieve that manipulation. The key requirements are adequate feature
testing and always providing controlled paths of fall-back and clean
degradation back to the underlying HTML, whenever the browser proves
unsupportive.

Richard.
Jul 23 '05 #2
On Sun, 11 Apr 2004 15:32:53 +0100, "Richard Cornford" <Ri*****@litote s.demon.co.uk>
wrote:
MasonC wrote:
Anyone know what percentage of browsers have
javascript enabled? -- security setting --


No, nobody knows what percentage of browsers ... (anything). The
Internet does not lend itself to the gathering of accurate or useful
statistics. Published statistics cannot be accurate or representative so
mostly what you here from people is prejudice, rumour and hearsay (more
a reflection of what they would like to be true than anything else). The
most commonly stated figure is 8-12% but that is from a range of
proposed statistics of 2-80% (and most statistics are made up on the
spot). The best that can be said with certainty is that it is more than
none and less than all.
I love to use it but am worried about my viewers.


Javascript has place in web site design but it needs to be handled with
an awareness of its inevitable failure in some environments. And it is
not nearly as simple as a browser having javascript enabled or not, as
even with javascript enabled some browsers are just not dynamic enough
(or don't expose sufficient of their DOM or provide required methods) to
do what can be done on others. So even on a browser that will happily
execute javascript the failure of any particular script is always a
possibility.

The solution is to use javascript to provide enhancements to a web page,
not as a critical part of presenting the content. So in a worst case
scenario the viewer will have access to the content (which is what they
will be most interested in) and just not get the enhancements.

This is achieved by starting from a basis of viable HTML, which will be
all there is whenever javascript is not available. And then using
javascript to manipulate that HTML, once it has verified that the
browser in use fully supports the features that it intends to use to
achieve that manipulation. The key requirements are adequate feature
testing and always providing controlled paths of fall-back and clean
degradation back to the underlying HTML, whenever the browser proves
unsupportive .

Thanks for the information and advice.

Mason C
Jul 23 '05 #3
Richard Cornford wrote:
MasonC wrote:
Anyone know what percentage of browsers have
javascript enabled? -- security setting --

No, nobody knows what percentage of browsers ... (anything). The
Internet does not lend itself to the gathering of accurate or useful
statistics. Published statistics cannot be accurate or representative so
mostly what you here from people is prejudice, rumour and hearsay (more
a reflection of what they would like to be true than anything else). The
most commonly stated figure is 8-12% but that is from a range of
proposed statistics of 2-80% (and most statistics are made up on the
spot). The best that can be said with certainty is that it is more than
none and less than all.

I love to use it but am worried about my viewers.

Javascript has place in web site design but it needs to be handled with
an awareness of its inevitable failure in some environments. And it is
not nearly as simple as a browser having javascript enabled or not, as
even with javascript enabled some browsers are just not dynamic enough
(or don't expose sufficient of their DOM or provide required methods) to
do what can be done on others. So even on a browser that will happily
execute javascript the failure of any particular script is always a
possibility.

The solution is to use javascript to provide enhancements to a web page,
not as a critical part of presenting the content. So in a worst case
scenario the viewer will have access to the content (which is what they
will be most interested in) and just not get the enhancements.

This is achieved by starting from a basis of viable HTML, which will be
all there is whenever javascript is not available. And then using
javascript to manipulate that HTML, once it has verified that the
browser in use fully supports the features that it intends to use to
achieve that manipulation. The key requirements are adequate feature
testing and always providing controlled paths of fall-back and clean
degradation back to the underlying HTML, whenever the browser proves
unsupportive.

Richard.


For what its worth, I would agree with what Richard has said above
however, saying that, I wouldn't be put off using javascript... just
don't rely on it -

When I create forms, I have javascript check that any required data has
been completed but... when the data is delivered to the server, I have
my host scripts re-check the data... Client side testing is faster then
sending the data over the internet and having my server test for it -
However, I cover my ass by having the server check the data to cover for
the small few who have javascript disabled, or who are trying to crack
my web forms with unexpected form input.

I've found above 98% have javascript enabled - even though I have no
absolute proof that my code worked on every one of those machines, my
code was simple and I'd expect near enough all of the 98% of the folk
who did have javascript enabled, seen the results of my scripts...

But... one thing I did learn is to know who your viewers are - I worked
at a publishing company and one of their advertisers complained that the
site didn't work for him - he cursed and swore - and I was asked to call
him - After much dialog and claims by him that he was using the latest
version of IE at the time, I discovered (and eventually got him to
confirm) that he was in fact using Netscape version 4 and he refused to
update to Netscape or Mozilla, or use IE because of 'security issues'
that he had for anything more recent.

This has not stopped me from using Javascript - but it surprised me
after finding out that there were some people out there who point blank
refused to move to a more recent web browser and prefered using
something that was five or more years old...

Its a lesson I learned - perhaps there's something above that will help
you when considering the merits of javascript...

regards
randell d.
Jul 23 '05 #4
On Mon, 12 Apr 2004 23:08:46 GMT, Reply Via Newsgroup <re************ ****@please.com >
wrote:
Richard Cornford wrote:
MasonC wrote:
Anyone know what percentage of browsers have
javascript enabled? -- security setting --

No, nobody knows what percentage of browsers ... (anything). The
Internet does not lend itself to the gathering of accurate or useful
statistics. Published statistics cannot be accurate or representative so
mostly what you here from people is prejudice, rumour and hearsay (more
a reflection of what they would like to be true than anything else). The
most commonly stated figure is 8-12% but that is from a range of
proposed statistics of 2-80% (and most statistics are made up on the
spot). The best that can be said with certainty is that it is more than
none and less than all.

I love to use it but am worried about my viewers.

Javascript has place in web site design but it needs to be handled with
an awareness of its inevitable failure in some environments. And it is
not nearly as simple as a browser having javascript enabled or not, as
even with javascript enabled some browsers are just not dynamic enough
(or don't expose sufficient of their DOM or provide required methods) to
do what can be done on others. So even on a browser that will happily
execute javascript the failure of any particular script is always a
possibility.

The solution is to use javascript to provide enhancements to a web page,
not as a critical part of presenting the content. So in a worst case
scenario the viewer will have access to the content (which is what they
will be most interested in) and just not get the enhancements.

This is achieved by starting from a basis of viable HTML, which will be
all there is whenever javascript is not available. And then using
javascript to manipulate that HTML, once it has verified that the
browser in use fully supports the features that it intends to use to
achieve that manipulation. The key requirements are adequate feature
testing and always providing controlled paths of fall-back and clean
degradation back to the underlying HTML, whenever the browser proves
unsupportive.

Richard.


For what its worth, I would agree with what Richard has said above
however, saying that, I wouldn't be put off using javascript... just
don't rely on it -

When I create forms, I have javascript check that any required data has
been completed but... when the data is delivered to the server, I have
my host scripts re-check the data... Client side testing is faster then
sending the data over the internet and having my server test for it -
However, I cover my ass by having the server check the data to cover for
the small few who have javascript disabled, or who are trying to crack
my web forms with unexpected form input.

I've found above 98% have javascript enabled - even though I have no
absolute proof that my code worked on every one of those machines, my
code was simple and I'd expect near enough all of the 98% of the folk
who did have javascript enabled, seen the results of my scripts...

But... one thing I did learn is to know who your viewers are - I worked
at a publishing company and one of their advertisers complained that the
site didn't work for him - he cursed and swore - and I was asked to call
him - After much dialog and claims by him that he was using the latest
version of IE at the time, I discovered (and eventually got him to
confirm) that he was in fact using Netscape version 4 and he refused to
update to Netscape or Mozilla, or use IE because of 'security issues'
that he had for anything more recent.

This has not stopped me from using Javascript - but it surprised me
after finding out that there were some people out there who point blank
refused to move to a more recent web browser and prefered using
something that was five or more years old...

Its a lesson I learned - perhaps there's something above that will help
you when considering the merits of javascript...

regards
randell d.


Thank you, that's helpful. I'm going to use javascript but it is not
essential for the site. I added an instruction for the non-javascript
viewer, explaining and recommending.

Mason C
Jul 23 '05 #5

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

Similar topics

14
2046
by: Terry A. Haimann | last post by:
I have been working on creating a dynamic web page and have made slow but steady progress. What I have now has an opening page with two drop down boxes. Based on a choice from the first box, the second box is populated from a mysql table. The values from two boxes are then sent via a query string to a new page. The 2nd page then uses these two values and runs a select against the mysql database and creates an html table. This all runs...
53
5691
by: Cardman | last post by:
Greetings, I am trying to solve a problem that has been inflicting my self created Order Forms for a long time, where the problem is that as I cannot reproduce this error myself, then it is difficult to know what is going on. One of these Order Forms you can see here... http://www.cardman.co.uk/orderform.php3
12
2573
by: confused | last post by:
After expressing my interest in expanding my new knowledge of HTML and CSS into the wild realm of JavaScript, I was advised that it is wiser to avoid it, since not all browsers are use it or are enabled to read it. After searching for other opinions on the web, I found that some estimate that the frequency of browsers that can read JS currently is better than 90% -- that is certainly workable for me! Do you good people have any thoughts...
12
1707
by: code_wrong | last post by:
Hi, as the subject says How many browsers must we support? How many are there exactly? When I run this JavaScript in Firefox and IE6: function init(){ if(document.getElementById) alert("W3C DOM Supported"); else if(document.all)
6
1991
by: Richie | last post by:
I went through the past six months or so of entries in c.l.javascript, and found a couple where people had expressed opinions about the value of supporting much older versions of Netscape and IE. The entries included incidental mention of server logs showing how many pages had been retrieved by such browsers. I'd like to get some sort of communal variety of opinions on how much effort it's worth to put in the support, or in some...
14
2472
by: Xah Lee | last post by:
is there somewhere i can find the default css for browsers? e.g. what's the usual rendering in terms of css for <p>, <ul> etc. in particular, right now i'm interested in creating a style similar to <ul> and <li>. Of course i can eyeball and come up with a css, but want to be sure. ----------
24
1805
by: abracad_1999 | last post by:
I'm told the standards way of referencing page content is document.getElementById() What is the lowest version of each browser type with which this will work? Thank you
4
1106
by: Bart Schelkens | last post by:
Hi, It might be a stupid question. I'm creating a webapplication using vb.net. I was wondering can this webapplication be viewed in other browsers besides Internet Explorer? Or are we limited to IE? Thx
133
6870
by: Alan Silver | last post by:
Hello, Just wondered what range of browsers, versions and OSs people are using to test pages. Also, since I don't have access to a Mac, will I have problems not being able to test on any Mac browsers, or is there some other way of checking? TIA --
77
4494
by: VK | last post by:
Randy Webb wrote: > VK said the following on 5/2/2006 9:48 AM: > > If you mean "trying to render it" then FF behavior is the same as for > > all other UA's willing to be in use (and not W3C demos). If document is > > served as text/html, FF will render it somehow anyhow. > > So you are saying it totally disregards the DTD and any hints from the > server how to handle the document? Except server reported Content-Type (text/plain,...
0
8362
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8878
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8785
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8644
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7389
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4200
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2012
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1778
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.