Window stop()

Example

Stop the loading of a window:

window.stop();
Try it Yourself »

Description

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).


Copyright 1999-2023 by Refsnes Data. All Rights Reserved.