Closed BeyondTheBoundary closed 7 years ago
It is possible and I'm working on it. However, the UI will not be the same. With WebExtensions it's unfortunately not possible to modify the download dialog. This is how it's going to look like:
Oh, great. Thank you. A search box/ filter would be helpful. 😄
But so sad that the UX can not be the same. Do you have a solution to catch user download event?
Do you have a solution to catch user download event?
Yes, but not directly so I'm not sure how well it's going to work. The problem is that we can only receive download events after the user chooses to save the file, so if the user cancels the download before it's started no event is sent. The workaround is to listen to all outgoing requests and eliminate those associated with a browser tab. So hopefully the cliget menu will show all downloads including canceled ones.
A search box sounds like a great idea.
The problem I see with this are "one-time" downloads, which invalidate the link by starting the download. Like various one-click hosters and other sites.
I wonder, wouldn't it be possible to behave like a "proxy" to catch the download before it even starts, and make it fail ASAP ?
That shouldn't be more of a problem than the current implementation because the download actually starts in the background before you can get a chance to hit save or cancel.
Any news about the release of the cliget WebExtension ? This morning, my firefox switch to the 57 version (Developer Edition) and I can't use it anymore. If you want to, @zaidka, I can test your addon and give you a feedback!
@zaidka Will the context menu entry be in the new version?
@joehillen Yes.
I have an idea:
(I tried to do the similar with devtools, but it doesn't show the details until it completes, so I have to cancel the download to copy as cURL.)
This is a great extension. I really miss it when I'm using FF 57 (Nightly). I willing to help port this to WebExtension, but I wonder is it possible to port, or this is the end of this add on?
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/user_interface