Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove browser restrictions for downloading files #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BryceStevenWilley
Copy link

@BryceStevenWilley BryceStevenWilley commented Feb 8, 2022

While the requestFileSystem is restricted to Chrome (see https://developer.mozilla.org/en-US/docs/Web/API/Window/requestFileSystem), the method used within the check doesn't actually use requestFileSystem at all. Removing the check lets file download work for firefox, chrome, and edge out of the box. Adding one more simple check for some IE specific methods lets it work on IE 11 as well.

Fixes #13.

While the `requestFileSystem` is restricted to Chrome, the method used within the check doesn't actually use `requestFileSystem` at all. Removing the check lets file download work for firefox, chrome, and edge out of the box. Adding one more simple check for some IE specific methods lets it work on IE 11 as well.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

IE & FF, save to file not available
1 participant