@duckduckgo/autoconsent 18.1.0 → 18.3.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 (222) hide show
  1. package/CHANGELOG.md +131 -0
  2. package/dist/addon-firefox/compact-rules.json +1 -1
  3. package/dist/addon-firefox/content.bundle.js +256 -65
  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 +256 -65
  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 +256 -65
  13. package/dist/autoconsent.esm.js +256 -65
  14. package/dist/autoconsent.playwright.js +256 -65
  15. package/dist/autoconsent.standalone.js +257 -66
  16. package/dist/heuristics.cjs.js +264 -67
  17. package/dist/heuristics.mjs +260 -66
  18. package/dist/types/heuristic-patterns.d.ts +4 -1
  19. package/docs/heuristic-detection.md +1 -0
  20. package/lib/heuristic-literals.ts +90 -16
  21. package/lib/heuristic-negatives.ts +15 -10
  22. package/lib/heuristic-patterns.ts +153 -35
  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/adaptivemedia.json +30 -0
  27. package/rules/autoconsent/adeac-jp.json +29 -0
  28. package/rules/autoconsent/agenziaentrate-geoportale.json +35 -0
  29. package/rules/autoconsent/alertnotification-alert-bar.json +27 -0
  30. package/rules/autoconsent/amasty-gdpr-hyva.json +6 -6
  31. package/rules/autoconsent/appconsent.json +8 -8
  32. package/rules/autoconsent/askas.json +39 -0
  33. package/rules/autoconsent/atomstore.json +44 -0
  34. package/rules/autoconsent/b1ng-cc.json +23 -0
  35. package/rules/autoconsent/betheme.json +10 -0
  36. package/rules/autoconsent/bgk-pl.json +18 -0
  37. package/rules/autoconsent/biblia-online.pl.json +40 -0
  38. package/rules/autoconsent/bitauto.json +57 -0
  39. package/rules/autoconsent/blogger-cookie-notice.json +10 -0
  40. package/rules/autoconsent/brainshare.json +12 -0
  41. package/rules/autoconsent/brandsforstudents.ch.json +19 -0
  42. package/rules/autoconsent/bt-com-au.json +13 -0
  43. package/rules/autoconsent/c-cookie-message.json +9 -0
  44. package/rules/autoconsent/calclife.net.json +43 -0
  45. package/rules/autoconsent/casino-guru.json +28 -0
  46. package/rules/autoconsent/code3-cookies-consent.json +48 -0
  47. package/rules/autoconsent/complianz-opt-out.json +7 -2
  48. package/rules/autoconsent/cookie-agree-banner.json +9 -0
  49. package/rules/autoconsent/cookie-box-notice.json +41 -0
  50. package/rules/autoconsent/cookie-use-notice.json +12 -0
  51. package/rules/autoconsent/cookieinfo-zamknij.json +30 -0
  52. package/rules/autoconsent/cookieinfo.json +1 -1
  53. package/rules/autoconsent/cookies-and-content-security-policy.json +45 -0
  54. package/rules/autoconsent/cookiesbanner-preference.json +14 -0
  55. package/rules/autoconsent/cookiesmodal-pl.json +18 -0
  56. package/rules/autoconsent/creditunionsa.json +12 -0
  57. package/rules/autoconsent/cstudios.json +35 -0
  58. package/rules/autoconsent/dandomain.json +41 -0
  59. package/rules/autoconsent/datezone.json +22 -0
  60. package/rules/autoconsent/dfactory-cookie-notice.json +13 -1
  61. package/rules/autoconsent/didomi.json +7 -1
  62. package/rules/autoconsent/dlibra.json +32 -0
  63. package/rules/autoconsent/dnb.json +30 -0
  64. package/rules/autoconsent/e-file.json +44 -0
  65. package/rules/autoconsent/erli-pl.json +36 -0
  66. package/rules/autoconsent/facebook.json +16 -6
  67. package/rules/autoconsent/fellow-pl.json +16 -0
  68. package/rules/autoconsent/fn-se.json +17 -0
  69. package/rules/autoconsent/gdpr-jp-notice.json +25 -0
  70. package/rules/autoconsent/gdpsystem.json +21 -0
  71. package/rules/autoconsent/help-ch.json +25 -0
  72. package/rules/autoconsent/icom-co-jp.json +34 -0
  73. package/rules/autoconsent/imyfone.json +25 -0
  74. package/rules/autoconsent/interface-medien-gebaeck.json +33 -0
  75. package/rules/autoconsent/intermedia-cms-fsi.json +30 -0
  76. package/rules/autoconsent/invision-guest-terms.json +14 -0
  77. package/rules/autoconsent/ipkobiznes.pl.json +12 -0
  78. package/rules/autoconsent/jquery-cookiepolicy.json +30 -0
  79. package/rules/autoconsent/lieder.net.json +13 -0
  80. package/rules/autoconsent/loescher.json +44 -0
  81. package/rules/autoconsent/menti-com.json +37 -0
  82. package/rules/autoconsent/meowdb.json +65 -0
  83. package/rules/autoconsent/monex-co-jp.json +34 -0
  84. package/rules/autoconsent/mos-cudzoziemcy-gov-pl.json +29 -0
  85. package/rules/autoconsent/nnk-theme-cookie-bar.json +29 -0
  86. package/rules/autoconsent/no-transit-consent.json +32 -0
  87. package/rules/autoconsent/nperf.json +33 -0
  88. package/rules/autoconsent/octoparse.json +33 -0
  89. package/rules/autoconsent/okayama-kanko-jp.json +31 -0
  90. package/rules/autoconsent/oko-press.json +23 -0
  91. package/rules/autoconsent/ometv-pl.json +33 -0
  92. package/rules/autoconsent/oresundstag.json +40 -0
  93. package/rules/autoconsent/pfron-gov-pl.json +37 -0
  94. package/rules/autoconsent/pl-bip-cookies.json +25 -0
  95. package/rules/autoconsent/prestashop-advanced-cookie-banner.json +49 -0
  96. package/rules/autoconsent/qudosbank-com-au.json +14 -0
  97. package/rules/autoconsent/renaud-bray.json +44 -0
  98. package/rules/autoconsent/roblox-creator-hub.json +48 -0
  99. package/rules/autoconsent/rws-app.json +13 -0
  100. package/rules/autoconsent/san-tatsu.json +32 -0
  101. package/rules/autoconsent/saos-org-pl.json +35 -0
  102. package/rules/autoconsent/sda-it.json +37 -0
  103. package/rules/autoconsent/seria-group.json +35 -0
  104. package/rules/autoconsent/shoper.json +10 -0
  105. package/rules/autoconsent/shopgold.json +83 -0
  106. package/rules/autoconsent/shueisha-hpplus.json +27 -0
  107. package/rules/autoconsent/silver-nu.json +31 -0
  108. package/rules/autoconsent/soleil-sitevision-cookie-message.json +32 -0
  109. package/rules/autoconsent/stellantis-psa.json +18 -1
  110. package/rules/autoconsent/surfshark.json +21 -0
  111. package/rules/autoconsent/synergy-net-au.json +33 -0
  112. package/rules/autoconsent/tcl.json +50 -0
  113. package/rules/autoconsent/teeshoppen.json +42 -0
  114. package/rules/autoconsent/tuki-cookieterms.json +20 -0
  115. package/rules/autoconsent/tullys-jp.json +11 -0
  116. package/rules/autoconsent/weblegal.json +10 -0
  117. package/rules/autoconsent/weblication.json +38 -0
  118. package/rules/autoconsent/worldbank.json +5 -5
  119. package/rules/autoconsent/wuerth.json +57 -0
  120. package/rules/autoconsent/x28-privacy-settings.json +18 -0
  121. package/rules/autoconsent/ynjn.json +34 -0
  122. package/rules/compact-rules.json +1 -1
  123. package/rules/rule-index.json +1 -1
  124. package/rules/rules.json +1 -1
  125. package/tests/aa-cookie-banner.spec.ts +1 -1
  126. package/tests/acconsento.spec.ts +8 -0
  127. package/tests/adaptivemedia.spec.ts +3 -0
  128. package/tests/adeac-jp.spec.ts +3 -0
  129. package/tests/agenziaentrate-geoportale.spec.ts +5 -0
  130. package/tests/alertnotification-alert-bar.spec.ts +11 -0
  131. package/tests/amasty-gdpr-hyva.spec.ts +1 -0
  132. package/tests/appconsent.spec.ts +1 -1
  133. package/tests/askas.spec.ts +9 -0
  134. package/tests/atomstore.spec.ts +9 -0
  135. package/tests/b1ng-cc.spec.ts +3 -0
  136. package/tests/betheme.spec.ts +9 -0
  137. package/tests/bgk-pl.spec.ts +5 -0
  138. package/tests/biblia-online.pl.spec.ts +3 -0
  139. package/tests/bitauto.spec.ts +3 -0
  140. package/tests/blogger-cookie-notice.spec.ts +9 -0
  141. package/tests/brainshare.spec.ts +3 -0
  142. package/tests/brandsforstudents.ch.spec.ts +6 -0
  143. package/tests/bt-com-au.spec.ts +3 -0
  144. package/tests/c-cookie-message.spec.ts +9 -0
  145. package/tests/calclife.net.spec.ts +3 -0
  146. package/tests/casino-guru.spec.ts +15 -0
  147. package/tests/code3-cookies-consent.spec.ts +8 -0
  148. package/tests/complianz-opt-out.spec.ts +13 -3
  149. package/tests/cookie-agree-banner.spec.ts +3 -0
  150. package/tests/cookie-box-notice.spec.ts +10 -0
  151. package/tests/cookie-use-notice.spec.ts +6 -0
  152. package/tests/cookieinfo-zamknij.spec.ts +3 -0
  153. package/tests/cookies-and-content-security-policy.spec.ts +16 -0
  154. package/tests/cookiesbanner-preference.spec.ts +8 -0
  155. package/tests/cookiesmodal-pl.spec.ts +3 -0
  156. package/tests/creditunionsa.spec.ts +3 -0
  157. package/tests/cstudios.spec.ts +3 -0
  158. package/tests/dandomain.spec.ts +18 -0
  159. package/tests/datezone.spec.ts +3 -0
  160. package/tests/didomi.spec.ts +8 -0
  161. package/tests/dlibra.spec.ts +8 -0
  162. package/tests/dnb.spec.ts +5 -0
  163. package/tests/e-file.spec.ts +9 -0
  164. package/tests/erli-pl.spec.ts +4 -0
  165. package/tests/facebook.spec.ts +1 -1
  166. package/tests/fellow-pl.spec.ts +5 -0
  167. package/tests/fn-se.spec.ts +3 -0
  168. package/tests/gdpr-jp-notice.spec.ts +3 -0
  169. package/tests/gdpsystem.spec.ts +3 -0
  170. package/tests/gravito.spec.ts +6 -0
  171. package/tests/help-ch.spec.ts +14 -0
  172. package/tests/icom-co-jp.spec.ts +3 -0
  173. package/tests/imyfone.spec.ts +9 -0
  174. package/tests/interface-medien-gebaeck.spec.ts +13 -0
  175. package/tests/intermedia-cms-fsi.spec.ts +8 -0
  176. package/tests/invision-guest-terms.spec.ts +10 -0
  177. package/tests/ipkobiznes.pl.spec.ts +3 -0
  178. package/tests/jquery-cookiepolicy.spec.ts +10 -0
  179. package/tests/lieder.net.spec.ts +3 -0
  180. package/tests/loescher.spec.ts +5 -0
  181. package/tests/menti-com.spec.ts +3 -0
  182. package/tests/meowdb.spec.ts +3 -0
  183. package/tests/monex-co-jp.spec.ts +3 -0
  184. package/tests/mos-cudzoziemcy-gov-pl.spec.ts +3 -0
  185. package/tests/nnk-theme-cookie-bar.spec.ts +3 -0
  186. package/tests/no-transit-consent.spec.ts +3 -0
  187. package/tests/nperf.spec.ts +3 -0
  188. package/tests/octoparse.spec.ts +6 -0
  189. package/tests/okayama-kanko-jp.spec.ts +3 -0
  190. package/tests/oko-press.spec.ts +3 -0
  191. package/tests/ometv-pl.spec.ts +4 -0
  192. package/tests/oresundstag.spec.ts +3 -0
  193. package/tests/pfron-gov-pl.spec.ts +3 -0
  194. package/tests/pl-bip-cookies.spec.ts +3 -0
  195. package/tests/prestashop-advanced-cookie-banner.spec.ts +9 -0
  196. package/tests/qudosbank-com-au.spec.ts +3 -0
  197. package/tests/renaud-bray.spec.ts +5 -0
  198. package/tests/roblox-creator-hub.spec.ts +5 -0
  199. package/tests/rws-app.spec.ts +15 -0
  200. package/tests/san-tatsu.spec.ts +3 -0
  201. package/tests/saos-org-pl.spec.ts +3 -0
  202. package/tests/sda-it.spec.ts +7 -0
  203. package/tests/seria-group.spec.ts +3 -0
  204. package/tests/shoper.spec.ts +3 -0
  205. package/tests/shopgold.spec.ts +3 -0
  206. package/tests/shueisha-hpplus.spec.ts +3 -0
  207. package/tests/silver-nu.spec.ts +3 -0
  208. package/tests/soleil-sitevision-cookie-message.spec.ts +8 -0
  209. package/tests/stellantis-psa.spec.ts +2 -0
  210. package/tests/surfshark.spec.ts +3 -0
  211. package/tests/synergy-net-au.spec.ts +8 -0
  212. package/tests/tcl.spec.ts +9 -0
  213. package/tests/teeshoppen.spec.ts +7 -0
  214. package/tests/tuki-cookieterms.spec.ts +8 -0
  215. package/tests/tullys-jp.spec.ts +3 -0
  216. package/tests/weblegal.spec.ts +8 -0
  217. package/tests/weblication.spec.ts +9 -0
  218. package/tests/worldbank.spec.ts +1 -0
  219. package/tests/wuerth.spec.ts +8 -0
  220. package/tests/x28-privacy-settings.spec.ts +4 -0
  221. package/tests/ynjn.spec.ts +3 -0
  222. package/tests-wtr/heuristics/heuristics-utils.test.ts +356 -3
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "detectPopup": [
12
12
  {
13
- "visible": "#am-cookie-bar > :is([data-dialog-ref-name=\"am-cookie-bar\"], [x-bind^=\"overlay\"])"
13
+ "visible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]"
14
14
  },
15
15
  {
16
16
  "exists": "#am-cookie-bar[style*=\"translateY(100%)\"]",
@@ -37,14 +37,14 @@
37
37
  "waitForThenClick": "#am-cookie-bar [x-ref=\"am-cookie-bar\"] :is([data-dispatch-action=\"cookiebar-action-accept\"], .ambar-btn-decline)"
38
38
  },
39
39
  {
40
- "waitForVisible": "#am-cookie-bar > :is([data-dialog-ref-name=\"am-cookie-bar\"], [x-bind^=\"overlay\"])",
40
+ "waitForVisible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]",
41
41
  "check": "none",
42
42
  "timeout": 3000,
43
43
  "optional": true
44
44
  },
45
45
  {
46
46
  "if": {
47
- "visible": "#am-cookie-bar > :is([data-dialog-ref-name=\"am-cookie-bar\"], [x-bind^=\"overlay\"])"
47
+ "visible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]"
48
48
  },
49
49
  "then": [
50
50
  {
@@ -95,14 +95,14 @@
95
95
  "optional": true
96
96
  },
97
97
  {
98
- "waitForVisible": "#am-cookie-bar > :is([data-dialog-ref-name=\"am-cookie-bar\"], [x-bind^=\"overlay\"])",
98
+ "waitForVisible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]",
99
99
  "check": "none",
100
100
  "timeout": 1000,
101
101
  "optional": true
102
102
  },
103
103
  {
104
104
  "if": {
105
- "visible": "#am-cookie-bar > :is([data-dialog-ref-name=\"am-cookie-bar\"], [x-bind^=\"overlay\"])"
105
+ "visible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]"
106
106
  },
107
107
  "then": [
108
108
  {
@@ -121,7 +121,7 @@
121
121
  "exists": "#am-cookie-bar[style*=\"translateY(100%)\"]"
122
122
  },
123
123
  {
124
- "waitForVisible": "#am-cookie-bar > :is([data-dialog-ref-name=\"am-cookie-bar\"], [x-bind^=\"overlay\"])",
124
+ "waitForVisible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]",
125
125
  "check": "none",
126
126
  "timeout": 5000
127
127
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "AppConsent",
3
- "prehideSelectors": ["iframe[title='Consent window']"],
3
+ "prehideSelectors": ["iframe[srcdoc*='cdn.appconsent.io/tcf2-clear/']"],
4
4
  "detectCmp": [
5
5
  {
6
6
  "exists": "script[src*='cdn.appconsent.io/tcf2-clear/'][src*='core.bundle.js']"
@@ -8,27 +8,27 @@
8
8
  ],
9
9
  "detectPopup": [
10
10
  {
11
- "visible": "iframe[title='Consent window']"
11
+ "visible": "iframe[srcdoc*='cdn.appconsent.io/tcf2-clear/']"
12
12
  }
13
13
  ],
14
14
  "optIn": [
15
15
  {
16
- "waitForThenClick": ["iframe[title='Consent window']", ".button__acceptAll"]
16
+ "waitForThenClick": ["iframe[srcdoc*='cdn.appconsent.io/tcf2-clear/']", ".button__acceptAll"]
17
17
  }
18
18
  ],
19
19
  "optOut": [
20
20
  {
21
- "waitFor": ["iframe[title='Consent window']", ".button__refuseAll, .button__skip"]
21
+ "waitFor": ["iframe[srcdoc*='cdn.appconsent.io/tcf2-clear/']", ".button__refuseAll, .button__skip"]
22
22
  },
23
23
  {
24
- "if": { "exists": ["iframe[title='Consent window']", ".button__refuseAll"] },
25
- "then": [{ "click": ["iframe[title='Consent window']", ".button__refuseAll"] }],
26
- "else": [{ "click": ["iframe[title='Consent window']", ".button__skip"] }]
24
+ "if": { "exists": ["iframe[srcdoc*='cdn.appconsent.io/tcf2-clear/']", ".button__refuseAll"] },
25
+ "then": [{ "click": ["iframe[srcdoc*='cdn.appconsent.io/tcf2-clear/']", ".button__refuseAll"] }],
26
+ "else": [{ "click": ["iframe[srcdoc*='cdn.appconsent.io/tcf2-clear/']", ".button__skip"] }]
27
27
  }
28
28
  ],
29
29
  "test": [
30
30
  {
31
- "waitForVisible": "iframe[title='Consent window']",
31
+ "waitForVisible": "iframe[srcdoc*='cdn.appconsent.io/tcf2-clear/']",
32
32
  "timeout": 1000,
33
33
  "check": "none"
34
34
  }
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "askas",
3
+ "vendorUrl": "https://www.askas.se/",
4
+ "prehideSelectors": ["#cookie_consent"],
5
+ "detectCmp": [
6
+ { "exists": "#cookie_consent" },
7
+ { "exists": "#cookie_consent_manage_rec" },
8
+ { "exists": "#cookie_consent_manager_confirm" }
9
+ ],
10
+ "detectPopup": [{ "visible": "#cookie_consent" }],
11
+ "optIn": [{ "waitForThenClick": "#cookie_consent_manage_rec" }],
12
+ "optOut": [
13
+ {
14
+ "if": { "exists": ".cookie_consent_manager_accept_req" },
15
+ "then": [
16
+ {
17
+ "if": { "visible": ".cookie_consent_manager_accept_req", "check": "none" },
18
+ "then": [
19
+ { "click": "#cookie_consent_manage" },
20
+ { "waitForVisible": ".cookie_consent_manager_accept_req", "timeout": 2000, "optional": true }
21
+ ]
22
+ },
23
+ { "click": ".cookie_consent_manager_accept_req" }
24
+ ],
25
+ "else": [
26
+ {
27
+ "if": { "visible": "#cookie_consent_manager_confirm", "check": "none" },
28
+ "then": [
29
+ { "click": "#cookie_consent_manage" },
30
+ { "waitForVisible": "#cookie_consent_manager_confirm", "timeout": 2000 }
31
+ ]
32
+ },
33
+ { "click": "#cookie_consent_manager input[type=checkbox]:checked:not(:disabled)", "all": true, "optional": true },
34
+ { "click": "#cookie_consent_manager_confirm" }
35
+ ]
36
+ }
37
+ ],
38
+ "test": [{ "cookieContains": "air_cookie_consent=" }, { "cookieContains": "false}" }]
39
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "atomstore",
3
+ "vendorUrl": "https://www.atomstore.pl/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "main": true,
7
+ "frame": false
8
+ },
9
+ "prehideSelectors": ["#RodoCookiesInfoFirst", "#RodoCookiesInit"],
10
+ "detectCmp": [
11
+ {
12
+ "exists": "#RodoCookiesInfoFirst [data-type=\"disable-cookies-button\"], #RodoCookiesInit [data-type=\"disable-cookies-button\"], #RodoCookiesInfo [data-type=\"disable-cookies-button\"]"
13
+ }
14
+ ],
15
+ "detectPopup": [{ "visible": "#RodoCookiesInfoFirst.in, #RodoCookiesInit.in, #RodoCookiesInfo.in", "check": "any" }],
16
+ "optIn": [
17
+ {
18
+ "if": { "exists": "#RodoCookiesInfoFirst.in" },
19
+ "then": [{ "waitForThenClick": "#RodoCookiesInfoFirst [data-type=\"accept-cookies-button\"]" }],
20
+ "else": [
21
+ {
22
+ "if": { "exists": "#RodoCookiesInit.in" },
23
+ "then": [{ "waitForThenClick": "#RodoCookiesInit [data-type=\"accept-cookies-button\"]" }],
24
+ "else": [{ "waitForThenClick": "#RodoCookiesInfo [data-type=\"accept-cookies-button\"]" }]
25
+ }
26
+ ]
27
+ }
28
+ ],
29
+ "optOut": [
30
+ {
31
+ "if": { "exists": "#RodoCookiesInfoFirst.in" },
32
+ "then": [{ "waitForThenClick": "#RodoCookiesInfoFirst [data-type=\"disable-cookies-button\"]" }],
33
+ "else": [
34
+ {
35
+ "if": { "exists": "#RodoCookiesInit.in" },
36
+ "then": [{ "waitForThenClick": "#RodoCookiesInit [data-type=\"disable-cookies-button\"]" }],
37
+ "else": [{ "waitForThenClick": "#RodoCookiesInfo [data-type=\"disable-cookies-button\"]" }]
38
+ }
39
+ ]
40
+ },
41
+ { "waitForVisible": "#RodoCookiesInfoFirst.in, #RodoCookiesInit.in, #RodoCookiesInfo.in", "check": "none" }
42
+ ],
43
+ "test": [{ "cookieContains": "AtomStore[MARKETING_COOKIES_ACCEPTED]=0" }]
44
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "b1ng-cc",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?(giorni-festivi\\.it|feiertag\\.co|dia-festivo\\.es)/"
5
+ },
6
+ "prehideSelectors": ["#b1ng-cc"],
7
+ "detectCmp": [{ "exists": "#b1ng-cc .b1ng-cc-no" }],
8
+ "detectPopup": [{ "visible": "#b1ng-cc .b1ng-cc-no" }],
9
+ "optIn": [{ "waitForThenClick": "#b1ng-cc .b1ng-cc-yes" }],
10
+ "optOut": [
11
+ { "waitForThenClick": "#b1ng-cc .b1ng-cc-no" },
12
+ { "waitFor": ".fc-cta-do-not-consent,.fc-cta-manage-options,.fc-li-only-placeholder", "timeout": 5000, "optional": true },
13
+ {
14
+ "if": { "exists": ".fc-cta-do-not-consent,.fc-cta-manage-options,.fc-li-only-placeholder" },
15
+ "then": [
16
+ { "click": ".fc-cta-do-not-consent,.fc-cta-manage-options", "optional": true },
17
+ { "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked", "all": true, "optional": true },
18
+ { "click": ".fc-confirm-choices", "optional": true }
19
+ ]
20
+ }
21
+ ],
22
+ "test": [{ "cookieContains": "b1ng_consent=n" }]
23
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "betheme",
3
+ "vendorUrl": "https://muffingroup.com/betheme/",
4
+ "prehideSelectors": ["#mfn-consent-mode"],
5
+ "detectCmp": [{ "exists": "#mfn-consent-mode #consent_deny" }],
6
+ "detectPopup": [{ "visible": "body.mfn-cookies-open #mfn-consent-mode .mfn-cookies-popup" }],
7
+ "optIn": [{ "waitForThenClick": "#mfn-consent-mode #consent_allow" }],
8
+ "optOut": [{ "waitForThenClick": "#mfn-consent-mode #consent_deny" }],
9
+ "test": [{ "cookieContains": "%22analytics_storage%22%3A%22denied%22" }]
10
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "bgk.pl",
3
+ "vendorUrl": "https://www.bgk.pl/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?bgk\\.pl/"
6
+ },
7
+ "prehideSelectors": [".cc-window[aria-describedby=\"cookieheading\"]"],
8
+ "detectCmp": [{ "exists": ".cc-window .dp--cookie-check" }],
9
+ "detectPopup": [{ "visible": ".cc-window:not(.cc-invisible) .cc-compliance" }],
10
+ "optIn": [{ "waitForThenClick": ".cc-window .cc-dismiss" }],
11
+ "optOut": [
12
+ { "waitForThenClick": ".cc-window .cc-settings", "retry": 3 },
13
+ { "waitForVisible": ".cc-window .dp--cookie-check" },
14
+ { "click": ".cc-window .dp--check-box:checked:not(:disabled)", "all": true, "optional": true },
15
+ { "waitForThenClick": ".cc-window .cc-allow" }
16
+ ],
17
+ "test": [{ "cookieContains": "\"dp--cookie-marketing\":false" }]
18
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "biblia-online.pl",
3
+ "_metadata": {
4
+ "vendorUrl": "https://biblia-online.pl/"
5
+ },
6
+ "cosmetic": true,
7
+ "runContext": {
8
+ "main": true,
9
+ "frame": false,
10
+ "urlPattern": "^https?://(\\w+\\.)?biblia-online\\.pl/"
11
+ },
12
+ "prehideSelectors": [".cookies-box"],
13
+ "detectCmp": [
14
+ {
15
+ "exists": ".cookies-box #btn-accept-cookies"
16
+ }
17
+ ],
18
+ "detectPopup": [
19
+ {
20
+ "visible": ".cookies-box"
21
+ }
22
+ ],
23
+ "optIn": [
24
+ {
25
+ "waitForThenClick": ".cookies-box #btn-accept-cookies"
26
+ }
27
+ ],
28
+ "optOut": [
29
+ {
30
+ "comment": "notice only offers an accept button",
31
+ "hide": ".cookies-box"
32
+ }
33
+ ],
34
+ "test": [
35
+ {
36
+ "visible": ".cookies-box",
37
+ "check": "none"
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,57 @@
1
+ {
2
+ "name": "bitauto",
3
+ "vendorUrl": "https://www.bitauto.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?bitauto\\.com/"
6
+ },
7
+ "prehideSelectors": [".authorize"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".authorize .lnk-disagree"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".authorize .lnk-disagree"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".authorize .lnk-agree"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".authorize .lnk-disagree"
26
+ },
27
+ {
28
+ "waitForVisible": ".fc-consent-root .fc-dialog-container",
29
+ "timeout": 4000,
30
+ "optional": true
31
+ },
32
+ {
33
+ "if": {
34
+ "visible": ".fc-consent-root .fc-dialog-container"
35
+ },
36
+ "then": [
37
+ {
38
+ "click": ".fc-cta-do-not-consent,.fc-cta-manage-options"
39
+ },
40
+ {
41
+ "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked",
42
+ "all": true,
43
+ "optional": true
44
+ },
45
+ {
46
+ "click": ".fc-confirm-choices",
47
+ "optional": true
48
+ }
49
+ ]
50
+ }
51
+ ],
52
+ "test": [
53
+ {
54
+ "cookieContains": "save_open_time=ok"
55
+ }
56
+ ]
57
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "blogger-cookie-notice",
3
+ "vendorUrl": "https://www.blogger.com/go/blogspot-cookies",
4
+ "prehideSelectors": ["#cookieChoiceInfo.cookie-choices-info"],
5
+ "detectCmp": [{ "exists": "#cookieChoiceInfo.cookie-choices-info #cookieChoiceDismiss" }],
6
+ "detectPopup": [{ "visible": "#cookieChoiceInfo.cookie-choices-info" }],
7
+ "optIn": [{ "waitForThenClick": "#cookieChoiceInfo #cookieChoiceDismiss" }],
8
+ "optOut": [{ "waitForThenClick": "#cookieChoiceInfo #cookieChoiceDismiss" }],
9
+ "test": [{ "cookieContains": "displayCookieNotice=y" }]
10
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "brainshare",
3
+ "runContext": {
4
+ "urlPattern": "^https?://([\\w-]+\\.)?brainshare\\.pl/"
5
+ },
6
+ "prehideSelectors": ["div.cookiePolicy"],
7
+ "detectCmp": [{ "exists": "div.cookiePolicy > span[href='#']" }],
8
+ "detectPopup": [{ "visible": "div.cookiePolicy" }],
9
+ "optIn": [{ "waitForThenClick": "div.cookiePolicy > span[href='#']" }],
10
+ "optOut": [{ "waitForThenClick": "div.cookiePolicy > span[href='#']" }],
11
+ "test": [{ "cookieContains": "cookiePol=1" }]
12
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "brandsforstudents.ch",
3
+ "runContext": { "urlPattern": "^https?://(www\\.)?brandsfor(students|employees)\\.ch/" },
4
+ "prehideSelectors": [".cookiebanner-container"],
5
+ "detectCmp": [{ "exists": ".cookiebanner-container [data-test=adjust-cookies]" }],
6
+ "detectPopup": [{ "visible": ".cookiebanner-container" }],
7
+ "optIn": [{ "waitForThenClick": ".cookiebanner-container .buttons-container button:not([data-test=adjust-cookies])" }],
8
+ "optOut": [
9
+ { "waitForThenClick": ".cookiebanner-container [data-test=adjust-cookies]" },
10
+ { "waitFor": ".cookiebanner-container .checkbox-container" },
11
+ {
12
+ "click": ".cookiebanner-container .checkbox-container input[type=checkbox]:checked:not(:disabled)",
13
+ "all": true,
14
+ "optional": true
15
+ },
16
+ { "waitForThenClick": ".cookiebanner-container .buttons-container button:not([data-test=adjust-cookies])" }
17
+ ],
18
+ "test": [{ "cookieContains": "cookies-accepted=false" }]
19
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "bt-com-au",
3
+ "vendorUrl": "https://www.bt.com.au/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?bt\\.com\\.au/"
6
+ },
7
+ "prehideSelectors": ["#js-cookie-alert #cookie"],
8
+ "detectCmp": [{ "exists": "#js-cookie-alert #cookie" }],
9
+ "detectPopup": [{ "visible": "#js-cookie-alert.show #cookie" }],
10
+ "optIn": [{ "waitForThenClick": "#js-cookie-alert #cookie button.closeAlert" }],
11
+ "optOut": [{ "waitForThenClick": "#js-cookie-alert #cookie button.closeAlert" }],
12
+ "test": [{ "waitForVisible": "#js-cookie-alert #cookie", "check": "none", "timeout": 1000 }]
13
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "c-cookie-message",
3
+ "cosmetic": true,
4
+ "prehideSelectors": ["div.c-cookie-message.fixed"],
5
+ "detectCmp": [{ "exists": "div.c-cookie-message.fixed > div > button" }],
6
+ "detectPopup": [{ "visible": "div.c-cookie-message.fixed > div > button" }],
7
+ "optIn": [{ "waitForThenClick": "div.c-cookie-message.fixed > div > button" }],
8
+ "optOut": [{ "hide": "div.c-cookie-message.fixed" }]
9
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "calclife.net",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?calclife\\.net/"
5
+ },
6
+ "prehideSelectors": [".cookie-consent"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": ".cookie-consent .cookie-consent__customize"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": ".cookie-consent .cookie-consent__customize"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": ".cookie-consent .cookie-consent__accept-all"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": ".cookie-consent .cookie-consent__customize"
25
+ },
26
+ {
27
+ "waitForVisible": ".cookie-consent .cookie-consent__details"
28
+ },
29
+ {
30
+ "if": {
31
+ "exists": "#consent-analytics:checked"
32
+ },
33
+ "then": [
34
+ {
35
+ "click": "#consent-analytics"
36
+ }
37
+ ]
38
+ },
39
+ {
40
+ "click": ".cookie-consent .cookie-consent__save"
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "casino-guru",
3
+ "_metadata": {
4
+ "vendorUrl": "https://casino.guru/"
5
+ },
6
+ "cosmetic": true,
7
+ "prehideSelectors": [".js-cookies-policy-alert"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".js-cookies-policy-alert [class*=\"cookies-policy-alert-body\"] [onclick*=\"js-cookies-policy-alert\"]"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".js-cookies-policy-alert [class*=\"cookies-policy-alert-body\"]"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".js-cookies-policy-alert [onclick*=\"js-cookies-policy-alert\"]"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "hide": ".js-cookies-policy-alert"
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "code3-cookies-consent",
3
+ "vendorUrl": "https://code3.ca/",
4
+ "prehideSelectors": ["#cookiesConsentBanner"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#cookiesConsentBanner"
8
+ },
9
+ {
10
+ "exists": "#cookiesParametersModal"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookiesConsentBanner"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookiesConsentBanner .accept-all-cookies"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "if": {
26
+ "visible": "#cookiesConsentBanner .refuse-all-cookies"
27
+ },
28
+ "then": [
29
+ {
30
+ "click": "#cookiesConsentBanner .refuse-all-cookies"
31
+ }
32
+ ],
33
+ "else": [
34
+ {
35
+ "click": "#cookiesParametersModal .refuse-all-cookies"
36
+ }
37
+ ]
38
+ }
39
+ ],
40
+ "test": [
41
+ {
42
+ "cookieContains": "cookiesConsentDone=true"
43
+ },
44
+ {
45
+ "cookieContains": "%22performanceCookies%22:false"
46
+ }
47
+ ]
48
+ }
@@ -49,10 +49,15 @@
49
49
  "click": ".cmp-pref-link"
50
50
  },
51
51
  {
52
- "waitForThenClick": ".cmp-body [id*=rejectAll]"
52
+ "waitForVisible": ".cmp-body .cmp-save-btn"
53
53
  },
54
54
  {
55
- "waitForThenClick": ".cmp-body .cmp-save-btn"
55
+ "comment": "absent when the only category is the read-only essential one",
56
+ "click": ".cmp-body [id*=rejectAll]",
57
+ "optional": true
58
+ },
59
+ {
60
+ "click": ".cmp-body .cmp-save-btn"
56
61
  }
57
62
  ]
58
63
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "cookie-agree-banner",
3
+ "cosmetic": true,
4
+ "prehideSelectors": [".cookie-consent:has(> .cookie-text + .cookie-agree:last-child)"],
5
+ "detectCmp": [{ "exists": ".cookie-consent > .cookie-text + .cookie-agree:last-child" }],
6
+ "detectPopup": [{ "visible": ".cookie-consent > .cookie-text + .cookie-agree:last-child" }],
7
+ "optIn": [{ "waitForThenClick": ".cookie-consent > .cookie-text + .cookie-agree:last-child" }],
8
+ "optOut": [{ "hide": ".cookie-consent:has(> .cookie-text + .cookie-agree:last-child)" }]
9
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "cookie-box-notice",
3
+ "detectCmp": [
4
+ {
5
+ "exists": "xpath///div[contains(@class,'cookie-box__in')]//*[contains(concat(' ',normalize-space(@class),' '),' cookie-box__btn ')][normalize-space()='OK' or normalize-space()='OK' or normalize-space()='確認しました' or normalize-space()='閉じる']"
6
+ }
7
+ ],
8
+ "detectPopup": [
9
+ {
10
+ "visible": "xpath///div[contains(@class,'cookie-box__in')]//*[contains(concat(' ',normalize-space(@class),' '),' cookie-box__btn ')][normalize-space()='OK' or normalize-space()='OK' or normalize-space()='確認しました' or normalize-space()='閉じる']"
11
+ },
12
+ {
13
+ "exists": ".cookie-box__in.js-load--on:not(.js-load)",
14
+ "negated": true
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "xpath///div[contains(@class,'cookie-box__in')]//*[contains(concat(' ',normalize-space(@class),' '),' cookie-box__btn ')][normalize-space()='OK' or normalize-space()='OK' or normalize-space()='確認しました' or normalize-space()='閉じる']"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "xpath///div[contains(@class,'cookie-box__in')]//*[contains(concat(' ',normalize-space(@class),' '),' cookie-box__btn ')][normalize-space()='OK' or normalize-space()='OK' or normalize-space()='確認しました' or normalize-space()='閉じる']"
25
+ }
26
+ ],
27
+ "test": [
28
+ {
29
+ "any": [
30
+ {
31
+ "exists": ".cookie-box__in.js-load--on:not(.js-load)"
32
+ },
33
+ {
34
+ "waitForVisible": "xpath///div[contains(@class,'cookie-box__in')]//*[contains(concat(' ',normalize-space(@class),' '),' cookie-box__btn ')][normalize-space()='OK' or normalize-space()='OK' or normalize-space()='確認しました' or normalize-space()='閉じる']",
35
+ "check": "none",
36
+ "timeout": 2000
37
+ }
38
+ ]
39
+ }
40
+ ]
41
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "cookie-use-notice",
3
+ "prehideSelectors": [".cookie-use-notice"],
4
+ "detectCmp": [{ "exists": ".cookie-use-notice #decline-cookie" }],
5
+ "detectPopup": [{ "visible": ".cookie-use-notice #decline-cookie" }],
6
+ "optIn": [{ "waitForThenClick": ".cookie-use-notice #accept-cookie" }],
7
+ "optOut": [
8
+ { "waitForThenClick": ".cookie-use-notice #decline-cookie" },
9
+ { "waitForVisible": ".cookie-use-notice", "check": "none", "timeout": 2000 }
10
+ ],
11
+ "test": [{ "cookieContains": "-cookie=deny" }]
12
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "cookieinfo-zamknij",
3
+ "vendorUrl": "https://unknown",
4
+ "prehideSelectors": [".JSWrapper:has(#cookieInfoZamknij)"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#cookieInfoZamknij"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#cookieInfoZamknij"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#cookieInfoZamknij"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#cookieInfoZamknij"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "js_on=1"
28
+ }
29
+ ]
30
+ }