For detecting Netscape Navigator use the following code:



<HTML> <TITLE>Detecting User's Browser</TITLE> <!-- ARCHIVE by FORTUNECITY.ws --> <HEAD></HEAD> <BODY BGCOLOR=ffffff><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-47423994-1', 'fortunecity.ws'); ga('send', 'pageview'); </script> <center> <br> <div> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </div> </center> <SCRIPT Language="JavaScript"> //-------------------------------------------------- // Copyright Reaz Hoque, 1996, All right reserved // web: http://rhoque.com // email: rhoque@rhoque.com // This code can be used for non-profit use only if // the copyright notice is kept. //--------------------------------------------------- if (navigator.appName == "Netscape"){ if (navigator.appVersion.substring(0, 3) == "3.0"){ if (navigator.appVersion.substring(3, 4) == "b"){ alert('You are using :' + navigator.appName + ' (' + navigator.appCodeName + ') ' + navigator.appVersion + '\nSorry! You are not using Netscape 3.0+'); history.back(); } } } else { alert('Sorry! You are not using Netscape 3.0+'); } </SCRIPT> </BODY> <!-- ARCHIVE by FORTUNECITY.ws --> <center> <div> <br> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250&cache=0"></script> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250"></script> </div> <br> <br> </center> </HTML>



© Reaz Hoque, 1996
All Right Reserved
Comments can be sent to Reaz Hoque