W3cubDocs

/DOM

window.stop

This method stops window loading.

Syntax

window.stop() 

Example

window.stop();

Notes

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.

Specification

Compatibility

The stop() method is not supported by Internet Explorer.

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/window/stop