Solved

Which browsers support JavaScript?

Posted on 1998-12-16
9
243 Views
Last Modified: 2013-12-25
I am looking for a list of browsers that do or dont support JavaScript.  Ex.  N3-yes  IE3-yes AOL-??? ........
Please include as many browsers and versions of each as possible. Thanks,
Chris
0
Comment
Question by:ccreel
  • 4
  • 2
  • 2
  • +1
9 Comments
 
LVL 28

Expert Comment

by:sybe
ID: 1857291
wow, there are so many versions of browsers...

download browsercap.ini from the microsoft site, that file contains info about all kinds of browser capacities, including javascript.

If you want to distinguish on the fly you can use

<script language="javascript">
document.location = 'js_supported.htm';
<script>

0
 

Author Comment

by:ccreel
ID: 1857292
Thanks for the fast response. All I really
care about is if AOL and and a couple of
the other odd browsers will support the
following code.  Also I searched Microsoft
and could not find browsercap.ini.


<SCRIPT LANGUAGE="JavaScript">
<!--
var major, nav, ie;
var agt=navigator.userAgent.toLowerCase()
major = parseInt(navigator.appVersion)
nav=((agt.indexOf('mozilla')!=-1) && ((agt.indexOf('spoofer')==-1)
&& (agt.indexOf('compatible') == -1)))
if (nav && (major == 2))
document.write("<img src=x.gif width=x>");
else if (nav && (major == 3))
document.write("<img src=x.gif width=x>");
else if (nav && (major == 4))
document.write("<img src=x.gif width=x>");
else if (nav && (major >= 4))
document.write("<img src=x.gif width=x>");
ie=(agt.indexOf("msie") != -1)
if (ie && (major == 2))
document.write("<img src=x.gif width=x>");
else if (ie && (major == 4))
document.write("<img src=x.gif width=x>");
else if (ie && (major >= 4))
document.write("<img src=x.gif width=x>");
else if (agt.indexOf("opera") != -1)
document.write("<img src=x.gif width=x>");
// -->
</SCRIPT>
0
 

Author Comment

by:ccreel
ID: 1857293
If a browser that does not support JavaScript hits my page, they will not get the images at all.  This is because the JavaScript is determining which image to display.  My solution for this is to find out if there are any browsers that do not support this code, and if there are, what to do.
0
 

Expert Comment

by:Argus
ID: 1857294
You could create two links on the main page, one with Java and one without Java.  Then you would have to duplicate the page/site into pages without the Java.

IMHO, I really wouldn't worry about the relatively small number of people out there without Java-enabled browsers.  I have the feeling you are creating a business site from your desire to support both types of browsers.  I don't think it would be cost affective to spend much time and energy trying to do much work on supporting non-Java browsers.
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

Author Comment

by:ccreel
ID: 1857295
Thanks for the help.  Please submit an answer so I can close this one out.
0
 

Accepted Solution

by:
Argus earned 50 total points
ID: 1857296
You mean something like this?

You could create two links on the main page, one with Java and one without Java.  Then you would have to duplicate the page/site into pages without the Java.

IMHO, I really wouldn't worry about the relatively small number of people out there without
Java-enabled browsers.  I have the feeling you are creating a business site from your desire to support both types of browsers.  I don't think it would be cost affective to spend much time and energy trying to do much work on supporting non-Java browsers.
0
 
LVL 2

Expert Comment

by:jedimike
ID: 1857297
AOL uses a version of IE.....
but that will change soon....will be netscape sooner or later
0
 

Author Comment

by:ccreel
ID: 1857298
JediMike,
Thanks for the comment.
That is something that I was looking for.

Thanks for all the speedy responses.
Chris
0
 
LVL 28

Expert Comment

by:sybe
ID: 1857299
There is a javascript detection to what you want:

<script>
if (document.images) {
  // browser supports images object, redirect to "enhanced" page
  document.location = 'enhanced.htm';  
}
</script>
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
advertisement module in core php 4 145
Best Practice CSS floating images 2 33
modify h2 4 86
Gulp not seeing Changes 4 36
Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now