HTML DOM Screen 对象
deviceYDPI 属性返回显示屏幕的每英寸垂直点数。
screen.deviceYDPI
<html> <body> <script type="text/javascript"> document.write("<p>Device YDPI: ") document.write(screen.deviceYDPI + "</p>") </script> </body> </html>
Search: