使用js如何判断IE浏览器的位数

来源:互联网 发布:mac os 10.12正式版 编辑:程序博客网 时间:2024/06/04 19:45

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>判断IE</title>
<script type="text/javascript">
function Init()
{
 if(window.navigator.platform == "Win32")
  alert("IE是32位的!");
 else
  alert("IE是64位的!");
}
</script>
</head>
<body onload="Init()">
</body>
</html>
0 0
原创粉丝点击