跳到主要内容
Mute Unfocused Tabs

Mute Unfocused Tabs EN

igorlogius · Firefox

Only the tab you are looking at can make sound. Every other tab is muted automatically, and a tab is unmuted again as soon as you switch to it.

4.1/5 9 人评分 102用户 v1.4.25当前版本

简介

Only the tab you are looking at can make sound. Every other tab is muted automatically, and a tab is unmuted again as soon as you switch to it. You can exclude tabs or whole sites, or switch to a whitelist mode where only the sites you list are managed.

Quick start

  1. Install the add-on. It starts working right away: all web pages (http and https) in the current window are muted while they are in the background.
  2. Switch between tabs as usual. The tab you switch to becomes audible, the tab you leave is muted.
  3. To keep a tab audible in the background, click the toolbar button while that tab is selected, or right click the tab and choose "exclude".

Toolbar button

The badge on the toolbar button shows the state of the current tab:

  • ON (green): the tab is managed. It is muted whenever it is not the selected tab. Clicking the button excludes the tab.
  • OFF (red): the tab is not managed and keeps whatever sound state it has. Clicking the button includes the tab again.
  • NA (white): the page is not a web page (for example an about: page) and the button is disabled. The add-on only works on http and https pages.

Hover over the button to see what a click will do ("exclude" or "include").

Tab context menu

Right click a tab and choose "exclude" or "include". If the tab is part of a multiple selection (Ctrl or Shift click on tabs), the entry applies to all selected tabs of the window.

These manual choices are remembered only for the current browser session and only for that tab. They are cleared when the tab is closed and whenever you change a setting on the options page.

Settings

Open the add-on preferences in the Add-ons Manager. Changes are saved automatically.

  • Consider all Windows: off by default, so only the tabs of the current window are managed. When on, tabs in all windows are managed, and only the selected tab of the focused window is audible.
  • Whitelist mode: off by default. Off means every web page is managed except the ones that match your list. On means only the pages that match your list are managed and everything else is left alone.
  • List of regular expressions: one expression per line. Each expression is tested against the full address of the tab, for example:

    ^https:\/\/www.facebook.com.
    ^https:\/\/example.net.

    ^https:\/\/..wikipedia.org.

Empty lines are skipped and lines that are not valid regular expressions are ignored.

How the manual choice and the list work together

A manual "exclude" or "include" flips the result of the list for that one tab:

  • Whitelist mode off: a tab is managed unless it matches the list. Excluding a tab stops it from being managed. Including a tab that matches the list makes it managed anyway.
  • Whitelist mode on: a tab is managed only if it matches the list. Including a tab that does not match the list makes it managed. Excluding a tab that matches the list stops it from being managed.

Good to know

  • A managed tab is unmuted every time you switch to it, even if you had muted it by hand before.
  • Excluding a tab does not unmute it. If it was muted in the background, it stays muted until you switch to it or unmute it yourself.
  • Like most add-ons, it does not run in private windows unless you allow it in the Add-ons Manager.

Permissions and privacy

  • tabs: read the address of tabs and mute or unmute them.
  • storage: keep your settings on your computer.
  • menus: add "exclude" and "include" to the tab context menu.

The add-on does not collect or transmit any data. Your settings stay in your browser.

Mute Unfocused Tabs 是做什么的

Mute Unfocused Tabs 是一款面向 Firefox 的开发者工具类扩展,主要用来调试页面、查看样式与请求、测试接口、辅助前端开发。官方对它的介绍是:Only the tab you are looking at can make sound. Every other tab is muted automatically, and a tab is unmuted again as soon as you switch to it.在Firefox 附加组件商店(AMO)上,它当前版本 1.4.25,评分 4.11(9 人评价),约 102 名用户。

适合什么人用

从功能定位看,Mute Unfocused Tabs 更适合前端工程师、测试与需要经常查看页面结构的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。

怎么安装 Mute Unfocused Tabs

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

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

常见问题

Mute Unfocused Tabs 是免费的吗?

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

Mute Unfocused Tabs 安全吗?

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

Mute Unfocused Tabs 支持哪些浏览器?

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

怎么卸载 Mute Unfocused Tabs?

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

权限清单 来自 manifest.json 原文

接口权限 3

  • menus
  • storage
  • tabs

标签 点标签看同类扩展

同类工具

同样带「音乐」标签的扩展

查看全部 ›