-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
File save issue in Safari #129
Comments
This seems to be a missing feature: https://github.com/eligrey/FileSaver.js#supported-browsers |
what is the current recommended way to save things in safari 8? downloadify doesn't seem to work for me, or at least have not found a demo that works in safari. using saveas just silent fails in my test while working in other browsers. |
I'm seeing the same problem. Certain file types (e.g. images) open in a new browser tab as blob:... Other file types (e.g. MS Office documents) open a new blank browser tab with no URL at all in the address bar and no file is downloaded. Safari 7.1.5 |
Duplicate of #12? |
Seems to be == #12 |
So the problem is the time. If the saveAs happens more than 1 second after the click what triggered it, the plugin will overwrite the current window. |
having the same problem in Safari. Firefox and Chrom are working! How to prevent this? |
If there's no fix yet, how would I make the saveAs open a new tab instead of overwriting the current window? |
is there any update on this issue ? |
plz? |
Any movement on this? I'm seeing some activity on the webkit bugs thread https://bugs.webkit.org/show_bug.cgi?id=102914 as recently as april. Does anyone know the status of this patch and / or if there are any workarounds? |
They still have some work to do; see the transitive dependencies of that bug. Lots of recent-ish activity that looks promising though. |
the data is wrong, it should be Try setting the mimetype to var blob = new Blob(['"User","Text"'], {
"type":"application/octet-stream"
})
saveAs(blob); FileSaver.js will try to open a new tab |
Looks like Safari 10.1 finally supports the Download attrib. http://caniuse.com/#feat=download |
I am using this code
Here response.payload is blob data. Its working fine in all browsers but in safari file getting downloaded without name and opening a blank page also. Any help will be highly appreciated.
The text was updated successfully, but these errors were encountered: