有关访问者的浏览器的全部细节

  1. <html>
  2. <body>
  3.  
  4. <script type="text/javascript">
  5. var x = navigator;
  6. document.write("CodeName=" + x.appCodeName);
  7. document.write("<br />");
  8. document.write("MinorVersion=" + x.appMinorVersion);
  9. document.write("<br />");
  10. document.write("Name=" + x.appName);
  11. document.write("<br />");
  12. document.write("Version=" + x.appVersion);
  13. document.write("<br />");
  14. document.write("CookieEnabled=" + x.cookieEnabled);
  15. document.write("<br />");
  16. document.write("CPUClass=" + x.cpuClass);
  17. document.write("<br />");
  18. document.write("OnLine=" + x.onLine);
  19. document.write("<br />");
  20. document.write("Platform=" + x.platform);
  21. document.write("<br />");
  22. document.write("UA=" + x.userAgent);
  23. document.write("<br />");
  24. document.write("BrowserLanguage=" + x.browserLanguage);
  25. document.write("<br />");
  26. document.write("SystemLanguage=" + x.systemLanguage);
  27. document.write("<br />");
  28. document.write("UserLanguage=" + x.userLanguage);
  29. </script>
  30.  
  31. </body>
  32. </html>