@duckduckgo/autoconsent 18.11.0 → 18.12.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 (88) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist/addon-firefox/background.bundle.js +10 -0
  3. package/dist/addon-firefox/compact-rules.json +1 -1
  4. package/dist/addon-firefox/content.bundle.js +10 -0
  5. package/dist/addon-firefox/manifest.json +1 -1
  6. package/dist/addon-firefox/rule-index.json +1 -1
  7. package/dist/addon-firefox/rules.json +1 -1
  8. package/dist/addon-mv3/background.bundle.js +10 -0
  9. package/dist/addon-mv3/compact-rules.json +1 -1
  10. package/dist/addon-mv3/content.bundle.js +10 -0
  11. package/dist/addon-mv3/manifest.json +1 -1
  12. package/dist/addon-mv3/rule-index.json +1 -1
  13. package/dist/addon-mv3/rules.json +1 -1
  14. package/dist/autoconsent.cjs.js +10 -0
  15. package/dist/autoconsent.esm.js +10 -0
  16. package/dist/autoconsent.playwright.js +10 -0
  17. package/dist/autoconsent.standalone.js +11 -1
  18. package/dist/types/eval-snippets.d.ts +2 -0
  19. package/lib/eval-snippets.ts +10 -0
  20. package/package.json +1 -1
  21. package/rules/autoconsent/ccm-dialog.json +48 -0
  22. package/rules/autoconsent/chesskid.json +43 -0
  23. package/rules/autoconsent/clinch.json +1 -1
  24. package/rules/autoconsent/clio-online-matomo.json +10 -0
  25. package/rules/autoconsent/cookieconsent2.json +3 -2
  26. package/rules/autoconsent/foster-cookie-notice.json +34 -0
  27. package/rules/autoconsent/fulmo.json +10 -0
  28. package/rules/autoconsent/gsb-cookiebanner-close.json +27 -0
  29. package/rules/autoconsent/hetgoed.json +20 -0
  30. package/rules/autoconsent/hutshopping.json +9 -0
  31. package/rules/autoconsent/icn-cookie-notice.json +34 -0
  32. package/rules/autoconsent/internetvergelijk.json +47 -0
  33. package/rules/autoconsent/isn-cookie-consent.json +10 -0
  34. package/rules/autoconsent/knowunity.json +10 -0
  35. package/rules/autoconsent/lightspeed-cookielaw.json +30 -0
  36. package/rules/autoconsent/lobbes.json +18 -0
  37. package/rules/autoconsent/mercadolibre-frame.json +42 -0
  38. package/rules/autoconsent/mercadolibre-subdomain.json +33 -0
  39. package/rules/autoconsent/mindshape-cookie-consent.json +60 -0
  40. package/rules/autoconsent/moneywise.json +56 -0
  41. package/rules/autoconsent/netwerknotarissen.json +23 -0
  42. package/rules/autoconsent/perplex-cookie-consent.json +12 -0
  43. package/rules/autoconsent/radish-cookie-consent.json +36 -0
  44. package/rules/autoconsent/reliving.json +39 -0
  45. package/rules/autoconsent/scriptex.json +11 -0
  46. package/rules/autoconsent/shopware5.json +30 -4
  47. package/rules/autoconsent/spreekwoorden.json +31 -0
  48. package/rules/autoconsent/stoffe-hemmers.json +21 -0
  49. package/rules/autoconsent/stripinfo.be.json +18 -0
  50. package/rules/autoconsent/thisiseindhoven.json +17 -0
  51. package/rules/autoconsent/tinycookie.json +36 -0
  52. package/rules/autoconsent/vendic-cookiebar.json +27 -4
  53. package/rules/autoconsent/wpj-cookiebar.json +45 -0
  54. package/rules/autoconsent/yunders.json +16 -0
  55. package/rules/compact-rules.json +1 -1
  56. package/rules/rule-index.json +1 -1
  57. package/rules/rules.json +1 -1
  58. package/tests/sites/ccm-dialog.json +9 -0
  59. package/tests/sites/chesskid.json +10 -0
  60. package/tests/sites/clio-online-matomo.json +9 -0
  61. package/tests/sites/foster-cookie-notice.json +18 -0
  62. package/tests/sites/fulmo.json +14 -0
  63. package/tests/sites/gsb-cookiebanner-close.json +22 -0
  64. package/tests/sites/hetgoed.json +9 -0
  65. package/tests/sites/hutshopping.json +15 -0
  66. package/tests/sites/icn-cookie-notice.json +21 -0
  67. package/tests/sites/internetvergelijk.json +13 -0
  68. package/tests/sites/isn-cookie-consent.json +8 -0
  69. package/tests/sites/knowunity.json +22 -0
  70. package/tests/sites/lightspeed-cookielaw.json +19 -0
  71. package/tests/sites/lobbes.json +10 -0
  72. package/tests/sites/mercadolibre-subdomain.json +15 -0
  73. package/tests/sites/mindshape-cookie-consent.json +23 -0
  74. package/tests/sites/moneywise.json +14 -0
  75. package/tests/sites/netwerknotarissen.json +8 -0
  76. package/tests/sites/perplex-cookie-consent.json +22 -0
  77. package/tests/sites/radish-cookie-consent.json +16 -0
  78. package/tests/sites/reliving.json +8 -0
  79. package/tests/sites/scriptex.json +8 -0
  80. package/tests/sites/shopware5.json +14 -0
  81. package/tests/sites/spreekwoorden.json +9 -0
  82. package/tests/sites/stoffe-hemmers.json +8 -0
  83. package/tests/sites/stripinfo.be.json +9 -0
  84. package/tests/sites/thisiseindhoven.json +8 -0
  85. package/tests/sites/tinycookie.json +13 -0
  86. package/tests/sites/vendic-cookiebar.json +5 -0
  87. package/tests/sites/wpj-cookiebar.json +13 -0
  88. package/tests/sites/yunders.json +8 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,48 @@
1
+ # v18.12.0 (Thu Nov 26 2026)
2
+
3
+ #### Rules
4
+
5
+ - Rule update: mercadolibre subdomains (cross-origin cookie settings iframe) [#2934](https://github.com/duckduckgo/autoconsent/pull/2934) ([@daxtheduck](https://github.com/daxtheduck) [@sammacbeth](https://github.com/sammacbeth) [@muodov](https://github.com/muodov))
6
+ - Rule update: knowunity [#3026](https://github.com/duckduckgo/autoconsent/pull/3026) ([@daxtheduck](https://github.com/daxtheduck))
7
+ - Rule update: lightspeed-cookielaw [#3025](https://github.com/duckduckgo/autoconsent/pull/3025) ([@daxtheduck](https://github.com/daxtheduck) [@sammacbeth](https://github.com/sammacbeth))
8
+ - Rule update: perplex-cookie-consent [#3024](https://github.com/duckduckgo/autoconsent/pull/3024) ([@daxtheduck](https://github.com/daxtheduck))
9
+ - Rule update: yunders [#3022](https://github.com/duckduckgo/autoconsent/pull/3022) ([@daxtheduck](https://github.com/daxtheduck))
10
+ - Rule update: moneywise [#3021](https://github.com/duckduckgo/autoconsent/pull/3021) ([@daxtheduck](https://github.com/daxtheduck))
11
+ - Rule update: isn-cookie-consent [#3020](https://github.com/duckduckgo/autoconsent/pull/3020) ([@daxtheduck](https://github.com/daxtheduck))
12
+ - Rule update: scriptex [#3019](https://github.com/duckduckgo/autoconsent/pull/3019) ([@daxtheduck](https://github.com/daxtheduck))
13
+ - Rule update: netwerknotarissen [#3018](https://github.com/duckduckgo/autoconsent/pull/3018) ([@daxtheduck](https://github.com/daxtheduck))
14
+ - Rule update: hutshopping [#3017](https://github.com/duckduckgo/autoconsent/pull/3017) ([@daxtheduck](https://github.com/daxtheduck))
15
+ - Rule update: wpj-cookiebar [#3016](https://github.com/duckduckgo/autoconsent/pull/3016) ([@daxtheduck](https://github.com/daxtheduck))
16
+ - Rule update: internetvergelijk [#3015](https://github.com/duckduckgo/autoconsent/pull/3015) ([@daxtheduck](https://github.com/daxtheduck))
17
+ - Rule update: cookieconsent2 [#3014](https://github.com/duckduckgo/autoconsent/pull/3014) ([@daxtheduck](https://github.com/daxtheduck))
18
+ - Rule update: reliving [#3013](https://github.com/duckduckgo/autoconsent/pull/3013) ([@daxtheduck](https://github.com/daxtheduck))
19
+ - Rule update: ccm-dialog [#3012](https://github.com/duckduckgo/autoconsent/pull/3012) ([@daxtheduck](https://github.com/daxtheduck))
20
+ - Rule update: tinycookie [#3011](https://github.com/duckduckgo/autoconsent/pull/3011) ([@daxtheduck](https://github.com/daxtheduck))
21
+ - Rule update: stripinfo.be [#3010](https://github.com/duckduckgo/autoconsent/pull/3010) ([@daxtheduck](https://github.com/daxtheduck))
22
+ - Rule update: spreekwoorden [#3009](https://github.com/duckduckgo/autoconsent/pull/3009) ([@daxtheduck](https://github.com/daxtheduck))
23
+ - Rule update: foster-cookie-notice [#3008](https://github.com/duckduckgo/autoconsent/pull/3008) ([@daxtheduck](https://github.com/daxtheduck))
24
+ - Rule update: stoffe-hemmers [#3007](https://github.com/duckduckgo/autoconsent/pull/3007) ([@daxtheduck](https://github.com/daxtheduck))
25
+ - Rule update: shopware5 [#3006](https://github.com/duckduckgo/autoconsent/pull/3006) ([@daxtheduck](https://github.com/daxtheduck))
26
+ - Rule update: clinch, mindshape-cookie-consent [#3005](https://github.com/duckduckgo/autoconsent/pull/3005) ([@daxtheduck](https://github.com/daxtheduck) [@sammacbeth](https://github.com/sammacbeth))
27
+ - Rule update: thisiseindhoven [#3003](https://github.com/duckduckgo/autoconsent/pull/3003) ([@daxtheduck](https://github.com/daxtheduck))
28
+ - Rule update: hetgoed [#3002](https://github.com/duckduckgo/autoconsent/pull/3002) ([@daxtheduck](https://github.com/daxtheduck))
29
+ - Rule update: clio-online-matomo [#3001](https://github.com/duckduckgo/autoconsent/pull/3001) ([@daxtheduck](https://github.com/daxtheduck))
30
+ - Rule update: chesskid [#2999](https://github.com/duckduckgo/autoconsent/pull/2999) ([@daxtheduck](https://github.com/daxtheduck))
31
+ - Rule update: icn-cookie-notice [#2998](https://github.com/duckduckgo/autoconsent/pull/2998) ([@daxtheduck](https://github.com/daxtheduck))
32
+ - Rule update: vendic-cookiebar [#2995](https://github.com/duckduckgo/autoconsent/pull/2995) ([@daxtheduck](https://github.com/daxtheduck))
33
+ - Rule update: fulmo [#2994](https://github.com/duckduckgo/autoconsent/pull/2994) ([@daxtheduck](https://github.com/daxtheduck))
34
+ - Rule update: gsb-cookiebanner-close [#2993](https://github.com/duckduckgo/autoconsent/pull/2993) ([@daxtheduck](https://github.com/daxtheduck))
35
+ - Rule update: lobbes [#2992](https://github.com/duckduckgo/autoconsent/pull/2992) ([@daxtheduck](https://github.com/daxtheduck))
36
+ - Rule update: radish-cookie-consent [#2991](https://github.com/duckduckgo/autoconsent/pull/2991) ([@daxtheduck](https://github.com/daxtheduck))
37
+
38
+ #### Authors: 3
39
+
40
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
41
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
42
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
43
+
44
+ ---
45
+
1
46
  # v18.11.0 (Wed Nov 25 2026)
2
47
 
3
48
  #### Rules
@@ -162,6 +162,16 @@
162
162
  EVAL_KROWN_COOKIE_BANNER_TEST: () => localStorage.getItem("krown-cookie-banner") === "true",
163
163
  // the decline handler listens for mouseup/touchend, which element.click() does not dispatch
164
164
  EVAL_LETHPOLYTECH_DECLINE: () => document.querySelector(".consent-banner .cookie-decline").dispatchEvent(new MouseEvent("mouseup", { bubbles: true, cancelable: true, view: window })) || true,
165
+ // reading a cross-origin parent's document throws
166
+ EVAL_MERCADOLIBRE_CROSS_ORIGIN_PARENT: () => {
167
+ try {
168
+ return !window.parent.document;
169
+ } catch (e) {
170
+ return true;
171
+ }
172
+ },
173
+ // the embedded preferences page saves its current toggles on this message, normally sent by the parent's Save button
174
+ EVAL_MERCADOLIBRE_SAVE: () => window.postMessage({ eventName: "saveCookiesPreference" }, "*") || true,
165
175
  EVAL_MICROSOFT_0: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Reject|Ablehnen"))[0].click() || true,
166
176
  EVAL_MICROSOFT_1: () => Array.from(document.querySelectorAll("div > button")).filter((el) => el.innerText.match("Accept|Annehmen"))[0].click() || true,
167
177
  EVAL_MICROSOFT_2: () => !!document.cookie.match("MSCC|GHCC"),