() function of the
downloads API enables or disables the gray shelf at the bottom of every window associated with the current browser profile. The shelf will be disabled as long as at least one extension has disabled it.
If you try to enable the shelf when at least one other extension has already disabled it, the call will fail and
runtime.lastError will be set with an appropriate error message.
Note: To use this function in your extension you must ask for the
"downloads.shelf" manifest permission, as well as the
This API is also available as
booleanrepresenting the state that you want to set
truefor enable, and
BCD tables only load in the browser
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
This API is based on Chromium's
Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.