Solved

Which browsers support JavaScript?

Posted on 1998-12-16
9
244 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
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.

 

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
 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

809 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