来自 关于计算机 2019-09-10 23:49 的文章
当前位置: 六合联盟网 > 关于计算机 > 正文

JS完整获取IE浏览器信息包括类型

复制代码 代码如下:

<html>
<head>
<title>JS完整获取IE浏览器消息</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="435" border="1" cellspacing="3" cellpadding="0">
<tr>
<td>浏览器类型</td>
<td>
<script>document.write(navigator.appName)</script>
</td>
</tr>
<tr>
<td >浏览器版本</td>
<td >
<script>document.write(navigator.appVersion)</script>
</td>
</tr>
<tr>
<td>浏览器语言</td>
<td>
<script>document.write(navigator.browserLanguage)</script>
</td>
</tr>
<tr>
<td >CPU类型</td>
<td >
<script>document.write(navigator.cpuClass)</script>
</td>
</tr>
<tr>
<td>操作系统</td>
<td>
<script>document.write(navigator.platform)</script>
</td>
</tr>
<tr>
<td >系统语言</td>
<td >
<script>document.write(navigator.systemLanguage)</script>
</td>
</tr>
<tr>
<td>客商语言;</td>
<td>
<script>document.write(navigator.userLanguage)</script>
</td>
</tr>
<tr>
<td >在线状态</td>
<td >
<script>document.write(navigator.onLine)</script>
</td>
</tr>
<tr>
<td>显示屏分辨率</td>
<td> <script>document.write(window.screen.width+"x"+window.screen.height)</script></td>
</tr>
<tr>
<td>颜色</td>
<td> <script>document.write(window.screen.colorDepth+"位")</script></td>
</tr>
<tr>
<td>字体平滑</td>
<td><script>document.write(window.screen.fontSmoothingEnabled)</script></td>
</tr>
<tr>
<td>appMinorVersion</td>
<td>
<script>document.write(navigator.appMinorVersion)</script>
</td>
</tr>
<tr>
<td >appCodeName</td>
<td >
<script>document.write(navigator.appCodeName)</script>
</td>
</tr>
<tr>
<td>cookieEnabled</td>
<td>
<script>document.write(navigator.cookieEnabled)</script>
</td>
</tr>
<tr>
<td >userAgent</td>
<td >
<script>document.write(navigator.userAgent)</script>
</td>
</tr>
<tr>
<td>javaEnabled</td>
<td>
<script>document.write(navigator.javaEnabled())</script>
</td>
</tr>
<tr>
<td >taintEnabled</td>
<td >
<script>document.write(navigator.taintEnabled())</script>
</td>
</tr>
</table>
</body>
</html>

您只怕感兴趣的稿子:

  • js推断ie版本号的粗略完成代码
  • 用javascript判定IE版本号轻便实用且向后卓绝
  • js推断浏览器版本以及浏览器内核的不二等秘书诀
  • JS获取IE版本号与HTML设置IE文书档案情势的法子

本文由六合联盟网发布于关于计算机,转载请注明出处:JS完整获取IE浏览器信息包括类型

关键词: