JavaScript -- Navigator

-----040-Navigator.html-----

 <!DOCTYPE html>
 <html>
 <head>
     <meta http-equiv="content-type" content="text/html; charset=utf-8">
     <title>标题</title>
 </head>
 <body>
 <h3>浏览器与平台信息</h3>
 <ol>
 <script type="text/javascript">
     document.write("<li>代号:" + navigator.appCodeName);
     document.write("<li>名称:" + navigator.appName);
     document.write("<li>版本:" + navigator.appVersion);
     document.write("<li>次版本号:" + navigator.appMinorVersion);
     document.write("<li>语言:" + navigator.language);
     document.write("<li>系统语言:" + navigator.systemLanguage);
     document.write("<li>浏览器语言:" + navigator.browserLanguage);
     document.write("<li>用户语言:" + navigator.userLanguage);
     document.write("<li>架构:" + navigator.cpuClass);
     document.write("<li>平台:" + navigator.platform);
     document.write("<li>用户代理:" + navigator.userAgent);
     document.write("<li>爪洼支持:" + navigator.javaEnabled());
     document.write("<li>数据污点:" + navigator.taintEnabled());
 </script>
 </ol>
 </body>
 </html>

JavaScript -- Navigator

上一篇:logback KafkaAppender 写入Kafka队列,集中日志输出.


下一篇:生活中的OO智慧——大话面向对象五大原则