kimoa / svg-edit

Automatically exported from code.google.com/p/svg-edit
MIT License
3 stars 0 forks source link

Restore Save To Disk capability #942

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I think we can use this technique:

  https://plus.google.com/u/0/106422711035746240826/posts/NrVRwYhpKdf

Original issue reported on code.google.com by codedr...@gmail.com on 2 Apr 2012 at 7:58

GoogleCodeExporter commented 8 years ago
This damned feature request gave me a lot of trouble for my extension. Only 
Chrome truly supports saving the file, but then you still need to interact with 
it by pressing Keep/allow the download.

The rest of js solutions will eventually require you to save the page manually 
(you can use blob uri or base64-encoded or whatever, it won't matter). Even if 
you alter the mimetype to trigger the save (like in FF), it will be saved 
automatically as garbagename.part and you still need to manually rename the 
file to proper.svg.

/rant

Original comment by asyazwan on 3 Apr 2012 at 1:24