Browser Information
Window Geometry
Measure viewport inner/outer dimensions, scroll position, and frame geometry.
Checking support...
Feature Not SupportedThis browser does not support the Window Geometry Web API feature. Try testing in a modern browser (such as Chrome, Edge, Safari, or Firefox).
Advertisement
Interactive Input Workspace
Ready for input
Web API Execution Output
Result output will be displayed here after processing...
Native JavaScript Code Example (Zero Libraries)
console.log(window.innerWidth, window.innerHeight, window.scrollX, window.scrollY);
About the Window Geometry Web API
Window interface represents a window containing a DOM document.
Specification:W3C & WHATWG Web API Standard
Sponsored Content