@duckduckgo/autoconsent 16.49.0 → 16.50.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 (72) hide show
  1. package/.github/workflows/release-labels.yml +2 -6
  2. package/CHANGELOG.md +41 -0
  3. package/dist/addon-firefox/background.bundle.js +4 -1
  4. package/dist/addon-firefox/compact-rules.json +1 -1
  5. package/dist/addon-firefox/content.bundle.js +20 -6
  6. package/dist/addon-firefox/manifest.json +1 -1
  7. package/dist/addon-firefox/rule-index.json +1 -1
  8. package/dist/addon-firefox/rules.json +1 -1
  9. package/dist/addon-mv3/background.bundle.js +4 -1
  10. package/dist/addon-mv3/compact-rules.json +1 -1
  11. package/dist/addon-mv3/content.bundle.js +20 -6
  12. package/dist/addon-mv3/manifest.json +1 -1
  13. package/dist/addon-mv3/rule-index.json +1 -1
  14. package/dist/addon-mv3/rules.json +1 -1
  15. package/dist/autoconsent.cjs.js +20 -6
  16. package/dist/autoconsent.esm.js +20 -6
  17. package/dist/autoconsent.playwright.js +20 -6
  18. package/dist/autoconsent.standalone.js +21 -7
  19. package/dist/types/eval-snippets.d.ts +2 -0
  20. package/lib/eval-snippets.ts +4 -0
  21. package/lib/heuristic-patterns.ts +16 -3
  22. package/package.json +1 -1
  23. package/rules/autoconsent/amazon-hiring.json +16 -0
  24. package/rules/autoconsent/avada-cookie-consent.json +43 -0
  25. package/rules/autoconsent/axeptio.json +17 -4
  26. package/rules/autoconsent/bigcrunch.json +39 -0
  27. package/rules/autoconsent/bricklink.json +33 -0
  28. package/rules/autoconsent/ceneo.json +9 -0
  29. package/rules/autoconsent/conjointly.json +43 -0
  30. package/rules/autoconsent/dhbbank.json +13 -0
  31. package/rules/autoconsent/ee-consent-notice.json +40 -0
  32. package/rules/autoconsent/fera-cookies.json +67 -0
  33. package/rules/autoconsent/la7-cmp.json +30 -0
  34. package/rules/autoconsent/laravel-cookie-consent.json +45 -0
  35. package/rules/autoconsent/legislation-gov-uk.json +43 -0
  36. package/rules/autoconsent/mackeeper.json +34 -0
  37. package/rules/autoconsent/ndl-go-jp.json +35 -0
  38. package/rules/autoconsent/paypal-us.json +3 -3
  39. package/rules/autoconsent/paypal.json +5 -2
  40. package/rules/autoconsent/texas-instruments.json +17 -0
  41. package/rules/autoconsent/thegrandyork.json +46 -0
  42. package/rules/autoconsent/thenounproject.json +61 -0
  43. package/rules/autoconsent/toyota.json +16 -5
  44. package/rules/autoconsent/uft-cookie-notice.json +15 -0
  45. package/rules/autoconsent/wbd-legal-terms.json +32 -0
  46. package/rules/compact-rules.json +1 -1
  47. package/rules/rule-index.json +1 -1
  48. package/rules/rules.json +1 -1
  49. package/tests/amazon-hiring.spec.ts +3 -0
  50. package/tests/avada-cookie-consent.spec.ts +9 -0
  51. package/tests/axeptio.spec.ts +8 -4
  52. package/tests/bigcrunch.spec.ts +16 -0
  53. package/tests/bricklink.spec.ts +3 -0
  54. package/tests/ceneo.spec.ts +3 -0
  55. package/tests/conjointly.spec.ts +3 -0
  56. package/tests/dhbbank.spec.ts +6 -0
  57. package/tests/ee-consent-notice.spec.ts +9 -0
  58. package/tests/fera-cookies.spec.ts +6 -0
  59. package/tests/la7-cmp.spec.ts +6 -0
  60. package/tests/laravel-cookie-consent.spec.ts +10 -0
  61. package/tests/legislation-gov-uk.spec.ts +3 -0
  62. package/tests/mackeeper.spec.ts +3 -0
  63. package/tests/ndl-go-jp.spec.ts +8 -0
  64. package/tests/paypal-us.spec.ts +2 -3
  65. package/tests/texas-instruments.spec.ts +3 -0
  66. package/tests/thegrandyork.spec.ts +3 -0
  67. package/tests/thenounproject.spec.ts +3 -0
  68. package/tests/uft-cookie-notice.spec.ts +3 -0
  69. package/tests/wbd-legal-terms.spec.ts +18 -0
  70. package/tests-wtr/heuristics/heuristics-utils.test.ts +55 -0
  71. package/rules/autoconsent/paypal-cookieprefs.json +0 -29
  72. package/tests/paypal-cookieprefs.spec.ts +0 -7
@@ -18,13 +18,9 @@ permissions:
18
18
 
19
19
  jobs:
20
20
  # No concurrency group here: a 'labeled' event right after 'opened' must not cancel this job.
21
+ # Only on 'opened': a later run would re-add category labels that the author replaced.
21
22
  path-labels:
22
- if: >-
23
- ${{
24
- github.event.action == 'opened' ||
25
- github.event.action == 'reopened' ||
26
- github.event.action == 'ready_for_review'
27
- }}
23
+ if: ${{ github.event.action == 'opened' }}
28
24
  runs-on: ubuntu-latest
29
25
  steps:
30
26
  - uses: actions/checkout@v4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,44 @@
1
+ # v16.50.0 (Sat Oct 10 2026)
2
+
3
+ #### Rules
4
+
5
+ - Rule update: ddg_android (eun) CPM magic report: openrouter.ai [#1646](https://github.com/duckduckgo/autoconsent/pull/1646) ([@daxtheduck](https://github.com/daxtheduck) [@muodov](https://github.com/muodov))
6
+ - Rule update: ddg_android (usc) CPM magic report: hiring.amazon.ca [#1647](https://github.com/duckduckgo/autoconsent/pull/1647) ([@daxtheduck](https://github.com/daxtheduck))
7
+ - Rule update: ddg_ios (use) CPM magic report: www.foodnetwork.com [#1649](https://github.com/duckduckgo/autoconsent/pull/1649) ([@daxtheduck](https://github.com/daxtheduck))
8
+ - Rule update: bigcrunch [#1655](https://github.com/duckduckgo/autoconsent/pull/1655) ([@daxtheduck](https://github.com/daxtheduck))
9
+ - Rule update: avada-cookie-consent [#1670](https://github.com/duckduckgo/autoconsent/pull/1670) ([@daxtheduck](https://github.com/daxtheduck))
10
+ - Rule update: ceneo [#1660](https://github.com/duckduckgo/autoconsent/pull/1660) ([@daxtheduck](https://github.com/daxtheduck))
11
+ - Rule update: axeptio [#1658](https://github.com/duckduckgo/autoconsent/pull/1658) ([@daxtheduck](https://github.com/daxtheduck))
12
+ - Rule update: dhbbank [#1669](https://github.com/duckduckgo/autoconsent/pull/1669) ([@daxtheduck](https://github.com/daxtheduck))
13
+ - Rule update: laravel-cookie-consent [#1668](https://github.com/duckduckgo/autoconsent/pull/1668) ([@daxtheduck](https://github.com/daxtheduck))
14
+ - Rule update: mackeeper [#1666](https://github.com/duckduckgo/autoconsent/pull/1666) ([@daxtheduck](https://github.com/daxtheduck))
15
+ - Rule update: fera-cookies [#1665](https://github.com/duckduckgo/autoconsent/pull/1665) ([@daxtheduck](https://github.com/daxtheduck))
16
+ - Rule update: uft-cookie-notice [#1664](https://github.com/duckduckgo/autoconsent/pull/1664) ([@daxtheduck](https://github.com/daxtheduck))
17
+ - Rule update: ndl-go-jp [#1663](https://github.com/duckduckgo/autoconsent/pull/1663) ([@daxtheduck](https://github.com/daxtheduck))
18
+ - Rule update: la7-cmp [#1662](https://github.com/duckduckgo/autoconsent/pull/1662) ([@daxtheduck](https://github.com/daxtheduck))
19
+ - Rule update: thenounproject [#1661](https://github.com/duckduckgo/autoconsent/pull/1661) ([@daxtheduck](https://github.com/daxtheduck))
20
+ - Rule update: bricklink [#1659](https://github.com/duckduckgo/autoconsent/pull/1659) ([@daxtheduck](https://github.com/daxtheduck))
21
+ - Rule update: texas-instruments [#1657](https://github.com/duckduckgo/autoconsent/pull/1657) ([@daxtheduck](https://github.com/daxtheduck))
22
+ - Rule update: legislation-gov-uk [#1656](https://github.com/duckduckgo/autoconsent/pull/1656) ([@daxtheduck](https://github.com/daxtheduck))
23
+ - Rule update: toyota [#1654](https://github.com/duckduckgo/autoconsent/pull/1654) ([@daxtheduck](https://github.com/daxtheduck))
24
+ - Rule update: [E2E test] bryantpark.org fix path [#1651](https://github.com/duckduckgo/autoconsent/pull/1651) ([@daxtheduck](https://github.com/daxtheduck))
25
+ - Rule update: Cookie popup on www.thegrandyork.co.uk [#1650](https://github.com/duckduckgo/autoconsent/pull/1650) ([@daxtheduck](https://github.com/daxtheduck))
26
+ - Rule update: Cookie prompt not dismissed for erewhon.com [#1644](https://github.com/duckduckgo/autoconsent/pull/1644) ([@daxtheduck](https://github.com/daxtheduck))
27
+ - Rule update: Cookie Popup on vaquerogengage.com [#1620](https://github.com/duckduckgo/autoconsent/pull/1620) ([@daxtheduck](https://github.com/daxtheduck) [@muodov](https://github.com/muodov))
28
+ - paypal: hide the no-Decline banner, retry the Decline click [#1652](https://github.com/duckduckgo/autoconsent/pull/1652) ([@muodov](https://github.com/muodov))
29
+ - Rule update: conjointly [#1648](https://github.com/duckduckgo/autoconsent/pull/1648) ([@daxtheduck](https://github.com/daxtheduck))
30
+
31
+ #### CI / Release Automation
32
+
33
+ - Apply path-based labels only when a PR is opened [#1671](https://github.com/duckduckgo/autoconsent/pull/1671) ([@muodov](https://github.com/muodov))
34
+
35
+ #### Authors: 2
36
+
37
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
38
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
39
+
40
+ ---
41
+
1
42
  # v16.49.0 (Fri Oct 09 2026)
2
43
 
3
44
  #### Rules
@@ -119,6 +119,8 @@
119
119
  EVAL_COOKIEFIRST_1: () => document.querySelectorAll("button[data-cookiefirst-accent-color=true][role=checkbox]:not([disabled])").forEach((i) => i.getAttribute("aria-checked") === "true" && i.click()) || true,
120
120
  EVAL_COOKIEINFORMATION_0: () => CookieInformation.declineAllCategories() || true,
121
121
  EVAL_COOKIEINFORMATION_1: () => CookieInformation.submitAllCategories() || true,
122
+ // turn the single-button form into a decline submission, same fields as the CMP's own decline form
123
+ EVAL_EE_CONSENT_DECLINE_0: () => document.querySelectorAll('#cookieConsentFormAccept input[name^="ee:cookies_"]').forEach((i) => i.value = "n") || true,
122
124
  EVAL_ETSY_0: () => document.querySelectorAll(".gdpr-overlay-body input").forEach((toggle) => {
123
125
  toggle.checked = false;
124
126
  }) || true,
@@ -205,7 +207,8 @@
205
207
  EVAL_USERCENTRICS_API_5: () => UC_UI.areAllConsentsAccepted() === true,
206
208
  EVAL_USERCENTRICS_API_6: () => UC_UI.areAllConsentsAccepted() === false,
207
209
  EVAL_USERCENTRICS_BUTTON_0: () => JSON.parse(localStorage.getItem("usercentrics")).consents.every((c) => c.isEssential || !c.consentStatus),
208
- EVAL_WAITROSE_0: () => Array.from(document.querySelectorAll("label[id$=cookies-deny-label]")).forEach((e) => e.click()) || true
210
+ EVAL_WAITROSE_0: () => Array.from(document.querySelectorAll("label[id$=cookies-deny-label]")).forEach((e) => e.click()) || true,
211
+ EVAL_WBD_LTP_CLOSE: () => document.querySelector("dialog#ltp-dialog").close() || true
209
212
  };
210
213
 
211
214
  // addon/mv-compat.ts