<head>
<title>检测浏览器</title>
<SCRIPT LANGUAGE="JavaScript">
function TestBrowser(){
ie = ((navigator.appName == "Microsoft Internet Explorer") &&(parseInt(navigator.appVersion) >= 3 ))
ns = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3 ))
if (ns) {
setTimeout('location.href="indexns.html"',5);
} else {
setTimeout('location.href="indexie.html"',5);
}
}
</script>
</head>
<body onLoad="TestBrowser()">
测试您的浏览器,五秒自动进入!
</body>
<html>
<body>
This is a simple HTML- page.
<br>
最后更新:
<script language="JavaScript">
<!-- hide script from old browsers
document.write(document.lastModified)
// end hiding contents -->
</script>
Last Modified.
</body>
</html>
<!--
var gt = unescape('%3e');
var popup = null;
var over = "Launch Pop-up Navigator";
popup = window.open('', 'popupnav', 'width=200,height=170,resizable=1,scrollbars=auto');
if (popup != null) {
if (popup.opener == null) {
popup.opener = self;
}
popup.location.href = '弹出文件名.html';
}
// -->
</script>