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

AllOff 作者: fezcode

One click to switch off every advertiser consent toggle on the current page.

0(0 条评价)0(0 条评价)
下载 Firefox 并安装扩展
下载文件

扩展元数据

关于此扩展
A minimal Firefox/Chrome WebExtension that switches off every advertiser
consent toggle on the current page with one click.


Clicking Disable all consent toggles in the popup injects a small script
into the active tab (and every frame it has permission for). The script:
  1. Finds all enabled, checked input[role="switch"] and
    input[type="checkbox"] elements.
  2. Clicks each one so the site's own handlers run. If the click is swallowed,
    it forces the input off through the native checked setter and dispatches
    input/change events so frameworks like React notice.
  3. Repeats up to 6 passes, pausing between toggles and passes, because consent
    UIs often re-render while you interact with them.

The popup then reports how many toggles were switched off and how many are
still on.

Nothing runs in the background — the extension only acts on the page where and
when you click the button (activeTab + scripting permissions only, no host
permissions, no data collection).


Chrome / Edge
  1. Open chrome://extensions.
  2. Enable Developer mode.
  3. Click Load unpacked and select this folder.
  4. Chrome may warn about the browser_specific_settings key — that key is for
    Firefox and is safe to ignore.

Firefox (142+)
  1. Open about:debugging#/runtime/this-firefox.
  2. Click Load Temporary Add-on… and select manifest.json in this folder.
  3. Temporary add-ons are removed when Firefox restarts; reload it the same way.
  1. Open the site's consent / privacy settings page (e.g. the HBO Max consent
    dialog).
  2. Click the AllOff toolbar icon.
  3. Click Disable all consent toggles.
  4. If the page has a "Save" / "Confirm choices" button, click that yourself —
    the extension only flips the toggles.


Zip manifest.json, popup/, and icons/ with the manifest at the archive
root and forward-slash entry paths, then upload to
addons.mozilla.org. Validate first
with npx addons-linter <zip>.
  • With only activeTab, cross-origin consent iframes (some CMPs such as
    Sourcepoint host the dialog on their own domain) cannot be scripted. Frames
    on the page's own origin work.
  • Browser-internal pages (chrome://, about:, extension stores) cannot be
    scripted.
  • It flips all checkboxes/switches that are on, not just advertising ones —
    intended for use on consent pages, where that is exactly what you want.
评分 0(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
0
4
0
3
0
2
0
1
0
尚无评价
权限与数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 用户支持网站
  • 复制附加组件 ID
版本
0.1.0
大小
29.02 KB
上次更新
12 天前 (2026年8月14日)
相关分类
  • 隐私和安全
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 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 或更新版本使用。