# Window

# Spoof the inner/outer window size, scroll offsets, window position, history length, and more.


# Properties

Property Type Description
window.scrollMinX int Minimum horizontal scroll offset
window.scrollMinY int Minimum vertical scroll offset
window.scrollMaxX int Maximum horizontal scroll offset
window.scrollMaxY int Maximum vertical scroll offset
window.outerHeight uint Total height of the browser window
window.outerWidth uint Total width of the browser window
window.innerHeight uint Height of the browser viewport
window.innerWidth uint Width of the browser viewport
window.screenX int Horizontal distance from the left border
window.screenY int Vertical distance from the top border
window.history.length uint Number of entries in the session history
window.devicePixelRatio double Ratio of physical pixels to CSS pixels