1

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?

Makyen
  • 31,849
  • 12
  • 86
  • 121
Alex
  • 75
  • 5
  • Another time, the answer to this type of question is often available with a little searching. One key in searching for such documentation is that you probably want to look for documentation on the [Mozilla Developer Network (MDN)](https://developer.mozilla.org/en-US/), or here on stackoverflow. I generally search for docs on MDN by just adding MDN to the terms I search for on Google. For example: [MDN download API](https://www.google.com/search?as_q=MDN+download+API) would have gotten you to the right place (Downloads.jsm) by clicking on a link contained at the top of the second result. – Makyen Mar 12 '15 at 09:30

1 Answers1

2

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

Community
  • 1
  • 1
Makyen
  • 31,849
  • 12
  • 86
  • 121