StreamSaver.js
StreamSaver.js copied to clipboard
Using StreamSaver in a userscript
What would be the best way of using StreamSaver to progressively download a file from a userscript?
what is a userscript?
if it's chromium specific then i would recommend using whatwg/fs directly instead instead of using StreamSaver.js
what is a userscript?
https://en.wikipedia.org/wiki/Userscript
if it's chromium specific then i would recommend using whatwg/fs directly instead instead of using StreamSaver.js
No it's browser agnostic.
When I tried creating a script that uses StreamSaver inside Greasemonkey, I was getting an error, but the same script worked with Violentmonkey without any extra complications.
I'm getting this error:
Failed to get service worker registration(s): Storage access is restricted in this context due to user settings or private browsing mode.
What did you do to get it working? I'm using ViolentMonkey
@Zipdox I haven't tried using the userscript from Private Browsing, so I'm not sure what it'd take to have that work. It did work for me without Private Browsing though.
I haven't tried using the userscript from Private Browsing, so I'm not sure what it'd take to have that work. It did work for me without Private Browsing though.
I'm not using private browsing though. This is a normal tab on an HTTPS page. Would you mind sharing your working code?