Browser CodeName: navigator.appCodeName ;//浏览器代码名:navigator.appcodename;
Browser Name: navigator.appName ;//浏览器名称:navigator.appname;
Browser Version: navigator.appVersion ;//浏览器版本:navigator.appversion;
Cookies Enabled: navigator.cookieEnabled ;//启用cookies:navigator.cookieenabled;
Platform: navigator.platform;//平台:navigator.platform;
User-agent header: navigator.userAgent ;//用户代理头:navigator.user agent;
User-agent language: navigator.systemLanguage ;//用户代理语言:navigator.systemlanguage;
<script type="text/javascript">
document.write("<p>浏览器:")
document.write(navigator.appName + "</p>")
document.write("<p>浏览器版本:")
document.write(navigator.appVersion + "</p>")
document.write("<p>代码:")
document.write(navigator.appCodeName + "</p>")
document.write("<p>平台:")
document.write(navigator.platform + "</p>")
document.write("<p>Cookies 启用:")
document.write(navigator.cookieEnabled + "</p>")
document.write("<p>浏览器的用户代理报头:")
document.write(navigator.userAgent + "</p>")
</script>
浏览器:Netscape
浏览器版本:5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36 Maxthon/5.2.3.4000
代码:Mozilla
平台:Win32
Cookies 启用:true
浏览器的用户代理报头:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36 Maxthon/5.2.3.4000