Search code examples
javascriptfirefoxfirefox-addonfirefox-addon-sdk

Is there an API to control downloads in Firefox add-on SDK?


In Firefox, is there an API equivalent to Google Chrome's chrome.downloads API?

I need to control downloads with functions such as pause, resume, and cancel. In addition, I want to be able to remove the downloaded file.

If there is no API in Firefox add-on SDK, is it possible to do the same things in another way?


Solution

  • The API's are (links to documentation on MDN):