@duckduckgo/autoconsent 16.62.0 → 17.0.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 (139) hide show
  1. package/CHANGELOG.md +84 -0
  2. package/dist/addon-firefox/background.bundle.js +1 -0
  3. package/dist/addon-firefox/compact-rules.json +1 -1
  4. package/dist/addon-firefox/content.bundle.js +176 -36
  5. package/dist/addon-firefox/manifest.json +1 -1
  6. package/dist/addon-firefox/popup.bundle.js +1 -0
  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 +1 -0
  10. package/dist/addon-mv3/compact-rules.json +1 -1
  11. package/dist/addon-mv3/content.bundle.js +176 -36
  12. package/dist/addon-mv3/manifest.json +1 -1
  13. package/dist/addon-mv3/popup.bundle.js +1 -0
  14. package/dist/addon-mv3/rule-index.json +1 -1
  15. package/dist/addon-mv3/rules.json +1 -1
  16. package/dist/autoconsent.cjs.js +176 -36
  17. package/dist/autoconsent.esm.js +176 -36
  18. package/dist/autoconsent.playwright.js +179 -36
  19. package/dist/autoconsent.standalone.js +177 -37
  20. package/dist/heuristics.cjs.js +14 -1
  21. package/dist/heuristics.mjs +14 -1
  22. package/dist/types/heuristics.d.ts +12 -3
  23. package/dist/types/types.d.ts +12 -1
  24. package/lib/cmps/base.ts +5 -1
  25. package/lib/heuristic-patterns.ts +17 -1
  26. package/lib/heuristics.ts +240 -45
  27. package/lib/types.ts +16 -1
  28. package/lib/utils.ts +1 -0
  29. package/package.json +2 -2
  30. package/readme.md +1 -1
  31. package/rules/autoconsent/appconsent-legacy.json +22 -1
  32. package/rules/autoconsent/asrock.json +44 -0
  33. package/rules/autoconsent/beetle-tracking.json +22 -0
  34. package/rules/autoconsent/casier-judiciaire-justice-gouv-fr.json +40 -0
  35. package/rules/autoconsent/civilservicejobs-service-gov-uk.json +38 -0
  36. package/rules/autoconsent/ckies.json +1 -1
  37. package/rules/autoconsent/consentmo.json +5 -2
  38. package/rules/autoconsent/cookie-script.json +34 -15
  39. package/rules/autoconsent/cookiesinfo-closecookies.json +9 -0
  40. package/rules/autoconsent/dack365.json +35 -0
  41. package/rules/autoconsent/epaas.json +18 -1
  42. package/rules/autoconsent/eu-cookie-law-popup.json +33 -0
  43. package/rules/autoconsent/fascicolosanitario-lombardia.json +14 -0
  44. package/rules/autoconsent/fnsp-cookieconsent.json +30 -0
  45. package/rules/autoconsent/fod-fujitv.json +13 -0
  46. package/rules/autoconsent/fundingchoices.json +12 -2
  47. package/rules/autoconsent/hkdir.json +33 -0
  48. package/rules/autoconsent/hyrabostad.json +21 -0
  49. package/rules/autoconsent/insided.json +15 -0
  50. package/rules/autoconsent/jokul-cookie-consent.json +28 -0
  51. package/rules/autoconsent/kartverket.json +46 -0
  52. package/rules/autoconsent/lego.json +27 -5
  53. package/rules/autoconsent/luxmed.json +33 -0
  54. package/rules/autoconsent/mars-cookies-prompt.json +20 -0
  55. package/rules/autoconsent/meta-cookie-dialog.json +37 -0
  56. package/rules/autoconsent/mittanbud.json +33 -0
  57. package/rules/autoconsent/niedziela-pl.json +35 -0
  58. package/rules/autoconsent/nikkeibp.json +10 -0
  59. package/rules/autoconsent/onecom-cookie-banner.json +25 -0
  60. package/rules/autoconsent/oslosportslager.no.json +34 -0
  61. package/rules/autoconsent/plex.tv.json +52 -0
  62. package/rules/autoconsent/poki.json +37 -0
  63. package/rules/autoconsent/polisen-se.json +26 -0
  64. package/rules/autoconsent/radio-canada.json +28 -0
  65. package/rules/autoconsent/regjeringen.no.json +13 -0
  66. package/rules/autoconsent/roll20.json +50 -0
  67. package/rules/autoconsent/romeo.json +47 -0
  68. package/rules/autoconsent/sirdata.json +8 -3
  69. package/rules/autoconsent/site-notifications-cookie-usage.json +25 -0
  70. package/rules/autoconsent/sparebank1-optin.json +10 -0
  71. package/rules/autoconsent/stockholm-stad.json +42 -0
  72. package/rules/autoconsent/stright.json +19 -1
  73. package/rules/autoconsent/stripchat.com.json +26 -5
  74. package/rules/autoconsent/tri-table.json +6 -2
  75. package/rules/autoconsent/tvp.json +27 -0
  76. package/rules/autoconsent/urvaerket.json +33 -0
  77. package/rules/autoconsent/vinnova-se.json +50 -0
  78. package/rules/autoconsent/volvocars-com.json +23 -2
  79. package/rules/autoconsent/vortex-consent.json +33 -0
  80. package/rules/autoconsent/vue-cookie-accept-decline.json +42 -0
  81. package/rules/compact-rules.json +1 -1
  82. package/rules/rule-index.json +1 -1
  83. package/rules/rules.json +1 -1
  84. package/tests/appconsent-legacy.spec.ts +1 -1
  85. package/tests/asrock.spec.ts +3 -0
  86. package/tests/beetle-tracking.spec.ts +3 -0
  87. package/tests/casier-judiciaire-justice-gouv-fr.spec.ts +3 -0
  88. package/tests/civilservicejobs-service-gov-uk.spec.ts +3 -0
  89. package/tests/consentmo.spec.ts +2 -0
  90. package/tests/cookie-script.spec.ts +5 -0
  91. package/tests/cookiesinfo-closecookies.spec.ts +8 -0
  92. package/tests/dack365.spec.ts +3 -0
  93. package/tests/epaas.spec.ts +3 -0
  94. package/tests/eu-cookie-law-popup.spec.ts +8 -0
  95. package/tests/fascicolosanitario-lombardia.spec.ts +3 -0
  96. package/tests/fnsp-cookieconsent.spec.ts +9 -0
  97. package/tests/fod-fujitv.spec.ts +3 -0
  98. package/tests/fundingchoices.spec.ts +7 -1
  99. package/tests/hkdir.spec.ts +10 -0
  100. package/tests/hyrabostad.spec.ts +3 -0
  101. package/tests/insided.spec.ts +9 -0
  102. package/tests/jokul-cookie-consent.spec.ts +3 -0
  103. package/tests/kartverket.spec.ts +3 -0
  104. package/tests/luxmed.spec.ts +3 -0
  105. package/tests/mars-cookies-prompt.spec.ts +3 -0
  106. package/tests/meta-cookie-dialog.spec.ts +14 -0
  107. package/tests/mittanbud.spec.ts +3 -0
  108. package/tests/niedziela-pl.spec.ts +3 -0
  109. package/tests/nikkeibp.spec.ts +8 -0
  110. package/tests/onecom-cookie-banner.spec.ts +5 -0
  111. package/tests/oslosportslager.no.spec.ts +3 -0
  112. package/tests/plex.tv.spec.ts +5 -0
  113. package/tests/poki.spec.ts +6 -0
  114. package/tests/polisen-se.spec.ts +3 -0
  115. package/tests/radio-canada.spec.ts +15 -0
  116. package/tests/regjeringen.no.spec.ts +3 -0
  117. package/tests/roll20.spec.ts +3 -0
  118. package/tests/romeo.spec.ts +3 -0
  119. package/tests/sirdata.spec.ts +13 -1
  120. package/tests/site-notifications-cookie-usage.spec.ts +3 -0
  121. package/tests/sparebank1-optin.spec.ts +8 -0
  122. package/tests/stockholm-stad.spec.ts +7 -0
  123. package/tests/stright.spec.ts +11 -0
  124. package/tests/stripchat.com.spec.ts +4 -1
  125. package/tests/tri-table.spec.ts +1 -1
  126. package/tests/tvp.spec.ts +3 -0
  127. package/tests/urvaerket.spec.ts +13 -0
  128. package/tests/vinnova-se.spec.ts +6 -0
  129. package/tests/volvocars-com.spec.ts +1 -1
  130. package/tests/vortex-consent.spec.ts +18 -0
  131. package/tests/vue-cookie-accept-decline.spec.ts +8 -0
  132. package/tests-wtr/heuristics/get-actionable-popups.ts +41 -7
  133. package/tests-wtr/heuristics/get-potential-popups.test.ts +235 -4
  134. package/tests-wtr/heuristics/heuristic-cmp.ts +16 -1
  135. package/tests-wtr/heuristics/heuristics-utils.test.ts +49 -0
  136. package/rules/generated/auto_CA_plex.tv_ee4.json +0 -40
  137. package/rules/generated/auto_CA_support.plex.tv_gn3.json +0 -40
  138. package/tests/generated/auto_CA_plex.tv_ee4.spec.ts +0 -2
  139. package/tests/generated/auto_CA_support.plex.tv_gn3.spec.ts +0 -6
package/CHANGELOG.md CHANGED
@@ -1,3 +1,87 @@
1
+ # v17.0.0 (Thu Oct 29 2026)
2
+
3
+ #### Rules
4
+
5
+ - Rule update: radio-canada [#2205](https://github.com/duckduckgo/autoconsent/pull/2205) ([@daxtheduck](https://github.com/daxtheduck))
6
+ - Rule update: regjeringen.no [#2206](https://github.com/duckduckgo/autoconsent/pull/2206) ([@daxtheduck](https://github.com/daxtheduck))
7
+ - Rule update: vortex-consent [#2207](https://github.com/duckduckgo/autoconsent/pull/2207) ([@daxtheduck](https://github.com/daxtheduck) [@muodov](https://github.com/muodov))
8
+ - Rule update: onecom-cookie-banner [#2209](https://github.com/duckduckgo/autoconsent/pull/2209) ([@daxtheduck](https://github.com/daxtheduck))
9
+ - Rule update: oslosportslager.no [#2211](https://github.com/duckduckgo/autoconsent/pull/2211) ([@daxtheduck](https://github.com/daxtheduck))
10
+ - Rule update: fnsp-cookieconsent [#2212](https://github.com/duckduckgo/autoconsent/pull/2212) ([@daxtheduck](https://github.com/daxtheduck) [@muodov](https://github.com/muodov))
11
+ - Rule update: sparebank1-optin [#2213](https://github.com/duckduckgo/autoconsent/pull/2213) ([@daxtheduck](https://github.com/daxtheduck))
12
+ - Rule update: mars-cookies-prompt [#2214](https://github.com/duckduckgo/autoconsent/pull/2214) ([@daxtheduck](https://github.com/daxtheduck))
13
+ - Rule update: jokul-cookie-consent [#2215](https://github.com/duckduckgo/autoconsent/pull/2215) ([@daxtheduck](https://github.com/daxtheduck))
14
+ - Rule update: lego [#2216](https://github.com/duckduckgo/autoconsent/pull/2216) ([@daxtheduck](https://github.com/daxtheduck))
15
+ - Rule update: roll20 [#2217](https://github.com/duckduckgo/autoconsent/pull/2217) ([@daxtheduck](https://github.com/daxtheduck))
16
+ - Rule update: fod-fujitv [#2218](https://github.com/duckduckgo/autoconsent/pull/2218) ([@daxtheduck](https://github.com/daxtheduck))
17
+ - Rule update: vinnova-se [#2219](https://github.com/duckduckgo/autoconsent/pull/2219) ([@daxtheduck](https://github.com/daxtheduck))
18
+ - Rule update: epaas [#2220](https://github.com/duckduckgo/autoconsent/pull/2220) ([@daxtheduck](https://github.com/daxtheduck))
19
+ - Rule update: Sirdata [#2221](https://github.com/duckduckgo/autoconsent/pull/2221) ([@daxtheduck](https://github.com/daxtheduck))
20
+ - Rule update: nikkeibp [#2222](https://github.com/duckduckgo/autoconsent/pull/2222) ([@daxtheduck](https://github.com/daxtheduck))
21
+ - Rule update: tri-table [#2223](https://github.com/duckduckgo/autoconsent/pull/2223) ([@daxtheduck](https://github.com/daxtheduck))
22
+ - Rule update: asrock [#2224](https://github.com/duckduckgo/autoconsent/pull/2224) ([@daxtheduck](https://github.com/daxtheduck))
23
+ - Rule update: niedziela-pl [#2225](https://github.com/duckduckgo/autoconsent/pull/2225) ([@daxtheduck](https://github.com/daxtheduck))
24
+ - Rule update: cookie-script [#2226](https://github.com/duckduckgo/autoconsent/pull/2226) ([@daxtheduck](https://github.com/daxtheduck))
25
+ - Rule update: site-notifications-cookie-usage [#2227](https://github.com/duckduckgo/autoconsent/pull/2227) ([@daxtheduck](https://github.com/daxtheduck))
26
+ - Rule update: hkdir [#2228](https://github.com/duckduckgo/autoconsent/pull/2228) ([@daxtheduck](https://github.com/daxtheduck))
27
+ - Rule update: consentmo [#2229](https://github.com/duckduckgo/autoconsent/pull/2229) ([@daxtheduck](https://github.com/daxtheduck))
28
+ - Rule update: plex.tv, remove auto_CA_plex.tv_ee4, remove auto_CA_support.plex.tv_gn3 [#2230](https://github.com/duckduckgo/autoconsent/pull/2230) ([@daxtheduck](https://github.com/daxtheduck))
29
+
30
+ #### Enhancements
31
+
32
+ - elementAtPoint popup detection [#2008](https://github.com/duckduckgo/autoconsent/pull/2008) ([@sammacbeth](https://github.com/sammacbeth))
33
+
34
+ #### Authors: 3
35
+
36
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
37
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
38
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
39
+
40
+ ---
41
+
42
+ # v16.63.0 (Wed Oct 28 2026)
43
+
44
+ #### Rules
45
+
46
+ - Rule update: CPM crawl #3: gva.es [#2203](https://github.com/duckduckgo/autoconsent/pull/2203) ([@daxtheduck](https://github.com/daxtheduck) [@muodov](https://github.com/muodov))
47
+ - Rule update: volvocars-com [#2195](https://github.com/duckduckgo/autoconsent/pull/2195) ([@daxtheduck](https://github.com/daxtheduck))
48
+ - Rule update: AppConsent legacy [#2194](https://github.com/duckduckgo/autoconsent/pull/2194) ([@daxtheduck](https://github.com/daxtheduck))
49
+ - Rule update: romeo [#2196](https://github.com/duckduckgo/autoconsent/pull/2196) ([@daxtheduck](https://github.com/daxtheduck))
50
+ - Rule update: ckies, funding-choices [#2197](https://github.com/duckduckgo/autoconsent/pull/2197) ([@daxtheduck](https://github.com/daxtheduck))
51
+ - Rule update: casier-judiciaire-justice-gouv-fr [#2198](https://github.com/duckduckgo/autoconsent/pull/2198) ([@daxtheduck](https://github.com/daxtheduck))
52
+ - Rule update: eu-cookie-law-popup [#2199](https://github.com/duckduckgo/autoconsent/pull/2199) ([@daxtheduck](https://github.com/daxtheduck))
53
+ - Rule update: stockholm-stad [#2200](https://github.com/duckduckgo/autoconsent/pull/2200) ([@daxtheduck](https://github.com/daxtheduck))
54
+ - Rule update: cookiesinfo-closecookies [#2201](https://github.com/duckduckgo/autoconsent/pull/2201) ([@daxtheduck](https://github.com/daxtheduck))
55
+ - Rule update: vue-cookie-accept-decline [#2202](https://github.com/duckduckgo/autoconsent/pull/2202) ([@daxtheduck](https://github.com/daxtheduck))
56
+ - Rule update: urvaerket [#2193](https://github.com/duckduckgo/autoconsent/pull/2193) ([@daxtheduck](https://github.com/daxtheduck) [@muodov](https://github.com/muodov))
57
+ - Rule update: polisen-se [#2180](https://github.com/duckduckgo/autoconsent/pull/2180) ([@daxtheduck](https://github.com/daxtheduck))
58
+ - Rule update: meta-cookie-dialog [#2182](https://github.com/duckduckgo/autoconsent/pull/2182) ([@daxtheduck](https://github.com/daxtheduck))
59
+ - Rule update: stright [#2185](https://github.com/duckduckgo/autoconsent/pull/2185) ([@daxtheduck](https://github.com/daxtheduck))
60
+ - Rule update: poki [#2177](https://github.com/duckduckgo/autoconsent/pull/2177) ([@daxtheduck](https://github.com/daxtheduck))
61
+ - Rule update: stripchat.com [#2178](https://github.com/duckduckgo/autoconsent/pull/2178) ([@daxtheduck](https://github.com/daxtheduck))
62
+ - Rule update: fascicolosanitario-lombardia [#2179](https://github.com/duckduckgo/autoconsent/pull/2179) ([@daxtheduck](https://github.com/daxtheduck))
63
+ - Rule update: tvp [#2181](https://github.com/duckduckgo/autoconsent/pull/2181) ([@daxtheduck](https://github.com/daxtheduck))
64
+ - Rule update: luxmed [#2183](https://github.com/duckduckgo/autoconsent/pull/2183) ([@daxtheduck](https://github.com/daxtheduck))
65
+ - Rule update: kartverket [#2184](https://github.com/duckduckgo/autoconsent/pull/2184) ([@daxtheduck](https://github.com/daxtheduck))
66
+ - Rule update: civilservicejobs-service-gov-uk [#2186](https://github.com/duckduckgo/autoconsent/pull/2186) ([@daxtheduck](https://github.com/daxtheduck))
67
+ - Rule update: insided [#2187](https://github.com/duckduckgo/autoconsent/pull/2187) ([@daxtheduck](https://github.com/daxtheduck))
68
+ - Rule update: hyrabostad.se [#2188](https://github.com/duckduckgo/autoconsent/pull/2188) ([@daxtheduck](https://github.com/daxtheduck))
69
+ - Rule update: mittanbud [#2189](https://github.com/duckduckgo/autoconsent/pull/2189) ([@daxtheduck](https://github.com/daxtheduck))
70
+ - Rule update: dack365 [#2190](https://github.com/duckduckgo/autoconsent/pull/2190) ([@daxtheduck](https://github.com/daxtheduck))
71
+ - Rule update: beetle-tracking [#2192](https://github.com/duckduckgo/autoconsent/pull/2192) ([@daxtheduck](https://github.com/daxtheduck))
72
+
73
+ #### Dependencies
74
+
75
+ - Bump the dev-dependencies group across 1 directory with 6 updates [#2176](https://github.com/duckduckgo/autoconsent/pull/2176) ([@dependabot[bot]](https://github.com/dependabot[bot]))
76
+
77
+ #### Authors: 3
78
+
79
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
80
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
81
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
82
+
83
+ ---
84
+
1
85
  # v16.62.0 (Tue Oct 27 2026)
2
86
 
3
87
  #### Rules
@@ -1032,6 +1032,7 @@
1032
1032
  },
1033
1033
  performanceLoggingEnabled: false,
1034
1034
  heuristicPopupSearchTimeout: 100,
1035
+ enableHeuristicHitTest: false,
1035
1036
  heuristicMode: "off"
1036
1037
  // heuristic disabled by default
1037
1038
  };