Solved

Which browsers support JavaScript?

Posted on 1998-12-16
9
242 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 

Author Comment

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

Accepted Solution

by:
Argus earned 50 total points
Comment Utility
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
Comment Utility
AOL uses a version of IE.....
but that will change soon....will be netscape sooner or later
0
 

Author Comment

by:ccreel
Comment Utility
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
Comment Utility
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

763 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

7 Experts available now in Live!

Get 1:1 Help Now