Window.stop()

 

Summary

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

Specification Status Comment
WHATWG HTML Living Standard
The definition of 'Window.stop()' in that specification.
Living Standard
HTML5
The definition of 'Window.stop' in that specification.
Recommendation

Compatibility

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

Document Tags and Contributors

 Last updated by: momdo,