Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

bookmarks.export()

There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

Exports bookmarks to an HTML bookmark file.

Syntax

browser.bookmarks.export(
  function() {...} // optional function
)

Parameters

callbackOptional
function.

Browser compatibility

{{ WebExtBrowserCompat }}

Examples

Acknowledgements

This API is based on Chromium's chrome.bookmarks API. This documentation is derived from bookmarks.json in the Chromium code.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

 Contributors to this page: Sheppy, wbamberg
 Last updated by: Sheppy,