Skip to content

Browser extension for Mozilla Firefox and Chrome for importing and exporting bookmarks with a json file

License

Notifications You must be signed in to change notification settings

1nfiniteloop/json-bookmarks

Repository files navigation

Json Bookmarks

json-bookmarks

This add-on uses a simple json file format for exporting and importing bookmarks in Firefox and Chrome. This makes it easy to sync bookmarks offline between browsers, share subset of your bookmarks with others or backup in a git repository.

Install

Format

Chrome and Firefox uses different names for the built-in bookmarks root folders. The bookmarks file format handles this by:

  • Substituting "Bookmarks Toolbar" in Mozilla Firefox and "Bookmarks bar" in Chrome with ${BOOKMARKS_BAR}.
  • Substituting "Bookmarks Menu" in Mozilla Firefox and "Other bookmarks" in Chrome with ${BOOKMARKS_MENU}.

Build and develop

  1. Install third party libraries with tools/install_third_party.
  2. Load the extension locally from Mozilla Firefox: about:debugging#/runtime/this-firefox and from Chrome: chrome://extensions/.
  3. Package with tools/package.
  4. Distribute for Mozilla https://addons.mozilla.org and for Chrome: https://chrome.google.com/webstore/devconsole.