Tiện ích trình duyệt Firefox
  • Tiện ích mở rộng
  • Chủ đề
    • cho Firefox
    • Từ điển & gói ngôn ngữ
    • Các trang web trình duyệt khác
    • Tiện ích cho Android
Đăng nhập
Xem trước AllOff

AllOff bởi fezcode

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

0 (0 đánh giá)0 (0 đánh giá)
Tải xuống Firefox và tải tiện ích mở rộng
Tải xuống tập tin

Siêu dữ liệu mở rộng

Về tiện ích mở rộng này
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.
Được xếp hạng 0 (bởi 1 người dùng)
Đăng nhập để đánh giá tiện ích này
Chưa có xếp hạng nào

Đã lưu xếp hạng sao

5
0
4
0
3
0
2
0
1
0
Chưa có đánh giá
Quyền hạn và dữ liệu

Thu thập dữ liệu:

  • Nhà phát triển cho biết tiện ích mở rộng này không yêu cầu thu thập dữ liệu.
Tìm hiểu thêm
Thêm thông tin
Liên kết tiện ích
  • Trang hỗ trợ
  • Sao chép ID tiện ích
Phiên bản
0.1.0
Kích cỡ
29,02 KB
Cập nhật gần nhất
4 ngày trước (14 Thg 08 2026)
Thể loại có liên quan
  • Riêng tư & Bảo mật
Giấy phép
Giấy phép MIT
Lịch sử các phiên bản
  • Xem tất cả phiên bản
Thêm vào bộ sưu tập
Báo cáo tiện ích này
Đi đến trang chủ Mozilla

Tiện ích

  • Giới thiệu
  • Blog tiện ích Firefox
  • Extension Workshop
  • Trung tâm nhà phát triển
  • Chính sách nhà phát triển
  • Blog cộng đồng
  • Diễn đàn
  • Báo cáo một lỗi
  • Hướng dẫn đánh giá

Tải xuống

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

Bản dựng mới nhất

  • Nightly
  • Beta

Firefox dành cho doanh nghiệp

  • Enterprise

Cộng đồng

  • Connect
  • Contribute
  • Developer

Theo dõi

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Riêng tư
  • Cookie
  • Pháp lý

Trừ trường hợp khác đã ghi chú, nội dung trên trang này được cấp phép theo giấy phép Creative Commons Attribution Share-Alike v3.0 hoặc bất kỳ phiên bản nào sau này.