AgregoreWeb / agregore-browser

A minimal browser for the distributed web (Desktop version)
https://www.youtube.com/watch?v=TnYKvOQB0ts&list=PL7sG5SCUNyeYx8wnfMOUpsh7rM_g0w_cu&index=14
GNU Affero General Public License v3.0
715 stars 66 forks source link

Use `contents.downloadURL` for "save as", add feedback #179

Open RangerMauve opened 2 years ago

RangerMauve commented 2 years ago

There's an API called content.downloadURL() for downloading files from a URL.

Currently we have a hacky method for Save As which executes some JavaScript at the top level of the frame instead: https://github.com/AgregoreWeb/agregore-browser/blob/master/app/context-menus.js#L205

We should replace this with invoking download() on the link that's being saved.

As well, it'd be good to have some sort of progress indicator in the web page saying that we're currently downloading something. For some reason the events for downloading are set on the "session". So maybe we should have a custom top level page which uses that for styling? I dunno, feedback would be appreciated and we could split this up into two phases.

resession commented 2 years ago

i'm a huge user of "save as", i love backing up stuff. this would be great.

av8ta commented 1 year ago

"save as replayweb archive" would be great too.