@duckduckgo/autoconsent 16.52.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 (102) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +63 -0
  3. package/dist/addon-firefox/compact-rules.json +1 -1
  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/manifest.json +1 -1
  9. package/dist/addon-mv3/rule-index.json +1 -1
  10. package/dist/addon-mv3/rules.json +1 -1
  11. package/dist/autoconsent.standalone.js +1 -1
  12. package/package.json +2 -2
  13. package/rules/autoconsent/accurx.json +26 -0
  14. package/rules/autoconsent/aliexpress.json +37 -13
  15. package/rules/autoconsent/burpee-com.json +22 -10
  16. package/rules/autoconsent/ccm19.json +31 -0
  17. package/rules/autoconsent/channel4.json +5 -5
  18. package/rules/autoconsent/citizensadvice.json +43 -0
  19. package/rules/autoconsent/civic-cookie-control.json +9 -9
  20. package/rules/autoconsent/clasohlson.com.json +13 -0
  21. package/rules/autoconsent/cm-cookie-manager.json +20 -0
  22. package/rules/autoconsent/complianz-optin.json +11 -1
  23. package/rules/autoconsent/concept3d.json +19 -0
  24. package/rules/autoconsent/conextra.json +18 -0
  25. package/rules/autoconsent/cookie-script.json +23 -2
  26. package/rules/autoconsent/cookiecuttr.json +3 -2
  27. package/rules/autoconsent/craft-cookie-consent.json +65 -0
  28. package/rules/autoconsent/cz-eshop-cookies-consent.json +9 -0
  29. package/rules/autoconsent/depop.json +16 -14
  30. package/rules/autoconsent/dsgvo.json +8 -2
  31. package/rules/autoconsent/dwaalzin-nu.json +13 -0
  32. package/rules/autoconsent/elsevier.json +3 -3
  33. package/rules/autoconsent/eneba.json +66 -0
  34. package/rules/autoconsent/ensighten.json +2 -2
  35. package/rules/autoconsent/europa-eu.json +11 -7
  36. package/rules/autoconsent/finna.json +29 -0
  37. package/rules/autoconsent/head-fi.json +35 -0
  38. package/rules/autoconsent/istore-co-za.json +18 -0
  39. package/rules/autoconsent/kiwico.json +48 -0
  40. package/rules/autoconsent/meteored.json +40 -0
  41. package/rules/autoconsent/mobirise-cookies-alert-cosmetic.json +30 -0
  42. package/rules/autoconsent/mobirise-cookies-alert.json +34 -0
  43. package/rules/autoconsent/msg-cookie.json +9 -0
  44. package/rules/autoconsent/plentyshop.json +27 -0
  45. package/rules/autoconsent/posthog.json +35 -0
  46. package/rules/autoconsent/quantcast.json +11 -0
  47. package/rules/autoconsent/quick-cookie-consent.json +70 -0
  48. package/rules/autoconsent/schadefonds.json +15 -0
  49. package/rules/autoconsent/service2school.json +45 -0
  50. package/rules/autoconsent/sportmedizin-rheuma.json +17 -0
  51. package/rules/autoconsent/tracsis-delay-repay.json +13 -0
  52. package/rules/autoconsent/truendo.json +28 -0
  53. package/rules/autoconsent/truevault-polaris.json +8 -0
  54. package/rules/autoconsent/ubisoft-com.json +64 -0
  55. package/rules/autoconsent/volvocars-com.json +1 -1
  56. package/rules/autoconsent/wbd-legal-terms.json +28 -10
  57. package/rules/compact-rules.json +1 -1
  58. package/rules/rule-index.json +1 -1
  59. package/rules/rules.json +1 -1
  60. package/tests/accurx.spec.ts +3 -0
  61. package/tests/aliexpress.spec.ts +5 -1
  62. package/tests/burpee-com.spec.ts +3 -0
  63. package/tests/ccm19.spec.ts +11 -0
  64. package/tests/channel4.spec.ts +7 -3
  65. package/tests/citizensadvice.spec.ts +3 -0
  66. package/tests/civic-cookie-control.spec.ts +9 -1
  67. package/tests/clasohlson.com.spec.ts +3 -0
  68. package/tests/cm-cookie-manager.spec.ts +11 -0
  69. package/tests/complianz-optin.spec.ts +5 -1
  70. package/tests/concept3d.spec.ts +8 -0
  71. package/tests/conextra.spec.ts +8 -0
  72. package/tests/cookie-script.spec.ts +8 -3
  73. package/tests/cookiecuttr.spec.ts +8 -1
  74. package/tests/craft-cookie-consent.spec.ts +9 -0
  75. package/tests/cz-eshop-cookies-consent.spec.ts +10 -0
  76. package/tests/depop.spec.ts +3 -1
  77. package/tests/dsgvo.spec.ts +8 -10
  78. package/tests/dwaalzin-nu.spec.ts +6 -0
  79. package/tests/elsevier.spec.ts +5 -1
  80. package/tests/eneba.spec.ts +3 -0
  81. package/tests/europa-eu.spec.ts +6 -1
  82. package/tests/finna.spec.ts +3 -0
  83. package/tests/head-fi.spec.ts +3 -0
  84. package/tests/istore-co-za.spec.ts +3 -0
  85. package/tests/kiwico.spec.ts +5 -0
  86. package/tests/meteored.spec.ts +9 -0
  87. package/tests/mobirise-cookies-alert-cosmetic.spec.ts +8 -0
  88. package/tests/mobirise-cookies-alert.spec.ts +3 -0
  89. package/tests/msg-cookie.spec.ts +10 -0
  90. package/tests/plentyshop.spec.ts +7 -0
  91. package/tests/posthog.spec.ts +3 -0
  92. package/tests/quantcast.spec.ts +2 -2
  93. package/tests/quick-cookie-consent.spec.ts +8 -0
  94. package/tests/schadefonds.spec.ts +3 -0
  95. package/tests/service2school.spec.ts +3 -0
  96. package/tests/sportmedizin-rheuma.spec.ts +3 -0
  97. package/tests/tracsis-delay-repay.spec.ts +6 -0
  98. package/tests/truendo.spec.ts +9 -0
  99. package/tests/ubisoft-com.spec.ts +12 -0
  100. package/tests/wbd-legal-terms.spec.ts +2 -0
  101. package/rules/autoconsent/sandhills.json +0 -26
  102. package/tests/sandhills.spec.ts +0 -8
@@ -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,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,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,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
+ }
@@ -19,6 +19,17 @@
19
19
  "exists": "#qc-cmp2-usp"
20
20
  },
21
21
  "then": [
22
+ {
23
+ "waitFor": "#qc-cmp2-usp .qc-cmp2-list-item-header,#qc-cmp2-usp .qc-cmp2-toggle-switch",
24
+ "timeout": 2000,
25
+ "optional": true
26
+ },
27
+ {
28
+ "comment": "some sites render the opt-out list collapsed, without toggles until it's expanded",
29
+ "click": "#qc-cmp2-usp .qc-cmp2-list-item:not(:has(.qc-cmp2-toggle-switch)) > .qc-cmp2-list-item-header",
30
+ "all": true,
31
+ "optional": true
32
+ },
22
33
  {
23
34
  "waitFor": "#qc-cmp2-usp .qc-cmp2-toggle-switch",
24
35
  "timeout": 2000,
@@ -0,0 +1,70 @@
1
+ {
2
+ "name": "quick-cookie-consent",
3
+ "vendorUrl": "https://privacypolicies.com/cookie-consent/",
4
+ "prehideSelectors": [".cookieconsent-popup:has(.ui-icon-wrench)"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".cookieconsent-popup .cookieconsent-button-wrap button:has(.ui-icon-wrench)"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".cookieconsent-popup .cookieconsent-button-wrap button:has(.ui-icon-wrench)"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".cookieconsent-popup .cookieconsent-button-wrap button:has(.ui-icon-close)"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ".cookieconsent-popup .cookieconsent-button-wrap button:has(.ui-icon-wrench)"
23
+ },
24
+ {
25
+ "waitForVisible": ".cookieconsent-edit-settings .cookieconsent-level-changer"
26
+ },
27
+ {
28
+ "if": {
29
+ "exists": ".cookieconsent-level-changer > a:nth-of-type(2).activated"
30
+ },
31
+ "then": [
32
+ {
33
+ "click": ".cookieconsent-level-changer > a:first-of-type"
34
+ }
35
+ ]
36
+ },
37
+ {
38
+ "if": {
39
+ "exists": ".cookieconsent-edit-settings .cookieconsent-dialog-close-btn"
40
+ },
41
+ "then": [
42
+ {
43
+ "click": ".cookieconsent-edit-settings .cookieconsent-dialog-close-btn"
44
+ }
45
+ ],
46
+ "else": [
47
+ {
48
+ "click": ".cookieconsent-edit-settings .cookieconsent-dialog-close"
49
+ }
50
+ ]
51
+ }
52
+ ],
53
+ "test": [
54
+ {
55
+ "cookieContains": "cookie_consent_level="
56
+ },
57
+ {
58
+ "cookieContains": "cookie_consent_level=tracking",
59
+ "negated": true
60
+ },
61
+ {
62
+ "cookieContains": "cookie_consent_level=targeting",
63
+ "negated": true
64
+ },
65
+ {
66
+ "cookieContains": "cookie_consent_level=functional",
67
+ "negated": true
68
+ }
69
+ ]
70
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "schadefonds",
3
+ "vendorUrl": "https://www.schadefonds.nl/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?schadefonds\\.nl/"
6
+ },
7
+ "prehideSelectors": [".cc-window[aria-describedby=\"cookieconsent:desc\"]"],
8
+ "detectCmp": [{ "exists": ".cc-window.cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
9
+ "detectPopup": [{ "visible": ".cc-window.cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
10
+ "optIn": [{ "waitForThenClick": ".cc-window[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
11
+ "optOut": [
12
+ { "waitFor": "body.cookie-overlay", "timeout": 2000, "optional": true },
13
+ { "waitForThenClick": ".cc-window[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }
14
+ ]
15
+ }
@@ -0,0 +1,45 @@
1
+ {
2
+ "name": "service2school",
3
+ "vendorUrl": "https://service2school.org/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?service2school\\.org/"
6
+ },
7
+ "prehideSelectors": [".cookie-banner-mount-point", "#hs-eu-cookie-confirmation"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".cookie-banner-mount-point section[aria-label='Cookie banner'] button.accept"
11
+ },
12
+ {
13
+ "cookieContains": "__hs_opt_out=",
14
+ "negated": true
15
+ }
16
+ ],
17
+ "detectPopup": [
18
+ {
19
+ "visible": ".cookie-banner-mount-point section[aria-label='Cookie banner']"
20
+ }
21
+ ],
22
+ "optIn": [
23
+ {
24
+ "waitForThenClick": ".cookie-banner-mount-point button.accept"
25
+ },
26
+ {
27
+ "waitForThenClick": "#hs-eu-confirmation-button",
28
+ "timeout": 5000
29
+ }
30
+ ],
31
+ "optOut": [
32
+ {
33
+ "hide": ".cookie-banner-mount-point"
34
+ },
35
+ {
36
+ "waitForThenClick": "#hs-eu-decline-button",
37
+ "timeout": 5000
38
+ }
39
+ ],
40
+ "test": [
41
+ {
42
+ "cookieContains": "__hs_opt_out=yes"
43
+ }
44
+ ]
45
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "sportmedizin-rheuma",
3
+ "vendorUrl": "https://www.sportmedizin-rheuma.de/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?sportmedizin-rheuma\\.de/"
7
+ },
8
+ "prehideSelectors": [".cc-type-info[aria-describedby=\"cookieconsent:desc\"]"],
9
+ "detectCmp": [{ "exists": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-compliance .cc-btn" }],
10
+ "detectPopup": [{ "visible": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-compliance .cc-btn" }],
11
+ "optIn": [{ "waitForThenClick": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
12
+ "optOut": [
13
+ { "hide": "[aria-describedby=\"cookieconsent:desc\"], .cc_overlay_bg" },
14
+ { "stylesheet": "body#home { overflow: visible !important; }" }
15
+ ],
16
+ "minimumRuleStepVersion": 3
17
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "tracsis-delay-repay",
3
+ "vendorUrl": "https://www.delayrepaycompensation.com/",
4
+ "cosmetic": false,
5
+ "prehideSelectors": [".my-cookie-wrapper.cc-window"],
6
+ "detectCmp": [{ "exists": ".my-cookie-wrapper [aria-describedby=\"cookieconsent:desc\"] .cc-reject-all" }],
7
+ "detectPopup": [{ "visible": ".my-cookie-wrapper [aria-describedby=\"cookieconsent:desc\"] .cc-reject-all" }],
8
+ "optIn": [{ "waitForThenClick": ".my-cookie-wrapper:not(.cc-invisible) [aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
9
+ "optOut": [
10
+ { "waitForThenClick": ".my-cookie-wrapper:not(.cc-invisible) [aria-describedby=\"cookieconsent:desc\"] .cc-reject-all", "retry": 2 }
11
+ ],
12
+ "test": [{ "cookieContains": "cookieconsent_dismissed1=reject_all" }]
13
+ }