How can I get windowWidth, windowHeight, pageWidth, pageHeight, screenWidth, screenHeight,
windowWidth
windowHeight
pageWidth
pageHeight
screenWidth
screenHeight
Here is a cross browser solution with pure JavaScript (Source):
var width = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; var height = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;