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.
由 1 位評論者給出 0 分
登入後即可幫此擴充套件評分
目前沒有評分

已儲存星等

5
0
4
0
3
0
2
0
1
0
還沒有評論
權限與資料

收集下列資料:

  • 開發者聲稱此擴充套件不要求收集任何資料。
了解更多
更多資訊
附加元件網址
  • 技術支援網站
  • 複製附加元件 ID
版本
0.1.0
大小
29.02 KB
最近更新
4 天前 (2026年8月14日)
相關分類
  • 隱私權與安全性
授權條款
MIT License
版本紀錄
  • 瀏覽所有版本
新增至收藏集
檢舉此附加元件
前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

下載

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

最新編譯版本

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

社群

  • Connect
  • Contribute
  • Developer

追蹤

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。