<title>不同对象</title>
</head><body>
<script language="javascript">
function op()
{
window.open("http://www.baidu.com","baidu","height=250,width=600");
}
op(); with(document)
{
write("你的浏览信息是:<OL>");
write("<LI>名称:"+navigator.appname);
write("<LI>版本:"+navigator.appversion);
write("<LI>语言:"+navigator.browserlanguage);
write("<LI>平台:"+navigator.platform);
}
</script>
</body>
</html>
</head><body>
<script language="javascript">
function op()
{
window.open("http://www.baidu.com","baidu","height=250,width=600");
}
op(); with(document)
{
write("你的浏览信息是:<OL>");
write("<LI>名称:"+navigator.appname);
write("<LI>版本:"+navigator.appversion);
write("<LI>语言:"+navigator.browserlanguage);
write("<LI>平台:"+navigator.platform);
}
</script>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货