Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Container Bookmarks 预览

Container Bookmarks 作者: rafaelgomesxyz

Allows you to open bookmarks in containers.

4.4(34 条评价)4.4(34 条评价)
545 个用户545 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
关于此扩展
How does it work?

It is not currently possible to configure bookmarks to open in containers at a bookmark-level, so this extension uses the workaround that was posted by GodKratos here, but makes that process much easier and faster.

How to use it?

When you create a new bookmark, the extension will open a popup where you can change the bookmark details just like you would through the native Firefox popup. But in addition to that, you can also choose which container you want the bookmark to open in.

When you choose a container, you have to do what it says. For example: open http://www.social.container/ in a social container, then open the Multi-Account Containers menu and enable the option "Always open in container".

Now, every time you go to http://www.social.container/, it will open in a social container. The extension uses this functionality to perform the redirect:
  1. When you save the bookmark, it will be saved with a fragment appended at the end of the URL to indicate that it is a container bookmark. For example: https://github.com/#container-social
  2. When you open the bookmark, you will navigate to https://github.com/#container-social.
  3. The extension will see that the URL has a `#container-%name%` fragment and will redirect you to `http://www.%name%.container/%original-url`. For example: http://www.social.container/https://github.com/
  4. Since http://www.social.container/ is configured to always open in a social container, this means that you will now be in the desired container.
  5. Finally, the extension will redirect you to the original URL, so that you arrive at https://github.com/ in a social container.

The extension also adds a "Edit Container Bookmark" context menu to your bookmarks, so that you can edit them and move them to a different container if you wish.

If you want to use another redirect key instead of "container", you can change it in the preferences page of the extension.

Permissions

The extension uses the following permissions:

<all_urls> - Used along with `webRequest` and `webRequestBlocking`.
bookmarks - Used to detect when a new bookmark was created, to remove and update bookmarks, and to retrieve the names of your bookmark folders.
contextualIdentities - Used to retrieve the names of your containers.
menus - Used to create a context menu for bookmarks.
storage - Used to save your preferences.
webRequest - Used to monitor your requests to search for container fragments.
webRequestBlocking - Used to intercept and redirect requests with container fragments.
评分 4.4(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
25
4
2
3
4
2
2
1
1
阅读全部 34 条评价
权限与数据

必要权限:

  • 读取和修改书签
  • 访问您在所有网站的数据
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 支持邮箱
版本
1.2.0
大小
16.61 KB
上次更新
6 年前 (2020年5月4日)
相关分类
  • 书签
  • 其他
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。