For Chrome, Safari and Firefox, just use this:
form.append("blob", blob, filename);
(see MDN documentation)
More Related Contents:
- Force DOM redraw/refresh on Chrome/Mac
- Violation Long running JavaScript task took xx ms
- Is innerHTML asynchronous?
- Console shows error about Content Security policy and lots of failed GET requests
- forEach method of Node.childNodes?
- Javascript: Let user select an HTML element like Firebug?
- Can a website block a Chrome Extension? [duplicate]
- document.createElement(“script”) synchronously
- Chrome 65 blocks cross-origin . Client-side workaround to force download?
- How To Wrap / Surround Highlighted Text With An Element
- Console.log showing only the updated version of the object printed
- How to simulate key presses or a click with JavaScript?
- Get child node index
- Getting value of HTML Checkbox from onclick/onchange events
- Check if option is selected with jQuery, if not select a default
- JavaScript: Is there a way to get Chrome to break on all errors?
- Select all elements with a “data-xxx” attribute without using jQuery
- How can a Chrome extension save many files to a user-specified directory?
- DOM refresh on long running function
- Open Safari / Google Chrome developer tools programmatically from JavaScript
- Finding DOM node index
- Accessing Current Tab DOM Object from “popup.html”?
- how to compare two elements in jquery [duplicate]
- Chrome and IE sorts JSON Object automatically, how to disable this?
- How can I capture all network requests and full response data when loading a page in Chrome?
- How to window.open with a toolbar in Google Chrome?
- How can I replace one class with another on all elements, using just the DOM?
- 307 Redirect when loading analytics.js in Chrome
- How to fix chrome-extension inline JavaScript invocation error?
- Chrome extension identity.email empty