Note: i did not make this script, i got it from (http://w3schools.com/js/tryit.asp?filename=tryjs_browsermonitor)What it does is it gets info on the
Screen resolution, Available view area, Color depth, Buffer depth, DeviceXDPI, DeviceYDPI, LogicalXDPI,
LogicalYDPI, FontSmoothingEnabled, PixelDepth, and, UpdateInterval
here is and example
Screen resolution: 1024*768
Available view area: 1024*738
Color depth: 32
Buffer depth: 0
DeviceXDPI: 96
DeviceYDPI: 96
LogicalXDPI: 96
LogicalYDPI: 96
FontSmoothingEnabled: true
PixelDepth: undefined
UpdateInterval: 0
Script
<html>
<body>
<script type="text/javascript">
//Script came from (http://w3schools.com/js/tryit.asp?filename=tryjs_browsermonitor)
document.write("Screen resolution: ");
document.write(screen.width + "*" + screen.height);
document.write("<br />");
document.write("Available view area: ");
document.write(screen.availWidth + "*" + screen.availHeight);
document.write("<br />");
document.write("Color depth: ");
document.write(screen.colorDepth);
document.write("<br />");
document.write("Buffer depth: ");
document.write(screen.bufferDepth);
document.write("<br />");
document.write("DeviceXDPI: ");
document.write(screen.deviceXDPI);
document.write("<br />");
document.write("DeviceYDPI: ");
document.write(screen.deviceYDPI);
document.write("<br />");
document.write("LogicalXDPI: ");
document.write(screen.logicalXDPI);
document.write("<br />");
document.write("LogicalYDPI: ");
document.write(screen.logicalYDPI);
document.write("<br />");
document.write("FontSmoothingEnabled: ");
document.write(screen.fontSmoothingEnabled);
document.write("<br />");
document.write("PixelDepth: ");
document.write(screen.pixelDepth);
document.write("<br />");
document.write("UpdateInterval: ");
document.write(screen.updateInterval);
document.write("<br />");
</script>
</body>
</html>