Window stop()
Definition and Usage
The stop()
method stops window loading.
The stop()
method is the same as clicking stop in the browser.
Note
The stop()
method can be used to stop loading an image if it takes too long.
Syntax
window.stop()
Parameters
NONE |
Return Value
NONE |
Browser Support
window.stop()
is supported in all modern browsers:
Chrome | Edge | Firefox | Safari | Opera |
Yes | Yes | Yes | Yes | Yes |
window.stop()
is not supported in Internet Explorer 11 (or earlier).