bookmarks.BookmarkTreeNode

A node (either a bookmark or a folder) in the bookmark tree. Child nodes are ordered within their parent folder.

Type

Values of this type are objects. They contain the following properties:

id
string. The unique identifier for the node. IDs are unique within their profile and remain valid even after the browser is restarted.
parentIdOptional
string. The id of the parent folder. Omitted for the root node.
indexOptional
integer. The zero-based position of this node within its parent folder.
urlOptional
string. The URL navigated to when a user clicks the bookmark. Omitted for folders.
title
string. The text displayed for the node.
dateAddedOptional
number. When this node was created in milliseconds since the epoch.
dateGroupModifiedOptional
number. When the contents of this folder last changed, in milliseconds since the epoch.
unmodifiableOptional
bookmarks.BookmarkTreeNodeUnmodifiable. Indicates the reason that this node is unmodifiable.
childrenOptional
array of bookmarks.BookmarkTreeNode. An ordered list of children of this node.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

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,