Files
infoscreen/infos.js
root (ariane) cccaa274f8 init commit
2025-10-10 20:31:12 +02:00

8 lines
308 B
JavaScript
Executable File

let text = "Total width/height: " + screen.width + "*" + screen.height + "<br>" +
"Available width/height: " + screen.availWidth + "*" + screen.availHeight + "<br>" +
"Color depth: " + screen.colorDepth + "<br>" +
"Color resolution: " + screen.pixelDepth;
document.getElementById("demo").innerHTML = text;