YouTip LogoYouTip

Met Win Stop

Window stop() Method

Window Object Reference Window Object


Definition and Usage

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

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

If a page 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 Chrome Edge Firefox Safari Opera
stop() Yes Not supported Yes Yes Yes

Example

Example

Stop loading a frame:

window.stop()

Try it Yourself Β»


Window Object Reference Window Object

← Met Document AdoptnodeMet Win Atob β†’