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