Window stop()Method

Window 对象参考手册Window Object


Definition and Usage

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

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

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

Syntax

window.stop()

Parameter description:

  • None.

Return Value

No return value.



Browser Support

Method
stop() Yes Not supported Yes Yes Yes

Example

Example

Stop loading frames:

window.stop()

Try it Yourself »

Window 对象参考手册Window Object

Other Extensions