Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

How to open bookmarks manager in add ons development

  • 1 ответ
  • 1 имеет эту проблему
  • 5 просмотров
  • Последний ответ от 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.

Выбранное решение

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:

Прочитайте этот ответ в контексте 👍 0

Все ответы (1)

more options

Выбранное решение

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: