bookmarks.move()

Moves the specified BookmarkTreeNode to the specified destination.

Syntax

browser.bookmarks.move(
  id,                    // string
  destination,           // object
  function(result) {...} // optional function
)

Parameters

id
string. ID of the bookmark or folder to move.
destination
object. Destination, specified as:
parentIdOptional
string. ID of the parent folder.
indexOptional
integer. Index position under the parent folder.
callbackOptional
function. The function is passed the following arguments:
result
bookmarks.BookmarkTreeNode. The moved node.

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,