defaultView

Returns the Window object of the active document.

MDN Reference