docs.rodeo

MDN Web Docs mirror

bookmarks

{{AddonSidebar}} 

The WebExtensions bookmarks API lets an extension interact with and manipulate the browser’s bookmarking system. You can use it to bookmark pages, retrieve existing bookmarks, and edit, remove, and organize bookmarks.

To use this API, an extension must request the “bookmarks” permission in its manifest.json file.

Extensions cannot create, modify, or delete bookmarks in the root node of the bookmarks tree. Doing so causes an error with the message: “The bookmark root cannot be modified

Types

Functions

Events

Browser compatibility

{{Compat}} 

{{WebExtExamples("h2")}} 

[!NOTE] This API is based on Chromium’s chrome.bookmarks API. This documentation is derived from bookmarks.json in the Chromium code.

In this article

View on MDN