init commit
This commit is contained in:
7
infos.js
Executable file
7
infos.js
Executable file
@@ -0,0 +1,7 @@
|
||||
|
||||
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;
|
||||
Reference in New Issue
Block a user