bookmarks.get()

Given an ID or an array of IDs, retrieves the matching nodes.

Syntax

browser.bookmarks.get(
  idOrIdList,             // string or string array
  function(results) {...} // function
)

Parameters

idOrIdList
string or array of string. A single ID, or an array of IDs.
callback
function. The function is passed the following arguments:
results
array of bookmarks.BookmarkTreeNode. Array of matching nodes.

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,