@duckduckgo/autoconsent 16.61.0 → 16.63.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 (189) hide show
  1. package/.node-version +1 -1
  2. package/CHANGELOG.md +118 -0
  3. package/dist/addon-firefox/compact-rules.json +1 -1
  4. package/dist/addon-firefox/content.bundle.js +14 -1
  5. package/dist/addon-firefox/manifest.json +1 -1
  6. package/dist/addon-firefox/rule-index.json +1 -1
  7. package/dist/addon-firefox/rules.json +1 -1
  8. package/dist/addon-mv3/compact-rules.json +1 -1
  9. package/dist/addon-mv3/content.bundle.js +14 -1
  10. package/dist/addon-mv3/manifest.json +1 -1
  11. package/dist/addon-mv3/rule-index.json +1 -1
  12. package/dist/addon-mv3/rules.json +1 -1
  13. package/dist/autoconsent.cjs.js +14 -1
  14. package/dist/autoconsent.esm.js +14 -1
  15. package/dist/autoconsent.playwright.js +14 -1
  16. package/dist/autoconsent.standalone.js +15 -2
  17. package/dist/heuristics.cjs.js +14 -1
  18. package/dist/heuristics.mjs +14 -1
  19. package/lib/heuristic-patterns.ts +17 -1
  20. package/package.json +2 -2
  21. package/rules/autoconsent/acos-cms.json +14 -0
  22. package/rules/autoconsent/adnuntius.json +31 -0
  23. package/rules/autoconsent/adstate.json +32 -0
  24. package/rules/autoconsent/appconsent-legacy.json +22 -1
  25. package/rules/autoconsent/aslroma1-it.json +36 -0
  26. package/rules/autoconsent/bancaditalia.json +29 -0
  27. package/rules/autoconsent/banknorwegian.json +19 -0
  28. package/rules/autoconsent/batteriexperten-com.json +34 -0
  29. package/rules/autoconsent/beetle-tracking.json +22 -0
  30. package/rules/autoconsent/bold-cookie-consent.json +64 -0
  31. package/rules/autoconsent/bosch-dock-privacy-settings.json +10 -0
  32. package/rules/autoconsent/bullionbypost.json +113 -0
  33. package/rules/autoconsent/buonmedico.json +32 -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/coki61.json +29 -0
  38. package/rules/autoconsent/compricer.json +19 -0
  39. package/rules/autoconsent/concordia-ch.json +13 -0
  40. package/rules/autoconsent/consentaur.json +30 -0
  41. package/rules/autoconsent/consentmagic.json +62 -0
  42. package/rules/autoconsent/cookie-notice-checkboxes.json +28 -0
  43. package/rules/autoconsent/cookie-script.json +8 -6
  44. package/rules/autoconsent/cookiesinfo-closecookies.json +9 -0
  45. package/rules/autoconsent/dack365.json +35 -0
  46. package/rules/autoconsent/ecoprivacy.json +42 -0
  47. package/rules/autoconsent/emr-ch.json +16 -0
  48. package/rules/autoconsent/eu-cookie-law-popup.json +33 -0
  49. package/rules/autoconsent/evozen.fr.json +27 -0
  50. package/rules/autoconsent/fascicolosanitario-lombardia.json +14 -0
  51. package/rules/autoconsent/fideuram.json +13 -0
  52. package/rules/autoconsent/finsweet.json +15 -4
  53. package/rules/autoconsent/fondoest.it.json +16 -0
  54. package/rules/autoconsent/fonts-google-com.json +24 -0
  55. package/rules/autoconsent/fundingchoices.json +12 -2
  56. package/rules/autoconsent/giustizia-it.json +40 -0
  57. package/rules/autoconsent/gnoccaforum.json +12 -0
  58. package/rules/autoconsent/hyrabostad.json +21 -0
  59. package/rules/autoconsent/idoctors.it.json +21 -0
  60. package/rules/autoconsent/ihavecookies.json +20 -0
  61. package/rules/autoconsent/iisvaldagno.json +35 -0
  62. package/rules/autoconsent/incomit.json +30 -0
  63. package/rules/autoconsent/ing-de.json +1 -1
  64. package/rules/autoconsent/insided.json +15 -0
  65. package/rules/autoconsent/io.no.json +36 -0
  66. package/rules/autoconsent/jollyroom.json +47 -0
  67. package/rules/autoconsent/kartverket.json +46 -0
  68. package/rules/autoconsent/klp-cookie-banner.json +32 -0
  69. package/rules/autoconsent/krieger-consent-form.json +12 -0
  70. package/rules/autoconsent/kulturit-ccm.json +11 -0
  71. package/rules/autoconsent/lexbase-se.json +35 -0
  72. package/rules/autoconsent/luxmed.json +33 -0
  73. package/rules/autoconsent/massaggiamilano.json +15 -0
  74. package/rules/autoconsent/mercedes-benz-cmm.json +55 -0
  75. package/rules/autoconsent/meta-cookie-dialog.json +37 -0
  76. package/rules/autoconsent/mittanbud.json +33 -0
  77. package/rules/autoconsent/nojazz.json +25 -0
  78. package/rules/autoconsent/octopusenergy-it.json +24 -0
  79. package/rules/autoconsent/opencmp.json +70 -0
  80. package/rules/autoconsent/pharmasave.json +13 -0
  81. package/rules/autoconsent/poki.json +37 -0
  82. package/rules/autoconsent/polisen-se.json +26 -0
  83. package/rules/autoconsent/praktikertjanst.json +16 -0
  84. package/rules/autoconsent/qtip-jgrowl-cookies.json +31 -0
  85. package/rules/autoconsent/refurbed.json +40 -0
  86. package/rules/autoconsent/rinkabyror-se.json +29 -0
  87. package/rules/autoconsent/romeo.json +47 -0
  88. package/rules/autoconsent/sfanytime.json +47 -0
  89. package/rules/autoconsent/smartweb.json +18 -0
  90. package/rules/autoconsent/sourcepoint-top.json +6 -6
  91. package/rules/autoconsent/stockholm-stad.json +42 -0
  92. package/rules/autoconsent/stright.json +19 -1
  93. package/rules/autoconsent/stripchat.com.json +26 -5
  94. package/rules/autoconsent/trustarc-newcm.json +4 -4
  95. package/rules/autoconsent/tvp.json +27 -0
  96. package/rules/autoconsent/umcg.json +16 -0
  97. package/rules/autoconsent/unive.it.json +62 -0
  98. package/rules/autoconsent/urvaerket.json +33 -0
  99. package/rules/autoconsent/vergelijkgroep.json +37 -0
  100. package/rules/autoconsent/volvocars-com.json +23 -2
  101. package/rules/autoconsent/vue-cookie-accept-decline.json +42 -0
  102. package/rules/autoconsent/widiba.json +16 -0
  103. package/rules/autoconsent/wimc-gtm-consent.json +31 -0
  104. package/rules/autoconsent/xlbygg.se.json +44 -0
  105. package/rules/compact-rules.json +1 -1
  106. package/rules/rule-index.json +1 -1
  107. package/rules/rules.json +1 -1
  108. package/tests/acos-cms.spec.ts +9 -0
  109. package/tests/adnuntius.spec.ts +8 -0
  110. package/tests/adstate.spec.ts +7 -0
  111. package/tests/appconsent-legacy.spec.ts +1 -1
  112. package/tests/aslroma1-it.spec.ts +3 -0
  113. package/tests/bancaditalia.spec.ts +15 -0
  114. package/tests/banknorwegian.spec.ts +13 -0
  115. package/tests/batteriexperten-com.spec.ts +10 -0
  116. package/tests/beetle-tracking.spec.ts +3 -0
  117. package/tests/bold-cookie-consent.spec.ts +14 -0
  118. package/tests/bosch-dock-privacy-settings.spec.ts +8 -0
  119. package/tests/bullionbypost.spec.ts +17 -0
  120. package/tests/buonmedico.spec.ts +3 -0
  121. package/tests/casier-judiciaire-justice-gouv-fr.spec.ts +3 -0
  122. package/tests/civilservicejobs-service-gov-uk.spec.ts +3 -0
  123. package/tests/coki61.spec.ts +3 -0
  124. package/tests/compricer.spec.ts +3 -0
  125. package/tests/concordia-ch.spec.ts +3 -0
  126. package/tests/consentaur.spec.ts +6 -0
  127. package/tests/consentmagic.spec.ts +10 -0
  128. package/tests/cookie-notice-checkboxes.spec.ts +13 -0
  129. package/tests/cookie-script.spec.ts +4 -0
  130. package/tests/cookiesinfo-closecookies.spec.ts +8 -0
  131. package/tests/dack365.spec.ts +3 -0
  132. package/tests/ecoprivacy.spec.ts +8 -0
  133. package/tests/emr-ch.spec.ts +3 -0
  134. package/tests/eu-cookie-law-popup.spec.ts +8 -0
  135. package/tests/evozen.fr.spec.ts +3 -0
  136. package/tests/fascicolosanitario-lombardia.spec.ts +3 -0
  137. package/tests/fideuram.spec.ts +3 -0
  138. package/tests/finsweet.spec.ts +5 -1
  139. package/tests/fondoest.it.spec.ts +6 -0
  140. package/tests/fonts-google-com.spec.ts +5 -0
  141. package/tests/fundingchoices.spec.ts +7 -1
  142. package/tests/giustizia-it.spec.ts +15 -0
  143. package/tests/gnoccaforum.spec.ts +3 -0
  144. package/tests/hyrabostad.spec.ts +3 -0
  145. package/tests/idoctors.it.spec.ts +3 -0
  146. package/tests/ihavecookies.spec.ts +3 -0
  147. package/tests/iisvaldagno.spec.ts +3 -0
  148. package/tests/incomit.spec.ts +8 -0
  149. package/tests/insided.spec.ts +9 -0
  150. package/tests/io.no.spec.ts +3 -0
  151. package/tests/jollyroom.spec.ts +9 -0
  152. package/tests/kartverket.spec.ts +3 -0
  153. package/tests/klp-cookie-banner.spec.ts +5 -0
  154. package/tests/krieger-consent-form.spec.ts +3 -0
  155. package/tests/kulturit-ccm.spec.ts +3 -0
  156. package/tests/lexbase-se.spec.ts +5 -0
  157. package/tests/luxmed.spec.ts +3 -0
  158. package/tests/massaggiamilano.spec.ts +3 -0
  159. package/tests/mercedes-benz-cmm.spec.ts +12 -0
  160. package/tests/meta-cookie-dialog.spec.ts +14 -0
  161. package/tests/mittanbud.spec.ts +3 -0
  162. package/tests/nojazz.spec.ts +7 -0
  163. package/tests/octopusenergy-it.spec.ts +3 -0
  164. package/tests/opencmp.spec.ts +22 -0
  165. package/tests/pharmasave.spec.ts +3 -0
  166. package/tests/poki.spec.ts +6 -0
  167. package/tests/polisen-se.spec.ts +3 -0
  168. package/tests/praktikertjanst.spec.ts +3 -0
  169. package/tests/qtip-jgrowl-cookies.spec.ts +9 -0
  170. package/tests/refurbed.spec.ts +10 -0
  171. package/tests/rinkabyror-se.spec.ts +3 -0
  172. package/tests/romeo.spec.ts +3 -0
  173. package/tests/sfanytime.spec.ts +3 -0
  174. package/tests/smartweb.spec.ts +17 -0
  175. package/tests/stockholm-stad.spec.ts +7 -0
  176. package/tests/stright.spec.ts +11 -0
  177. package/tests/stripchat.com.spec.ts +4 -1
  178. package/tests/trustarc-newcm.spec.ts +9 -5
  179. package/tests/tvp.spec.ts +3 -0
  180. package/tests/umcg.spec.ts +3 -0
  181. package/tests/unive.it.spec.ts +3 -0
  182. package/tests/urvaerket.spec.ts +13 -0
  183. package/tests/vergelijkgroep.spec.ts +3 -0
  184. package/tests/volvocars-com.spec.ts +1 -1
  185. package/tests/vue-cookie-accept-decline.spec.ts +8 -0
  186. package/tests/widiba.spec.ts +3 -0
  187. package/tests/wimc-gtm-consent.spec.ts +3 -0
  188. package/tests/xlbygg.se.spec.ts +3 -0
  189. package/tests-wtr/heuristics/heuristics-utils.test.ts +49 -0
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "hyrabostad.se",
3
+ "vendorUrl": "https://www.hyrabostad.se/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?hyrabostad\\.se/"
6
+ },
7
+ "prehideSelectors": ["#consent-container"],
8
+ "detectCmp": [{ "exists": "#consent-container #consent" }],
9
+ "detectPopup": [{ "visible": "#consent-container #consent" }],
10
+ "optIn": [{ "waitForThenClick": "#consent button[onclick*='saveCookieSettings(true)']" }],
11
+ "optOut": [
12
+ { "waitForThenClick": "#consent button[data-bs-target='#cookieSettings']" },
13
+ { "waitForVisible": "#cookieSettings .modal-footer" },
14
+ {
15
+ "if": { "exists": "#grantAdStorageCookies:checked" },
16
+ "then": [{ "click": "#grantAdStorageCookies:checked" }]
17
+ },
18
+ { "waitForThenClick": "#cookieSettings button[onclick*='saveCookieSettings(false)']", "retry": 3, "retryInterval": 400 }
19
+ ],
20
+ "test": [{ "visible": "#consent-container #consent,#cookieSettings", "check": "none" }]
21
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "idoctors.it",
3
+ "vendorUrl": "https://www.idoctors.it/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?idoctors\\.it/"
6
+ },
7
+ "prehideSelectors": ["#modal-cookies", "#modal-cookies-options"],
8
+ "detectCmp": [{ "exists": "#modal-cookies" }],
9
+ "detectPopup": [{ "visible": "#modal-cookies" }],
10
+ "optIn": [{ "waitForThenClick": "#modal-cookies #cookies-accetta-tutti" }],
11
+ "optOut": [
12
+ { "waitForThenClick": "#modal-cookies .cookies-settings-link" },
13
+ { "waitForVisible": "#modal-cookies-options" },
14
+ {
15
+ "if": { "exists": "#cookieMarketingSwitch:checked" },
16
+ "then": [{ "click": "#cookieMarketingSwitch" }]
17
+ },
18
+ { "waitForThenClick": "#modal-cookies-options a[href*='confermaImpostazioni']", "retry": 3, "retryInterval": 500 }
19
+ ],
20
+ "test": [{ "cookieContains": "\"marketing\":false" }]
21
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "ihavecookies",
3
+ "vendorUrl": "https://github.com/ketanmistry/ihavecookies",
4
+ "prehideSelectors": ["#gdpr-cookie-message"],
5
+ "detectCmp": [{ "exists": "#gdpr-cookie-message #gdpr-cookie-advanced" }],
6
+ "detectPopup": [{ "visible": "#gdpr-cookie-message" }],
7
+ "optIn": [{ "waitForThenClick": "#gdpr-cookie-message #gdpr-cookie-accept" }],
8
+ "optOut": [
9
+ { "waitForThenClick": "#gdpr-cookie-message #gdpr-cookie-advanced" },
10
+ { "waitForVisible": "#gdpr-cookie-types" },
11
+ { "click": "#gdpr-cookie-types input[type=checkbox]:checked:not(:disabled)", "all": true, "optional": true },
12
+ {
13
+ "if": { "visible": "#gdpr-cookie-message #gdpr-cookie-accept2" },
14
+ "then": [{ "click": "#gdpr-cookie-message #gdpr-cookie-accept2" }],
15
+ "else": [{ "click": "#gdpr-cookie-message #gdpr-cookie-accept" }]
16
+ },
17
+ { "waitForVisible": "#gdpr-cookie-message", "check": "none", "timeout": 2000, "optional": true }
18
+ ],
19
+ "test": [{ "cookieContains": "cookieControl=true" }]
20
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "iisvaldagno",
3
+ "vendorUrl": "https://www.iisvaldagno.it/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?iisvaldagno\\.it/"
7
+ },
8
+ "prehideSelectors": ["#notifica-cookies"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "#notifica-cookies .btn-chiudi"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "#notifica-cookies"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "#notifica-cookies .btn-chiudi"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": "#notifica-cookies"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "visible": "#notifica-cookies",
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "incomit",
3
+ "vendorUrl": "https://incomit.dk/",
4
+ "prehideSelectors": ["cookie-consent-element"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ["cookie-consent-element", ".incom-cookie-module"]
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ["cookie-consent-element", ".incom-cookie-module #main-cookie-view"]
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ["cookie-consent-element", "#main-cookie-view #cookie-accept-all"]
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ["cookie-consent-element", "#main-cookie-view nav button.btn:not(#cookie-accept-all)"]
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "\"isSelected\":false"
28
+ }
29
+ ]
30
+ }
@@ -10,7 +10,7 @@
10
10
  "prehideSelectors": [],
11
11
  "detectCmp": [
12
12
  {
13
- "exists": "ing-cc-manager"
13
+ "exists": ["ing-cc-manager", "ing-cc-dialog-level0"]
14
14
  }
15
15
  ],
16
16
  "detectPopup": [
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "insided",
3
+ "vendorUrl": "https://www.gainsight.com/customer-communities/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "main": true,
7
+ "frame": false
8
+ },
9
+ "prehideSelectors": ["[data-preact=\"cookie-banner/index\"] .js-cookiebar"],
10
+ "detectCmp": [{ "exists": "[data-preact=\"cookie-banner/index\"] .js-cookiebar .js-cookie-deny" }],
11
+ "detectPopup": [{ "visible": "[data-preact=\"cookie-banner/index\"] .js-cookiebar .js-cookie-deny" }],
12
+ "optIn": [{ "waitForThenClick": "[data-preact=\"cookie-banner/index\"] .js-cookiebar .js-cookie-accept" }],
13
+ "optOut": [{ "waitForThenClick": "[data-preact=\"cookie-banner/index\"] .js-cookiebar .js-cookie-deny" }],
14
+ "test": [{ "visible": "[data-preact=\"cookie-banner/index\"] .js-cookiebar .js-cookie-deny", "check": "none" }]
15
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "io.no",
3
+ "vendorUrl": "https://io.no/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "urlPattern": "^https?://([a-z0-9-]+\\.)?io\\.no/"
7
+ },
8
+ "prehideSelectors": ["#cookiebox"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "#cookiebox a.close"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "#cookiebox"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "#cookiebox a.close"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "waitForThenClick": "#cookiebox a.close"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "waitForVisible": "#cookiebox",
32
+ "check": "none",
33
+ "timeout": 1000
34
+ }
35
+ ]
36
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "jollyroom",
3
+ "vendorUrl": "https://www.jollyroom.se/",
4
+ "prehideSelectors": [".js-cookie-consent:has(.cookie-consent__settings-save)"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".js-cookie-consent .cookie-consent__settings-save"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".js-cookie-consent.cookie-consent--open .cookie-consent__button--secondary"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".js-cookie-consent .cookie-consent__button--submit"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ".js-cookie-consent .cookie-consent__button--secondary"
23
+ },
24
+ {
25
+ "if": {
26
+ "exists": ".js-cookie-consent .cookie-consent__option-checkbox:checked"
27
+ },
28
+ "then": [
29
+ {
30
+ "click": ".js-cookie-consent .cookie-consent__option-checkbox:checked",
31
+ "all": true
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "waitForThenClick": ".js-cookie-consent .cookie-consent__settings-save",
37
+ "retry": 5,
38
+ "retryInterval": 500
39
+ }
40
+ ],
41
+ "test": [
42
+ {
43
+ "visible": ".js-cookie-consent.cookie-consent--open",
44
+ "check": "none"
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "kartverket",
3
+ "vendorUrl": "https://eiendomsregisteret.kartverket.no/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "urlPattern": "^https?://([a-z0-9-]+\\.)?kartverket\\.no/"
7
+ },
8
+ "prehideSelectors": ["#root > .chakra-stack:has(> div > p > a[href=\"/cookies\"])"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "button[aria-label^=\"Tilpass informasjonskap\"]"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "button[aria-label^=\"Tilpass informasjonskap\"]"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "button[aria-label^=\"Tilpass informasjonskap\"] + button"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "waitForThenClick": "button[aria-label^=\"Tilpass informasjonskap\"]"
27
+ },
28
+ {
29
+ "waitForVisible": "xpath///button[contains(., \"Lagre val\")]"
30
+ },
31
+ {
32
+ "click": ".kvib-switch__root[data-state=\"checked\"]",
33
+ "optional": true
34
+ },
35
+ {
36
+ "click": "xpath///button[contains(., \"Lagre val\")]"
37
+ }
38
+ ],
39
+ "test": [
40
+ {
41
+ "waitForVisible": "xpath///button[contains(., \"Lagre val\")]",
42
+ "check": "none",
43
+ "timeout": 1000
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "klp-cookie-banner",
3
+ "prehideSelectors": ["#xp-cookie-banner-root dialog.xp-cookie-banner"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "#xp-cookie-banner-root dialog.xp-cookie-banner"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "#xp-cookie-banner-root dialog.xp-cookie-banner[open]"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": ".xp-cookie-banner .xp-cookie-wrapper--buttons button:not([data-button=\"secondary_cta\"])"
17
+ }
18
+ ],
19
+ "optOut": [
20
+ {
21
+ "waitForThenClick": ".xp-cookie-banner .xp-cookie-wrapper--buttons button[data-button=\"secondary_cta\"]"
22
+ }
23
+ ],
24
+ "test": [
25
+ {
26
+ "wait": 500
27
+ },
28
+ {
29
+ "cookieContains": "klp-marketing-consent=false"
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "krieger-consent-form",
3
+ "prehideSelectors": [".consentForm__container"],
4
+ "detectCmp": [{ "exists": ".consentForm__root .consentForm__acceptButton[data-accept-action=selected]" }],
5
+ "detectPopup": [{ "visible": ".consentForm__root" }],
6
+ "optIn": [{ "waitForThenClick": ".consentForm__acceptButton[data-accept-action=all] button" }],
7
+ "optOut": [
8
+ { "click": ".consentForm__optOutItem input:checked", "all": true, "optional": true },
9
+ { "waitForThenClick": ".consentForm__acceptButton[data-accept-action=selected] button" }
10
+ ],
11
+ "test": [{ "cookieContains": "optOutAccepted=true" }]
12
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "kulturit-ccm",
3
+ "vendorUrl": "https://kulturit.org/",
4
+ "cosmetic": false,
5
+ "prehideSelectors": ["#kit-ccm"],
6
+ "detectCmp": [{ "exists": ["#kit-ccm", ".ccm-container dialog"] }],
7
+ "detectPopup": [{ "visible": ["#kit-ccm", ".ccm-container dialog[open] .action-buttons"] }],
8
+ "optIn": [{ "waitForThenClick": ["#kit-ccm", "dialog[open] .action-buttons button:not(.accept-selected):nth-of-type(2)"] }],
9
+ "optOut": [{ "waitForThenClick": ["#kit-ccm", "dialog[open] .action-buttons button:not(.accept-selected):last-of-type"] }],
10
+ "test": [{ "waitForVisible": ["#kit-ccm", ".ccm-container dialog .action-buttons"], "check": "none", "timeout": 2000 }]
11
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "lexbase.se",
3
+ "vendorUrl": "https://lexbase.se/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?lexbase\\.se/"
7
+ },
8
+ "prehideSelectors": ["section.consent-banner"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "section.consent-banner button.hide-consent"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "section.consent-banner"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "section.consent-banner button.hide-consent"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": "section.consent-banner"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "visible": "section.consent-banner",
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "luxmed",
3
+ "vendorUrl": "https://portalpacjenta.luxmed.pl/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://([a-z0-9-]+\\.)?luxmed\\.pl/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "app-cookie-modal .top-info-cookie"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "app-cookie-modal .top-info-cookie"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "app-cookie-modal .top-info-cookie .close-x"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "app-cookie-modal .top-info-cookie .close-x"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "PatientPortalCookieMonit=1"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "massaggiamilano",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.massaggiamilano.it/"
5
+ },
6
+ "runContext": {
7
+ "urlPattern": "^https?://(www\\.)?massagg(iamilano|iemozionali)\\.it/"
8
+ },
9
+ "prehideSelectors": [".navbar-privacy"],
10
+ "detectCmp": [{ "exists": "nav.navbar-privacy .privacy-continue" }],
11
+ "detectPopup": [{ "visible": "nav.navbar-privacy .privacy-continue" }],
12
+ "optIn": [{ "waitForThenClick": "nav.navbar-privacy .privacy-continue" }, { "waitForThenClick": "#generic-modal .privacy-accept" }],
13
+ "optOut": [{ "waitForThenClick": "nav.navbar-privacy .privacy-continue" }, { "waitForThenClick": "#generic-modal .privacy-accept" }],
14
+ "test": [{ "waitForVisible": "nav.navbar-privacy", "check": "none", "timeout": 5000 }]
15
+ }
@@ -0,0 +1,55 @@
1
+ {
2
+ "name": "mercedes-benz-cmm",
3
+ "vendorUrl": "https://www.mercedes-benz.com/",
4
+ "prehideSelectors": ["cmm-cookie-banner"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ["cmm-cookie-banner", ".cmm-cookie-banner__wrapper"]
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ["cmm-cookie-banner", ".cmm-cookie-banner__wrapper.visible"]
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ["cmm-cookie-banner", "wb7-button[data-test=handle-accept-all-button]"]
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "if": {
23
+ "exists": ["cmm-cookie-banner", "wb7-button[data-test=handle-deny-button]"]
24
+ },
25
+ "then": [
26
+ {
27
+ "waitForThenClick": ["cmm-cookie-banner", "wb7-button[data-test=handle-deny-button]"]
28
+ }
29
+ ],
30
+ "else": [
31
+ {
32
+ "waitForThenClick": ["cmm-cookie-banner", "wb7-button[data-test=toggle-cookie-details]"]
33
+ },
34
+ {
35
+ "waitForVisible": ["cmm-cookie-banner", "wb7-button[data-test=handle-confirm-selection-button]"]
36
+ },
37
+ {
38
+ "click": ["cmm-cookie-banner", "input[data-test=handle-category-change]:checked:not([disabled])"],
39
+ "all": true,
40
+ "optional": true
41
+ },
42
+ {
43
+ "waitForThenClick": ["cmm-cookie-banner", "wb7-button[data-test=handle-confirm-selection-button]"]
44
+ }
45
+ ]
46
+ }
47
+ ],
48
+ "test": [
49
+ {
50
+ "waitForVisible": ["cmm-cookie-banner", ".cmm-cookie-banner__wrapper.visible"],
51
+ "timeout": 2000,
52
+ "check": "none"
53
+ }
54
+ ]
55
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "meta-cookie-dialog",
3
+ "vendorUrl": "https://www.meta.com/",
4
+ "prehideSelectors": ["[data-testid=\"cookie-policy-dialog\"]", "[data-testid=\"cookie-policy-manage-dialog\"]"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "[data-testid=\"cookie-policy-dialog\"] [data-cookiebanner=\"accept_only_essential_button\"], [data-testid=\"cookie-policy-manage-dialog\"] [data-cookiebanner=\"accept_only_essential_button\"]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "[data-testid=\"cookie-policy-dialog\"] [data-cookiebanner=\"accept_only_essential_button\"], [data-testid=\"cookie-policy-manage-dialog\"] [data-cookiebanner=\"accept_only_essential_button\"]"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "[data-cookiebanner=\"accept_button\"]",
18
+ "retry": 3,
19
+ "retryInterval": 500
20
+ },
21
+ {
22
+ "waitForVisible": "[data-cookiebanner=\"accept_button\"]",
23
+ "check": "none"
24
+ }
25
+ ],
26
+ "optOut": [
27
+ {
28
+ "waitForThenClick": "[data-cookiebanner=\"accept_only_essential_button\"]",
29
+ "retry": 3,
30
+ "retryInterval": 500
31
+ },
32
+ {
33
+ "waitForVisible": "[data-cookiebanner=\"accept_only_essential_button\"]",
34
+ "check": "none"
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "mittanbud",
3
+ "cosmetic": false,
4
+ "prehideSelectors": [],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "div[role=\"dialog\"]:has(button#necessary[role=\"switch\"]):has(button#marketing[role=\"switch\"]) [role=\"tablist\"]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "div[role=\"dialog\"]:has(button#necessary[role=\"switch\"]):has(button#marketing[role=\"switch\"])"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "div[role=\"dialog\"]:has(button#necessary[role=\"switch\"]) div:not([role=\"tablist\"]) > button:first-child:nth-last-child(3)"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "div[role=\"dialog\"]:has(button#necessary[role=\"switch\"]) div:not([role=\"tablist\"]) > button:nth-child(3):last-child"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "decided=true"
28
+ },
29
+ {
30
+ "cookieContains": "marketing=false"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "nojazz",
3
+ "vendorUrl": "https://www.webads.nl/",
4
+ "runContext": {
5
+ "main": false,
6
+ "frame": true,
7
+ "urlPattern": "^https://nojazz\\.eu/"
8
+ },
9
+ "prehideSelectors": [],
10
+ "detectCmp": [{ "exists": "#consentui #buttons .btn.amber" }],
11
+ "detectPopup": [{ "visible": "#consentui #buttons .btn.amber" }],
12
+ "optIn": [{ "waitForThenClick": "#consentui #buttons .btn.green" }],
13
+ "optOut": [
14
+ {
15
+ "if": { "visible": "#consentui #buttons .btn.red" },
16
+ "then": [{ "click": "#consentui #buttons .btn.red" }],
17
+ "else": [
18
+ { "click": "#consentui #buttons .btn.amber" },
19
+ { "waitFor": "#consentui.screen_2 #filters" },
20
+ { "click": "#consentui #filters input[type=checkbox]:checked", "all": true, "optional": true },
21
+ { "waitForThenClick": "#consentui.screen_2 #buttons .btn.green" }
22
+ ]
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "octopusenergy-it",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?octopusenergy\\.it/"
5
+ },
6
+ "prehideSelectors": [],
7
+ "detectCmp": [{ "exists": "xpath///button[contains(., 'Imposta le tue preferenze')]" }],
8
+ "detectPopup": [{ "visible": "xpath///button[contains(., 'Imposta le tue preferenze')]" }],
9
+ "optIn": [{ "waitForThenClick": "xpath///button[contains(., 'Accetta tutto')]" }],
10
+ "optOut": [
11
+ { "waitForThenClick": "xpath///button[contains(., 'Imposta le tue preferenze')]" },
12
+ { "waitFor": "input[data-part='checkbox-input'][name='analytics']" },
13
+ {
14
+ "if": { "exists": "input[data-part='checkbox-input'][name='analytics']:checked" },
15
+ "then": [{ "click": "input[data-part='checkbox-input'][name='analytics']" }]
16
+ },
17
+ {
18
+ "if": { "exists": "input[data-part='checkbox-input'][name='marketing']:checked" },
19
+ "then": [{ "click": "input[data-part='checkbox-input'][name='marketing']" }]
20
+ },
21
+ { "waitForThenClick": "xpath///button[contains(., 'Salva le mie impostazioni')]" }
22
+ ],
23
+ "test": [{ "cookieContains": "cookie_consent=a%3D0%26m%3D0" }]
24
+ }