@duckduckgo/autoconsent 14.75.0 → 14.76.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/addon-firefox/background.bundle.js +5 -3
  3. package/dist/addon-firefox/compact-rules.json +1 -1
  4. package/dist/addon-firefox/content.bundle.js +25 -12
  5. package/dist/addon-firefox/manifest.json +1 -1
  6. package/dist/addon-firefox/rules.json +1 -1
  7. package/dist/addon-mv3/background.bundle.js +5 -3
  8. package/dist/addon-mv3/compact-rules.json +1 -1
  9. package/dist/addon-mv3/content.bundle.js +25 -12
  10. package/dist/addon-mv3/manifest.json +1 -1
  11. package/dist/addon-mv3/rules.json +1 -1
  12. package/dist/autoconsent.cjs.js +25 -12
  13. package/dist/autoconsent.esm.js +25 -12
  14. package/dist/autoconsent.extra.cjs.js +167 -160
  15. package/dist/autoconsent.extra.esm.js +167 -160
  16. package/dist/autoconsent.playwright.js +25 -12
  17. package/lib/cmps/onetrust.ts +25 -4
  18. package/lib/cmps/trustarc-frame.ts +1 -6
  19. package/lib/eval-snippets.ts +8 -3
  20. package/lib/filterlist-engine.ts +2 -2
  21. package/lib/heuristic-patterns.ts +2 -2
  22. package/package.json +1 -1
  23. package/rules/autoconsent/cookieconsent2.json +2 -2
  24. package/rules/autoconsent/cookieconsent3.json +14 -1
  25. package/rules/autoconsent/didomi.json +2 -2
  26. package/rules/compact-rules.json +1 -1
  27. package/rules/filterlist.txt +198 -180
  28. package/rules/rules.json +1 -1
  29. package/tests/cookieconsent3.spec.ts +1 -1
  30. package/tests/didomi.spec.ts +11 -0
  31. package/tests/onetrust.spec.ts +21 -0
  32. package/tests/trustarc.spec.ts +1 -1
  33. package/tests-wtr/heuristics/heuristics-utils.test.ts +9 -0
  34. package/tests-wtr/lifecycle/find-cmp.html +1 -0
  35. package/tests-wtr/lifecycle/find-cmp.ts +7 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ # v14.76.0 (Sat May 02 2026)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Fix heuristic reject pattern for `I Reject All (except Strictly Necessary)` (apnews.com) [#1328](https://github.com/duckduckgo/autoconsent/pull/1328) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
6
+ - Fix delayed OneTrust banner detection on College Board [#1327](https://github.com/duckduckgo/autoconsent/pull/1327) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
7
+ - Update EasyList Cookie to 494f972bab536fd436e26145c94bc3d1bb91380b [#1228](https://github.com/duckduckgo/autoconsent/pull/1228) ([@sammacbeth](https://github.com/sammacbeth) [@github-actions[bot]](https://github.com/github-actions[bot]))
8
+ - Fix Didomi selfTest under CCPA/CPRA (newrepublic.com) [#1324](https://github.com/duckduckgo/autoconsent/pull/1324) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
9
+ - Tweak Onetrust and Trustarc [#1252](https://github.com/duckduckgo/autoconsent/pull/1252) ([@muodov](https://github.com/muodov))
10
+ - Onetrust: handle CCPA notice-only banner variant (columbia.com) [#1325](https://github.com/duckduckgo/autoconsent/pull/1325) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
11
+ - Fix cookieconsent3 opt-out on testsieger.de (open preferences modal when no inline reject button) [#1322](https://github.com/duckduckgo/autoconsent/pull/1322) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
12
+ - Fix cookieconsent2 false-positive blocking didomi opt-out on Evite [#1323](https://github.com/duckduckgo/autoconsent/pull/1323) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
13
+
14
+ #### 🐛 Bug Fix
15
+
16
+ - Make Didomi popup detection robust on nothing.tech [#1326](https://github.com/duckduckgo/autoconsent/pull/1326) ([@cursoragent](https://github.com/cursoragent) [@muodov](https://github.com/muodov))
17
+ - Bump the adblocker group with 2 updates [#1320](https://github.com/duckduckgo/autoconsent/pull/1320) ([@dependabot[bot]](https://github.com/dependabot[bot]))
18
+
19
+ #### Authors: 5
20
+
21
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
22
+ - [@github-actions[bot]](https://github.com/github-actions[bot])
23
+ - Cursor Agent ([@cursoragent](https://github.com/cursoragent))
24
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
25
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
26
+
27
+ ---
28
+
1
29
  # v14.75.0 (Thu Apr 23 2026)
2
30
 
3
31
  #### 🚀 Enhancement
@@ -12,10 +12,12 @@
12
12
  return false;
13
13
  },
14
14
  EVAL_DIDOMI_TEST: () => {
15
- if (window.Didomi) {
16
- return window.Didomi.getUserConsentStatusForAll().purposes.disabled.length > 0;
15
+ const purposes = window.Didomi?.getCurrentUserStatus?.()?.purposes;
16
+ if (purposes) {
17
+ return Object.values(purposes).some((p) => !p.enabled);
17
18
  }
18
- return false;
19
+ const disabled = window.Didomi?.getUserConsentStatusForAll?.()?.purposes?.disabled;
20
+ return Array.isArray(disabled) && disabled.length > 0;
19
21
  },
20
22
  EVAL_CONSENTMANAGER_1: () => window.__cmp && typeof __cmp("getCMPData") === "object",
21
23
  EVAL_CONSENTMANAGER_2: () => !__cmp("consentStatus").userChoiceExists,