Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

How to open bookmarks manager in add ons development

  • 1 réponse
  • 1 a ce problème
  • 5 vues
  • Dernière réponse par 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.

Solution choisie

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:

Lire cette réponse dans son contexte 👍 0

Toutes les réponses (1)

more options

Solution choisie

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: