English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Window stop() Method

JavaScript Window Object

stop()This method stops further resource loading in the current browser context, equivalent to the stop button in the browser.

This method may be very useful if the loading time of an image or frame is too long.

Syntax:

window.stop()
window.stop();
Test and See‹/›

Browser Compatibility

All browsers fully support the stop() method:

Method
stop()YesYesYesYesNot Supported

Technical Details

Return Value:None

Related References

Reference: Window (Window)window.open() method

Reference: Window (Window)window.close() method

JavaScript Window Object