This website requires JavaScript.
Explore
Help
Sign in
silentmode
/
theseus
Watch
2
Star
0
Fork
You've already forked theseus
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
4117a010c4
theseus
/
bundled-addons
/
consent
/
rules
/
VERSION
2 lines
8 B
Text
Raw
Normal View
History
Unescape
Escape
feat(theseus): Cookie Pop-ups — consent banners answered automatically A bundled add-on that answers cookie consent dialogs, rejecting all but the essentials by default (or accepting, if the user prefers the banner simply gone), so pages open without one. Built on DuckDuckGo's autoconsent (MPL-2.0): its rule bundle covers hundreds of consent managers, and a reject-button heuristic handles unknown banners in reject mode. The library runs through the page-inject slot in every http(s) frame's isolated world; the add-on hands each frame the user's settings and the rules, and counts what was handled per site for the panel, which also excludes a site with one click. build-inject.js assembles inject.js from the library in node_modules plus the glue, and copies the compact rules and licence into the add-on so a rule update can ship through the add-on channel. Host side: page-inject scripts get theseus.evalInPage for the few rules that need the page's own JavaScript (they already reach the page via contextBridge, so no new trust tier), and api.tabs is open to page-inject add-ons as well as request-filter ones.
2026-09-27 19:55:43 +02:00
16.42.0
Reference in a new issue
Copy permalink