Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

bookmarks.import()

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

Imports bookmarks from an HTML bookmark file.

Syntax

browser.bookmarks.import(
  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,