Easy Tutorial
❮ Met Console Trace Prop Canvas Linecap ❯

Window stop() Method

Window Object


Definition and Usage

The stop() method is used to halt the loading of a page.

This method is similar to clicking the stop button in a browser.

If a page takes too long to load images or frames (iframe), we can use this method to stop the loading.

Syntax

window.stop()

Parameter Description:

Return Value

No return value.


Browser Support

Method
stop() Yes Not Supported Yes Yes Yes

Example

Stop loading a frame:

window.stop()

Window Object

❮ Met Console Trace Prop Canvas Linecap ❯