docs.rodeo

MDN Web Docs mirror

downloads

{{AddonSidebar}} 

Enables extensions to interact with the browser’s download manager. You can use this API module to download files, cancel, pause, resume downloads, and show downloaded files in the file manager.

To use this API you need to have the “downloads” API permission specified in your manifest.json file.

Types

Functions

Events

Browser compatibility

{{Compat}} 

{{WebExtExamples("h2")}} 

[!NOTE] This API is based on Chromium’s chrome.downloads API.

In this article

View on MDN