Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to open bookmarks manager in add ons development

  • 1 reply
  • 1 has this problem
  • 5 views
  • Last reply by cor-el

more options

Hi I'm a beginner and looking at writing an ff add on. I'm stuck on finding a way to open the bookmarks manager with code. Say each time the browser starts up I want it to open the bookmarks manager as well. How can I achieve this? I'm using the ff sdk.

Hi I'm a beginner and looking at writing an ff add on. I'm stuck on finding a way to open the bookmarks manager with code. Say each time the browser starts up I want it to open the bookmarks manager as well. How can I achieve this? I'm using the ff sdk.

Chosen solution

You can use one of these chrome URI:

  • chrome://browser/content/places/places.xul
  • chrome://browser/content/bookmarks/bookmarksPanel.xul

The first opens the Bookmarks Manager (Library) and the second the bookmarks as you see them in the sidebar.

Se also Latest Add-ons topics - Mozilla Discourse:

Read this answer in context 👍 0

All Replies (1)

more options

Chosen Solution

You can use one of these chrome URI:

  • chrome://browser/content/places/places.xul
  • chrome://browser/content/bookmarks/bookmarksPanel.xul

The first opens the Bookmarks Manager (Library) and the second the bookmarks as you see them in the sidebar.

Se also Latest Add-ons topics - Mozilla Discourse: