@duckduckgo/autoconsent 18.1.0 → 18.2.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 (134) hide show
  1. package/CHANGELOG.md +68 -0
  2. package/dist/addon-firefox/compact-rules.json +1 -1
  3. package/dist/addon-firefox/content.bundle.js +167 -32
  4. package/dist/addon-firefox/manifest.json +1 -1
  5. package/dist/addon-firefox/rule-index.json +1 -1
  6. package/dist/addon-firefox/rules.json +1 -1
  7. package/dist/addon-mv3/compact-rules.json +1 -1
  8. package/dist/addon-mv3/content.bundle.js +167 -32
  9. package/dist/addon-mv3/manifest.json +1 -1
  10. package/dist/addon-mv3/rule-index.json +1 -1
  11. package/dist/addon-mv3/rules.json +1 -1
  12. package/dist/autoconsent.cjs.js +167 -32
  13. package/dist/autoconsent.esm.js +167 -32
  14. package/dist/autoconsent.playwright.js +167 -32
  15. package/dist/autoconsent.standalone.js +168 -33
  16. package/dist/heuristics.cjs.js +175 -32
  17. package/dist/heuristics.mjs +171 -32
  18. package/dist/types/heuristic-patterns.d.ts +4 -0
  19. package/docs/heuristic-detection.md +1 -0
  20. package/lib/heuristic-literals.ts +52 -5
  21. package/lib/heuristic-negatives.ts +15 -1
  22. package/lib/heuristic-patterns.ts +101 -21
  23. package/package.json +1 -1
  24. package/rules/autoconsent/aa-cookie-banner.json +2 -2
  25. package/rules/autoconsent/acconsento.json +45 -0
  26. package/rules/autoconsent/appconsent.json +8 -8
  27. package/rules/autoconsent/askas.json +39 -0
  28. package/rules/autoconsent/atomstore.json +44 -0
  29. package/rules/autoconsent/b1ng-cc.json +23 -0
  30. package/rules/autoconsent/bgk-pl.json +18 -0
  31. package/rules/autoconsent/blogger-cookie-notice.json +10 -0
  32. package/rules/autoconsent/brainshare.json +12 -0
  33. package/rules/autoconsent/brandsforstudents.ch.json +19 -0
  34. package/rules/autoconsent/c-cookie-message.json +9 -0
  35. package/rules/autoconsent/cookie-agree-banner.json +9 -0
  36. package/rules/autoconsent/cookie-box-notice.json +41 -0
  37. package/rules/autoconsent/cookieinfo.json +1 -1
  38. package/rules/autoconsent/cookies-and-content-security-policy.json +45 -0
  39. package/rules/autoconsent/dfactory-cookie-notice.json +13 -1
  40. package/rules/autoconsent/didomi.json +7 -1
  41. package/rules/autoconsent/facebook.json +16 -6
  42. package/rules/autoconsent/gdpr-jp-notice.json +25 -0
  43. package/rules/autoconsent/gdpsystem.json +21 -0
  44. package/rules/autoconsent/help-ch.json +25 -0
  45. package/rules/autoconsent/imyfone.json +25 -0
  46. package/rules/autoconsent/interface-medien-gebaeck.json +33 -0
  47. package/rules/autoconsent/invision-guest-terms.json +14 -0
  48. package/rules/autoconsent/ipkobiznes.pl.json +12 -0
  49. package/rules/autoconsent/jquery-cookiepolicy.json +30 -0
  50. package/rules/autoconsent/loescher.json +44 -0
  51. package/rules/autoconsent/meowdb.json +65 -0
  52. package/rules/autoconsent/monex-co-jp.json +34 -0
  53. package/rules/autoconsent/nnk-theme-cookie-bar.json +29 -0
  54. package/rules/autoconsent/no-transit-consent.json +32 -0
  55. package/rules/autoconsent/nperf.json +33 -0
  56. package/rules/autoconsent/okayama-kanko-jp.json +31 -0
  57. package/rules/autoconsent/oko-press.json +23 -0
  58. package/rules/autoconsent/ometv-pl.json +33 -0
  59. package/rules/autoconsent/pfron-gov-pl.json +37 -0
  60. package/rules/autoconsent/pl-bip-cookies.json +25 -0
  61. package/rules/autoconsent/prestashop-advanced-cookie-banner.json +49 -0
  62. package/rules/autoconsent/qudosbank-com-au.json +14 -0
  63. package/rules/autoconsent/roblox-creator-hub.json +48 -0
  64. package/rules/autoconsent/rws-app.json +13 -0
  65. package/rules/autoconsent/san-tatsu.json +32 -0
  66. package/rules/autoconsent/sda-it.json +37 -0
  67. package/rules/autoconsent/seria-group.json +35 -0
  68. package/rules/autoconsent/shoper.json +10 -0
  69. package/rules/autoconsent/silver-nu.json +31 -0
  70. package/rules/autoconsent/soleil-sitevision-cookie-message.json +32 -0
  71. package/rules/autoconsent/stellantis-psa.json +18 -1
  72. package/rules/autoconsent/surfshark.json +21 -0
  73. package/rules/autoconsent/tcl.json +50 -0
  74. package/rules/autoconsent/tuki-cookieterms.json +20 -0
  75. package/rules/autoconsent/weblegal.json +10 -0
  76. package/rules/autoconsent/weblication.json +38 -0
  77. package/rules/autoconsent/x28-privacy-settings.json +18 -0
  78. package/rules/compact-rules.json +1 -1
  79. package/rules/rule-index.json +1 -1
  80. package/rules/rules.json +1 -1
  81. package/tests/aa-cookie-banner.spec.ts +1 -1
  82. package/tests/acconsento.spec.ts +8 -0
  83. package/tests/appconsent.spec.ts +1 -1
  84. package/tests/askas.spec.ts +9 -0
  85. package/tests/atomstore.spec.ts +9 -0
  86. package/tests/b1ng-cc.spec.ts +3 -0
  87. package/tests/bgk-pl.spec.ts +5 -0
  88. package/tests/blogger-cookie-notice.spec.ts +9 -0
  89. package/tests/brainshare.spec.ts +3 -0
  90. package/tests/brandsforstudents.ch.spec.ts +6 -0
  91. package/tests/c-cookie-message.spec.ts +9 -0
  92. package/tests/cookie-agree-banner.spec.ts +3 -0
  93. package/tests/cookie-box-notice.spec.ts +10 -0
  94. package/tests/cookies-and-content-security-policy.spec.ts +16 -0
  95. package/tests/didomi.spec.ts +8 -0
  96. package/tests/facebook.spec.ts +1 -1
  97. package/tests/gdpr-jp-notice.spec.ts +3 -0
  98. package/tests/gdpsystem.spec.ts +3 -0
  99. package/tests/gravito.spec.ts +6 -0
  100. package/tests/help-ch.spec.ts +14 -0
  101. package/tests/imyfone.spec.ts +9 -0
  102. package/tests/interface-medien-gebaeck.spec.ts +13 -0
  103. package/tests/invision-guest-terms.spec.ts +10 -0
  104. package/tests/ipkobiznes.pl.spec.ts +3 -0
  105. package/tests/jquery-cookiepolicy.spec.ts +10 -0
  106. package/tests/loescher.spec.ts +5 -0
  107. package/tests/meowdb.spec.ts +3 -0
  108. package/tests/monex-co-jp.spec.ts +3 -0
  109. package/tests/nnk-theme-cookie-bar.spec.ts +3 -0
  110. package/tests/no-transit-consent.spec.ts +3 -0
  111. package/tests/nperf.spec.ts +3 -0
  112. package/tests/okayama-kanko-jp.spec.ts +3 -0
  113. package/tests/oko-press.spec.ts +3 -0
  114. package/tests/ometv-pl.spec.ts +4 -0
  115. package/tests/pfron-gov-pl.spec.ts +3 -0
  116. package/tests/pl-bip-cookies.spec.ts +3 -0
  117. package/tests/prestashop-advanced-cookie-banner.spec.ts +9 -0
  118. package/tests/qudosbank-com-au.spec.ts +3 -0
  119. package/tests/roblox-creator-hub.spec.ts +5 -0
  120. package/tests/rws-app.spec.ts +15 -0
  121. package/tests/san-tatsu.spec.ts +3 -0
  122. package/tests/sda-it.spec.ts +7 -0
  123. package/tests/seria-group.spec.ts +3 -0
  124. package/tests/shoper.spec.ts +3 -0
  125. package/tests/silver-nu.spec.ts +3 -0
  126. package/tests/soleil-sitevision-cookie-message.spec.ts +8 -0
  127. package/tests/stellantis-psa.spec.ts +2 -0
  128. package/tests/surfshark.spec.ts +3 -0
  129. package/tests/tcl.spec.ts +9 -0
  130. package/tests/tuki-cookieterms.spec.ts +8 -0
  131. package/tests/weblegal.spec.ts +8 -0
  132. package/tests/weblication.spec.ts +9 -0
  133. package/tests/x28-privacy-settings.spec.ts +4 -0
  134. package/tests-wtr/heuristics/heuristics-utils.test.ts +275 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,71 @@
1
+ # v18.2.0 (Tue Nov 10 2026)
2
+
3
+ #### Rules
4
+
5
+ - Rule update: CPM feedback: facebook.com [#2548](https://github.com/duckduckgo/autoconsent/pull/2548) ([@daxtheduck](https://github.com/daxtheduck) [@muodov](https://github.com/muodov))
6
+ - Heuristics: more detect wording in 10 languages, more button labels, investor-gate negative [#2490](https://github.com/duckduckgo/autoconsent/pull/2490) ([@muodov](https://github.com/muodov))
7
+ - Rule update: pfron-gov-pl [#2542](https://github.com/duckduckgo/autoconsent/pull/2542) ([@daxtheduck](https://github.com/daxtheduck))
8
+ - Rule update: gdpsystem [#2541](https://github.com/duckduckgo/autoconsent/pull/2541) ([@daxtheduck](https://github.com/daxtheduck))
9
+ - Rule update: bgk.pl [#2540](https://github.com/duckduckgo/autoconsent/pull/2540) ([@daxtheduck](https://github.com/daxtheduck))
10
+ - Rule update: brandsforstudents.ch [#2539](https://github.com/duckduckgo/autoconsent/pull/2539) ([@daxtheduck](https://github.com/daxtheduck))
11
+ - Rule update: weblication [#2538](https://github.com/duckduckgo/autoconsent/pull/2538) ([@daxtheduck](https://github.com/daxtheduck))
12
+ - Rule update: sda-it [#2537](https://github.com/duckduckgo/autoconsent/pull/2537) ([@daxtheduck](https://github.com/daxtheduck))
13
+ - Rule update: cookie-agree-banner [#2536](https://github.com/duckduckgo/autoconsent/pull/2536) ([@daxtheduck](https://github.com/daxtheduck))
14
+ - Rule update: jquery-cookiepolicy [#2535](https://github.com/duckduckgo/autoconsent/pull/2535) ([@daxtheduck](https://github.com/daxtheduck))
15
+ - Rule update: pl-bip-cookies [#2534](https://github.com/duckduckgo/autoconsent/pull/2534) ([@daxtheduck](https://github.com/daxtheduck))
16
+ - Rule update: okayama-kanko-jp [#2533](https://github.com/duckduckgo/autoconsent/pull/2533) ([@daxtheduck](https://github.com/daxtheduck))
17
+ - Rule update: seria-group [#2532](https://github.com/duckduckgo/autoconsent/pull/2532) ([@daxtheduck](https://github.com/daxtheduck))
18
+ - Rule update: san-tatsu.jp [#2531](https://github.com/duckduckgo/autoconsent/pull/2531) ([@daxtheduck](https://github.com/daxtheduck))
19
+ - Rule update: cookieinfo [#2530](https://github.com/duckduckgo/autoconsent/pull/2530) ([@daxtheduck](https://github.com/daxtheduck))
20
+ - Rule update: no-transit-consent [#2529](https://github.com/duckduckgo/autoconsent/pull/2529) ([@daxtheduck](https://github.com/daxtheduck))
21
+ - Rule update: loescher [#2528](https://github.com/duckduckgo/autoconsent/pull/2528) ([@daxtheduck](https://github.com/daxtheduck))
22
+ - Rule update: brainshare [#2527](https://github.com/duckduckgo/autoconsent/pull/2527) ([@daxtheduck](https://github.com/daxtheduck))
23
+ - Rule update: imyfone [#2526](https://github.com/duckduckgo/autoconsent/pull/2526) ([@daxtheduck](https://github.com/daxtheduck))
24
+ - Rule update: surfshark [#2525](https://github.com/duckduckgo/autoconsent/pull/2525) ([@daxtheduck](https://github.com/daxtheduck))
25
+ - Rule update: ometv.pl [#2524](https://github.com/duckduckgo/autoconsent/pull/2524) ([@daxtheduck](https://github.com/daxtheduck))
26
+ - Rule update: nnk-theme-cookie-bar [#2523](https://github.com/duckduckgo/autoconsent/pull/2523) ([@daxtheduck](https://github.com/daxtheduck))
27
+ - Rule update: interface-medien-gebaeck [#2522](https://github.com/duckduckgo/autoconsent/pull/2522) ([@daxtheduck](https://github.com/daxtheduck))
28
+ - Rule update: blogger-cookie-notice [#2521](https://github.com/duckduckgo/autoconsent/pull/2521) ([@daxtheduck](https://github.com/daxtheduck))
29
+ - Rule update: cookie-box-notice [#2520](https://github.com/duckduckgo/autoconsent/pull/2520) ([@daxtheduck](https://github.com/daxtheduck))
30
+ - Rule update: x28-privacy-settings [#2519](https://github.com/duckduckgo/autoconsent/pull/2519) ([@daxtheduck](https://github.com/daxtheduck))
31
+ - Rule update: ipkobiznes.pl [#2518](https://github.com/duckduckgo/autoconsent/pull/2518) ([@daxtheduck](https://github.com/daxtheduck))
32
+ - Rule update: oko-press [#2517](https://github.com/duckduckgo/autoconsent/pull/2517) ([@daxtheduck](https://github.com/daxtheduck))
33
+ - Rule update: monex-co-jp [#2516](https://github.com/duckduckgo/autoconsent/pull/2516) ([@daxtheduck](https://github.com/daxtheduck))
34
+ - Rule update: gdpr-jp-notice [#2515](https://github.com/duckduckgo/autoconsent/pull/2515) ([@daxtheduck](https://github.com/daxtheduck))
35
+ - Rule update: help-ch [#2514](https://github.com/duckduckgo/autoconsent/pull/2514) ([@daxtheduck](https://github.com/daxtheduck))
36
+ - Rule update: qudosbank-com-au [#2513](https://github.com/duckduckgo/autoconsent/pull/2513) ([@daxtheduck](https://github.com/daxtheduck))
37
+ - Rule update: c-cookie-message [#2512](https://github.com/duckduckgo/autoconsent/pull/2512) ([@daxtheduck](https://github.com/daxtheduck))
38
+ - Rule update: silver.nu [#2511](https://github.com/duckduckgo/autoconsent/pull/2511) ([@daxtheduck](https://github.com/daxtheduck))
39
+ - Rule update: tuki-cookieterms [#2510](https://github.com/duckduckgo/autoconsent/pull/2510) ([@daxtheduck](https://github.com/daxtheduck))
40
+ - Rule update: b1ng-cc [#2509](https://github.com/duckduckgo/autoconsent/pull/2509) ([@daxtheduck](https://github.com/daxtheduck))
41
+ - Rule update: stellantis-psa [#2508](https://github.com/duckduckgo/autoconsent/pull/2508) ([@daxtheduck](https://github.com/daxtheduck))
42
+ - Rule update: roblox-creator-hub [#2507](https://github.com/duckduckgo/autoconsent/pull/2507) ([@daxtheduck](https://github.com/daxtheduck))
43
+ - Rule update: tcl.com [#2506](https://github.com/duckduckgo/autoconsent/pull/2506) ([@daxtheduck](https://github.com/daxtheduck))
44
+ - Rule update: acconsento [#2505](https://github.com/duckduckgo/autoconsent/pull/2505) ([@daxtheduck](https://github.com/daxtheduck))
45
+ - Rule update: cookies-and-content-security-policy [#2504](https://github.com/duckduckgo/autoconsent/pull/2504) ([@daxtheduck](https://github.com/daxtheduck))
46
+ - Rule update: nperf [#2503](https://github.com/duckduckgo/autoconsent/pull/2503) ([@daxtheduck](https://github.com/daxtheduck))
47
+ - Rule update: prestashop-advanced-cookie-banner [#2502](https://github.com/duckduckgo/autoconsent/pull/2502) ([@daxtheduck](https://github.com/daxtheduck))
48
+ - Rule update: shoper [#2501](https://github.com/duckduckgo/autoconsent/pull/2501) ([@daxtheduck](https://github.com/daxtheduck))
49
+ - Rule update: invision-guest-terms [#2500](https://github.com/duckduckgo/autoconsent/pull/2500) ([@daxtheduck](https://github.com/daxtheduck))
50
+ - Rule update: rws-app [#2499](https://github.com/duckduckgo/autoconsent/pull/2499) ([@daxtheduck](https://github.com/daxtheduck))
51
+ - Rule update: soleil-sitevision-cookie-message [#2498](https://github.com/duckduckgo/autoconsent/pull/2498) ([@daxtheduck](https://github.com/daxtheduck))
52
+ - Rule update: askas [#2497](https://github.com/duckduckgo/autoconsent/pull/2497) ([@daxtheduck](https://github.com/daxtheduck))
53
+ - Rule update: atomstore [#2496](https://github.com/duckduckgo/autoconsent/pull/2496) ([@daxtheduck](https://github.com/daxtheduck))
54
+ - Rule update: meowdb.com [#2495](https://github.com/duckduckgo/autoconsent/pull/2495) ([@daxtheduck](https://github.com/daxtheduck))
55
+ - Rule update: dfactory-cookie-notice [#2494](https://github.com/duckduckgo/autoconsent/pull/2494) ([@daxtheduck](https://github.com/daxtheduck))
56
+ - Rule update: weblegal [#2493](https://github.com/duckduckgo/autoconsent/pull/2493) ([@daxtheduck](https://github.com/daxtheduck))
57
+ - Rule update: CPM crawl #902: pagesjaunes.fr [#2489](https://github.com/duckduckgo/autoconsent/pull/2489) ([@daxtheduck](https://github.com/daxtheduck))
58
+ - Rule update: CPM crawl cluster #30: as.com (didomi|inert, 18 sites) [#2488](https://github.com/duckduckgo/autoconsent/pull/2488) ([@daxtheduck](https://github.com/daxtheduck))
59
+ - Rule update: ddg_ios (euw) CPM magic report: www.flightradar24.com [#2487](https://github.com/duckduckgo/autoconsent/pull/2487) ([@daxtheduck](https://github.com/daxtheduck))
60
+ - Rule update: Cookie popup on aa.com (custom tealium) [#2486](https://github.com/duckduckgo/autoconsent/pull/2486) ([@daxtheduck](https://github.com/daxtheduck))
61
+
62
+ #### Authors: 2
63
+
64
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
65
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
66
+
67
+ ---
68
+
1
69
  # v18.1.0 (Sat Nov 07 2026)
2
70
 
3
71
  #### Rules