當前位置:
首頁 >
前端技术
> javascript
>内容正文
javascript
【转载】JS获取浏览器版本信息
生活随笔
收集整理的這篇文章主要介紹了
【转载】JS获取浏览器版本信息
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
document.write("js獲取到的瀏覽器版本信息:");document.write("<br />");document.write("Browser: ");document.write(navigator.appName + "");document.write("<br />");document.write("Browserversion: ");document.write(navigator.appVersion + "");document.write("<br />");document.write("Code: ");document.write(navigator.appCodeName + "");document.write("<br />");document.write("Platform: ");document.write(navigator.platform + "");document.write("<br />");document.write("Cookies enabled: ");document.write(navigator.cookieEnabled + "");document.write("<br />");document.write("Browser's user agent header: ");document.write(navigator.userAgent + "");document.write("<br />");
已不知道原文的路徑了
抱歉
總結
以上是生活随笔為你收集整理的【转载】JS获取浏览器版本信息的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: JVM系列一:Java虚拟机与操作系统结
- 下一篇: java的System.getPrope