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

Regex Tab Filter 作者: thialfi

Hides all tabs whose title or URL doesn't match a regular expression. To use, type 'tf' followed by a regular expression into the address bar.

实验性实验性
4.6 (5 reviews)4.6 (5 reviews)
18 个用户18 个用户
您需要 Firefox 来使用此扩展
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Showing four tabs pre filtering.Showing the menu that appears when a tab is hidden.Showing the list of hidden tabs.
关于此扩展
This addon allows you to hide tabs that don't match a provided regular expression or through a context menu. Hidden tabs are not unloaded and are still accessible just to the right of the tabstrip.

To use the addon select the address bar and type 'tf' followed by a regular expression. Regular expressions are case insensitive. You can also use a '!' to hide all tabs that match the regular expression this allows for more complicated filtering as shown below. If for some reason you need to use a "!" as the first character of your regular expression just use "\!" instead. The same can be done with the pipe symbol "|" to unhide specific tabs without having to re-run all your filters. This makes it easier to bring a tab back temporarily before hiding it again. The current tab cannot be hidden.

To hide tabs using the context menu, CTRL+Click any tabs that you desire to hide. When you have selected all of the relevant tabs, you can right-click the tabs and select "Hide Tabs" to hide the tabs as if they had been filtered. As with filtering, the current tab cannot be hidden. It is also possible to hide the tabs that haven't been selected using the "Hide Other Tabs" button and you can bring hidden tabs back by selecting "Restore Hidden Tabs"

Some examples:
- "tf youtube" will only show tabs that contain the word "youtube" in the title or URL.
- "tf youtube|reddit" show all tabs that contain the word youtube or the word reddit.
- "tf "!reddit" will hide all tabs that contain the word reddit.
- "tf reddit" will show all reddit tabs. Following this with "tf !funny" will hide all of the remaining tabs with "funny" in the URL or title. This can be repeated to filter out more and more tabs.
- "tf |reddit" will unhide all tabs with reddit in. This leaves all other tabs in the state they were in before.

To unhide a specific tab you can click the small downwards arrow to the right of the tabstrip. To unhide all tabs simply type "tf " into the address bar.

Please note that the currently active tab is not able to be hidden so try and select a tab that matches your filter to get the best results (alternatively select a tab that doesn't match your filter but you want to keep open anyway).

This addon uses the new "tabs.hide()" function in the WebExtensions APIs which is currently experimental. This means the addon may stop functioning if and when the API changes.
评分 4.6(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
3
4
2
3
0
2
0
1
0
阅读全部 5 条评价
权限与数据详细了解

必要权限:

  • 隐藏和显示浏览器标签页
  • 获取浏览器标签页
更多信息
附加组件链接
  • 主页
  • 用户支持网站
版本
1.5.2
大小
22.35 KB
上次更新
5 年前 (2020年11月5日)
相关分类
  • 标签页
许可证
仅 GNU 通用公共许可证 v3.0
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
thialfi 制作的更多扩展
  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

  • 目前尚无评分

转至 Mozilla 主页

附加组件

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

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

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