RE: List of all mozilla versions?

by Paul Lang <p_lang(at)makura.com>

 Date:  Wed, 29 Nov 2000 20:33:29 -0800
 To:  hwg-servers(at)hwg.org
 Cc:  xbrowser(at)netscape.com
 In-Reply-To: 
  todo: View Thread, Original

>If you need more separation than that - to apply a browser specific
>stylesheet you might want to check out the mother of all browser detection
>scripts on the Netscape website at
>http://developer.netscape.com/docs/examples/javascript/browser_type.html


This one has an MSIE 5.5 bug on "is_ie5up".

    var is_ie5  = (is_ie && (is_major == 4) && (agt.indexOf("msie
5.0")!=-1) ); 
    var is_ie5up  = (is_ie  && !is_ie3 && !is_ie4);

You can change the "msie 5.0" from above to "msie 5." 
to catch the rest of the 5 series and you 
might want to parse the version number after "msie " to catch future versions.

Paul

============================================================

Basic Data 
navigator.appName Microsoft Internet Explorer
navigator.userAgentMozilla/4.0 (compatible; MSIE 5.5; Windows 98)
navigator.appVersion4.0 (compatible; MSIE 5.5; Windows 98)

Version Number 
major:4
minor:4

Browser Version 
nav:false
nav2:false
nav3:false
nav4:false
nav4up:false
nav5:false
nav5up:false
navonly:false

ie:true
ie3:false
ie4:true
ie4up:true
ie5:false
ie5up:false

aol:false
aol3:false
aol4:false

opera:false

webtv:false

JavaScript Version 
js:1.2

OS 
win:true
win16:false
win31:false
win32:true
win95:false
win98:true
winnt:false

os2:false

mac:false
mac68k:false
macppc:false


unix:false
sun:false
sun4:false
sun5:false
suni86:false
irix:false
irix5:false
irix6:false
hpux:false
hpux9:false
hpux10:false
aix:false
aix1:false
aix2:false
aix3:false
aix4:false
linux:false
sco:false
unixware:false
mpras:false
reliant:false
dec:false
sinix:false
bsd:false
freebsd:false


vms:false

HWG: hwg-servers mailing list archives, maintained by Webmasters @ IWA