Get the size of the screen, current web page and browser window
Asked 07 September, 2021
Viewed 2.2K times
  • 55
Votes

How can I get windowWidth, windowHeight, pageWidth, pageHeight, screenWidth, screenHeight, pageX, pageY, screenX, screenY which will work in all major browsers?

screenshot describing which values are wanted

20 Answer