Appearance
UI.outerHeight is a read-only property that returns the height of the browser window, in pixels. This includes the browser chrome such as the address bar, tabs, and window borders.
UI.outerHeight
var h = UI.outerHeight