@duckduckgo/autoconsent 18.2.0 → 18.4.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 (203) hide show
  1. package/CHANGELOG.md +122 -0
  2. package/dist/addon-firefox/compact-rules.json +1 -1
  3. package/dist/addon-firefox/content.bundle.js +92 -36
  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 +92 -36
  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 +92 -36
  13. package/dist/autoconsent.esm.js +92 -36
  14. package/dist/autoconsent.playwright.js +92 -36
  15. package/dist/autoconsent.standalone.js +93 -37
  16. package/dist/heuristics.cjs.js +92 -38
  17. package/dist/heuristics.mjs +92 -37
  18. package/dist/types/heuristic-patterns.d.ts +0 -1
  19. package/lib/heuristic-literals.ts +39 -12
  20. package/lib/heuristic-negatives.ts +0 -9
  21. package/lib/heuristic-patterns.ts +54 -16
  22. package/package.json +1 -1
  23. package/rules/autoconsent/adaptivemedia.json +30 -0
  24. package/rules/autoconsent/adeac-jp.json +29 -0
  25. package/rules/autoconsent/agenziaentrate-geoportale.json +35 -0
  26. package/rules/autoconsent/alertnotification-alert-bar.json +27 -0
  27. package/rules/autoconsent/amasty-gdpr-hyva.json +6 -6
  28. package/rules/autoconsent/amasty-gdpr-sidebar.json +61 -0
  29. package/rules/autoconsent/arena-pl.json +16 -0
  30. package/rules/autoconsent/bannercookie-dashboard.json +10 -0
  31. package/rules/autoconsent/betheme.json +10 -0
  32. package/rules/autoconsent/biblia-online.pl.json +40 -0
  33. package/rules/autoconsent/bitauto.json +57 -0
  34. package/rules/autoconsent/blastingnews.json +36 -0
  35. package/rules/autoconsent/bn-org-pl.json +37 -0
  36. package/rules/autoconsent/bt-com-au.json +13 -0
  37. package/rules/autoconsent/calclife.net.json +43 -0
  38. package/rules/autoconsent/casino-guru.json +28 -0
  39. package/rules/autoconsent/ccconsent-holder.json +56 -0
  40. package/rules/autoconsent/cloudcms-cookie-alert-notice.json +12 -0
  41. package/rules/autoconsent/cloudcms-cookie-alert.json +13 -0
  42. package/rules/autoconsent/code3-cookies-consent.json +48 -0
  43. package/rules/autoconsent/complianz-opt-out.json +7 -2
  44. package/rules/autoconsent/cookie-button-basic.json +47 -0
  45. package/rules/autoconsent/cookie-use-notice.json +12 -0
  46. package/rules/autoconsent/cookieinfo-zamknij.json +30 -0
  47. package/rules/autoconsent/cookiesbanner-preference.json +14 -0
  48. package/rules/autoconsent/cookiesck.json +31 -0
  49. package/rules/autoconsent/cookiesmodal-pl.json +18 -0
  50. package/rules/autoconsent/creditunionsa.json +12 -0
  51. package/rules/autoconsent/cstudios.json +35 -0
  52. package/rules/autoconsent/dandomain.json +41 -0
  53. package/rules/autoconsent/datezone.json +22 -0
  54. package/rules/autoconsent/didomi.json +5 -0
  55. package/rules/autoconsent/dlibra.json +32 -0
  56. package/rules/autoconsent/dnb.json +30 -0
  57. package/rules/autoconsent/doc24-ch.json +33 -0
  58. package/rules/autoconsent/e-file.json +44 -0
  59. package/rules/autoconsent/erli-pl.json +36 -0
  60. package/rules/autoconsent/ernesto.json +30 -0
  61. package/rules/autoconsent/eu-cookie-compliance-legacy.json +15 -0
  62. package/rules/autoconsent/fellow-pl.json +16 -0
  63. package/rules/autoconsent/fn-se.json +17 -0
  64. package/rules/autoconsent/fora-se.json +13 -0
  65. package/rules/autoconsent/fusedeck.json +38 -0
  66. package/rules/autoconsent/gjerrigknark.json +38 -0
  67. package/rules/autoconsent/hemsol.se.json +22 -0
  68. package/rules/autoconsent/historiskatlas.dk.json +35 -0
  69. package/rules/autoconsent/hmi-basen-dk.json +27 -0
  70. package/rules/autoconsent/icom-co-jp.json +34 -0
  71. package/rules/autoconsent/intermedia-cms-fsi.json +30 -0
  72. package/rules/autoconsent/jobbland.json +17 -0
  73. package/rules/autoconsent/kadokawa-ascii.json +34 -0
  74. package/rules/autoconsent/kglakademi.json +37 -0
  75. package/rules/autoconsent/kredittbanken.json +14 -0
  76. package/rules/autoconsent/lieder.net.json +13 -0
  77. package/rules/autoconsent/matspar-se.json +34 -0
  78. package/rules/autoconsent/menti-com.json +37 -0
  79. package/rules/autoconsent/mitrejsevejr.dk.json +13 -0
  80. package/rules/autoconsent/morgenlevering.no.json +46 -0
  81. package/rules/autoconsent/mos-cudzoziemcy-gov-pl.json +29 -0
  82. package/rules/autoconsent/multicalcolo.json +37 -0
  83. package/rules/autoconsent/nutri.se.json +40 -0
  84. package/rules/autoconsent/octoparse.json +33 -0
  85. package/rules/autoconsent/onecall-no.json +44 -0
  86. package/rules/autoconsent/oresundstag.json +40 -0
  87. package/rules/autoconsent/peppes.json +38 -0
  88. package/rules/autoconsent/planteportalen-no.json +32 -0
  89. package/rules/autoconsent/renaud-bray.json +44 -0
  90. package/rules/autoconsent/saos-org-pl.json +35 -0
  91. package/rules/autoconsent/shopgold.json +83 -0
  92. package/rules/autoconsent/shueisha-hpplus.json +27 -0
  93. package/rules/autoconsent/sian-it.json +35 -0
  94. package/rules/autoconsent/skisport.json +22 -0
  95. package/rules/autoconsent/skogforsk.json +9 -0
  96. package/rules/autoconsent/skovborghogh-cookies.json +17 -0
  97. package/rules/autoconsent/sportstiming.json +37 -0
  98. package/rules/autoconsent/squarespace-cookie-banner.json +3 -3
  99. package/rules/autoconsent/synergy-net-au.json +33 -0
  100. package/rules/autoconsent/teeshoppen.json +42 -0
  101. package/rules/autoconsent/tullys-jp.json +11 -0
  102. package/rules/autoconsent/vardgivarguiden.json +45 -0
  103. package/rules/autoconsent/wbd-consent-modal.json +54 -0
  104. package/rules/autoconsent/welcome-city-yokohama.json +75 -0
  105. package/rules/autoconsent/wordpress-wordads.json +20 -0
  106. package/rules/autoconsent/worldbank.json +5 -5
  107. package/rules/autoconsent/wuerth.json +57 -0
  108. package/rules/autoconsent/ynjn.json +34 -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/adaptivemedia.spec.ts +3 -0
  113. package/tests/adeac-jp.spec.ts +3 -0
  114. package/tests/agenziaentrate-geoportale.spec.ts +5 -0
  115. package/tests/alertnotification-alert-bar.spec.ts +11 -0
  116. package/tests/amasty-gdpr-hyva.spec.ts +1 -0
  117. package/tests/amasty-gdpr-sidebar.spec.ts +16 -0
  118. package/tests/arena-pl.spec.ts +3 -0
  119. package/tests/bannercookie-dashboard.spec.ts +3 -0
  120. package/tests/betheme.spec.ts +9 -0
  121. package/tests/biblia-online.pl.spec.ts +3 -0
  122. package/tests/bitauto.spec.ts +3 -0
  123. package/tests/blastingnews.spec.ts +3 -0
  124. package/tests/bn-org-pl.spec.ts +3 -0
  125. package/tests/bt-com-au.spec.ts +3 -0
  126. package/tests/calclife.net.spec.ts +3 -0
  127. package/tests/casino-guru.spec.ts +15 -0
  128. package/tests/ccconsent-holder.spec.ts +11 -0
  129. package/tests/cloudcms-cookie-alert-notice.spec.ts +10 -0
  130. package/tests/cloudcms-cookie-alert.spec.ts +6 -0
  131. package/tests/code3-cookies-consent.spec.ts +8 -0
  132. package/tests/complianz-opt-out.spec.ts +13 -3
  133. package/tests/cookie-button-basic.spec.ts +9 -0
  134. package/tests/cookie-use-notice.spec.ts +6 -0
  135. package/tests/cookieinfo-zamknij.spec.ts +3 -0
  136. package/tests/cookiesbanner-preference.spec.ts +8 -0
  137. package/tests/cookiesck.spec.ts +5 -0
  138. package/tests/cookiesmodal-pl.spec.ts +3 -0
  139. package/tests/creditunionsa.spec.ts +3 -0
  140. package/tests/cstudios.spec.ts +3 -0
  141. package/tests/dandomain.spec.ts +18 -0
  142. package/tests/datezone.spec.ts +3 -0
  143. package/tests/didomi.spec.ts +9 -0
  144. package/tests/dlibra.spec.ts +8 -0
  145. package/tests/dnb.spec.ts +5 -0
  146. package/tests/doc24-ch.spec.ts +3 -0
  147. package/tests/e-file.spec.ts +9 -0
  148. package/tests/erli-pl.spec.ts +4 -0
  149. package/tests/ernesto.spec.ts +8 -0
  150. package/tests/eu-cookie-compliance-legacy.spec.ts +8 -0
  151. package/tests/fellow-pl.spec.ts +5 -0
  152. package/tests/fn-se.spec.ts +3 -0
  153. package/tests/fora-se.spec.ts +3 -0
  154. package/tests/fusedeck.spec.ts +9 -0
  155. package/tests/gjerrigknark.spec.ts +6 -0
  156. package/tests/hemsol.se.spec.ts +3 -0
  157. package/tests/historiskatlas.dk.spec.ts +3 -0
  158. package/tests/hmi-basen-dk.spec.ts +5 -0
  159. package/tests/icom-co-jp.spec.ts +3 -0
  160. package/tests/intermedia-cms-fsi.spec.ts +8 -0
  161. package/tests/jobbland.spec.ts +5 -0
  162. package/tests/kadokawa-ascii.spec.ts +5 -0
  163. package/tests/kglakademi.spec.ts +3 -0
  164. package/tests/kredittbanken.spec.ts +3 -0
  165. package/tests/lieder.net.spec.ts +3 -0
  166. package/tests/matspar-se.spec.ts +3 -0
  167. package/tests/menti-com.spec.ts +3 -0
  168. package/tests/mitrejsevejr.dk.spec.ts +3 -0
  169. package/tests/morgenlevering.no.spec.ts +3 -0
  170. package/tests/mos-cudzoziemcy-gov-pl.spec.ts +3 -0
  171. package/tests/multicalcolo.spec.ts +3 -0
  172. package/tests/nutri.se.spec.ts +3 -0
  173. package/tests/octoparse.spec.ts +6 -0
  174. package/tests/onecall-no.spec.ts +3 -0
  175. package/tests/oresundstag.spec.ts +3 -0
  176. package/tests/peppes.spec.ts +5 -0
  177. package/tests/planteportalen-no.spec.ts +3 -0
  178. package/tests/renaud-bray.spec.ts +5 -0
  179. package/tests/saos-org-pl.spec.ts +3 -0
  180. package/tests/shopgold.spec.ts +3 -0
  181. package/tests/shueisha-hpplus.spec.ts +3 -0
  182. package/tests/sian-it.spec.ts +3 -0
  183. package/tests/skisport.spec.ts +9 -0
  184. package/tests/skogforsk.spec.ts +3 -0
  185. package/tests/skovborghogh-cookies.spec.ts +9 -0
  186. package/tests/sportstiming.spec.ts +8 -0
  187. package/tests/squarespace-cookie-banner.spec.ts +1 -0
  188. package/tests/synergy-net-au.spec.ts +8 -0
  189. package/tests/teeshoppen.spec.ts +7 -0
  190. package/tests/tullys-jp.spec.ts +3 -0
  191. package/tests/vardgivarguiden.spec.ts +3 -0
  192. package/tests/wbd-consent-modal.spec.ts +6 -0
  193. package/tests/welcome-city-yokohama.spec.ts +3 -0
  194. package/tests/wordpress-wordads.spec.ts +9 -0
  195. package/tests/worldbank.spec.ts +1 -0
  196. package/tests/wuerth.spec.ts +8 -0
  197. package/tests/ynjn.spec.ts +3 -0
  198. package/tests-wtr/heuristics/heuristics-utils.test.ts +82 -4
  199. package/tests-wtr/rules/cmp-test-urls.json +0 -1
  200. package/rules/autoconsent/delta-com.json +0 -12
  201. package/rules/generated/auto_CH_fhgr.ch_9nr.json +0 -40
  202. package/tests/delta.spec.ts +0 -3
  203. package/tests/generated/auto_CH_fhgr.ch_9nr.spec.ts +0 -2
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "multicalcolo",
3
+ "vendorUrl": "https://www.multicalcolo.it/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?multicalcolo\\.it/"
6
+ },
7
+ "prehideSelectors": [".js-cookie-consent"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".js-cookie-consent #customize"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".js-cookie-consent #customize"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".js-cookie-consent #accepted"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "click": ".js-cookie-consent #rejected"
26
+ },
27
+ {
28
+ "waitForVisible": ".js-cookie-consent",
29
+ "check": "none"
30
+ }
31
+ ],
32
+ "test": [
33
+ {
34
+ "cookieContains": "laravel_cookie_consent=rejected"
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "nutri.se",
3
+ "vendorUrl": "https://nutri.se/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?nutri\\.se/"
7
+ },
8
+ "prehideSelectors": [".nutri-consent-dialog"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "xpath///div[contains(@class, 'nutri-consent-dialog') and not(ancestor::*[@id='nutri-consent-shell'])]"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "xpath///div[contains(@class, 'nutri-consent-dialog') and not(ancestor::*[@id='nutri-consent-shell'])]"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "xpath///div[contains(@class, 'nutri-consent-dialog') and not(ancestor::*[@id='nutri-consent-shell'])]/div/button[last()]"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "waitForThenClick": "xpath///div[contains(@class, 'nutri-consent-dialog') and not(ancestor::*[@id='nutri-consent-shell'])]/div/button[1]"
27
+ },
28
+ {
29
+ "waitForThenClick": "xpath///div[@role='dialog' and .//button[@role='switch']]/div[last()]/div/button[1]"
30
+ }
31
+ ],
32
+ "test": [
33
+ {
34
+ "cookieContains": "nutri_consent_v1="
35
+ },
36
+ {
37
+ "cookieContains": "%22marketing%22%3Afalse"
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "octoparse",
3
+ "vendorUrl": "https://www.octoparse.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?octoparse\\.(com|jp|de|fr|es|ai)/"
6
+ },
7
+ "prehideSelectors": ["[class^='cookies_cookies__']"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "[class^='cookies_cookies__'] [class^='cookies_close__']"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "[class^='cookies_cookies__'] [class^='cookies_close__']"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "[class^='cookies_cookies__'] [class^='cookies_accept__']"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "[class^='cookies_cookies__'] [class^='cookies_close__']"
26
+ },
27
+ {
28
+ "waitForVisible": "[class^='cookies_cookies__']",
29
+ "check": "none",
30
+ "timeout": 2000
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "onecall-no",
3
+ "vendorUrl": "https://onecall.no/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?onecall\\.no/"
7
+ },
8
+ "prehideSelectors": [".modal--cookie-consent"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": ".modal--cookie-consent #cookies-tracking"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": ".modal--cookie-consent"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": ".modal--cookie-consent button.btn-primary"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "if": {
27
+ "exists": ".modal--cookie-consent #cookies-tracking:checked"
28
+ },
29
+ "then": [
30
+ {
31
+ "click": ".modal--cookie-consent #cookies-tracking"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "waitForThenClick": ".modal--cookie-consent button.btn-gray"
37
+ }
38
+ ],
39
+ "test": [
40
+ {
41
+ "cookieContains": "oc_allow_tracking=0"
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "oresundstag",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.oresundstag.se/"
5
+ },
6
+ "runContext": {
7
+ "urlPattern": "^https?://(www\\.)?oresundstag\\.se/"
8
+ },
9
+ "prehideSelectors": ["#consent-manager-modal"],
10
+ "detectCmp": [
11
+ {
12
+ "exists": "#consent-manager-modal #cookies-consent"
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": "#consent-manager-modal [role=dialog]"
18
+ }
19
+ ],
20
+ "optIn": [
21
+ {
22
+ "waitForThenClick": "#consent-manager-modal [class*=modal_buttons] button[type=button]"
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "click": "#cookies-consent label[role=checkbox]:has(input:checked)",
28
+ "all": true,
29
+ "optional": true
30
+ },
31
+ {
32
+ "waitForThenClick": "#consent-manager-modal [class*=modal_buttons] button[type=submit]"
33
+ }
34
+ ],
35
+ "test": [
36
+ {
37
+ "cookieContains": "\"analytics\":false"
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "peppes.no",
3
+ "vendorUrl": "https://order.peppes.no/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?peppes\\.no/"
6
+ },
7
+ "prehideSelectors": [".consent-dialog-root"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".consent-dialog-root .allow-selection-btn"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".consent-dialog-root .allow-selection-btn"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".consent-dialog-root .allow-all-btn"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "click": ".consent-dialog-root .p-inputswitch:not(.p-disabled) input:checked",
26
+ "all": true,
27
+ "optional": true
28
+ },
29
+ {
30
+ "waitForThenClick": ".consent-dialog-root .allow-selection-btn"
31
+ },
32
+ {
33
+ "waitForVisible": ".consent-dialog-root",
34
+ "check": "none",
35
+ "timeout": 2000
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "planteportalen.no",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?planteportalen\\.no/"
5
+ },
6
+ "prehideSelectors": [],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "div.cookies > .grid-container > span.icon-cross"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "div.cookies.active"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "div.cookies span.icon-cross"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "div.cookies span.icon-cross"
25
+ }
26
+ ],
27
+ "test": [
28
+ {
29
+ "cookieContains": "cookies=cookies"
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "renaud-bray",
3
+ "vendorUrl": "https://www.renaud-bray.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?renaud-bray\\.com/"
6
+ },
7
+ "prehideSelectors": ["#cookie-banner"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookie-consent-container[style*='visibility'] #cookie-banner"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookie-banner"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookie-banner .cookie-banner-agree-to-all-btn"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#cookie-banner .cookie-banner-preferences-btn"
26
+ },
27
+ {
28
+ "waitForVisible": "#cookie-consent-detail"
29
+ },
30
+ {
31
+ "waitForThenClick": "#cookie-consent-detail .modal-content-agree-to-preference-btn"
32
+ }
33
+ ],
34
+ "test": [
35
+ {
36
+ "visible": "#cookie-banner",
37
+ "check": "none"
38
+ },
39
+ {
40
+ "visible": "#cookie-consent-detail",
41
+ "check": "none"
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "saos-org-pl",
3
+ "vendorUrl": "https://www.saos.org.pl/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?saos\\.org\\.pl/"
7
+ },
8
+ "prehideSelectors": ["#cookie-window", "#cookie-message"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "#cookie-window #cookie-preview-accept"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "#cookie-window"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "#cookie-preview-accept"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": "#cookie-window, #cookie-message"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "visible": "#cookie-window",
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,83 @@
1
+ {
2
+ "name": "shopgold",
3
+ "prehideSelectors": ["#InfoCookieTlo", "#CookieOknoUstawien"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "#InfoCookie.DolnaInformacjaCookie, #InfoCookieIntegracje.DolnaInformacjaCookie"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "any": [
12
+ {
13
+ "visible": "#InfoCookieIntegracje"
14
+ },
15
+ {
16
+ "visible": "xpath///div[@id='InfoCookie']//span[@id='InfoAkcept'][contains(., 'Nie pokazuj')]"
17
+ }
18
+ ]
19
+ }
20
+ ],
21
+ "optIn": [
22
+ {
23
+ "if": {
24
+ "visible": "#InfoCookieIntegracje"
25
+ },
26
+ "then": [
27
+ {
28
+ "waitForThenClick": "#InfoAkceptIntegracje"
29
+ }
30
+ ],
31
+ "else": [
32
+ {
33
+ "waitForThenClick": "#InfoAkcept"
34
+ }
35
+ ]
36
+ }
37
+ ],
38
+ "optOut": [
39
+ {
40
+ "if": {
41
+ "visible": "#InfoCookieIntegracje"
42
+ },
43
+ "then": [
44
+ {
45
+ "if": {
46
+ "exists": "#InfoTylkoNiezbedneIntegracje"
47
+ },
48
+ "then": [
49
+ {
50
+ "waitForThenClick": "#InfoTylkoNiezbedneIntegracje"
51
+ }
52
+ ],
53
+ "else": [
54
+ {
55
+ "click": "#InfoUstawieniaIntegracje"
56
+ },
57
+ {
58
+ "waitForVisible": "#CookieOknoUstawien"
59
+ },
60
+ {
61
+ "click": "#CookieOknoUstawien input[type=checkbox]:checked:not(:disabled)",
62
+ "all": true,
63
+ "optional": true
64
+ },
65
+ {
66
+ "click": "#CookieOknoUstawien .GotoweCookieOkno span"
67
+ }
68
+ ]
69
+ }
70
+ ],
71
+ "else": [
72
+ {
73
+ "waitForThenClick": "xpath///div[@id='InfoCookie']//span[@id='InfoAkcept'][contains(., 'Nie pokazuj')]"
74
+ }
75
+ ]
76
+ }
77
+ ],
78
+ "test": [
79
+ {
80
+ "cookieContains": "akceptCookie=tak"
81
+ }
82
+ ]
83
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "shueisha-hpplus",
3
+ "prehideSelectors": [":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy'])"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy']) :is(#cookieBannerCloseButton, .cookieBannerCloseButton)"
7
+ }
8
+ ],
9
+ "detectPopup": [{ "visible": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy'])", "check": "any" }],
10
+ "optIn": [
11
+ {
12
+ "waitForThenClick": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy']) :is(#cookieBannerCloseButton, .cookieBannerCloseButton)"
13
+ }
14
+ ],
15
+ "optOut": [
16
+ {
17
+ "waitForThenClick": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy']) :is(#cookieBannerCloseButton, .cookieBannerCloseButton)"
18
+ }
19
+ ],
20
+ "test": [
21
+ {
22
+ "waitForVisible": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy'])",
23
+ "timeout": 2000,
24
+ "check": "none"
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "sian-it",
3
+ "vendorUrl": "https://www.sian.it/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?sian\\.it/"
7
+ },
8
+ "prehideSelectors": ["section.cookie-banner"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "section.cookie-banner .cookie-content > .btn-toolbar"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "section.cookie-banner"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "section.cookie-banner .cookie-content > .btn-toolbar .btn-primary"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": "section.cookie-banner"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "visible": "section.cookie-banner",
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "skisport",
3
+ "vendorUrl": "https://www.skisport.dk/",
4
+ "cosmetic": false,
5
+ "prehideSelectors": [],
6
+ "detectCmp": [{ "exists": "#cookieBannerModal #cookie_consent_manage_accept_modal" }],
7
+ "detectPopup": [{ "visible": "#cookieBannerModal.is-open .cc-dialog" }],
8
+ "optIn": [{ "waitForThenClick": "#cookie_consent_manage_accept_modal" }],
9
+ "optOut": [
10
+ { "waitForThenClick": "#cookieBannerModal [data-cc-open=cookieConsentModal]" },
11
+ { "waitForVisible": "#cookieConsentModal.is-shown .cc-dialog" },
12
+ { "click": "#cookieConsentModal input[type=checkbox]:checked:not(:disabled)", "all": true, "optional": true },
13
+ {
14
+ "waitForThenClick": "#cookieConsentModal #cookie_consent_manager_confirm_top, #cookieConsentModal #cookie_consent_manager_confirm"
15
+ }
16
+ ],
17
+ "test": [
18
+ { "cookieContains": "consent_set=true" },
19
+ { "cookieContains": "consent_marketing=false" },
20
+ { "cookieContains": "consent_analytics=false" }
21
+ ]
22
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "skogforsk",
3
+ "prehideSelectors": [".block-cookie:has(.cookiebtns #cookie-required)"],
4
+ "detectCmp": [{ "exists": ".block-cookie .cookiebtns #cookie-required" }],
5
+ "detectPopup": [{ "visible": ".block-cookie .cookiebtns #cookie-required" }],
6
+ "optIn": [{ "waitForThenClick": ".block-cookie .cookiebtns #cookie-accept" }],
7
+ "optOut": [{ "waitForThenClick": ".block-cookie .cookiebtns #cookie-required" }],
8
+ "test": [{ "cookieContains": "cookie-disclaimer=0" }, { "cookieContains": "cookie-disclaimer=0%2C", "negated": true }]
9
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "skovborghogh-cookies",
3
+ "cosmetic": false,
4
+ "runContext": {
5
+ "main": true,
6
+ "frame": false
7
+ },
8
+ "prehideSelectors": [".cookiePopup:has(#cookies .cookieWrapper)"],
9
+ "detectCmp": [{ "exists": ".cookiePopup #cookies .cookie-actions .cookie-btn.deny" }],
10
+ "detectPopup": [{ "visible": ".cookiePopup #cookies .cookieWrapper" }],
11
+ "optIn": [{ "waitForThenClick": ".cookiePopup #cookies .cookie-btn.accept span" }],
12
+ "optOut": [
13
+ { "waitForThenClick": ".cookiePopup #cookies .cookie-btn.deny span" },
14
+ { "waitForVisible": ".cookiePopup", "check": "none", "timeout": 3000, "optional": true }
15
+ ],
16
+ "test": [{ "cookieContains": "%22marketingOnOff%22%3Afalse" }]
17
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "sportstiming",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?sportstiming\\.(dk|se|no|de)/"
5
+ },
6
+ "prehideSelectors": [".bootbox.modal:has(#btnCookiesAcceptSelected)"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#btnCookiesAcceptSelected"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#btnCookiesAcceptSelected"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#btnCookiesAcceptAll"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "click": "#chkCookiesStatistics:checked, #chkCookiesSettings:checked",
25
+ "all": true,
26
+ "optional": true
27
+ },
28
+ {
29
+ "waitForThenClick": "#btnCookiesAcceptSelected"
30
+ }
31
+ ],
32
+ "test": [
33
+ {
34
+ "cookieContains": "cookies_allowed=required"
35
+ }
36
+ ]
37
+ }
@@ -3,12 +3,12 @@
3
3
  "prehideSelectors": [".cookie-banner-mount-point"],
4
4
  "detectCmp": [
5
5
  {
6
- "exists": ".cookie-banner-mount-point section[aria-label='Cookie banner'] :is(button.decline, button.manage)"
6
+ "exists": ".cookie-banner-mount-point section.gdpr-cookie-banner :is(button.decline, button.manage)"
7
7
  }
8
8
  ],
9
9
  "detectPopup": [
10
10
  {
11
- "visible": ".cookie-banner-mount-point section[aria-label='Cookie banner']"
11
+ "visible": ".cookie-banner-mount-point section.gdpr-cookie-banner"
12
12
  }
13
13
  ],
14
14
  "optIn": [
@@ -46,7 +46,7 @@
46
46
  ],
47
47
  "test": [
48
48
  {
49
- "waitForVisible": ".cookie-banner-mount-point section[aria-label='Cookie banner']",
49
+ "waitForVisible": ".cookie-banner-mount-point section.gdpr-cookie-banner",
50
50
  "timeout": 1000,
51
51
  "check": "none"
52
52
  }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "synergy-net-au",
3
+ "vendorUrl": "https://www.synergy.net.au/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?synergy\\.net\\.au/"
6
+ },
7
+ "prehideSelectors": ["#cookie.alert--cookie"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookie.alert--cookie[sy-alert]"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookie.alert--cookie.alert--active"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookie.alert--cookie button.alert-close"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#cookie.alert--cookie button.alert-close"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "synergy.alert.cookie=true"
31
+ }
32
+ ]
33
+ }