The document has finished loading and the document has been parsed but sub-resources such as scripts, images, stylesheets and frames are still loading. The event doesn't include the document's updated visibility status, but you can get that information from the document's visibilityState property.. This is in contrast to DOMContentLoaded, which is fired as soon as the page DOM has been loaded, without waiting for resources to finish loading.. This method has very idiosyncratic behavior. The forms read-only property of the Document interface returns an HTMLCollection listing all the