bookmarks.remove()

Removes a bookmark or an empty bookmark folder.

Syntax

browser.bookmarks.remove(
  id,              // string
  function() {...} // optional function
)

Parameters

id
string. ID of the bookmark or folder to remove.
callbackOptional
function.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Examples

Example add-ons

Acknowledgements

This API is based on Chromium's chrome.bookmarks API. This documentation is derived from bookmarks.json in the Chromium code.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,