eligrey / FileSaver.js

An HTML5 saveAs() FileSaver implementation
https://eligrey.com/blog/saving-generated-files-on-the-client-side/
Other
21.58k stars 4.38k forks source link

How can I make a bookmarklet that saves the current page with FileSaver.js? #750

Open Emasoft opened 2 years ago

Emasoft commented 2 years ago

How can I make a bookmarklet that saves the current page with FileSaver.js?

The current page is a blob of course, and the url is something like:

blob:safari-web-extension://8a8e64a1-cbfc-4618-b912-4b2fffa9e80c/ff84540d-8bb9-4875-b919-b9ad31cd5315