@duckduckgo/autoconsent 16.51.0 → 16.53.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 (124) hide show
  1. package/.github/workflows/ddg-release.yml +2 -2
  2. package/AGENTS.md +1 -0
  3. package/CHANGELOG.md +94 -0
  4. package/dist/addon-firefox/compact-rules.json +1 -1
  5. package/dist/addon-firefox/content.bundle.js +4 -1
  6. package/dist/addon-firefox/manifest.json +1 -1
  7. package/dist/addon-firefox/rule-index.json +1 -1
  8. package/dist/addon-firefox/rules.json +1 -1
  9. package/dist/addon-mv3/compact-rules.json +1 -1
  10. package/dist/addon-mv3/content.bundle.js +4 -1
  11. package/dist/addon-mv3/manifest.json +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.cjs.js +4 -1
  15. package/dist/autoconsent.esm.js +4 -1
  16. package/dist/autoconsent.playwright.js +4 -1
  17. package/dist/autoconsent.standalone.js +5 -2
  18. package/docs/rule-syntax.md +1 -1
  19. package/lib/dom-actions.ts +5 -1
  20. package/package.json +2 -2
  21. package/rules/autoconsent/accurx.json +26 -0
  22. package/rules/autoconsent/aliexpress.json +37 -13
  23. package/rules/autoconsent/burpee-com.json +22 -10
  24. package/rules/autoconsent/ccm19.json +31 -0
  25. package/rules/autoconsent/channel4.json +5 -5
  26. package/rules/autoconsent/citizensadvice.json +43 -0
  27. package/rules/autoconsent/civic-cookie-control.json +9 -9
  28. package/rules/autoconsent/clasohlson.com.json +13 -0
  29. package/rules/autoconsent/cm-cookie-manager.json +20 -0
  30. package/rules/autoconsent/community.screwfix.com.json +23 -0
  31. package/rules/autoconsent/complianz-optin.json +11 -1
  32. package/rules/autoconsent/concept3d.json +19 -0
  33. package/rules/autoconsent/conextra.json +18 -0
  34. package/rules/autoconsent/cookie-script.json +23 -2
  35. package/rules/autoconsent/cookiecuttr.json +3 -2
  36. package/rules/autoconsent/craft-cookie-consent.json +65 -0
  37. package/rules/autoconsent/cz-eshop-cookies-consent.json +9 -0
  38. package/rules/autoconsent/depop.json +16 -14
  39. package/rules/autoconsent/dsgvo.json +8 -2
  40. package/rules/autoconsent/dwaalzin-nu.json +13 -0
  41. package/rules/autoconsent/elsevier.json +3 -3
  42. package/rules/autoconsent/eneba.json +66 -0
  43. package/rules/autoconsent/ensighten.json +2 -2
  44. package/rules/autoconsent/europa-eu.json +11 -7
  45. package/rules/autoconsent/finna.json +29 -0
  46. package/rules/autoconsent/head-fi.json +35 -0
  47. package/rules/autoconsent/istore-co-za.json +18 -0
  48. package/rules/autoconsent/kiwico.json +48 -0
  49. package/rules/autoconsent/la-becanerie.json +13 -0
  50. package/rules/autoconsent/lta.json +22 -0
  51. package/rules/autoconsent/meteored.json +40 -0
  52. package/rules/autoconsent/mizuno-com.json +13 -0
  53. package/rules/autoconsent/mobirise-cookies-alert-cosmetic.json +30 -0
  54. package/rules/autoconsent/mobirise-cookies-alert.json +34 -0
  55. package/rules/autoconsent/msg-cookie.json +9 -0
  56. package/rules/autoconsent/pigu.json +35 -0
  57. package/rules/autoconsent/plentyshop.json +27 -0
  58. package/rules/autoconsent/posthog.json +35 -0
  59. package/rules/autoconsent/quantcast.json +96 -34
  60. package/rules/autoconsent/quick-cookie-consent.json +70 -0
  61. package/rules/autoconsent/schadefonds.json +15 -0
  62. package/rules/autoconsent/service2school.json +45 -0
  63. package/rules/autoconsent/sportmedizin-rheuma.json +17 -0
  64. package/rules/autoconsent/tealium.json +10 -4
  65. package/rules/autoconsent/tracsis-delay-repay.json +13 -0
  66. package/rules/autoconsent/truendo.json +28 -0
  67. package/rules/autoconsent/truevault-polaris.json +8 -0
  68. package/rules/autoconsent/ubisoft-com.json +64 -0
  69. package/rules/autoconsent/volvocars-com.json +1 -1
  70. package/rules/autoconsent/wbd-legal-terms.json +28 -10
  71. package/rules/compact-rules.json +1 -1
  72. package/rules/rule-index.json +1 -1
  73. package/rules/rules.json +1 -1
  74. package/tests/accurx.spec.ts +3 -0
  75. package/tests/aliexpress.spec.ts +5 -1
  76. package/tests/burpee-com.spec.ts +3 -0
  77. package/tests/ccm19.spec.ts +11 -0
  78. package/tests/channel4.spec.ts +7 -3
  79. package/tests/citizensadvice.spec.ts +3 -0
  80. package/tests/civic-cookie-control.spec.ts +9 -1
  81. package/tests/clasohlson.com.spec.ts +3 -0
  82. package/tests/cm-cookie-manager.spec.ts +11 -0
  83. package/tests/community.screwfix.com.spec.ts +5 -0
  84. package/tests/complianz-optin.spec.ts +5 -1
  85. package/tests/concept3d.spec.ts +8 -0
  86. package/tests/conextra.spec.ts +8 -0
  87. package/tests/cookie-script.spec.ts +8 -3
  88. package/tests/cookiecuttr.spec.ts +8 -1
  89. package/tests/craft-cookie-consent.spec.ts +9 -0
  90. package/tests/cz-eshop-cookies-consent.spec.ts +10 -0
  91. package/tests/depop.spec.ts +3 -1
  92. package/tests/dsgvo.spec.ts +8 -10
  93. package/tests/dwaalzin-nu.spec.ts +6 -0
  94. package/tests/elsevier.spec.ts +5 -1
  95. package/tests/eneba.spec.ts +3 -0
  96. package/tests/europa-eu.spec.ts +6 -1
  97. package/tests/finna.spec.ts +3 -0
  98. package/tests/head-fi.spec.ts +3 -0
  99. package/tests/istore-co-za.spec.ts +3 -0
  100. package/tests/kiwico.spec.ts +5 -0
  101. package/tests/la-becanerie.spec.ts +3 -0
  102. package/tests/lta.spec.ts +7 -0
  103. package/tests/meteored.spec.ts +9 -0
  104. package/tests/mizuno-com.spec.ts +7 -0
  105. package/tests/mobirise-cookies-alert-cosmetic.spec.ts +8 -0
  106. package/tests/mobirise-cookies-alert.spec.ts +3 -0
  107. package/tests/msg-cookie.spec.ts +10 -0
  108. package/tests/pigu.spec.ts +3 -0
  109. package/tests/plentyshop.spec.ts +7 -0
  110. package/tests/posthog.spec.ts +3 -0
  111. package/tests/quantcast.spec.ts +15 -7
  112. package/tests/quick-cookie-consent.spec.ts +8 -0
  113. package/tests/schadefonds.spec.ts +3 -0
  114. package/tests/service2school.spec.ts +3 -0
  115. package/tests/sportmedizin-rheuma.spec.ts +3 -0
  116. package/tests/tealium.spec.ts +3 -0
  117. package/tests/tracsis-delay-repay.spec.ts +6 -0
  118. package/tests/truendo.spec.ts +9 -0
  119. package/tests/ubisoft-com.spec.ts +12 -0
  120. package/tests/wbd-legal-terms.spec.ts +2 -0
  121. package/tests-wtr/dom-actions/dom-actions.click.ts +18 -0
  122. package/Dockerfile +0 -9
  123. package/rules/autoconsent/sandhills.json +0 -26
  124. package/tests/sandhills.spec.ts +0 -8
@@ -5,6 +5,12 @@
5
5
  "detectCmp": [{ "exists": ".sp-dsgvo.sp-dsgvo-popup-overlay" }],
6
6
  "detectPopup": [{ "visible": ".sp-dsgvo.sp-dsgvo-popup-overlay", "check": "any" }],
7
7
  "optIn": [{ "waitForThenClick": ".sp-dsgvo-privacy-btn-accept-all", "all": true }],
8
- "optOut": [{ "waitForThenClick": ".sp-dsgvo-privacy-btn-accept-nothing" }],
9
- "test": [{ "cookieContains": "sp_dsgvo_cookie_settings", "negated": true }]
8
+ "optOut": [
9
+ {
10
+ "if": { "exists": ".sp-dsgvo-popup-overlay .sp-dsgvo-privacy-btn-accept-nothing" },
11
+ "then": [{ "waitForThenClick": ".sp-dsgvo-popup-overlay .sp-dsgvo-privacy-btn-accept-nothing" }],
12
+ "else": [{ "waitForThenClick": ".sp-dsgvo-popup-overlay .sp-dsgvo-popup-close" }]
13
+ }
14
+ ],
15
+ "test": [{ "cookieContains": "integrations%22%3A%5B%5D" }]
10
16
  }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "dwaalzin.nu",
3
+ "vendorUrl": "https://dwaalzin.nu/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?dwaalzin\\.nu/"
6
+ },
7
+ "prehideSelectors": [".cc-type-info[aria-describedby=\"cookieconsent:desc\"]"],
8
+ "detectCmp": [{ "exists": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
9
+ "detectPopup": [{ "visible": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
10
+ "optIn": [{ "waitForThenClick": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
11
+ "optOut": [{ "waitForThenClick": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
12
+ "test": [{ "cookieContains": "cookieconsent_status=dismiss" }]
13
+ }
@@ -7,12 +7,12 @@
7
7
  "prehideSelectors": ["[data-testid=\"cookie-banner\"]"],
8
8
  "detectCmp": [
9
9
  {
10
- "exists": "[data-testid=\"cookie-banner\"] [data-testid=\"cookie-settings-button\"]"
10
+ "exists": "[data-testid=\"accept-all-cookies-button\"] ~ [data-testid=\"cookie-settings-button\"]"
11
11
  }
12
12
  ],
13
13
  "detectPopup": [
14
14
  {
15
- "visible": "[data-testid=\"cookie-banner\"] [data-testid=\"cookie-settings-button\"]"
15
+ "visible": "[data-testid=\"accept-all-cookies-button\"] ~ [data-testid=\"cookie-settings-button\"]"
16
16
  }
17
17
  ],
18
18
  "optIn": [
@@ -56,7 +56,7 @@
56
56
  ]
57
57
  },
58
58
  {
59
- "waitForVisible": "[data-testid=\"cookie-banner\"]",
59
+ "waitForVisible": "[data-testid=\"accept-all-cookies-button\"]",
60
60
  "check": "none",
61
61
  "timeout": 10000
62
62
  }
@@ -0,0 +1,66 @@
1
+ {
2
+ "name": "eneba",
3
+ "vendorUrl": "https://www.eneba.com/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "main": true,
7
+ "frame": false,
8
+ "urlPattern": "^https?://(www\\.)?eneba\\.com/"
9
+ },
10
+ "prehideSelectors": ["#app > div:has(a[href*=\"business.safety.google\"])"],
11
+ "detectCmp": [
12
+ {
13
+ "exists": "#app > div:has(a[href*=\"business.safety.google\"]) p + div > button"
14
+ }
15
+ ],
16
+ "detectPopup": [
17
+ {
18
+ "visible": "#app > div:has(a[href*=\"business.safety.google\"]) p + div > button"
19
+ }
20
+ ],
21
+ "optIn": [
22
+ {
23
+ "waitForThenClick": "#app > div:has(a[href*=\"business.safety.google\"]) p + div > button:first-child"
24
+ }
25
+ ],
26
+ "optOut": [
27
+ {
28
+ "waitForThenClick": "#app > div:has(a[href*=\"business.safety.google\"]) p + div > button:last-child"
29
+ },
30
+ {
31
+ "waitForVisible": "[role=dialog] form input#MARKETING",
32
+ "timeout": 2000,
33
+ "optional": true
34
+ },
35
+ {
36
+ "if": {
37
+ "visible": "[role=dialog] form input#MARKETING",
38
+ "check": "none"
39
+ },
40
+ "then": [
41
+ {
42
+ "click": "#app > div:has(a[href*=\"business.safety.google\"]) p + div > button:last-child"
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "waitForVisible": "[role=dialog] form input#MARKETING"
48
+ },
49
+ {
50
+ "click": "[role=dialog] form input[type=checkbox]:checked",
51
+ "all": true,
52
+ "optional": true
53
+ },
54
+ {
55
+ "waitForThenClick": "[role=dialog] form button[type=submit]"
56
+ }
57
+ ],
58
+ "test": [
59
+ {
60
+ "wait": 500
61
+ },
62
+ {
63
+ "cookieContains": "cconsent=1000"
64
+ }
65
+ ]
66
+ }
@@ -19,12 +19,12 @@
19
19
  "then": [
20
20
  {
21
21
  "if": {
22
- "visible": "#ensNotifyBanner #ensRejectAll,#ensNotifyBanner #rejectAll,#ensNotifyBanner #ensRejectBanner,#ensNotifyBanner .rejectAll,#ensNotifyBanner #bannerRejectButton,#ensNotifyBanner #ensRejectAds",
22
+ "visible": "#ensNotifyBanner #ensRejectAll,#ensNotifyBanner #rejectAll,#ensNotifyBanner #ensRejectBanner,#ensNotifyBanner .rejectAll,#ensNotifyBanner #bannerRejectButton,#ensNotifyBanner #ensRejectAds,#ensNotifyBanner #btn-accept-essential-cookies",
23
23
  "check": "any"
24
24
  },
25
25
  "then": [
26
26
  {
27
- "waitForThenClick": "#ensNotifyBanner #ensRejectAll,#ensNotifyBanner #rejectAll,#ensNotifyBanner #ensRejectBanner,#ensNotifyBanner .rejectAll,#ensNotifyBanner #bannerRejectButton,#ensNotifyBanner #ensRejectAds"
27
+ "waitForThenClick": "#ensNotifyBanner #ensRejectAll,#ensNotifyBanner #rejectAll,#ensNotifyBanner #ensRejectBanner,#ensNotifyBanner .rejectAll,#ensNotifyBanner #bannerRejectButton,#ensNotifyBanner #ensRejectAds,#ensNotifyBanner #btn-accept-essential-cookies"
28
28
  }
29
29
  ],
30
30
  "else": [
@@ -2,28 +2,32 @@
2
2
  "name": "europa-eu",
3
3
  "vendorUrl": "https://ec.europa.eu/",
4
4
  "runContext": {
5
- "urlPattern": "^https://([a-z\\.]*\\.)?europa\\.eu/"
5
+ "urlPattern": "^https://([a-z0-9.-]*\\.)?europa\\.eu/"
6
6
  },
7
- "prehideSelectors": ["#cookie-consent-banner"],
7
+ "prehideSelectors": ["#cookie-consent-banner .wt-cck--container"],
8
8
  "detectCmp": [
9
9
  {
10
- "exists": ".cck-container"
10
+ "exists": "#cookie-consent-banner .wt-cck--container"
11
11
  }
12
12
  ],
13
13
  "detectPopup": [
14
14
  {
15
- "visible": ".cck-container"
15
+ "visible": "#cookie-consent-banner .wt-cck--container"
16
16
  }
17
17
  ],
18
18
  "optIn": [
19
19
  {
20
- "waitForThenClick": ".cck-actions-button[href=\"#accept\"]"
20
+ "waitForThenClick": ".wt-cck--actions-button[href=\"#accept\"]"
21
21
  }
22
22
  ],
23
23
  "optOut": [
24
24
  {
25
- "waitForThenClick": ".cck-actions-button[href=\"#refuse\"]",
26
- "hide": ".cck-container"
25
+ "waitForThenClick": ".wt-cck--actions-button[href=\"#refuse\"]"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "%22cm%22%3Atrue%2C%22all1st%22%3Afalse"
27
31
  }
28
32
  ]
29
33
  }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "finna",
3
+ "vendorUrl": "https://finna.fi/",
4
+ "prehideSelectors": [".js-cookie-consent:has(.cookie-consent__accept-essential)"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".js-cookie-consent .cookie-consent__accept-essential"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".js-cookie-consent .cookie-consent__accept-essential"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".js-cookie-consent .cookie-consent__accept-all",
18
+ "retry": 10,
19
+ "retryInterval": 500
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": ".js-cookie-consent .cookie-consent__accept-essential",
25
+ "retry": 10,
26
+ "retryInterval": 500
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "head-fi",
3
+ "vendorUrl": "https://www.head-fi.org/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?head-fi\\.org/"
6
+ },
7
+ "prehideSelectors": [".notices--bottom_fixer .js-notice[data-notice-id=\"1\"]"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".notices--bottom_fixer .js-notice[data-notice-id=\"1\"] .js-noticeDismiss"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".notices--bottom_fixer .js-notice[data-notice-id=\"1\"]"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".notices--bottom_fixer .js-notice[data-notice-id=\"1\"] .js-noticeDismiss"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".notices--bottom_fixer .js-notice[data-notice-id=\"1\"] .js-noticeDismiss"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "waitForVisible": ".notices--bottom_fixer .js-notice[data-notice-id=\"1\"]",
31
+ "timeout": 1000,
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "istore.co.za",
3
+ "vendorUrl": "https://www.istore.co.za/",
4
+ "cosmetic": true,
5
+ "minimumRuleStepVersion": 2,
6
+ "runContext": {
7
+ "urlPattern": "^https?://(www\\.)?istore(preowned)?\\.co\\.za/"
8
+ },
9
+ "prehideSelectors": ["#notice-cookie-block"],
10
+ "detectCmp": [{ "exists": "#notice-cookie-block" }],
11
+ "detectPopup": [{ "visible": "#notice-cookie-block" }],
12
+ "optIn": [{ "waitForThenClick": "#btn-cookie-allow" }],
13
+ "optOut": [
14
+ { "hide": "#notice-cookie-block" },
15
+ { "hide": ".header-slideout-overlay-cookie", "optional": true },
16
+ { "removeClass": "no-scroll", "selector": "body", "optional": true }
17
+ ]
18
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "kiwico",
3
+ "vendorUrl": "https://www.kiwico.com/",
4
+ "runContext": {
5
+ "main": true,
6
+ "frame": false,
7
+ "urlPattern": "^https?://(www\\.)?kiwico\\.com/"
8
+ },
9
+ "prehideSelectors": ["#ccpa-request-consent"],
10
+ "detectCmp": [
11
+ {
12
+ "exists": "#ccpa-request-consent .settings button"
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": "#ccpa-request-consent.ccpa-banner--visible .settings button"
18
+ }
19
+ ],
20
+ "optIn": [
21
+ {
22
+ "waitForThenClick": "#ccpa-request-consent .accept button"
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "waitForThenClick": "#ccpa-request-consent .settings button"
28
+ },
29
+ {
30
+ "waitForThenClick": ".ReactModal__Content:has(.toggle-grid) .modal__footer button.button--vibrant--filled"
31
+ },
32
+ {
33
+ "waitForVisible": ".ReactModal__Content:has(.toggle-grid)",
34
+ "check": "none",
35
+ "timeout": 3000
36
+ },
37
+ {
38
+ "waitForThenClick": "#ccpa-request-consent button.close"
39
+ }
40
+ ],
41
+ "test": [
42
+ {
43
+ "waitForVisible": "#ccpa-request-consent",
44
+ "check": "none",
45
+ "timeout": 3000
46
+ }
47
+ ]
48
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "la-becanerie",
3
+ "vendorUrl": "https://www.la-becanerie.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https://(www\\.)?la-becanerie\\.com/"
6
+ },
7
+ "prehideSelectors": [".cookieconsent .cc_banner-wrapper"],
8
+ "detectCmp": [{ "exists": ".cookieconsent .cc_banner-wrapper [onclick*='refuseAllCookiesPreferences']" }],
9
+ "detectPopup": [{ "visible": ".cookieconsent .cc_banner" }],
10
+ "optIn": [{ "waitForThenClick": ".cc_banner [onclick*='acceptAllCookiesPreferences']" }],
11
+ "optOut": [{ "waitForThenClick": ".cc_banner [onclick*='refuseAllCookiesPreferences']" }],
12
+ "test": [{ "cookieContains": "_cprefs=%7B%22stats%22%3A1%2C%22fct%22%3A1%2C%22mkt%22%3A1%7D" }]
13
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "lta",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.lta.org.uk/"
5
+ },
6
+ "cosmetic": false,
7
+ "runContext": {
8
+ "main": true,
9
+ "frame": false
10
+ },
11
+ "prehideSelectors": ["#lta-cookies-banner"],
12
+ "detectCmp": [{ "exists": "#lta-cookies-banner" }],
13
+ "detectPopup": [{ "visible": "#lta-cookies-banner" }],
14
+ "optIn": [{ "waitForThenClick": "#lta-cookies-button" }],
15
+ "optOut": [
16
+ { "waitForThenClick": "#js-lta-cookie-modal-trigger" },
17
+ { "waitForVisible": "#lta-cookies-modal" },
18
+ { "click": "#lta-cookies-form input[type=radio][id^=decline-]", "all": true, "optional": true },
19
+ { "click": "#js-lta-cookie-modal-set" }
20
+ ],
21
+ "test": [{ "cookieContains": "%22perf%22:false" }]
22
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "meteored",
3
+ "vendorUrl": "https://www.meteored.com/",
4
+ "prehideSelectors": [".cmp_gdpr .fondo-cmp"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".cmp_gdpr #btn-gdpr-accept"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".cmp_gdpr #btn-gdpr-accept"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".cmp_gdpr #btn-gdpr-accept"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ".cmp_gdpr #btn-gdpr-configure"
23
+ },
24
+ {
25
+ "waitForThenClick": ".cmp_gdpr .bt-final.footer button.bt-izq-m",
26
+ "retry": 5,
27
+ "retryInterval": 500
28
+ }
29
+ ],
30
+ "test": [
31
+ {
32
+ "waitForVisible": ".cmp_gdpr .fondo-cmp",
33
+ "timeout": 1000,
34
+ "check": "none"
35
+ },
36
+ {
37
+ "cookieContains": "cmp-cl=AA"
38
+ }
39
+ ]
40
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "mizuno.com",
3
+ "vendorUrl": "https://emea.mizuno.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?mizuno\\.com/"
6
+ },
7
+ "prehideSelectors": ["#consent-tracking"],
8
+ "detectCmp": [{ "exists": "#consent-tracking .btn-necessary" }],
9
+ "detectPopup": [{ "visible": "#consent-tracking" }],
10
+ "optIn": [{ "waitForThenClick": "#consent-tracking .btn-all" }],
11
+ "optOut": [{ "waitForThenClick": "#consent-tracking .btn-necessary" }],
12
+ "test": [{ "cookieContains": "\"marketingCookie\":false" }]
13
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "mobirise-cookies-alert-cosmetic",
3
+ "vendorUrl": "https://mobirise.com/",
4
+ "cosmetic": true,
5
+ "prehideSelectors": ["#cookiesdirective"],
6
+ "detectCmp": [
7
+ {
8
+ "exists": "#cookiesdirective"
9
+ },
10
+ {
11
+ "exists": "#cookiesdirective #explicitreject",
12
+ "negated": true
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": "#cookiesdirective"
18
+ }
19
+ ],
20
+ "optIn": [
21
+ {
22
+ "waitForThenClick": "#cookiesdirective #explicitsubmit, #cookiesdirective #impliedsubmit"
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "hide": "#cookiesdirective"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "mobirise-cookies-alert",
3
+ "vendorUrl": "https://mobirise.com/",
4
+ "prehideSelectors": ["#cookiesdirective"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#cookiesdirective #explicitreject"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#cookiesdirective"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#cookiesdirective #explicitsubmit"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#cookiesdirective #explicitreject",
23
+ "retry": 3,
24
+ "retryInterval": 1500
25
+ }
26
+ ],
27
+ "test": [
28
+ {
29
+ "waitForVisible": "#cookiesdirective",
30
+ "check": "none",
31
+ "timeout": 4000
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "msg-cookie",
3
+ "cosmetic": true,
4
+ "prehideSelectors": ["#msg-cookie:has(#hide-msg-cookie)"],
5
+ "detectCmp": [{ "exists": "#msg-cookie #hide-msg-cookie" }],
6
+ "detectPopup": [{ "visible": "#msg-cookie #hide-msg-cookie" }],
7
+ "optIn": [{ "waitForThenClick": "#msg-cookie #hide-msg-cookie" }],
8
+ "optOut": [{ "hide": "#msg-cookie" }]
9
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "pigu",
3
+ "vendorUrl": "https://pigugroup.eu/",
4
+ "detectCmp": [
5
+ {
6
+ "exists": "#consent_block[widget=\"CookieTracker\"]"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "#consent_block [widget-attachpoint=\"basicAgree\"]"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": "#consent_block [widget-attachpoint=\"agree\"]",
17
+ "retry": 10,
18
+ "retryInterval": 500
19
+ }
20
+ ],
21
+ "optOut": [
22
+ {
23
+ "waitForThenClick": "#consent_block [widget-attachpoint=\"basicAgree\"]",
24
+ "retry": 10,
25
+ "retryInterval": 500
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "waitForVisible": "#consent_block [widget-attachpoint=\"basicAgree\"]",
31
+ "check": "none",
32
+ "timeout": 2000
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "plentyshop",
3
+ "vendorUrl": "https://www.plentymarkets.com/",
4
+ "prehideSelectors": ["[data-cookie-bar]"],
5
+ "detectCmp": [{ "exists": "[data-cookie-bar] [data-cb=\"acceptAll\"]" }],
6
+ "detectPopup": [
7
+ {
8
+ "visible": "[data-cookie-bar] [data-cb=\"declineAll\"],[data-cookie-bar] [data-cb=\"saveNecessary\"]",
9
+ "check": "any"
10
+ }
11
+ ],
12
+ "optIn": [{ "waitForThenClick": "[data-cookie-bar] [data-cb=\"acceptAll\"]" }],
13
+ "optOut": [
14
+ {
15
+ "if": { "exists": "[data-cookie-bar] [data-cb=\"declineAll\"]" },
16
+ "then": [{ "waitForThenClick": "[data-cookie-bar] [data-cb=\"declineAll\"]" }],
17
+ "else": [{ "waitForThenClick": "[data-cookie-bar] [data-cb=\"saveNecessary\"]" }]
18
+ }
19
+ ],
20
+ "test": [
21
+ {
22
+ "visible": "[data-cookie-bar] [data-cb=\"declineAll\"],[data-cookie-bar] [data-cb=\"saveNecessary\"]",
23
+ "check": "none"
24
+ },
25
+ { "cookieContains": "plenty-shop-cookie=" }
26
+ ]
27
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "posthog",
3
+ "vendorUrl": "https://posthog.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?posthog\\.com/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]//button[@data-radix-toast-announce-alt='Close']"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]//button[@data-radix-toast-announce-alt='Close']"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "waitForVisible": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]",
31
+ "check": "none",
32
+ "timeout": 2000
33
+ }
34
+ ]
35
+ }