eligrey / eligrey/FileSaver.js

Filename fails in Chrome

Open
#643 4 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.