eligrey / eligrey/FileSaver.js
Filename fails in Chrome
Open
- Dominant language
- JavaScript
- Stars
- 22k
- Forks
- 4.3k
- PR merge metrics
- No merged PRs in 30d
Description
Chrome on Windows uses filereader and popup, and so ignores filename.
```
var isWebKit = /AppleWebKit/.test(navigator.userAgent); is true for Chrome on Windows.
// Use download attribute first if possible (#193 Lumia mobile) unless this is a native macOS app
: 'download' in HTMLAnchorElement.prototype && !isWebKit ? function saveAs(blob, name, opts)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.