@duckduckgo/autoconsent 16.57.0 → 16.59.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 (204) hide show
  1. package/CHANGELOG.md +123 -0
  2. package/dist/addon-firefox/background.bundle.js +1 -1
  3. package/dist/addon-firefox/compact-rules.json +1 -1
  4. package/dist/addon-firefox/manifest.json +1 -1
  5. package/dist/addon-firefox/popup.bundle.js +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 +1 -1
  9. package/dist/addon-mv3/compact-rules.json +1 -1
  10. package/dist/addon-mv3/manifest.json +1 -1
  11. package/dist/addon-mv3/popup.bundle.js +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.standalone.js +1 -1
  15. package/package.json +4 -6
  16. package/rules/autoconsent/123inkt.json +9 -0
  17. package/rules/autoconsent/aemet.json +35 -0
  18. package/rules/autoconsent/animatetimes.json +34 -0
  19. package/rules/autoconsent/asahi-interactive.json +30 -0
  20. package/rules/autoconsent/avada-privacy-bar-cosmetic.json +28 -0
  21. package/rules/autoconsent/avada-privacy-bar.json +70 -0
  22. package/rules/autoconsent/axesor.json +13 -0
  23. package/rules/autoconsent/bakeca.json +13 -0
  24. package/rules/autoconsent/bleau-cookiecontrol.json +10 -0
  25. package/rules/autoconsent/blitzrechner.json +16 -0
  26. package/rules/autoconsent/brainsum-cookieconsent.json +25 -0
  27. package/rules/autoconsent/bwr-cookie.json +13 -0
  28. package/rules/autoconsent/capitalone-ca.json +13 -0
  29. package/rules/autoconsent/carpetaciudadana.json +51 -0
  30. package/rules/autoconsent/cf-gdpr-cookie-consent.json +23 -0
  31. package/rules/autoconsent/chatgpt.json +3 -3
  32. package/rules/autoconsent/chomikuj.json +13 -0
  33. package/rules/autoconsent/cksmodal.json +9 -0
  34. package/rules/autoconsent/consent-studio.json +29 -0
  35. package/rules/autoconsent/cookie-popup-cookieno.json +29 -0
  36. package/rules/autoconsent/cookie-popup-cookieok.json +25 -0
  37. package/rules/autoconsent/cookieconsent2.json +1 -1
  38. package/rules/autoconsent/cookieman.json +23 -4
  39. package/rules/autoconsent/costco.json +5 -2
  40. package/rules/autoconsent/daikin.json +10 -0
  41. package/rules/autoconsent/danskebank.json +17 -0
  42. package/rules/autoconsent/dintel.json +13 -0
  43. package/rules/autoconsent/e-grip.json +63 -0
  44. package/rules/autoconsent/eccmm.json +30 -0
  45. package/rules/autoconsent/educamadrid.json +37 -0
  46. package/rules/autoconsent/england-nhs-uk.json +18 -0
  47. package/rules/autoconsent/erdee-media.json +24 -0
  48. package/rules/autoconsent/escorteintime.json +15 -0
  49. package/rules/autoconsent/gays-cruising.json +18 -0
  50. package/rules/autoconsent/gobiernodecanarias.json +46 -0
  51. package/rules/autoconsent/gov-pl-cookies-info.json +28 -0
  52. package/rules/autoconsent/grupa-pracuj.json +73 -0
  53. package/rules/autoconsent/grupa-rmf.json +21 -0
  54. package/rules/autoconsent/gsb-cookiebanner-selection.json +12 -0
  55. package/rules/autoconsent/gwo.json +53 -0
  56. package/rules/autoconsent/hsbc-au.json +35 -0
  57. package/rules/autoconsent/ign-es.json +35 -0
  58. package/rules/autoconsent/impress-co-jp.json +10 -0
  59. package/rules/autoconsent/iworks-footer-notice.json +19 -0
  60. package/rules/autoconsent/juzaphoto.json +13 -0
  61. package/rules/autoconsent/leukhuis-nl.json +35 -0
  62. package/rules/autoconsent/lg-cookiecontrol.json +16 -0
  63. package/rules/autoconsent/libris.nl.json +19 -0
  64. package/rules/autoconsent/librus.json +21 -0
  65. package/rules/autoconsent/lineagrafica-reject.json +32 -0
  66. package/rules/autoconsent/matemaks.json +29 -0
  67. package/rules/autoconsent/mega-io.json +24 -0
  68. package/rules/autoconsent/merito.pl.json +44 -0
  69. package/rules/autoconsent/minitool.json +31 -0
  70. package/rules/autoconsent/miteco.json +41 -0
  71. package/rules/autoconsent/mobile-de.json +13 -0
  72. package/rules/autoconsent/mq-edu-au.json +26 -0
  73. package/rules/autoconsent/nowaera.json +44 -0
  74. package/rules/autoconsent/olvg.json +45 -0
  75. package/rules/autoconsent/optyczne-pl.json +28 -0
  76. package/rules/autoconsent/orbys.json +35 -0
  77. package/rules/autoconsent/payfip.json +36 -0
  78. package/rules/autoconsent/pdf24.json +48 -0
  79. package/rules/autoconsent/pekao24.json +33 -0
  80. package/rules/autoconsent/praca-pl.json +17 -0
  81. package/rules/autoconsent/pubtech.json +13 -1
  82. package/rules/autoconsent/rabobank.json +62 -0
  83. package/rules/autoconsent/remove-cookie-notice.json +18 -0
  84. package/rules/autoconsent/rijksoverheid-notification-bar.json +34 -0
  85. package/rules/autoconsent/route-inn.json +13 -0
  86. package/rules/autoconsent/sc-cookie-banner.json +29 -0
  87. package/rules/autoconsent/sedlak-gdpr-cookie.json +10 -0
  88. package/rules/autoconsent/seniorweb.json +42 -0
  89. package/rules/autoconsent/shouldianswer.json +14 -0
  90. package/rules/autoconsent/shueisha-gigaviewer.json +10 -0
  91. package/rules/autoconsent/snb.ch.json +18 -0
  92. package/rules/autoconsent/soteshop.json +29 -0
  93. package/rules/autoconsent/sujetdebac.fr.json +10 -0
  94. package/rules/autoconsent/swisscom-ecare.json +31 -0
  95. package/rules/autoconsent/tealium.json +6 -4
  96. package/rules/autoconsent/telegram-im.json +36 -0
  97. package/rules/autoconsent/thomsonlocal.com.json +10 -0
  98. package/rules/autoconsent/tinder.json +23 -0
  99. package/rules/autoconsent/todostuslibros.json +51 -0
  100. package/rules/autoconsent/turkishairlines.com.json +33 -0
  101. package/rules/autoconsent/usherbrooke.json +16 -0
  102. package/rules/autoconsent/vd-ch.json +34 -0
  103. package/rules/autoconsent/vdg-cookies.json +36 -0
  104. package/rules/autoconsent/warszawa19115.pl.json +52 -0
  105. package/rules/autoconsent/wirtualna-polska.json +38 -0
  106. package/rules/autoconsent/wojsko-polskie-pl.json +28 -0
  107. package/rules/autoconsent/xtb.json +18 -0
  108. package/rules/autoconsent/zurich-cookies-notification-banner.json +17 -0
  109. package/rules/compact-rules.json +1 -1
  110. package/rules/rule-index.json +1 -1
  111. package/rules/rules.json +1 -1
  112. package/tests/123inkt.spec.ts +5 -0
  113. package/tests/aemet.spec.ts +3 -0
  114. package/tests/animatetimes.spec.ts +3 -0
  115. package/tests/asahi-interactive.spec.ts +6 -0
  116. package/tests/avada-privacy-bar-cosmetic.spec.ts +3 -0
  117. package/tests/avada-privacy-bar.spec.ts +12 -0
  118. package/tests/axesor.spec.ts +3 -0
  119. package/tests/bakeca.spec.ts +3 -0
  120. package/tests/bleau-cookiecontrol.spec.ts +3 -0
  121. package/tests/blitzrechner.spec.ts +3 -0
  122. package/tests/brainsum-cookieconsent.spec.ts +9 -0
  123. package/tests/bwr-cookie.spec.ts +3 -0
  124. package/tests/capitalone-ca.spec.ts +3 -0
  125. package/tests/carpetaciudadana.spec.ts +6 -0
  126. package/tests/cf-gdpr-cookie-consent.spec.ts +3 -0
  127. package/tests/chatgpt.spec.ts +3 -1
  128. package/tests/chomikuj.spec.ts +3 -0
  129. package/tests/cksmodal.spec.ts +3 -0
  130. package/tests/consent-studio.spec.ts +10 -0
  131. package/tests/cookie-popup-cookieno.spec.ts +8 -0
  132. package/tests/cookie-popup-cookieok.spec.ts +9 -0
  133. package/tests/cookieconsent2.spec.ts +2 -2
  134. package/tests/cookieman.spec.ts +1 -0
  135. package/tests/costco.spec.ts +1 -1
  136. package/tests/daikin.spec.ts +3 -0
  137. package/tests/danskebank.spec.ts +12 -0
  138. package/tests/dintel.spec.ts +10 -0
  139. package/tests/e-grip.spec.ts +8 -0
  140. package/tests/eccmm.spec.ts +6 -0
  141. package/tests/educamadrid.spec.ts +7 -0
  142. package/tests/england-nhs-uk.spec.ts +3 -0
  143. package/tests/erdee-media.spec.ts +3 -0
  144. package/tests/escorteintime.spec.ts +3 -0
  145. package/tests/gays-cruising.spec.ts +3 -0
  146. package/tests/gobiernodecanarias.spec.ts +10 -0
  147. package/tests/gov-pl-cookies-info.spec.ts +3 -0
  148. package/tests/grupa-pracuj.spec.ts +8 -0
  149. package/tests/grupa-rmf.spec.ts +5 -0
  150. package/tests/gsb-cookiebanner-selection.spec.ts +7 -0
  151. package/tests/gwo.spec.ts +6 -0
  152. package/tests/hsbc-au.spec.ts +6 -0
  153. package/tests/ign-es.spec.ts +3 -0
  154. package/tests/impress-co-jp.spec.ts +8 -0
  155. package/tests/iworks-footer-notice.spec.ts +3 -0
  156. package/tests/juzaphoto.spec.ts +7 -0
  157. package/tests/leukhuis-nl.spec.ts +3 -0
  158. package/tests/lg-cookiecontrol.spec.ts +10 -0
  159. package/tests/libris.nl.spec.ts +3 -0
  160. package/tests/librus.spec.ts +6 -0
  161. package/tests/lineagrafica-reject.spec.ts +8 -0
  162. package/tests/matemaks.spec.ts +3 -0
  163. package/tests/mega-io.spec.ts +3 -0
  164. package/tests/merito.pl.spec.ts +3 -0
  165. package/tests/minitool.spec.ts +8 -0
  166. package/tests/miteco.spec.ts +8 -0
  167. package/tests/mobile-de.spec.ts +3 -0
  168. package/tests/mq-edu-au.spec.ts +3 -0
  169. package/tests/nowaera.spec.ts +3 -0
  170. package/tests/olvg.spec.ts +6 -0
  171. package/tests/optyczne-pl.spec.ts +3 -0
  172. package/tests/orbys.spec.ts +3 -0
  173. package/tests/payfip.spec.ts +3 -0
  174. package/tests/pdf24.spec.ts +3 -0
  175. package/tests/pekao24.spec.ts +3 -0
  176. package/tests/praca-pl.spec.ts +3 -0
  177. package/tests/pubtech.spec.ts +6 -4
  178. package/tests/rabobank.spec.ts +17 -0
  179. package/tests/remove-cookie-notice.spec.ts +3 -0
  180. package/tests/rijksoverheid-notification-bar.spec.ts +3 -0
  181. package/tests/route-inn.spec.ts +3 -0
  182. package/tests/sc-cookie-banner.spec.ts +12 -0
  183. package/tests/sedlak-gdpr-cookie.spec.ts +6 -0
  184. package/tests/seniorweb.spec.ts +3 -0
  185. package/tests/shouldianswer.spec.ts +8 -0
  186. package/tests/shueisha-gigaviewer.spec.ts +3 -0
  187. package/tests/snb.ch.spec.ts +3 -0
  188. package/tests/soteshop.spec.ts +3 -0
  189. package/tests/sujetdebac.fr.spec.ts +3 -0
  190. package/tests/swisscom-ecare.spec.ts +7 -0
  191. package/tests/tealium.spec.ts +6 -0
  192. package/tests/telegram-im.spec.ts +6 -0
  193. package/tests/thomsonlocal.com.spec.ts +3 -0
  194. package/tests/tinder.spec.ts +3 -0
  195. package/tests/todostuslibros.spec.ts +3 -0
  196. package/tests/turkishairlines.com.spec.ts +3 -0
  197. package/tests/usherbrooke.spec.ts +6 -0
  198. package/tests/vd-ch.spec.ts +3 -0
  199. package/tests/vdg-cookies.spec.ts +8 -0
  200. package/tests/warszawa19115.pl.spec.ts +3 -0
  201. package/tests/wirtualna-polska.spec.ts +3 -0
  202. package/tests/wojsko-polskie-pl.spec.ts +3 -0
  203. package/tests/xtb.spec.ts +3 -0
  204. package/tests/zurich-cookies-notification-banner.spec.ts +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckduckgo/autoconsent",
3
- "version": "16.57.0",
3
+ "version": "16.59.0",
4
4
  "description": "",
5
5
  "types": "./dist/types/web.d.ts",
6
6
  "exports": {
@@ -48,7 +48,7 @@
48
48
  "author": "Sam Macbeth",
49
49
  "license": "MPL-2.0",
50
50
  "devDependencies": {
51
- "@duckduckgo/eslint-config": "github:duckduckgo/eslint-config#v0.3.1",
51
+ "@duckduckgo/eslint-config": "github:duckduckgo/eslint-config#v0.4.0",
52
52
  "@esm-bundle/chai": "^4.3.4-fix.0",
53
53
  "@octokit/rest": "^22.0.1",
54
54
  "@playwright/test": "^1.63.0",
@@ -72,9 +72,10 @@
72
72
  "jsonc-parser": "^3.3.1",
73
73
  "markdown-it": "^15.0.2",
74
74
  "mocha": "^12.0.3",
75
- "prettier": "3.9.9",
75
+ "prettier": "3.9.10",
76
76
  "randexp": "^0.5.3",
77
77
  "sinon": "^22.0.0",
78
+ "tldts-experimental": "^7.4.3",
78
79
  "ts-json-schema-generator": "^2.3.0",
79
80
  "ts-node": "^10.9.2",
80
81
  "tslib": "^2.4.0",
@@ -198,8 +199,5 @@
198
199
  "plugins": [
199
200
  "npm"
200
201
  ]
201
- },
202
- "dependencies": {
203
- "tldts-experimental": "^7.4.3"
204
202
  }
205
203
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "123inkt",
3
+ "vendorUrl": "https://www.123inkt.nl/",
4
+ "prehideSelectors": [".c-simple-popup:has(.c-cookie-popup)"],
5
+ "detectCmp": [{ "exists": ".c-cookie-popup [data-role=refuse-cookies]" }],
6
+ "detectPopup": [{ "visible": ".c-cookie-popup", "check": "any" }],
7
+ "optIn": [{ "waitForThenClick": ".c-cookie-popup [data-role=accept-cookies]" }],
8
+ "optOut": [{ "waitForThenClick": ".c-cookie-popup [data-role=refuse-cookies]" }]
9
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "aemet",
3
+ "vendorUrl": "https://www.aemet.es/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?aemet\\.es/"
7
+ },
8
+ "prehideSelectors": ["#popup_cookies"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "#popup_cookies .boton_cookies"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "#popup_cookies"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "#popup_cookies .boton_cookies"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": "#popup_cookies"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "visible": "#popup_cookies",
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "animatetimes",
3
+ "vendorUrl": "https://www.animatetimes.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?animatetimes\\.com/"
6
+ },
7
+ "prehideSelectors": ["#cookie-agreement"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookie-agreement"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookie-agreement"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookie-agreement .agree"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#cookie-agreement .dismiss"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "visible": "#cookie-agreement",
31
+ "check": "none"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "asahi-interactive",
3
+ "vendorUrl": "https://aiasahi.jp/cookie/",
4
+ "prehideSelectors": ["#gdpr_area"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#gdpr_area .gdpr_area_inner"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#gdpr_area"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#gdpr_area .gdpr_btn_agree, #gdpr_area #gdpr_btn_agree"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#gdpr_area .gdpr_btn_agree, #gdpr_area #gdpr_btn_agree"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "is_gdpr_agree=1"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "avada-privacy-bar-cosmetic",
3
+ "vendorUrl": "https://avada.com/",
4
+ "cosmetic": true,
5
+ "prehideSelectors": [".fusion-privacy-bar"],
6
+ "detectCmp": [
7
+ {
8
+ "exists": ".fusion-privacy-bar .fusion-privacy-bar-acceptance"
9
+ }
10
+ ],
11
+ "detectPopup": [
12
+ {
13
+ "visible": ".fusion-privacy-bar",
14
+ "check": "any"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "click": ".fusion-privacy-bar .fusion-privacy-bar-acceptance",
20
+ "all": true
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "hide": ".fusion-privacy-bar"
26
+ }
27
+ ]
28
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "avada-privacy-bar",
3
+ "vendorUrl": "https://avada.com/",
4
+ "prehideSelectors": [".fusion-privacy-bar"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".fusion-privacy-bar .fusion-privacy-bar-reject, .fusion-privacy-bar .fusion-privacy-choices input[type=\"checkbox\"]:not(:disabled)"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".fusion-privacy-bar",
13
+ "check": "any"
14
+ }
15
+ ],
16
+ "optIn": [
17
+ {
18
+ "if": {
19
+ "exists": ".fusion-privacy-bar .fusion-privacy-bar-accept-all"
20
+ },
21
+ "then": [
22
+ {
23
+ "click": ".fusion-privacy-bar .fusion-privacy-bar-accept-all"
24
+ }
25
+ ],
26
+ "else": [
27
+ {
28
+ "click": ".fusion-privacy-bar .fusion-privacy-choices input[type=\"checkbox\"]:not(:checked):not(:disabled)",
29
+ "all": true,
30
+ "optional": true
31
+ },
32
+ {
33
+ "click": ".fusion-privacy-bar .fusion-privacy-bar-acceptance",
34
+ "all": true
35
+ }
36
+ ]
37
+ }
38
+ ],
39
+ "optOut": [
40
+ {
41
+ "if": {
42
+ "exists": ".fusion-privacy-bar .fusion-privacy-bar-reject"
43
+ },
44
+ "then": [
45
+ {
46
+ "click": ".fusion-privacy-bar .fusion-privacy-bar-reject",
47
+ "all": true
48
+ }
49
+ ],
50
+ "else": [
51
+ {
52
+ "click": ".fusion-privacy-bar .fusion-privacy-choices input[type=\"checkbox\"]:checked:not(:disabled)",
53
+ "all": true,
54
+ "optional": true
55
+ },
56
+ {
57
+ "click": ".fusion-privacy-bar .fusion-privacy-bar-acceptance",
58
+ "all": true
59
+ }
60
+ ]
61
+ }
62
+ ],
63
+ "test": [
64
+ {
65
+ "waitForVisible": ".fusion-privacy-bar",
66
+ "check": "none",
67
+ "timeout": 1000
68
+ }
69
+ ]
70
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "axesor",
3
+ "vendorUrl": "https://www.axesor.es/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://([\\w-]+\\.)?axesor\\.es/"
6
+ },
7
+ "prehideSelectors": ["#popup-cookies"],
8
+ "detectCmp": [{ "exists": "#popup-cookies .cancelar-popup" }],
9
+ "detectPopup": [{ "visible": "#popup-cookies .cancelar-popup" }],
10
+ "optIn": [{ "waitForThenClick": "#popup-cookies .aceptar-popup" }],
11
+ "optOut": [{ "waitForThenClick": "#popup-cookies .cancelar-popup" }],
12
+ "test": [{ "cookieContains": "disclaimerCookies=12=false&14=false&15=false" }]
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "bakeca",
3
+ "vendorUrl": "https://www.bakecaincontrii.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://([\\w-]+\\.)?bakecaincontrii\\.com/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [{ "exists": ".ui-alert.bottom-fixed a[data-href*='cookie-policy']" }],
9
+ "detectPopup": [{ "visible": ".ui-alert.bottom-fixed" }],
10
+ "optIn": [{ "waitForThenClick": ".ui-alert.bottom-fixed .text-center button" }],
11
+ "optOut": [{ "waitForThenClick": ".ui-alert.bottom-fixed button.close" }],
12
+ "test": [{ "waitForVisible": ".ui-alert.bottom-fixed", "check": "none", "timeout": 2000 }]
13
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "bleau-cookiecontrol",
3
+ "vendorUrl": "https://bleau.dk/",
4
+ "prehideSelectors": ["#cconsent-modal"],
5
+ "detectCmp": [{ "exists": "#cconsent-modal .ccm__footer .consent-givenone" }],
6
+ "detectPopup": [{ "visible": "#cconsent-modal.ccm--visible .ccm__footer .consent-givenone" }],
7
+ "optIn": [{ "waitForThenClick": "#cconsent-modal .ccm__footer .consent-give" }],
8
+ "optOut": [{ "waitForThenClick": "#cconsent-modal .ccm__footer .consent-givenone" }],
9
+ "test": [{ "waitForVisible": "#cconsent-modal", "check": "none" }, { "cookieContains": "\"wanted\":false" }]
10
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "blitzrechner",
3
+ "vendorUrl": "https://www.blitzrechner.de/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?blitzrechner\\.de/"
6
+ },
7
+ "prehideSelectors": [".sygnal24-gdpr-modal-wrap"],
8
+ "detectCmp": [{ "exists": ".sygnal24-gdpr-modal-wrap" }],
9
+ "detectPopup": [{ "visible": ".sygnal24-gdpr-modal-wrap .sygnal24-gdpr-modal" }],
10
+ "optIn": [{ "waitForThenClick": ".sygnal24-gdpr-modal-wrap .sygnal24-gdpr-acceptAll" }],
11
+ "optOut": [
12
+ { "click": ".sygnal24-gdpr-modal-wrap .sygnal24-gdpr-options input:checked:not([disabled])", "all": true, "optional": true },
13
+ { "waitForThenClick": ".sygnal24-gdpr-modal-wrap .sygnal24-gdpr-accept-choice" }
14
+ ],
15
+ "test": [{ "cookieContains": "gdpr-consent=[\"necessary\"]" }]
16
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "brainsum-cookieconsent",
3
+ "vendorUrl": "https://github.com/brainsum/cookieconsent",
4
+ "prehideSelectors": ["#cconsent-bar"],
5
+ "detectCmp": [{ "exists": "#cconsent-bar .consent-give" }],
6
+ "detectPopup": [{ "visible": "#cconsent-bar:not(.ccb--hidden) .consent-give" }],
7
+ "optIn": [{ "waitForThenClick": "#cconsent-bar .consent-give" }],
8
+ "optOut": [
9
+ {
10
+ "if": { "visible": "#cconsent-bar button.consent-decline" },
11
+ "then": [{ "click": "#cconsent-bar button.consent-decline" }],
12
+ "else": [
13
+ { "click": "#cconsent-bar .ccb__edit" },
14
+ { "waitForVisible": "#ccm__footer__consent-modal-submit" },
15
+ { "click": "#cconsent-modal .ccm__switch-group[aria-checked=\"true\"]", "all": true, "optional": true },
16
+ { "click": "#cconsent-modal input.category-onoff:checked:not(:disabled)", "all": true, "optional": true },
17
+ { "click": "#ccm__footer__consent-modal-submit" }
18
+ ]
19
+ }
20
+ ],
21
+ "test": [
22
+ { "waitForVisible": "#cconsent-bar:not(.ccb--hidden) .consent-give", "check": "none" },
23
+ { "cookieContains": "\"wanted\":false" }
24
+ ]
25
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "bwr-cookie",
3
+ "prehideSelectors": [".bwr-cookie.js-cookie"],
4
+ "detectCmp": [{ "exists": ".bwr-cookie.js-cookie .js-cookie-trigger" }],
5
+ "detectPopup": [{ "visible": ".bwr-cookie.js-cookie .bwr-cookie__buttons" }],
6
+ "optIn": [{ "waitForThenClick": ".bwr-cookie.js-cookie .js-cookie-trigger-all" }],
7
+ "optOut": [
8
+ { "click": ".bwr-cookie.js-cookie input[data-cookie-option]:checked:not(:disabled)", "all": true, "optional": true },
9
+ { "waitForThenClick": ".bwr-cookie.js-cookie .js-cookie-trigger" },
10
+ { "waitForVisible": ".bwr-cookie.js-cookie", "check": "none", "timeout": 2000, "optional": true }
11
+ ],
12
+ "test": [{ "cookieContains": "ZnVuY3Rpb25hbCI6ZmFsc2UsInBlcnNvbmFsaXphdGlvbiI6ZmFsc2V9" }]
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "capitalone-ca",
3
+ "vendorUrl": "https://www.capitalone.ca/",
4
+ "runContext": {
5
+ "urlPattern": "^https://(www\\.)?capitalone\\.ca/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [{ "exists": "#privacy-banner-lh .lh-close-button" }],
9
+ "detectPopup": [{ "visible": "#privacy-banner-lh .lh-close-button" }],
10
+ "optIn": [{ "waitForThenClick": "#privacy-banner-lh .lh-close-button" }],
11
+ "optOut": [{ "waitForThenClick": "#privacy-banner-lh .lh-close-button" }],
12
+ "test": [{ "cookieContains": "lh-warning-test=manual-no" }]
13
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "carpetaciudadana",
3
+ "vendorUrl": "https://carpetaciudadana.gob.es/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?carpetaciudadana\\.gob\\.es/"
6
+ },
7
+ "prehideSelectors": [".cc-cookies .main"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".cc-cookies .main .btn-cookies-config button"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".cc-cookies .main[style*='display: block'] .btn-cookies-config button"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".cc-cookies .main .btn-cookies-accept button"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".cc-cookies .main .btn-cookies-config button"
26
+ },
27
+ {
28
+ "waitForVisible": "#modalConfigCookies #acceptAdditionalCookies"
29
+ },
30
+ {
31
+ "if": {
32
+ "exists": "#modalConfigCookies #acceptAdditionalCookies:checked"
33
+ },
34
+ "then": [
35
+ {
36
+ "click": "#modalConfigCookies #acceptAdditionalCookies"
37
+ }
38
+ ]
39
+ },
40
+ {
41
+ "waitForThenClick": "#btnConfigCookies button",
42
+ "retry": 2,
43
+ "retryInterval": 600
44
+ }
45
+ ],
46
+ "test": [
47
+ {
48
+ "cookieContains": "cookie-agreed=false"
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "cf-gdpr-cookie-consent",
3
+ "vendorUrl": "https://cyberfolks.pl/",
4
+ "prehideSelectors": [".cfGdprCookieConsentPopup"],
5
+ "detectCmp": [{ "exists": ".cfGdprCookieConsentPopup #cfGdprCookieConsentPopupSettings" }],
6
+ "detectPopup": [{ "visible": ".cfGdprCookieConsentPopup #cfGdprCookieConsentPopupSettings" }],
7
+ "optIn": [{ "waitForThenClick": ".cfGdprCookieConsentPopup #cfGdprCookieConsentPopupAccept" }],
8
+ "optOut": [
9
+ { "waitForThenClick": ".cfGdprCookieConsentPopup #cfGdprCookieConsentPopupSettings" },
10
+ { "waitForVisible": ".cfGdprCookieConsentPopup #cfGdprCookieConsentPopupSaveSettings" },
11
+ {
12
+ "if": { "exists": ".cfGdprCookieConsentPopup__settings input[type=checkbox]:checked" },
13
+ "then": [{ "click": ".cfGdprCookieConsentPopup__settings input[type=checkbox]:checked", "all": true }]
14
+ },
15
+ { "click": ".cfGdprCookieConsentPopup #cfGdprCookieConsentPopupSaveSettings" },
16
+ { "waitForVisible": ".cfGdprCookieConsentPopup", "check": "none" }
17
+ ],
18
+ "test": [
19
+ { "cookieContains": "CF_GDPR_COOKIE_CONSENT_PERFORMANCE=0" },
20
+ { "cookieContains": "CF_GDPR_COOKIE_CONSENT_SOCIAL=0" },
21
+ { "cookieContains": "CF_GDPR_COOKIE_CONSENT_MARKETING=0" }
22
+ ]
23
+ }
@@ -13,7 +13,7 @@
13
13
  "prehideSelectors": ["dialog[data-cookie-consent]:not([aria-modal]):has(form[data-privacy-consent-form])"],
14
14
  "detectCmp": [
15
15
  {
16
- "exists": "dialog[data-cookie-consent] form[data-privacy-consent-form] input[name=\"action\"][value=\"reject\"]"
16
+ "exists": "dialog[data-cookie-consent] form[data-privacy-consent-form] button[name=\"action\"][value=\"reject\"]"
17
17
  }
18
18
  ],
19
19
  "detectPopup": [
@@ -23,12 +23,12 @@
23
23
  ],
24
24
  "optIn": [
25
25
  {
26
- "waitForThenClick": "dialog[data-cookie-consent] form[data-privacy-consent-form]:has(input[name=\"action\"][value=\"accept\"]) button[type=\"submit\"]"
26
+ "waitForThenClick": "dialog[data-cookie-consent] form[data-privacy-consent-form] button[name=\"action\"][value=\"accept\"]"
27
27
  }
28
28
  ],
29
29
  "optOut": [
30
30
  {
31
- "waitForThenClick": "dialog[data-cookie-consent] form[data-privacy-consent-form]:has(input[name=\"action\"][value=\"reject\"]) button[type=\"submit\"]"
31
+ "waitForThenClick": "dialog[data-cookie-consent] form[data-privacy-consent-form] button[name=\"action\"][value=\"reject\"]"
32
32
  }
33
33
  ],
34
34
  "test": [
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "chomikuj",
3
+ "vendorUrl": "https://chomikuj.pl/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?chomikuj\\.pl/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [{ "exists": ".cookiesInfo .closeCookiesInfo" }],
9
+ "detectPopup": [{ "visible": ".cookiesInfo .closeCookiesInfo" }],
10
+ "optIn": [{ "waitForThenClick": ".cookiesInfo .closeCookiesInfo" }],
11
+ "optOut": [{ "waitForThenClick": ".cookiesInfo .closeCookiesInfo" }],
12
+ "test": [{ "waitForVisible": ".cookiesInfo", "check": "none", "timeout": 2000 }]
13
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "cksmodal",
3
+ "prehideSelectors": ["#cksModal"],
4
+ "detectCmp": [{ "exists": "#cksModal #cks .cksButtons" }],
5
+ "detectPopup": [{ "visible": "#cksModal #cks" }],
6
+ "optIn": [{ "waitForThenClick": "#cks .cksButton[onclick*=\"setCksPrefs('1')\"]" }],
7
+ "optOut": [{ "waitForThenClick": "#cks .cksLink[onclick*=\"setCksPrefs('0')\"]" }, { "waitForVisible": "#cksModal", "check": "none" }],
8
+ "test": [{ "cookieContains": "CookiePrefs=0" }]
9
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "consent-studio",
3
+ "vendorUrl": "https://consent.studio/",
4
+ "prehideSelectors": [".consent-studio .cookie-banner"],
5
+ "detectCmp": [{ "exists": ".consent-studio .cookie-banner" }],
6
+ "detectPopup": [{ "visible": ".consent-studio .cookie-banner:not(.is--hidden)" }],
7
+ "optIn": [{ "waitForThenClick": ".consent-studio .cookie-banner [data-cs-button=accept_all]" }],
8
+ "optOut": [
9
+ {
10
+ "if": { "visible": ".consent-studio .cookie-banner [data-cs-button=reject_all]" },
11
+ "then": [{ "click": ".consent-studio .cookie-banner [data-cs-button=reject_all]" }],
12
+ "else": [
13
+ {
14
+ "if": { "visible": ".consent-studio .cookie-banner .is--close-button[cs-consent=reject]" },
15
+ "then": [{ "click": ".consent-studio .cookie-banner .is--close-button[cs-consent=reject]" }],
16
+ "else": [
17
+ {
18
+ "click": ".consent-studio .cookie-banner .cookie-banner__switch[aria-checked=true]:not([aria-disabled=true])",
19
+ "all": true,
20
+ "optional": true
21
+ },
22
+ { "click": ".consent-studio .cookie-banner [data-cs-button=save]" }
23
+ ]
24
+ }
25
+ ]
26
+ }
27
+ ],
28
+ "test": [{ "wait": 500 }, { "cookieContains": "consent-studio__storage=[%22functional%22]" }]
29
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "cookie-popup-cookieno",
3
+ "prehideSelectors": ["#cookie-popup:has([onclick*=\"cookieNo()\"])"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "#cookie-popup [onclick*=\"cookieNo()\"]"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "#cookie-popup"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": "#cookie-popup [onclick*=\"cookieOk()\"]"
17
+ }
18
+ ],
19
+ "optOut": [
20
+ {
21
+ "waitForThenClick": "#cookie-popup [onclick*=\"cookieNo()\"]"
22
+ },
23
+ {
24
+ "waitForVisible": "#cookie-popup",
25
+ "check": "none",
26
+ "timeout": 3000
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "cookie-popup-cookieok",
3
+ "cosmetic": true,
4
+ "prehideSelectors": ["#cookie-popup:has([onclick*=\"cookieOk()\"]):not(:has([onclick*=\"cookieNo()\"]))"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#cookie-popup:not(:has([onclick*=\"cookieNo()\"])) [onclick*=\"cookieOk()\"]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#cookie-popup"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#cookie-popup [onclick*=\"cookieOk()\"]"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "hide": "#cookie-popup"
23
+ }
24
+ ]
25
+ }
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "detectPopup": [
12
12
  {
13
- "exists": "html.show--consent #cm"
13
+ "exists": "html.show--consent #cm, html.show--settings #s-cnt"
14
14
  },
15
15
  {
16
16
  "exists": "#s-all-bn"
@@ -3,12 +3,31 @@
3
3
  "_metadata": { "vendorUrl": "https://extensions.typo3.org/extension/cookieman" },
4
4
  "runContext": { "main": true, "frame": false },
5
5
  "prehideSelectors": ["#cookieman-modal"],
6
- "detectCmp": [{ "exists": "#cookieman-modal [data-cookieman-accept-none]" }],
7
- "detectPopup": [{ "visible": "#cookieman-modal [data-cookieman-accept-none]" }],
6
+ "detectCmp": [{ "exists": "#cookieman-modal [data-cookieman-save]" }],
7
+ "detectPopup": [{ "visible": "#cookieman-modal [data-cookieman-save]", "check": "any" }],
8
8
  "optIn": [{ "waitForThenClick": "#cookieman-modal [data-cookieman-accept-all]" }],
9
- "optOut": [{ "waitForThenClick": "#cookieman-modal [data-cookieman-accept-none]", "retry": 3, "retryInterval": 500 }],
9
+ "optOut": [
10
+ {
11
+ "if": { "exists": "#cookieman-modal [data-cookieman-accept-none]" },
12
+ "then": [{ "waitForThenClick": "#cookieman-modal [data-cookieman-accept-none]", "retry": 3, "retryInterval": 500 }],
13
+ "else": [
14
+ { "waitForThenClick": "#cookieman-modal [aria-controls=\"cookieman-settings\"]" },
15
+ { "waitForVisible": "#cookieman-modal [data-cookieman-form]", "timeout": 2000, "optional": true },
16
+ {
17
+ "click": "#cookieman-modal [data-cookieman-form] input[type=\"checkbox\"]:checked:not(:disabled)",
18
+ "all": true,
19
+ "optional": true
20
+ },
21
+ {
22
+ "waitForThenClick": "#cookieman-modal [data-cookieman-save]:not([data-cookieman-accept-all]):not([data-cookieman-accept-none])",
23
+ "retry": 3,
24
+ "retryInterval": 500
25
+ }
26
+ ]
27
+ }
28
+ ],
10
29
  "test": [
11
30
  { "cookieContains": "CookieConsent=" },
12
- { "waitForVisible": "#cookieman-modal [data-cookieman-accept-none]", "timeout": 2000, "check": "none" }
31
+ { "waitForVisible": "#cookieman-modal [data-cookieman-save]", "timeout": 2000, "check": "none" }
13
32
  ]
14
33
  }
@@ -2,11 +2,14 @@
2
2
  "name": "costco",
3
3
  "vendorUrl": "https://www.costco.ca/",
4
4
  "cosmetic": true,
5
- "comment": "The banner runs on Transcend airgap, whose setConsent() rejects consent changes unless the click event is trusted (isTrusted), so scripted clicks can't save an opt-out.",
5
+ "comment": "The banner runs on Transcend airgap, whose setConsent() rejects consent changes unless the click event is trusted (isTrusted), so scripted clicks can't save an opt-out. Scoped by urlPattern so it takes priority over the generic transcend rule, which matches the empty #transcend-consent-manager host airgap adds on some Costco subdomains.",
6
+ "runContext": {
7
+ "urlPattern": "^https?://([\\w-]+\\.)*costco(businesscentre|businessdelivery)?\\.(ca|com)/"
8
+ },
6
9
  "prehideSelectors": ["#costco-consent-manager [data-testid=\"Popup\"]"],
7
10
  "detectCmp": [
8
11
  {
9
- "exists": "#costco-consent-manager [data-testid=\"Popup\"]"
12
+ "exists": "#costco-consent-manager [data-testid=\"Popup\"], script[src*=\"/consent-ui/costco-consent-manager\"]"
10
13
  }
11
14
  ],
12
15
  "detectPopup": [