Appearance
UI.innerHeight is a read-only property that returns the height of the browser’s viewport, in pixels.
UI.innerHeight
The viewport refers to the visible area of the page, excluding browser chrome such as the address bar, tabs, and window borders.
var h = UI.innerHeight