bookmarks.getTree()

Retrieves the entire bookmarks tree.

Syntax

browser.bookmarks.getTree(
  function(results) {...} // function
)

Parameters

callback
function. The function is passed the following arguments:
results
array of bookmarks.BookmarkTreeNode.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Examples

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,