@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,38 @@
1
+ {
2
+ "name": "civilservicejobs-service-gov-uk",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?civilservicejobs\\.service\\.gov\\.uk/"
5
+ },
6
+ "prehideSelectors": ["#csr-cookie-message"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#csr-cookie-message #accept_essential_cookies_button"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#csr-cookie-message #accept_essential_cookies_button"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#csr-cookie-message #accept_all_cookies_button"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "#csr-cookie-message #accept_essential_cookies_button"
25
+ },
26
+ {
27
+ "waitForVisible": "#csr-cookie-message",
28
+ "check": "none",
29
+ "timeout": 2000,
30
+ "optional": true
31
+ }
32
+ ],
33
+ "test": [
34
+ {
35
+ "cookieContains": "cookies_accepted=essential"
36
+ }
37
+ ]
38
+ }
@@ -4,7 +4,7 @@
4
4
  "prehideSelectors": [".cc-individual-cookie-settings"],
5
5
  "detectCmp": [
6
6
  {
7
- "exists": ".cc-individual-cookie-settings"
7
+ "exists": ".cc-individual-cookie-settings #cookie-settings-reject-all"
8
8
  }
9
9
  ],
10
10
  "detectPopup": [
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "coki61",
3
+ "prehideSelectors": [],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "#coki61 .cok_but1"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "#coki61"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": "#coki61 .cok_but2"
17
+ }
18
+ ],
19
+ "optOut": [
20
+ {
21
+ "waitForThenClick": "#coki61 .cok_but1"
22
+ }
23
+ ],
24
+ "test": [
25
+ {
26
+ "cookieContains": "coki61=2"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "compricer",
3
+ "vendorUrl": "https://www.compricer.se/",
4
+ "prehideSelectors": ["#cookie-banner.cookie-banner", "#cookie-consent"],
5
+ "detectCmp": [{ "exists": "#cookie-button-settings-accept" }, { "exists": "#cookie_consent_Necessary" }],
6
+ "detectPopup": [{ "visible": "#cookie-button-settings" }],
7
+ "optIn": [{ "waitForThenClick": "#cookie_consent_accept_all, #cookie-consent-accept-all" }],
8
+ "optOut": [
9
+ { "waitForThenClick": "#cookie-button-settings" },
10
+ { "waitForVisible": "#cookie-button-settings-accept" },
11
+ { "click": "#cookie_consent_Product:checked, #cookie_consent_Marketing:checked", "all": true, "optional": true },
12
+ { "click": "#cookie-button-settings-accept" },
13
+ { "waitForVisible": "#cookie-button-settings-accept", "check": "none", "optional": true }
14
+ ],
15
+ "test": [
16
+ { "waitForVisible": "#cookie-button-settings", "check": "none", "timeout": 2000 },
17
+ { "exists": "#cookie_consent_Product:checked, #cookie_consent_Marketing:checked", "negated": true }
18
+ ]
19
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "concordia-ch",
3
+ "vendorUrl": "https://www.concordia.ch/",
4
+ "runContext": {
5
+ "urlPattern": "^https://(\\w+\\.)?concordia\\.(ch|li)/"
6
+ },
7
+ "prehideSelectors": [".cookieconsent[data-init=cookieConsent]"],
8
+ "detectCmp": [{ "exists": ".cookieconsent[data-init=cookieConsent]" }],
9
+ "detectPopup": [{ "visible": ".cookieconsent.cookieconsent--active" }],
10
+ "optIn": [{ "waitForThenClick": ".cookieconsent [data-cookieconsent=button]" }],
11
+ "optOut": [{ "waitForThenClick": ".cookieconsent [data-cookieconsent=button]" }],
12
+ "test": [{ "cookieContains": "acceptCookies=true" }]
13
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "consentaur",
3
+ "vendorUrl": "https://consentaur.com/",
4
+ "prehideSelectors": ["#consentaur-banner"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#consentaur-banner"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#consentaur-banner .consentaur-btn-reject"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#consentaur-banner .consentaur-btn-accept"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#consentaur-banner .consentaur-btn-reject"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "%22marketing%22%3Afalse"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "consentmagic",
3
+ "vendorUrl": "https://www.pixelyoursite.com/plugins/consentmagic",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "main": true,
7
+ "frame": false
8
+ },
9
+ "prehideSelectors": [],
10
+ "detectCmp": [
11
+ {
12
+ "visible": ".cs-info-bar[class*=\"cs-public-cookie-\"] .cs_action_btn[data-cs_action=\"allow_all\"]"
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": ".cs-info-bar[class*=\"cs-public-cookie-\"] .cs_action_btn[data-cs_action=\"allow_all\"]"
18
+ }
19
+ ],
20
+ "optIn": [
21
+ {
22
+ "waitForThenClick": ".cs-info-bar .cs_action_btn[data-cs_action=\"allow_all\"]",
23
+ "retry": 5,
24
+ "retryInterval": 500
25
+ }
26
+ ],
27
+ "optOut": [
28
+ {
29
+ "if": {
30
+ "exists": ".cs-info-bar .cs_action_btn[data-cs_action=\"disable_all\"]"
31
+ },
32
+ "then": [
33
+ {
34
+ "waitForThenClick": ".cs-info-bar .cs_action_btn[data-cs_action=\"disable_all\"]",
35
+ "retry": 5,
36
+ "retryInterval": 500
37
+ }
38
+ ],
39
+ "else": [
40
+ {
41
+ "waitForThenClick": ".cs-info-bar .options_btn"
42
+ },
43
+ {
44
+ "waitForVisible": ".cs_settings_popup [data-cs_action=\"cs_confirm\"]"
45
+ },
46
+ {
47
+ "click": ".cs_settings_popup input.cs_script_action:checked:not(:disabled)",
48
+ "all": true,
49
+ "optional": true
50
+ },
51
+ {
52
+ "waitForThenClick": ".cs_settings_popup [data-cs_action=\"cs_confirm\"]"
53
+ }
54
+ ]
55
+ }
56
+ ],
57
+ "test": [
58
+ {
59
+ "cookieContains": "cs_viewed_cookie_policy="
60
+ }
61
+ ]
62
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "cookie-notice-checkboxes",
3
+ "prehideSelectors": ["#cookie-notice:has(#cookie-notice-accept.cookie-notice__accept--custom)"],
4
+ "detectCmp": [{ "exists": "#cookie-notice #cookie-notice-accept.cookie-notice__accept--custom" }],
5
+ "detectPopup": [{ "visible": "#cookie-notice #cookie-notice-accept.cookie-notice__accept--custom" }],
6
+ "optIn": [{ "waitForThenClick": "#cookie-notice #cookie-notice-accept-all" }],
7
+ "optOut": [
8
+ {
9
+ "if": { "exists": "#cookie-notice #cookie-notice-reject" },
10
+ "then": [{ "waitForThenClick": "#cookie-notice #cookie-notice-reject" }],
11
+ "else": [
12
+ {
13
+ "if": {
14
+ "exists": "#cookie-notice input[type=checkbox]:not(#cookie-checkbox-mandatory, [data-is-mandatory], :disabled):checked"
15
+ },
16
+ "then": [
17
+ {
18
+ "click": "#cookie-notice input[type=checkbox]:not(#cookie-checkbox-mandatory, [data-is-mandatory], :disabled):checked",
19
+ "all": true
20
+ }
21
+ ]
22
+ },
23
+ { "waitForThenClick": "#cookie-notice #cookie-notice-accept" }
24
+ ]
25
+ }
26
+ ],
27
+ "test": [{ "visible": "#cookie-notice #cookie-notice-accept", "check": "none" }]
28
+ }
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "cookie-script",
3
3
  "vendorUrl": "https://cookie-script.com/",
4
- "prehideSelectors": ["#cookiescript_injected"],
5
- "detectCmp": [{ "exists": "#cookiescript_injected" }],
6
- "detectPopup": [{ "visible": "#cookiescript_injected" }],
4
+ "prehideSelectors": ["#cookiescript_injected", ".cookiescript_banner_container [role=dialog]"],
5
+ "detectCmp": [{ "exists": "#cookiescript_injected, .cookiescript_banner_container" }],
6
+ "detectPopup": [{ "visible": "#cookiescript_injected, .cookiescript_banner_container [role=dialog]" }],
7
7
  "optOut": [
8
8
  {
9
9
  "if": { "exists": "#cookiescript_reject" },
@@ -19,17 +19,19 @@
19
19
  "if": { "visible": "#cookiescript_save" },
20
20
  "then": [
21
21
  {
22
- "if": { "exists": "#cookiescript_injected input.cookiescript_checkbox_input:checked:not(:disabled)" },
22
+ "if": {
23
+ "exists": "#cookiescript_injected input.cookiescript_checkbox_input:checked:not(:disabled), .cookiescript_banner_container input.cokiescript_checkbox:checked:not(:disabled)"
24
+ },
23
25
  "then": [
24
26
  {
25
- "click": "#cookiescript_injected input.cookiescript_checkbox_input:checked:not(:disabled)",
27
+ "click": "#cookiescript_injected input.cookiescript_checkbox_input:checked:not(:disabled), .cookiescript_banner_container input.cokiescript_checkbox:checked:not(:disabled)",
26
28
  "all": true
27
29
  }
28
30
  ]
29
31
  },
30
32
  { "waitForThenClick": "#cookiescript_save", "retry": 6, "retryInterval": 1000 }
31
33
  ],
32
- "else": [{ "click": "#cookiescript_close" }]
34
+ "else": [{ "click": "#cookiescript_close, .cookiescript_close_btn" }]
33
35
  }
34
36
  ]
35
37
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "cookiesinfo-closecookies",
3
+ "prehideSelectors": [],
4
+ "detectCmp": [{ "exists": "#cookiesInfo #closeCookies" }],
5
+ "detectPopup": [{ "visible": "#cookiesInfo #closeCookies" }],
6
+ "optIn": [{ "waitForThenClick": "#cookiesInfo #closeCookies" }],
7
+ "optOut": [{ "waitForThenClick": "#cookiesInfo #closeCookies" }],
8
+ "test": [{ "waitForVisible": "#cookiesInfo", "check": "none", "timeout": 2000 }]
9
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "dack365",
3
+ "vendorUrl": "https://www.dack365.se/",
4
+ "prehideSelectors": [".cookie-consent-banner:has(#FormCookieConsentAll)"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".cookie-consent-banner #FormCookieConsentAll"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".cookie-consent-banner .btn-cookie-consent-settings"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".cookie-consent-banner .btn-cookie-consent-allow-all"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ".cookie-consent-banner .btn-cookie-consent-settings"
23
+ },
24
+ {
25
+ "waitForThenClick": ".modal-cookie-consent .btn-cookie-consent-modal-disallow-all"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "waitForVisible": ".cookie-consent-banner",
31
+ "check": "none",
32
+ "timeout": 5000
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "ecoprivacy",
3
+ "vendorUrl": "https://www.ecocerved.it/",
4
+ "runContext": {
5
+ "main": false,
6
+ "frame": true,
7
+ "urlPattern": "^https://ecoprivacy\\.ecocerved\\.it/"
8
+ },
9
+ "prehideSelectors": [],
10
+ "detectCmp": [
11
+ {
12
+ "exists": ".ecoPrivacyMain .ecoPrivacyButton"
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": ".ecoPrivacyMain .ecoPrivacyButton"
18
+ }
19
+ ],
20
+ "optIn": [
21
+ {
22
+ "waitForVisible": ".ecoPrivacyMain .ecoPrivacyButton:not([disabled])"
23
+ },
24
+ {
25
+ "wait": 500
26
+ },
27
+ {
28
+ "click": ".ecoPrivacyMain .ecoPrivacyButton"
29
+ }
30
+ ],
31
+ "optOut": [
32
+ {
33
+ "waitForVisible": ".ecoPrivacyMain .ecoPrivacyButton:not([disabled])"
34
+ },
35
+ {
36
+ "wait": 500
37
+ },
38
+ {
39
+ "click": ".ecoPrivacyMain .ecoPrivacyButton"
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "emr-ch",
3
+ "vendorUrl": "https://emr.ch/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?(emr|emfeedback)\\.ch/"
6
+ },
7
+ "prehideSelectors": ["#consent-cookie-modal"],
8
+ "detectCmp": [{ "exists": "#consent-cookie-modal #cookie-selection-button" }],
9
+ "detectPopup": [{ "visible": "#consent-cookie-modal" }],
10
+ "optIn": [{ "waitForThenClick": "#consent-cookie-modal #cookie-all-button", "retry": 3, "retryInterval": 500 }],
11
+ "optOut": [
12
+ { "click": "#consent-cookie-modal input[type=checkbox]:checked:not(:disabled)", "all": true, "optional": true },
13
+ { "waitForThenClick": "#consent-cookie-modal #cookie-selection-button", "retry": 3, "retryInterval": 500 }
14
+ ],
15
+ "test": [{ "cookieContains": "EMR-CookieConsent-Advertising=0" }]
16
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "eu-cookie-law-popup",
3
+ "vendorUrl": "https://github.com/wimagguc/jquery-eu-cookie-law-popup",
4
+ "prehideSelectors": [".eupopup-container"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".eupopup-container > .eupopup-closebutton"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".eupopup-container > .eupopup-closebutton",
13
+ "check": "any"
14
+ }
15
+ ],
16
+ "optIn": [
17
+ {
18
+ "waitForThenClick": ".eupopup-container .eupopup-button_1"
19
+ }
20
+ ],
21
+ "optOut": [
22
+ {
23
+ "waitForThenClick": ".eupopup-container > .eupopup-closebutton"
24
+ }
25
+ ],
26
+ "test": [
27
+ {
28
+ "waitForVisible": ".eupopup-container > .eupopup-closebutton",
29
+ "check": "none",
30
+ "timeout": 2000
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "evozen.fr",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?evozen\\.fr/"
5
+ },
6
+ "prehideSelectors": [".privacy-bar"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": ".privacy-bar #close-rgpd-notice"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": ".privacy-bar"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#close-rgpd-notice"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "#close-rgpd-notice"
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "fascicolosanitario-lombardia",
3
+ "vendorUrl": "https://www.fascicolosanitario.regione.lombardia.it/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?fascicolosanitario\\.regione\\.lombardia\\.it/"
6
+ },
7
+ "cosmetic": false,
8
+ "prehideSelectors": ["#cookie-bar"],
9
+ "detectCmp": [{ "exists": "#cookie-bar #cookieBarClose" }],
10
+ "detectPopup": [{ "visible": "#cookie-bar[aria-hidden=\"false\"]" }],
11
+ "optIn": [{ "waitForThenClick": "#cookie-bar #cookieBarClose .cookie-bar-close" }],
12
+ "optOut": [{ "waitForThenClick": "#cookie-bar #cookieBarClose .cookie-bar-close" }],
13
+ "test": [{ "cookieContains": "FSE-COOKIEBAR=hide" }]
14
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "fideuram",
3
+ "vendorUrl": "https://www.fideuram.it/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?fideuram\\.it/"
6
+ },
7
+ "prehideSelectors": [".fancybox-wrap:has(#cookiemanager-popup)"],
8
+ "detectCmp": [{ "exists": "#cookiemanager-popup #cookie-modal-close" }],
9
+ "detectPopup": [{ "visible": "#cookiemanager-popup #cookie-modal-close" }],
10
+ "optIn": [{ "waitForThenClick": "#cookiemanager-popup #cookie-consent-all" }],
11
+ "optOut": [{ "waitForThenClick": "#cookiemanager-popup #cookie-modal-close" }],
12
+ "test": [{ "cookieContains": "cookieConsent={\"cookie\":\"rejected\",\"cookieThird\":\"rejected\"}" }]
13
+ }
@@ -5,18 +5,23 @@
5
5
  "prehideSelectors": ["[fs-consent-element=banner]"],
6
6
  "detectCmp": [
7
7
  {
8
- "exists": "[fs-consent-element=banner]"
8
+ "any": [{ "exists": "[fs-consent-element=banner]" }, { "exists": ["[fs-consent-element=root]", "[fs-consent-element=banner]"] }]
9
9
  }
10
10
  ],
11
11
  "detectPopup": [
12
12
  {
13
- "visible": "[fs-consent-element=banner] [fs-consent-element=allow]"
13
+ "any": [
14
+ { "visible": "[fs-consent-element=banner] [fs-consent-element=allow]" },
15
+ { "visible": ["[fs-consent-element=root]", "[fs-consent-element=banner] [fs-consent-element=allow]"] }
16
+ ]
14
17
  }
15
18
  ],
16
19
  "optIn": [
17
20
  { "wait": 500 },
18
21
  {
19
- "waitForThenClick": "[fs-consent-element=banner] [fs-consent-element=allow]"
22
+ "if": { "exists": "[fs-consent-element=banner] [fs-consent-element=allow]" },
23
+ "then": [{ "waitForThenClick": "[fs-consent-element=banner] [fs-consent-element=allow]" }],
24
+ "else": [{ "waitForThenClick": ["[fs-consent-element=root]", "[fs-consent-element=banner] [fs-consent-element=allow]"] }]
20
25
  }
21
26
  ],
22
27
  "optOut": [
@@ -24,7 +29,13 @@
24
29
  {
25
30
  "if": { "exists": "[fs-consent-element=banner] [fs-consent-element=deny]" },
26
31
  "then": [{ "click": "[fs-consent-element=banner] [fs-consent-element=deny]" }],
27
- "else": [{ "hide": "[fs-consent-element=banner]" }]
32
+ "else": [
33
+ {
34
+ "if": { "exists": ["[fs-consent-element=root]", "[fs-consent-element=banner] [fs-consent-element=deny]"] },
35
+ "then": [{ "click": ["[fs-consent-element=root]", "[fs-consent-element=banner] [fs-consent-element=deny]"] }],
36
+ "else": [{ "hide": "[fs-consent-element=banner], [fs-consent-element=root]" }]
37
+ }
38
+ ]
28
39
  }
29
40
  ]
30
41
  }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "fondoest.it",
3
+ "vendorUrl": "https://unknown",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?fondoest\\.it/"
6
+ },
7
+ "prehideSelectors": ["#cookie-mask"],
8
+ "detectCmp": [{ "exists": "#cookie-mask #cookieContainer" }],
9
+ "detectPopup": [{ "visible": "#cookieContainer #btn-cookie-accept-edit" }],
10
+ "optIn": [{ "waitForThenClick": "#cookier-page-1 #btn-cookie-accept-all" }],
11
+ "optOut": [
12
+ { "waitForThenClick": "#cookieContainer #btn-cookie-accept-edit" },
13
+ { "waitForThenClick": "#cookier-page-2 #btn-cookie-accept-nothing" }
14
+ ],
15
+ "test": [{ "cookieContains": "cookie_accepted={\"nothing\": 1}" }]
16
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "fonts.google.com",
3
+ "runContext": { "urlPattern": "^https?://fonts\\.google\\.com/" },
4
+ "prehideSelectors": ["gf-notifications .notification:has(a[href^=\"https://policies.google.com/technologies/cookies\"])"],
5
+ "detectCmp": [{ "exists": "gf-notifications .notification a[href^=\"https://policies.google.com/technologies/cookies\"]" }],
6
+ "detectPopup": [{ "visible": "gf-notifications .notification:has(a[href^=\"https://policies.google.com/technologies/cookies\"])" }],
7
+ "optIn": [
8
+ {
9
+ "waitForThenClick": "gf-notifications .notification:has(a[href^=\"https://policies.google.com/technologies/cookies\"]) button.notification__close"
10
+ }
11
+ ],
12
+ "optOut": [
13
+ {
14
+ "waitForThenClick": "gf-notifications .notification:has(a[href^=\"https://policies.google.com/technologies/cookies\"]) button.notification__close"
15
+ }
16
+ ],
17
+ "test": [
18
+ {
19
+ "waitForVisible": "gf-notifications .notification:has(a[href^=\"https://policies.google.com/technologies/cookies\"])",
20
+ "check": "none",
21
+ "timeout": 2000
22
+ }
23
+ ]
24
+ }
@@ -4,9 +4,19 @@
4
4
  "detectCmp": [{ "exists": ".fc-consent-root" }],
5
5
  "detectPopup": [{ "exists": ".fc-dialog-container" }],
6
6
  "optOut": [
7
- { "click": ".fc-cta-do-not-consent,.fc-cta-manage-options" },
7
+ {
8
+ "if": { "exists": ".fc-cta-do-not-consent,.fc-cta-manage-options" },
9
+ "then": [{ "click": ".fc-cta-do-not-consent,.fc-cta-manage-options" }],
10
+ "else": [{ "exists": ".fc-li-only-placeholder" }]
11
+ },
8
12
  { "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked", "all": true, "optional": true },
9
13
  { "click": ".fc-confirm-choices", "optional": true }
10
14
  ],
11
- "optIn": [{ "click": ".fc-cta-consent" }]
15
+ "optIn": [
16
+ {
17
+ "if": { "exists": ".fc-cta-consent" },
18
+ "then": [{ "click": ".fc-cta-consent" }],
19
+ "else": [{ "exists": ".fc-li-only-placeholder" }, { "click": ".fc-confirm-choices" }]
20
+ }
21
+ ]
12
22
  }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "giustizia-it",
3
+ "vendorUrl": "https://www.giustizia.it/",
4
+ "prehideSelectors": ["#cookie-container .navbar-cookies"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#cookie-container #accetta-cookie .cookie-container-setting"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#cookie-container"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "click": "#accetta-cookie input[type=checkbox]:not(:checked):not(:disabled)",
18
+ "all": true,
19
+ "optional": true
20
+ },
21
+ {
22
+ "waitForThenClick": "#accetta-cookie .accept"
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "click": "#accetta-cookie input[type=checkbox]:checked:not(:disabled)",
28
+ "all": true,
29
+ "optional": true
30
+ },
31
+ {
32
+ "waitForThenClick": "#accetta-cookie .accept"
33
+ }
34
+ ],
35
+ "test": [
36
+ {
37
+ "cookieContains": "acconsenti-cookie=1"
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "gnoccaforum",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?gnoccaforum\\.com/"
5
+ },
6
+ "prehideSelectors": ["#cookieBanner"],
7
+ "detectCmp": [{ "exists": "#cookieBanner a[href*='cookies_agreed=']" }],
8
+ "detectPopup": [{ "visible": "#cookieBanner" }],
9
+ "optIn": [{ "waitForThenClick": "#cookieBanner a[href*='cookies_agreed=']" }],
10
+ "optOut": [{ "waitForThenClick": "#cookieBanner span[onclick*='cookieBanner']" }],
11
+ "test": [{ "waitForVisible": "#cookieBanner", "check": "none", "timeout": 2000 }]
12
+ }