<html>
<head>
<title>浏览器环境检查</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script>
<!--
function ignoreError(){
return true;
}
window.onerror = ignoreError;
document.cookie = "Suport=" + escape("Session");
//-->
</script>
<style type="text/css">
<!--
table {
font-size: 12px;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<p align="center"><font color="#FF0000">检查结果: </font><span id="vsport"><font color=red>本机浏览器不能正常访问</font></span></p>
<table width="720" border="0" cellspacing="1" cellpadding="5" align="center" bgcolor="#999999" bordercolor="#999999">
<tr bgcolor="#EEEEEE">
<th height="32" align="center" nowrap>项目</th>
<th nowrap>我的机器</th>
<th nowrap>要求状态</th>
</tr>
<tr bgcolor="#EEEEEE">
<td height="32" align="center" nowrap>网页脚本</td>
<td nowrap><span id=vjava><font color=red>不支持</font></span> </td>
<td nowrap>支持 <font color="#FF0000">(必须)</font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="32" align="center" nowrap>网络会话</td>
<td nowrap><span id=vsess><font color=red>不支持</font></span> </td>
<td nowrap>支持 <font color="#FF0000">(必须)</font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="32" align="center" nowrap>窗体函数</td>
<td nowrap><span id=vwind><font color=red>不支持</font></span> </td>
<td nowrap>支持 <font color="#FF0000">(必须)</font></td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="32" align="center" nowrap width="200">浏览器名称</td>
<td nowrap><span id=vname>未知</span> </td>
<td nowrap>视不同浏览器而异</td>
</tr>
<tr bgcolor="#EEEEEE">
<td height="32" align="center" nowrap>浏览器版本</td>
<td nowrap><span id=vvers>未知</span> </td>
<td nowrap>视不同浏览器而异</td>
</tr>
</table>
<table width="580" border="0" align="center" cellpadding="5" cellspacing="1">
<tr>
<td>
<p>说明:正常访问网要求客户机浏览器支持网页脚本,支持网络会话和窗体函数。</p>
<p> <font color="#0000FF">正常情况下,浏览器均支持网页脚本,网络会话和窗体函数。</font></p>
<p>改动浏览器安全级别,使用例如MyIe2浏览器 、超级兔子、IE修复器、禁止广告软件,某些杀毒<br>
软件或网页防火墙或者其它软件都可能会影响浏览器设置。</p>
<p> 如果您的浏览器不支持网页脚本、网络会话和窗体函数,请暂时关闭广告禁止软件、杀毒软件并<br>
调整您的计算机浏览器设置,直至您的浏览器正常支持网页脚本、网络会话和窗体函数。</p>
<p> 如果无法调整,可换一台电脑测试。<br>
</p>
</td>
</tr>
</table>
<script language="JavaScript">
<!--
var bikky = document.cookie;
function getCookie(name){
name += "=";
var i = 0;
while(i < bikky.length){
var offset = i + name.length;
if (bikky.substring(i, offset) == name){
var endstr = bikky.indexOf(";", offset);
if (endstr == -1) endstr = bikky.length;
return unescape(bikky.substring(offset, endstr));
}
i = bikky.indexOf(" ", i) + 1;
if (i == 0) break;
}
return null;
}
vname.innerHTML = navigator.appName;
vvers.innerHTML = navigator.appVersion;
vjava.innerHTML = "<font color=blue>支持</font>";
var Suport = getCookie("Suport");
if(Suport=="Session") vsess.innerHTML = "<font color=blue>支持</font>";
var nwin=window.open("about:blank","nwin","width=1,height=1,top=1000,left=1,toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=no,resizable=no");
nwin.document.open();
nwin.document.writeln("<scr"+"ipt>");
nwin.document.writeln("opener.vwind.innerHTML = '<font color=blue>支持</font>';");
nwin.document.writeln("</scr"+"ipt>");
nwin.document.close();
nwin.close();
if(vsess.innerHTML.toLowerCase()=='<font color=blue>支持</font>' && vwind.innerHTML.toLowerCase()=='<font color=blue>支持</font>')
vsport.innerHTML="<font color=blue>本机浏览器可以正常访问中网 168 </font>";
//-->
</script>
</body>
</html>
浏览器环境检查
2007-12-11 11:55 来源: 作者: 网友评论 0 条 浏览次数 15
上一篇:在线中文汉字转换..
下一篇:检验密码强度的JS..
