You could do window.stop();
for most browsers besides Internet Explorer. For IE, I had to use document.execCommand('Stop');
More Related Contents:
- Stop form refreshing page on submit
- Convert Data URI to File then append to FormData
- Full-screen iframe with a height of 100%
- How to call multiple JavaScript functions in onclick event?
- JavaScript: How to find out if the user browser is Chrome?
- Adding input elements dynamically to form
- Encode HTML entities in JavaScript
- How to properly use jsPDF library
- How do I remove a file from the FileList
- getCurrentPosition() and watchPosition() are deprecated on insecure origins
- Prevent form redirect OR refresh on submit?
- Cross-origin data in HTML5 canvas
- HTML form action and onsubmit issues
- How to detect when a page exits fullscreen?
- TypeError: p.easing[this.easing] is not a function
- Reading cookie expiration date
- JavaScript – head, body or jQuery?
- ReactJS: “Uncaught SyntaxError: Unexpected token
- HTML5 playback with fade in and fade out
- Simulate drop file event
- Does HTML Hidden control have any events? Like onchange or something?
- Using Javascript to override or disable meta refresh tag
- Proper way to reset a GIF animation with display:none on Chrome
- Disable button whenever a text field is empty dynamically
- Javascript Marquee to replace tags
- Dynamically change the size of the font size based on text length
- How do I capture a key press (or keydown) event on a div element?
- Passing JSON data from php to html-data attribute and then to Javascript
- Record voice from IPhone using HTML5
- How to highlight a part part of an Input text field in HTML using Javascript or JQuery