Rumah > Artikel > hujung hadapan web > JS完整获取IE浏览器信息包括类型、版本、语言等等_javascript技巧
浏览器类型 | <script>document.write(navigator.appName)</script> |
浏览器版本 | <script>document.write(navigator.appVersion)</script> |
浏览器语言 | <script>document.write(navigator.browserLanguage)</script> |
CPU类型 | <script>document.write(navigator.cpuClass)</script> |
操作系统 | <script>document.write(navigator.platform)</script> |
系统语言 | <script>document.write(navigator.systemLanguage)</script> |
用户语言; | <script>document.write(navigator.userLanguage)</script> |
在线情况 | <script>document.write(navigator.onLine)</script> |
屏幕分辨率 | <script>document.write(window.screen.width+"x"+window.screen.height)</script> |
颜色 | <script>document.write(window.screen.colorDepth+"位")</script> |
字体平滑 | <script>document.write(window.screen.fontSmoothingEnabled)</script> |
appMinorVersion | <script>document.write(navigator.appMinorVersion)</script> |
appCodeName | <script>document.write(navigator.appCodeName)</script> |
cookieEnabled | <script>document.write(navigator.cookieEnabled)</script> |
userAgent | <script>document.write(navigator.userAgent)</script> |
javaEnabled | <script>document.write(navigator.javaEnabled())</script> |
taintEnabled | <script>document.write(navigator.taintEnabled())</script> |