[JavaScript] JavaScript获取客户端浏览器的屏幕显示信息 →→→→→进入此内容的聊天室

来自 , 2019-02-05, 写在 JavaScript, 查看 143 次.
URL http://www.code666.cn/view/d5438e58
  1. <!DOCTYPE html>
  2. <html>
  3. <body>
  4.  
  5. <h3>Your Screen:</h3>
  6.  
  7. <script>
  8. document.write("Total width/height: ");
  9. document.write(screen.width + "*" + screen.height);
  10. document.write("<br>");
  11. document.write("Available width/height: ");
  12. document.write(screen.availWidth + "*" + screen.availHeight);
  13. document.write("<br>");
  14. document.write("Color depth: ");
  15. document.write(screen.colorDepth);
  16. document.write("<br>");
  17. document.write("Color resolution: ");
  18. document.write(screen.pixelDepth);
  19. </script>
  20.  
  21. </body>
  22. </html>
  23.  
  24. //javascript/7891

回复 "JavaScript获取客户端浏览器的屏幕显示信息"

这儿你可以回复上面这条便签

captcha