@duckduckgo/autoconsent 16.51.0 → 16.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/ddg-release.yml +2 -2
- package/AGENTS.md +1 -0
- package/CHANGELOG.md +31 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +4 -1
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rule-index.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +4 -1
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +4 -1
- package/dist/autoconsent.esm.js +4 -1
- package/dist/autoconsent.playwright.js +4 -1
- package/dist/autoconsent.standalone.js +5 -2
- package/docs/rule-syntax.md +1 -1
- package/lib/dom-actions.ts +5 -1
- package/package.json +1 -1
- package/rules/autoconsent/community.screwfix.com.json +23 -0
- package/rules/autoconsent/la-becanerie.json +13 -0
- package/rules/autoconsent/lta.json +22 -0
- package/rules/autoconsent/mizuno-com.json +13 -0
- package/rules/autoconsent/pigu.json +35 -0
- package/rules/autoconsent/quantcast.json +85 -34
- package/rules/autoconsent/tealium.json +10 -4
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/community.screwfix.com.spec.ts +5 -0
- package/tests/la-becanerie.spec.ts +3 -0
- package/tests/lta.spec.ts +7 -0
- package/tests/mizuno-com.spec.ts +7 -0
- package/tests/pigu.spec.ts +3 -0
- package/tests/quantcast.spec.ts +15 -7
- package/tests/tealium.spec.ts +3 -0
- package/tests-wtr/dom-actions/dom-actions.click.ts +18 -0
- package/Dockerfile +0 -9
|
@@ -334,8 +334,8 @@ jobs:
|
|
|
334
334
|
token: ${{ secrets.DAX_WEB_AUTOFILL_AUTOMATION }}
|
|
335
335
|
- uses: actions/setup-node@v4
|
|
336
336
|
with:
|
|
337
|
-
#
|
|
338
|
-
node-version:
|
|
337
|
+
# use the extension's own Node version, to avoid package.lock inconsistencies
|
|
338
|
+
node-version-file: extension/.nvmrc
|
|
339
339
|
cache: 'npm'
|
|
340
340
|
cache-dependency-path: extension/package-lock.json
|
|
341
341
|
- name: Update extension autoconsent reference
|
package/AGENTS.md
CHANGED
|
@@ -133,6 +133,7 @@ shadow root or same-origin iframe.
|
|
|
133
133
|
|
|
134
134
|
### Updating existing rules
|
|
135
135
|
- **For site-specific popups, prefer a heuristic-pattern fix over a new rule, and check whether a rule is needed at all.** If the popup is unique to a site (not a shared CMP) and already has a reject, dismiss, or acknowledge button that the heuristic should match, extend `lib/heuristic-patterns.ts` instead of adding a `urlPattern`-scoped JSON rule. Do not use a heuristic fix in place of a generic CMP rule. A heuristic change must not cause false positives on other sites.
|
|
136
|
+
- **When the heuristic already handles the popup, test every region before concluding that no fix is needed.**
|
|
136
137
|
- If an existing generic rule fails on a specific site: first look for other sites with the same failure (spec sites, data/coverage.json, publicwww). If the issue applies to more sites, update the generic rule; if the issue is truly site-specific, prefer making a site-specific rule or a config exception. Never change a generic rule to fix a site-specific implementation problem.
|
|
137
138
|
- After updating an existing generic rule, do a heavy testing run: all known sites (specs + data/coverage.json + publicwww) across the expanded set. Inspect both API results AND screenshots.
|
|
138
139
|
- **When adding or fixing a rule for a site, remove stale site-specific rules covering the same site.** If a site-specific rule is obsolete in all regions (the site switched CMP), remove it rather than leaving it alongside the new or updated rule.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,34 @@
|
|
|
1
|
+
# v16.52.0 (Wed Oct 14 2026)
|
|
2
|
+
|
|
3
|
+
#### Rules
|
|
4
|
+
|
|
5
|
+
- Rule update: quantcast [#1701](https://github.com/duckduckgo/autoconsent/pull/1701) ([@daxtheduck](https://github.com/daxtheduck))
|
|
6
|
+
- Rule update: Tealium [#1757](https://github.com/duckduckgo/autoconsent/pull/1757) ([@daxtheduck](https://github.com/daxtheduck))
|
|
7
|
+
- Rule update: lta [#1759](https://github.com/duckduckgo/autoconsent/pull/1759) ([@daxtheduck](https://github.com/daxtheduck))
|
|
8
|
+
- Rule update: pigu [#1760](https://github.com/duckduckgo/autoconsent/pull/1760) ([@daxtheduck](https://github.com/daxtheduck))
|
|
9
|
+
- Rule update: community.screwfix.com [#1756](https://github.com/duckduckgo/autoconsent/pull/1756) ([@daxtheduck](https://github.com/daxtheduck))
|
|
10
|
+
- Rule update: la-becanerie [#1761](https://github.com/duckduckgo/autoconsent/pull/1761) ([@daxtheduck](https://github.com/daxtheduck))
|
|
11
|
+
- Rule update: mizuno.com [#1758](https://github.com/duckduckgo/autoconsent/pull/1758) ([@daxtheduck](https://github.com/daxtheduck))
|
|
12
|
+
|
|
13
|
+
#### Enhancements
|
|
14
|
+
|
|
15
|
+
- Rule update: quantcast + make click step with all:true async [#1627](https://github.com/duckduckgo/autoconsent/pull/1627) ([@daxtheduck](https://github.com/daxtheduck) [@muodov](https://github.com/muodov))
|
|
16
|
+
|
|
17
|
+
#### CI / Release Automation
|
|
18
|
+
|
|
19
|
+
- Remove unused Dockerfile; match extension Node in release job [#1754](https://github.com/duckduckgo/autoconsent/pull/1754) ([@muodov](https://github.com/muodov))
|
|
20
|
+
|
|
21
|
+
#### AI / Agent Workflow
|
|
22
|
+
|
|
23
|
+
- Test every region before relying on the heuristic [#1773](https://github.com/duckduckgo/autoconsent/pull/1773) ([@muodov](https://github.com/muodov))
|
|
24
|
+
|
|
25
|
+
#### Authors: 2
|
|
26
|
+
|
|
27
|
+
- Dax ([@daxtheduck](https://github.com/daxtheduck))
|
|
28
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
1
32
|
# v16.51.0 (Tue Oct 13 2026)
|
|
2
33
|
|
|
3
34
|
#### Rules
|