Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
登录
Close Duplicate Tabs 预览

Close Duplicate Tabs 作者: igorlogius

Shows how many duplicate tabs there are in your window and closes them with one click.

4.2(16 条评价)4.2(16 条评价)
562 个用户562 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
closing duplicates by tab index offset (left to right)
关于此扩展
Shows how many duplicate tabs there are in your window and closes them with one click. The tab you are looking at, or otherwise the right-most copy, is always kept.

Quick start
  1. Look at the badge on the toolbar button. The orange number is the count of duplicate tabs in your current window. No badge means there are no duplicates.
  2. Click the toolbar button to close all of them. Hover over the button to see the same count in the tooltip ("Close 3 Duplicates").

You can also assign a keyboard shortcut to the toolbar button in the Add-ons Manager (Manage Extension Shortcuts).

What counts as a duplicate

Two tabs are duplicates when all of this is true:
  • they are in the same window
  • they are in the same container (a tab in a container is never a duplicate of a tab outside of it, or in another container)
  • they have the same address

When addresses are compared, the part after the # is ignored, and the order of the parameters does not matter. These addresses are all the same page:

https://example.com/list?sort=asc&page=2
https://example.com/list?page=2&sort=asc
https://example.com/list?page=2&sort=asc#top


Addresses with different parameter values are different pages.

The following tabs are never counted or closed:
  • pinned tabs
  • hidden tabs
  • tabs that are still loading

Only the window that you used last is checked. Tabs in other windows are left alone.

Which tab is kept

Of a group of identical tabs:
  • the tab you are looking at is kept, if it is one of them
  • otherwise the right-most one is kept

All other copies are closed, so the left-most copies go first.

Good to know
  • The count is refreshed every 5 seconds. A click closes the tabs that were counted at the last refresh.
  • If there are no duplicates, a click does nothing.
  • Closing is done in one step and the tabs are not saved anywhere. If you need a tab back, use "Undo Close Tab" in the tab context menu of Firefox or the history.

Custom toolbar icon

You can replace the icon of the toolbar button with your own picture.
  1. Right click the toolbar button and choose "Set custom icon".
  2. On the page that opens, click "Choose Image" and pick a JPG or PNG file.
  3. The picture is resized to 128 by 128 pixels and the toolbar icon changes right away. A preview is shown on the page. A square picture avoids stretching.

The icon is remembered and restored whenever the browser starts. Choose another image any time to change it again.

Permissions and privacy
  • tabs: read the addresses of the tabs to compare them, and close the duplicates.
  • cookies: read the container of each tab, so that tabs in different containers are not mixed up.
  • storage: keep your custom icon on your computer.
  • menus: add "Set custom icon" to the menu of the toolbar button.

The add-on does not collect or transmit any data. Your custom image never leaves your computer.
评分 4.2(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
12
4
0
3
1
2
1
1
2
阅读全部 16 条评价
权限与数据

必要权限:

  • 获取浏览器标签页

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 复制附加组件 ID
版本
1.0.37
大小
180 KB
上次更新
2 天前 (2026年11月26日)
相关分类
  • 标签页
许可证
零约束许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

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

下载

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

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