Browser Help


JavaScript Test Results

document.write (”   JavaScript   IS WORKING   in your web browser  ” );

JavaScript IS NOT WORKING in your web browser

Either your web browser is not capable of supporting JavaScript at all   -or-
the use of JavaScript has been purposely disabled.

document.write (“Your web browser supports JavaScript version ” + jsvers) ;

var detectedb = “not”;
if (window.opera) {detectedb = “Opera”;}
if (navigator.userAgent.indexOf(“Firefox”)!=-1){
var endofff = navigator.userAgent.indexOf(“Firefox”)+8;
detectedb = “Firefox”; }
if (navigator.userAgent.indexOf(“MSIE”)!=-1) {detectedb = “IE”;}
if (navigator.userAgent.indexOf(” Chrome/”)!=-1){
var endofChrome = navigator.userAgent.indexOf(” Chrome/”)+8;
detectedb = “Chrome”; } //added Feb 28, 2010
var uagentlowercase = navigator.userAgent.toLowerCase(); //force lower case
if (“blackberry”) > -1)
{detectedb = “BlackBerry”;} // added June 2, 2010

var msg=”
Your web browser is “;
if (detectedb==”Opera”) {msg=msg+”Opera”;}
if (detectedb==”Firefox”){msg=msg+”Firefox version ” + navigator.userAgent.substring(endofff,endofff+7);}

if (detectedb==”IE”)
{msg=msg+”Internet Explorer “;
if (document.documentElement && typeof!=”undefined”)
// Is it IE7 or IE8 or IE9?
// {msg=msg+”7″;} old code, this used to only detect IE7, now it also wrongly detects IE8
{if (navigator.userAgent.indexOf(“MSIE 7.0″) != -1) msg=msg+”version 7”;
if (navigator.userAgent.indexOf(“MSIE 8.0″) != -1) msg=msg+”version 8”;
if (navigator.userAgent.indexOf(“MSIE 9.0″) != -1) msg=msg+”version 9″; }

if (document.compatMode && document.all){msg=msg+”version 6″;}
else if (window.attachEvent){msg=msg+” version 5″;}
if (detectedb==”Chrome”)
{msg=msg+”Chrome version ” + navigator.userAgent.substring(endofChrome,endofChrome+10);}
if (detectedb==”BlackBerry”)
{msg=msg+”a BlackBerry of some type”;}

if (detectedb==”not”)
{document.write (”
Your web browser was not detected as being either Opera, Firefox, Internet Explorer, Chrome or a BlackBerry”);}
else {document.write (msg);}

Every web browser identifies itself to websites with a character string called the “user agent”. The User
Agent string for your web browser is:

document.write (navigator.userAgent);

This function requires JavaScript.