eligrey / FileSaver.js

An HTML5 saveAs() FileSaver implementation
https://eligrey.com/blog/saving-generated-files-on-the-client-side/
Other
21.42k stars 4.38k forks source link

Add bom invocation before generating object URL #751

Open MailCube024 opened 2 years ago

MailCube024 commented 2 years ago

When generating a download link for the object blob, the BOM options are not considered, which render the saveAs options useless under certain browsers (notably Chrome and Brave).