跳到主要内容
Pin Tab-Groups

Pin Tab-Groups EN

Thomas · Firefox

Moves new tabs opened from pinned tabs next to a placeholder-tab specified in the settings. It comes in handy if Tab-Groups right next to the pinned tabs should behave as if they where pinned themselves, i.e. new tabs open only next to them.

3.0/5 2 人评分 23用户 v3.1当前版本

简介

This addon makes only sense if Firefox is set to "Restore previous session". (Otherwise tab-groups will be lost after a restart.) And it makes the most sense, if Firefox is configured to open new tabs next to the active tab (instead of at the end of the tab-row). If the steps below are followed, new tabs opened from pinned tabs will then open next to the placeholder tab (instead of next to the pinned tabs).

(Multiple tabs opened in the background will be in the order 321. (Similar to how the addon "Open Tab Next Right to Current" does it for normal (unpinned) tabs.)

To get it to work:
1. Install this addon.
2. Manually create a tab labeled "Your_Placeholder_Name" with the url:
data:text/html,<title>Your_Placeholder_Name</title>
3. Put that name in the addon settings.
(Naming the tab something like "----------" makes it look better in the "List all tabs" drop-down-menu. - If nothing is set "Placeholder" works as default.)
4. Position the Placeholder right after the Tab-Groups you want to have "pinned".
5. (Optional): For better aesthetics: Reduce the placeholder tab to a single vertical line via modifying the userChrome.css with:

#tabbrowser-tabs [label*="Your_Placeholder_Name"] {
min-width: 1px !important;
max-width: 1px !important;
padding: 0 !important;
margin: 0 !important;
background: #808080 !important;
opacity: 0.9 !important;
}

6. (Very Optional): To make the tab look even better in the "List all tabs" drop-down menu:

  • 6.1. Use this URL with empty spaces before the line to place it in the center:

data:text/html;charset=utf-8,<title>%E2%80%8B%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87%E2%80%87-----------------------------</title>

  • 6.2. Remove the favicon in front of it with this userChrome.css code:

#allTabsMenu-allTabsView image.toolbarbutton-icon[label*="-------"] {
display: none !important;
}

Pin Tab-Groups 是做什么的

Pin Tab-Groups 是一款面向 Firefox 的实用工具类扩展,主要用来解决浏览器里某类具体的小问题。官方对它的介绍是:Moves new tabs opened from pinned tabs next to a placeholder-tab specified in the settings. It comes in handy if Tab-Groups right next to the pinned tabs should behave as if they where pinned themselves, i.e. new tabs open only next to them.在Firefox 附加组件商店(AMO)上,它当前版本 3.1,评分 3(2 人评价),约 23 名用户。

适合什么人用

从功能定位看,Pin Tab-Groups 更适合想补上浏览器原生缺失功能的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。

怎么安装 Pin Tab-Groups

  1. 打开Firefox 附加组件商店(AMO)上的官方页面;
  2. 点「添加到浏览器」并确认权限提示;
  3. 装好后在扩展列表里固定图标,方便随时开关。

本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。

常见问题

Pin Tab-Groups 是免费的吗?

Pin Tab-Groups 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。

Pin Tab-Groups 安全吗?

它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。

Pin Tab-Groups 支持哪些浏览器?

当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。

怎么卸载 Pin Tab-Groups?

在扩展管理页找到 Pin Tab-Groups,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。

权限清单 来自 manifest.json 原文

接口权限 2

  • storage
  • tabs