IssueRaiser

Indeed.

Indeed. There are many missing features in Safari, including such basic stuff as allowing you to set the download attribute on hyperlinks. That makes it very difficult to write client-side apps for Safari (at least if you want to allow the user to save the output to disk). This is a personal pain point that's bitten me several times. For those who aren't familiar with the problem, say you've written a cool web app that creates (just for example) ZIP files. You want to let the user save these to disk. In Chrome, Firefox, or Opera, this is dirt-simple. Put the ZIP data in a data URL, set the href attribute of the link to the data URL, and set the download attribute to "yourcoolfilename.zip" (or whatever you want). Boom. Done. User clicks the link, data downloads to "yourcoolfilename.zip". Totally streamlined. Not in Safari. The best you can do there is open up the data URL in a new window (which of course ignores any mime type you've set, so the user gets an ugly screen full of binary data) and tell them to use Save As to save the mess. Very nasty. Chrome has had this feature for 20 (!) versions, Firefox for 9, Opera for 5. It even works on the Android and Blackberry browsers. Even IE allows this (in a completely non-standard and convoluted way, naturally, but it can be done).

Posted by Turing_Machine on May 12, 2014, 8:16 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.9,500 issues0 comments

ux (SaaS)

Indeed.

Turing_MachineMay 12, 2014, 8:16 PM

Indeed. There are many missing features in Safari, including such basic stuff as allowing you to set the download attribute on hyperlinks. That makes it very difficult to write client-side apps for Safari (at least if you want to allow the user to save the output to disk). This is a personal pain point that's bitten me several times. For those who aren't familiar with the problem, say you've written a cool web app that creates (just for example) ZIP files. You want to let the user save these to disk. In Chrome, Firefox, or Opera, this is dirt-simple. Put the ZIP data in a data URL, set the href attribute of the link to the data URL, and set the download attribute to "yourcoolfilename.zip" (or whatever you want). Boom. Done. User clicks the link, data downloads to "yourcoolfilename.zip". Totally streamlined. Not in Safari. The best you can do there is open up the data URL in a new window (which of course ignores any mime type you've set, so the user gets an ugly screen full of binary data) and tell them to use Save As to save the mess. Very nasty. Chrome has had this feature for 20 (!) versions, Firefox for 9, Opera for 5. It even works on the Android and Blackberry browsers. Even IE allows this (in a completely non-standard and convoluted way, naturally, but it can be done).

Comments (0)

No comments yet. Start the discussion.

Comment on this issue