Indicates the type of a BookmarkTreeNode, which can be one of bookmark, folder or separator.
Indicates the reason why this node is unmodifiable. The managed value indicates that this node was configured by the system administrator or by the custodian of a supervised user. Omitted if the node can be modified by the user and the extension (default).
ConstonFired when a bookmark or folder changes. Note: Currently, only title and url changes trigger this.
ConstonFired when the children of a folder have changed their order due to the order being sorted in the UI. This is not called as a result of a move().
ConstonFired when a bookmark or folder is created.
ConstonFired when a bookmark or folder is moved to a different parent folder.
ConstonFired when a bookmark or folder is removed. When a folder is removed recursively, a single notification is fired for the folder, and none for its contents.
Creates a bookmark or folder under the specified parentId. If url is NULL or missing, it will be a folder.
Retrieves the specified BookmarkTreeNode(s).
A single string-valued id, or an array of string-valued ids
Retrieves the children of the specified BookmarkTreeNode id.
Retrieves the recently added bookmarks.
The maximum number of items to return.
Retrieves part of the Bookmarks hierarchy, starting at the specified node.
The ID of the root of the subtree to retrieve.
Retrieves the entire Bookmarks hierarchy.
Moves the specified BookmarkTreeNode to the provided location.
Removes a bookmark or an empty bookmark folder.
Recursively removes a bookmark folder.
Searches for BookmarkTreeNodes matching the given query. Queries specified with an object produce BookmarkTreeNodes matching all specified properties.
Either a string of words that are matched against bookmark URLs and titles, or an object. If an object, the properties query, url, and title may be specified and bookmarks matching all specified properties will be produced.
Optionalquery?: stringA string of words that are matched against bookmark URLs and titles.
Optionaltitle?: stringThe title of the bookmark; matches verbatim.
Optionalurl?: stringThe URL of the bookmark; matches verbatim. Note that folders have no URL.
Updates the properties of a bookmark or folder. Specify only the properties that you want to change; unspecified properties will be left unchanged. Note: Currently, only 'title' and 'url' are supported.
Use the
browser.bookmarksAPI to create, organize, and otherwise manipulate bookmarks. Also see Override Pages, which you can use to create a custom Bookmark Manager page.Permissions:
bookmarksNot allowed in: Content scripts, Devtools pages