document property
Provides access the current document.
Note These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.
This property is read-only.
Syntax
JavaScript |
---|
|
Property values
Type: HTMLDocument
Remarks
Current document refers to the current document for the tab that the Diagnostics Script Engine is associated with. Changing tabs does not change what “current” refers to. Navigating within the current document will cause the document property to update however.