[thelist] Netscape badbrowser (was Asking newbie questions)

MRC webmaster at equilon-mrc.com
Wed Nov 7 15:46:26 CST 2001


Ben,

>
><http://developer.netscape.com/docs/examples/javascript/browser_type.html>.
> Ironic.  The page doesn't seem to cooperate in IE5.
> http://my.netscape.com/badbrowser.tmpl
> It says it's not there, but look at the file name.  They look to be
> "pulling a Microsoft."

    Yep, that's exactly what they're doing. With a quick hand on the stop
button, I captured the content of browser_type.html from IE 5.01:

<SCRIPT LANGUAGE=JavaScript>
<!--
if(navigator.appName=="Netscape") { if(navigator.appVersion.substring(0,1)
>= "3")

location.replace("http://www.mozilla.org/docs/web-developer/sniffer/browser_
type.html"); } }

else { document.write("<META HTTP-EQUIV=REFRESH CONTENT=\"0;
URL=http://my.netscape.com/badbrowser.tmpl\">\n"); }
// -->
</SCRIPT>

James Aylard





More information about the thelist mailing list