The stop() method in DOM is used to stop the window from loading resources in the current browsing context, similar to the browser’s stop button.
Example: Stop window from loading.
Without window.stop() method:
With window.stop() method:
Supported Browsers: The browser supported by DOM Window stop() Method are listed below:
- Google Chrome