搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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: