jimmywarting / StreamSaver.js

StreamSaver writes stream to the filesystem directly asynchronous
https://jimmywarting.github.io/StreamSaver.js/example.html
MIT License
4.04k stars 418 forks source link

Trigger download using window.location redirect instead of <a> tag #82

Closed TexKiller closed 5 years ago

TexKiller commented 5 years ago

Trigger download using window.location redirect instead of <a> tag, so on secure pages it works without the need for user interaction

jimmywarting commented 5 years ago

Guess this works just as well, but sorter 👍 Think i used links so i could use the download attribute but it's handled within the sw.js