How to open bookmarks manager in add ons development
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)
Επιλεγμένη λύση
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: