JavaScript » Window » stop

Syntax:
window.stop( )

This method is used to cancel the current download. This is the same as clicking the browser's Stop button.