DOM:document.defaultView
From MDC
Contents |
[edit] Summary
document.defaultView returns a reference to the default AbstractView for the document, or null if none available
[edit] Syntax
var docDView = document.defaultView;
This property is read-only.
[edit] Notes
document.defaultView is part of the DOM Level 2 DocumentView interface.
document.defaultView is generally a reference to the window object for the document, however that is not defined in the specification and can't be relied upon for all host environments, particularly as not all browsers implement it.