Browser check code wo'nt work on Mac

by "Jasmeet Singh" <embrocia(at)>

 Date:  Wed, 17 May 2000 17:29:27 +0530
 To:  <hwg-techniques(at)>
 Cc:  <hwg-languages(at)>
  todo: View Thread, Original

we are developing a website and the beta version is lying at

On this page there is a link to a file bcheck.html  (borwser check), from
the "Kontact" image.

The code is :

<title>Browser Test</title>
<body bgcolor=#ffffff>
<script language="JavaScript">
check = parseInt(navigator.appVersion);
Name =  navigator.appName;
if (Name == "Netscape")
   {window.location = "kontakt_nav.html";}

if (Name == "Microsoft Internet Explorer")
   {window.location = "kontakt_ie.html";}
//   -->


Now this code is working fine browsers running on the IBM/PC platform
but it
hangs on IE4.0 above on iMac (OS 9), could anyone please, let me know how to
solve this

Jasmeet Singh

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