SummaryEdit
This method stops window loading.
SyntaxEdit
window.stop()
ExampleEdit
window.stop();
NotesEdit
The stop() method is exactly equivalent to clicking the stop button in the browser. Because of the order in which scripts are loaded, the stop() method cannot stop the document in which it is contained from loading, but it will stop the loading of large images, new windows, and other objects whose loading is deferred.
SpecificationEdit
Specification | Status | Comment |
---|---|---|
WHATWG HTML Living Standard The definition of 'Window.stop()' in that specification. |
Living Standard |
CompatibilityEdit
The stop() method is not supported by Internet Explorer.