Auto-Resume-Downloads icon indicating copy to clipboard operation
Auto-Resume-Downloads copied to clipboard

Could this be ported to Firefox..?

Open dwaal opened this issue 4 years ago • 8 comments

I use both Chrome and Firefox. It would be nice to have this add-on also in Firefox. Any chance this is possible?

dwaal avatar Feb 19 '21 23:02 dwaal

I don't have any plans for the Firefox version yet, but I'll update it soon. Thank you.

Dongw1126 avatar Feb 20 '21 00:02 Dongw1126

Thanks. By update it soon, it means you will port it to Firefox? Much appreciated. Great work :+1:

dwaal avatar Feb 20 '21 01:02 dwaal

I tried to port this extension to Firefox Add-on. But Firefox's "canResume" was far from Chrome. Firefox API does not allow resume for an error-stopped download. image So I think it will be difficult to port to Firefox now. I'm sorry I couldn't help you.

Dongw1126 avatar Feb 21 '21 18:02 Dongw1126

Strange. You can press the "Retry" icon in the download manager...but I guess they didn't offer it in the API?

Aren't there many download managers in Firefox that offer resume? I was hoping for a minimal solution though.

dwaal avatar Feb 21 '21 18:02 dwaal

image

Yes, I think it's weird, too. I can press retry button in the Download Manager, but I cannot call browser.downloads.resume in the API.

Dongw1126 avatar Feb 21 '21 18:02 Dongw1126

This is a bug I think. I just looked and nobody filed it yet.

https://discourse.mozilla.org/t/webextension-retry-failed-download/60252/6 https://discourse.mozilla.org/t/browser-downloads-resume-is-not-the-same-as-retry/75057/3

dwaal avatar Feb 21 '21 18:02 dwaal

Did more digging.

Seems like it worked before. So it is in the API but it is broken. There is an old auto-resume Firefox plugin, but it seems broken.

Will you file a bug?

dwaal avatar Feb 21 '21 18:02 dwaal

Thank you for your effort. I submitted this issue and bug to Mozilla. When the problem is solved, I will try to develop the Firefox version.

Dongw1126 avatar Feb 21 '21 18:02 Dongw1126