js 浏览器环境检查代码
来源:网络 作者:佚名 点击:
次时间:2017-07-19 00:33
[摘要] js 浏览器环境检查代码 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= + escap
js 浏览器环境检查代码
<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>本机浏览器不能正常访问中国WEB第一站</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>项
|
------分隔线----------------------------