@duckduckgo/autoconsent 16.54.0 → 16.56.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 (121) hide show
  1. package/CHANGELOG.md +75 -0
  2. package/dist/addon-firefox/compact-rules.json +1 -1
  3. package/dist/addon-firefox/manifest.json +1 -1
  4. package/dist/addon-firefox/rule-index.json +1 -1
  5. package/dist/addon-firefox/rules.json +1 -1
  6. package/dist/addon-mv3/compact-rules.json +1 -1
  7. package/dist/addon-mv3/manifest.json +1 -1
  8. package/dist/addon-mv3/rule-index.json +1 -1
  9. package/dist/addon-mv3/rules.json +1 -1
  10. package/dist/autoconsent.standalone.js +1 -1
  11. package/package.json +1 -1
  12. package/rules/autoconsent/accept-cookie-box.json +25 -0
  13. package/rules/autoconsent/amasty-gdpr.json +63 -0
  14. package/rules/autoconsent/arena-ai.json +24 -0
  15. package/rules/autoconsent/aspnet-cookieinfo.json +30 -0
  16. package/rules/autoconsent/automattic-cmp-optout.json +4 -4
  17. package/rules/autoconsent/avacy.json +15 -0
  18. package/rules/autoconsent/breuninger.json +33 -0
  19. package/rules/autoconsent/bringatrailer.json +34 -0
  20. package/rules/autoconsent/canva.json +23 -0
  21. package/rules/autoconsent/chefcookie.json +42 -0
  22. package/rules/autoconsent/ciaopeople-it.json +6 -15
  23. package/rules/autoconsent/close-cookie-notice-snippet.json +9 -0
  24. package/rules/autoconsent/cookie-bar-frame.json +9 -0
  25. package/rules/autoconsent/cookieman.json +14 -0
  26. package/rules/autoconsent/cookiepermission-cp-overlay.json +14 -0
  27. package/rules/autoconsent/dfactory-cookie-notice.json +16 -0
  28. package/rules/autoconsent/diag.pl.json +35 -0
  29. package/rules/autoconsent/eventfrog.json +39 -0
  30. package/rules/autoconsent/first-visit-notice.json +25 -0
  31. package/rules/autoconsent/forsakringskassan.se.json +33 -0
  32. package/rules/autoconsent/gear4music.json +42 -0
  33. package/rules/autoconsent/gsb-cookie-banner.json +9 -0
  34. package/rules/autoconsent/handelsbanken.json +30 -0
  35. package/rules/autoconsent/ilovepdf.json +33 -0
  36. package/rules/autoconsent/jcookie.json +25 -0
  37. package/rules/autoconsent/kamsoft-cookiesmanager.json +47 -0
  38. package/rules/autoconsent/lab-network-consent.json +30 -0
  39. package/rules/autoconsent/latrobe-edu-au.json +22 -0
  40. package/rules/autoconsent/lawwwing.json +35 -0
  41. package/rules/autoconsent/legally-ok.json +30 -0
  42. package/rules/autoconsent/midway-usa.json +4 -4
  43. package/rules/autoconsent/modelsociety.json +26 -0
  44. package/rules/autoconsent/musti.json +32 -0
  45. package/rules/autoconsent/openai.json +3 -3
  46. package/rules/autoconsent/piwik-pro.json +40 -21
  47. package/rules/autoconsent/popupsmart-cookie-notice.json +27 -0
  48. package/rules/autoconsent/pornhub.json +1 -1
  49. package/rules/autoconsent/privacylab-elmo.json +33 -0
  50. package/rules/autoconsent/r42-consent-iframe.json +38 -0
  51. package/rules/autoconsent/racv.json +23 -0
  52. package/rules/autoconsent/radboud-cookie-overlay.json +30 -0
  53. package/rules/autoconsent/seg-social.json +33 -0
  54. package/rules/autoconsent/silktide.json +16 -0
  55. package/rules/autoconsent/sitevision-cookie-consent.json +48 -0
  56. package/rules/autoconsent/sitevision-iw-cookie.json +21 -0
  57. package/rules/autoconsent/sitevision.json +14 -0
  58. package/rules/autoconsent/sl-se.json +33 -0
  59. package/rules/autoconsent/sogei-cookiebar.json +47 -0
  60. package/rules/autoconsent/spaggiari-pvw.json +31 -0
  61. package/rules/autoconsent/sportsmans.com.json +10 -0
  62. package/rules/autoconsent/tagconcierge.json +21 -2
  63. package/rules/autoconsent/txxx-network.json +31 -0
  64. package/rules/autoconsent/u-cookie-consent.json +12 -6
  65. package/rules/autoconsent/webtoffee-cookie-consent.json +45 -0
  66. package/rules/compact-rules.json +1 -1
  67. package/rules/rule-index.json +1 -1
  68. package/rules/rules.json +1 -1
  69. package/tests/accept-cookie-box.spec.ts +9 -0
  70. package/tests/amasty-gdpr.spec.ts +11 -0
  71. package/tests/arena-ai.spec.ts +5 -0
  72. package/tests/aspnet-cookieinfo.spec.ts +3 -0
  73. package/tests/automattic-cmp-optout.spec.ts +1 -1
  74. package/tests/avacy.spec.ts +7 -0
  75. package/tests/breuninger.spec.ts +3 -0
  76. package/tests/bringatrailer.spec.ts +5 -0
  77. package/tests/canva.spec.ts +5 -0
  78. package/tests/chefcookie.spec.ts +9 -0
  79. package/tests/ciaopeople-it.spec.ts +7 -1
  80. package/tests/close-cookie-notice-snippet.spec.ts +13 -0
  81. package/tests/cookie-bar-frame.spec.ts +7 -0
  82. package/tests/cookieman.spec.ts +10 -0
  83. package/tests/cookiepermission-cp-overlay.spec.ts +3 -0
  84. package/tests/dfactory-cookie-notice.spec.ts +7 -0
  85. package/tests/diag.pl.spec.ts +3 -0
  86. package/tests/eventfrog.spec.ts +6 -0
  87. package/tests/first-visit-notice.spec.ts +7 -0
  88. package/tests/forsakringskassan.se.spec.ts +3 -0
  89. package/tests/gear4music.spec.ts +8 -0
  90. package/tests/gsb-cookie-banner.spec.ts +14 -0
  91. package/tests/handelsbanken.spec.ts +11 -0
  92. package/tests/ilovepdf.spec.ts +5 -0
  93. package/tests/jcookie.spec.ts +8 -0
  94. package/tests/kamsoft-cookiesmanager.spec.ts +8 -0
  95. package/tests/lab-network-consent.spec.ts +3 -0
  96. package/tests/latrobe-edu-au.spec.ts +3 -0
  97. package/tests/lawwwing.spec.ts +8 -0
  98. package/tests/legally-ok.spec.ts +6 -0
  99. package/tests/modelsociety.spec.ts +6 -0
  100. package/tests/musti.spec.ts +3 -0
  101. package/tests/openai.spec.ts +3 -1
  102. package/tests/piwik-pro.spec.ts +6 -0
  103. package/tests/popupsmart-cookie-notice.spec.ts +9 -0
  104. package/tests/pornhub.spec.ts +1 -1
  105. package/tests/privacylab-elmo.spec.ts +9 -0
  106. package/tests/r42-consent-iframe.spec.ts +18 -0
  107. package/tests/racv.spec.ts +3 -0
  108. package/tests/radboud-cookie-overlay.spec.ts +10 -0
  109. package/tests/seg-social.spec.ts +6 -0
  110. package/tests/silktide.spec.ts +9 -0
  111. package/tests/sitevision-cookie-consent.spec.ts +18 -0
  112. package/tests/sitevision-iw-cookie.spec.ts +10 -0
  113. package/tests/sitevision.spec.ts +9 -0
  114. package/tests/sl-se.spec.ts +3 -0
  115. package/tests/sogei-cookiebar.spec.ts +15 -0
  116. package/tests/spaggiari-pvw.spec.ts +14 -0
  117. package/tests/sportsmans.com.spec.ts +7 -0
  118. package/tests/tagconcierge.spec.ts +4 -3
  119. package/tests/txxx-network.spec.ts +10 -0
  120. package/tests/u-cookie-consent.spec.ts +3 -0
  121. package/tests/webtoffee-cookie-consent.spec.ts +20 -0
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "ilovepdf",
3
+ "vendorUrl": "https://www.ilovepdf.com/",
4
+ "prehideSelectors": [],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#toast-container.ck-tstr #ck_set"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#toast-container.ck-tstr #ck_set"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#toast-container.ck-tstr #okck"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#toast-container.ck-tstr #ck_set"
23
+ },
24
+ {
25
+ "waitForThenClick": "#cmp_settings .cmp__button--reject"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "cmp_ck=3"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "jcookie",
3
+ "cosmetic": true,
4
+ "prehideSelectors": [".js-jcookie"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".js-jcookie .js-jcookie-allow"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".js-jcookie.active"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".js-jcookie .js-jcookie-allow"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "hide": ".js-jcookie"
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,47 @@
1
+ {
2
+ "name": "kamsoft-cookiesmanager",
3
+ "prehideSelectors": [".ui-dialog[aria-describedby=\"cookies\"]"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "#cookies > #cookies-info #btnCookiesAll"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "#cookies > #cookies-info #btnCookiesAll"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": "#cookies-info #btnCookiesAll"
17
+ }
18
+ ],
19
+ "optOut": [
20
+ {
21
+ "if": {
22
+ "exists": "#cookies-info #btnCookiesReject"
23
+ },
24
+ "then": [
25
+ {
26
+ "waitForThenClick": "#cookies-info #btnCookiesReject"
27
+ }
28
+ ],
29
+ "else": [
30
+ {
31
+ "waitForThenClick": "#cookies-info #btnCookiesOptions"
32
+ },
33
+ {
34
+ "waitForVisible": "#cookies-options #btnCookiesSelected"
35
+ },
36
+ {
37
+ "click": "#cookies-options input[type=\"checkbox\"]:checked",
38
+ "all": true,
39
+ "optional": true
40
+ },
41
+ {
42
+ "click": "#cookies-options #btnCookiesSelected"
43
+ }
44
+ ]
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "lab-network-consent",
3
+ "vendorUrl": "https://labuitslag.nl/",
4
+ "prehideSelectors": ["#lab-consent"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#lab-consent .lab-consent-reject"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#lab-consent"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#lab-consent .lab-consent-accept"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#lab-consent .lab-consent-reject"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "lab_analytics_consent=denied"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "latrobe.edu.au",
3
+ "comment": "Notice with only an 'Allow Cookies' button, so it is hidden. The site's CSS keyed on body.gdpr-on and #gdpr siblings would otherwise offset the sticky header and the search button.",
4
+ "cosmetic": true,
5
+ "minimumRuleStepVersion": 3,
6
+ "runContext": {
7
+ "main": true,
8
+ "frame": false,
9
+ "urlPattern": "^https?://(\\w+\\.)?latrobe\\.edu\\.au/"
10
+ },
11
+ "prehideSelectors": ["#gdpr"],
12
+ "detectCmp": [{ "exists": "#gdpr #gdpr-button" }],
13
+ "detectPopup": [{ "visible": "#gdpr" }],
14
+ "optIn": [{ "waitForThenClick": "#gdpr-button" }],
15
+ "optOut": [
16
+ { "hide": "#gdpr" },
17
+ {
18
+ "stylesheet": "body.gdpr-on #header { top: 0 !important; } body.vi #header #gdpr ~ #global-search-button, body.vi #header #gdpr ~ #global-search-button + label { top: 1.25rem; bottom: auto; }",
19
+ "stylesheetId": "latrobe-gdpr-layout"
20
+ }
21
+ ]
22
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "lawwwing",
3
+ "vendorUrl": "https://lawwwing.com/",
4
+ "prehideSelectors": ["#lw-widget-root #lw-banner"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#lw-widget-root #lw-banner"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#lw-widget-root #lw-banner.lw-banner-visible"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#lw-banner.lw-banner-visible .lw-consent-accept"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#lw-banner.lw-banner-visible .lw-consent-reject"
23
+ },
24
+ {
25
+ "waitForVisible": "#lw-banner.lw-banner-visible",
26
+ "check": "none",
27
+ "timeout": 2000
28
+ }
29
+ ],
30
+ "test": [
31
+ {
32
+ "cookieContains": "\"marketing\":{\"wanted\":false}"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "legally-ok",
3
+ "vendorUrl": "https://www.legally-ok.com/",
4
+ "prehideSelectors": ["#jmdCookieConsentWrapper"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ["#jmdCookieConsentWrapper", "#cookieConsent"]
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ["#jmdCookieConsentWrapper", "#cookieConsent"]
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ["#jmdCookieConsentWrapper", "#cookieConsent .js-accept-all"]
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ["#jmdCookieConsentWrapper", "#cookieConsent .js-select-none"]
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "\"analytics\":false,\"marketing\":false"
28
+ }
29
+ ]
30
+ }
@@ -4,9 +4,9 @@
4
4
  "urlPattern": "^https://www\\.midwayusa\\.com/"
5
5
  },
6
6
  "cosmetic": true,
7
- "prehideSelectors": ["#cookie-container"],
8
- "detectCmp": [{ "exists": ["div[aria-label=\"Cookie Policy Banner\"]"] }],
9
- "detectPopup": [{ "visible": "#cookie-container" }],
10
- "optIn": [{ "click": "button#cookie-btn" }],
7
+ "prehideSelectors": ["div[aria-label=\"Cookie Policy Banner\"]"],
8
+ "detectCmp": [{ "exists": "div[aria-label=\"Cookie Policy Banner\"]" }],
9
+ "detectPopup": [{ "visible": "div[aria-label=\"Cookie Policy Banner\"]" }],
10
+ "optIn": [{ "waitForThenClick": "div[aria-label=\"Cookie Policy Banner\"] #cookie-accept-btn" }],
11
11
  "optOut": [{ "hide": "div[aria-label=\"Cookie Policy Banner\"]" }]
12
12
  }
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "modelsociety",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?modelsociety\\.com/"
5
+ },
6
+ "prehideSelectors": ["[role='region'][aria-label='Cookie consent']"],
7
+ "detectCmp": [{ "exists": "[role='region'][aria-label='Cookie consent']" }],
8
+ "detectPopup": [{ "visible": "[role='region'][aria-label='Cookie consent']" }],
9
+ "optIn": [{ "waitForThenClick": "xpath///div[@role='region'][@aria-label='Cookie consent']//button[normalize-space(.)='Accept']" }],
10
+ "optOut": [
11
+ { "waitForThenClick": "xpath///div[@role='region'][@aria-label='Cookie consent']//button[normalize-space(.)='Reject']" },
12
+ {
13
+ "comment": "a confirmation dialog opens after rejecting",
14
+ "waitForThenClick": "[role='dialog'][data-diagnostic-boundary='modal-shell'] button[aria-label='Close']",
15
+ "timeout": 3000,
16
+ "optional": true
17
+ }
18
+ ],
19
+ "test": [
20
+ {
21
+ "waitForVisible": "[role='region'][aria-label='Cookie consent']",
22
+ "check": "none",
23
+ "timeout": 2000
24
+ }
25
+ ]
26
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "musti",
3
+ "vendorUrl": "https://www.mustigroup.com/",
4
+ "prehideSelectors": ["#cookie_consent_wrapper #cookie_consent.privacy_headsup"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#cookie_consent_wrapper #submit_privacy_consent1"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#cookie_consent_wrapper #cookie_consent.privacy_headsup"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#cookie_consent #submit_privacy_consent3"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#cookie_consent #cookie_only_necessary2"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "waitForVisible": "#cookie_consent_wrapper #cookie_consent.privacy_headsup",
28
+ "check": "none",
29
+ "timeout": 2000
30
+ }
31
+ ]
32
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openai",
3
- "vendorUrl": "https://platform.openai.com/",
3
+ "vendorUrl": "https://openai.com/",
4
4
  "cosmetic": false,
5
5
  "runContext": {
6
6
  "urlPattern": "^https://([a-z0-9-]+\\.)?openai\\.com/"
@@ -18,12 +18,12 @@
18
18
  ],
19
19
  "optIn": [
20
20
  {
21
- "waitForThenClick": "xpath///button[contains(., 'Accept all')]"
21
+ "waitForThenClick": "[aria-labelledby=cookieConsentTitle] button[aria-haspopup=dialog] ~ button:last-child"
22
22
  }
23
23
  ],
24
24
  "optOut": [
25
25
  {
26
- "waitForThenClick": "xpath///button[contains(., 'Reject non-essential')]"
26
+ "waitForThenClick": "[aria-labelledby=cookieConsentTitle] button[aria-haspopup=dialog] + button"
27
27
  }
28
28
  ],
29
29
  "test": [{ "wait": 500 }, { "cookieContains": "consent=rejected" }]
@@ -1,40 +1,40 @@
1
1
  {
2
2
  "name": "piwik-pro",
3
3
  "vendorUrl": "https://piwik.pro/consent-manager/",
4
- "prehideSelectors": ["#PiwikPROConsentForm-container", ".PiwikPROConsentForm-overlay"],
4
+ "prehideSelectors": ["#PiwikPROConsentForm-container", ".PiwikPROConsentForm-overlay", "#ppms_cm_popup_overlay"],
5
5
  "detectCmp": [
6
6
  {
7
- "exists": "#PiwikPROConsentForm-container"
7
+ "exists": "#PiwikPROConsentForm-container, #ppms_cm_popup_overlay #ppms_cm_reject-all, #ppms_cm_popup_overlay #ppms_cm_disagree"
8
8
  }
9
9
  ],
10
10
  "detectPopup": [
11
11
  {
12
- "visible": "#PiwikPROConsentForm-container"
12
+ "visible": "#PiwikPROConsentForm-container, #ppms_cm_popup_wrapper",
13
+ "check": "any"
13
14
  }
14
15
  ],
15
16
  "optIn": [
16
17
  {
17
- "waitForThenClick": "#PiwikPROConsentForm-agree-to-all, #PiwikPROConsentForm-agree"
18
+ "waitForThenClick": "#PiwikPROConsentForm-agree-to-all, #PiwikPROConsentForm-agree, #ppms_cm_agree-to-all"
18
19
  }
19
20
  ],
20
21
  "optOut": [
21
22
  {
22
23
  "if": {
23
- "visible": "#PiwikPROConsentForm-reject-all"
24
+ "exists": "#ppms_cm_reject-all, #ppms_cm_disagree"
24
25
  },
25
26
  "then": [
26
27
  {
27
- "click": "#PiwikPROConsentForm-reject-all"
28
+ "waitForThenClick": "#ppms_cm_reject-all, #ppms_cm_disagree"
29
+ },
30
+ {
31
+ "comment": "some sites show a confirmation note after saving",
32
+ "waitForThenClick": "#ppms_consent_form_success_note_button",
33
+ "timeout": 1000,
34
+ "optional": true
28
35
  }
29
36
  ],
30
37
  "else": [
31
- {
32
- "waitForThenClick": "#PiwikPROConsentForm-toggle-details"
33
- },
34
- {
35
- "waitForVisible": "#PiwikPROConsentForm-consents",
36
- "timeout": 2000
37
- },
38
38
  {
39
39
  "if": {
40
40
  "visible": "#PiwikPROConsentForm-reject-all"
@@ -46,24 +46,43 @@
46
46
  ],
47
47
  "else": [
48
48
  {
49
- "comment": "untick any pre-selected optional purposes",
50
- "click": "button.PiwikPROConsentForm-consent-checkbox[aria-checked=true]:not([aria-required=true]), input.PiwikPROConsentForm-consent-checkbox:checked:not(:disabled)",
51
- "all": true,
52
- "optional": true
49
+ "waitForThenClick": "#PiwikPROConsentForm-toggle-details"
50
+ },
51
+ {
52
+ "waitForVisible": "#PiwikPROConsentForm-consents",
53
+ "timeout": 2000
53
54
  },
54
55
  {
55
56
  "if": {
56
- "visible": "#PiwikPROConsentForm-save"
57
+ "visible": "#PiwikPROConsentForm-reject-all"
57
58
  },
58
59
  "then": [
59
60
  {
60
- "click": "#PiwikPROConsentForm-save"
61
+ "click": "#PiwikPROConsentForm-reject-all"
61
62
  }
62
63
  ],
63
64
  "else": [
64
65
  {
65
- "comment": "the details toggle turns into the save button once expanded",
66
- "click": "#PiwikPROConsentForm-toggle-details"
66
+ "comment": "untick any pre-selected optional purposes",
67
+ "click": "button.PiwikPROConsentForm-consent-checkbox[aria-checked=true]:not([aria-required=true]), input.PiwikPROConsentForm-consent-checkbox:checked:not(:disabled)",
68
+ "all": true,
69
+ "optional": true
70
+ },
71
+ {
72
+ "if": {
73
+ "visible": "#PiwikPROConsentForm-save"
74
+ },
75
+ "then": [
76
+ {
77
+ "click": "#PiwikPROConsentForm-save"
78
+ }
79
+ ],
80
+ "else": [
81
+ {
82
+ "comment": "the details toggle turns into the save button once expanded",
83
+ "click": "#PiwikPROConsentForm-toggle-details"
84
+ }
85
+ ]
67
86
  }
68
87
  ]
69
88
  }
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "popupsmart-cookie-notice",
3
+ "vendorUrl": "https://popupsmart.com/cookie-consent",
4
+ "comment": "notice with a single configurable button that can be labelled as accept, so it is hidden instead of clicked",
5
+ "cosmetic": true,
6
+ "prehideSelectors": ["#spopupCont"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#spopupCont #poper #cookie-btn.spopupbtnok"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#spopupCont #poper"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#spopupCont #cookie-btn"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "hide": "#spopupCont"
25
+ }
26
+ ]
27
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pornhub.com",
3
3
  "runContext": {
4
- "urlPattern": "^https://(www\\.)?pornhub\\.com/"
4
+ "urlPattern": "^https://(\\w+\\.)?pornhub\\.com/"
5
5
  },
6
6
  "cosmetic": false,
7
7
  "prehideSelectors": ["#cookieBanner #cookieBannerContent"],
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "privacylab-elmo",
3
+ "vendorUrl": "https://www.privacylab.it/",
4
+ "prehideSelectors": [".c-cookie-banner-main.c-consent-window"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".c-cookie-banner .c-cookie-banner-main.c-consent-window"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".c-cookie-banner-main.c-consent-window[style*=\"visibility: visible\"]"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".c-cookie-banner-main #banner-accept-btn-1"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ".c-cookie-banner-main .c-cookie-banner-header-refuse-btn"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "wait": 500
28
+ },
29
+ {
30
+ "cookieContains": "elmo_vc={\"purposes\":[\"necessary\"]"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "r42-consent-iframe",
3
+ "cosmetic": false,
4
+ "runContext": {
5
+ "main": true,
6
+ "frame": false
7
+ },
8
+ "prehideSelectors": [],
9
+ "detectCmp": [
10
+ {
11
+ "exists": ["#consent_iframe", ".stsp__cookie-container #declineButton"]
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "#consent_iframe"
17
+ },
18
+ {
19
+ "visible": ["#consent_iframe", ".stsp__cookie-container #declineButton"]
20
+ }
21
+ ],
22
+ "optIn": [
23
+ {
24
+ "waitForThenClick": ["#consent_iframe", ".stsp__cookie-container #st_popup_acceptButton"]
25
+ }
26
+ ],
27
+ "optOut": [
28
+ {
29
+ "waitForThenClick": ["#consent_iframe", ".stsp__cookie-container #declineButton"],
30
+ "comment": "Alleen functioneel / Alleen noodzakelijk"
31
+ }
32
+ ],
33
+ "test": [
34
+ {
35
+ "cookieContains": "_svs=%7B%22v%22%3A1%2C%22c%22%3A%7B%221%22%3Atrue%2C%222%22%3Afalse%2C%223%22%3Afalse"
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "racv",
3
+ "vendorUrl": "https://www.racv.com.au/",
4
+ "comment": "Notice-only banner with a single Accept button; a site variant adds a body.gdpr-active backdrop and scroll lock.",
5
+ "cosmetic": true,
6
+ "minimumRuleStepVersion": 3,
7
+ "runContext": {
8
+ "main": true,
9
+ "frame": false,
10
+ "urlPattern": "^https?://(www\\.)?racv\\.com\\.au/"
11
+ },
12
+ "prehideSelectors": [".gdpr[data-gdprservice]"],
13
+ "detectCmp": [{ "exists": ".gdpr[data-gdprservice]:not(.hide)" }],
14
+ "detectPopup": [{ "visible": ".gdpr[data-gdprservice]:not(.hide)" }],
15
+ "optIn": [{ "waitForThenClick": ".gdpr[data-gdprservice] .gdpr--button button" }],
16
+ "optOut": [
17
+ { "hide": ".gdpr[data-gdprservice]" },
18
+ {
19
+ "stylesheet": "body.gdpr-active { overflow: auto !important; } body.gdpr-active::before { display: none !important; }",
20
+ "stylesheetId": "racv-gdpr-backdrop"
21
+ }
22
+ ]
23
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "radboud-cookie-overlay",
3
+ "vendorUrl": "https://www.radboudumc.nl/",
4
+ "prehideSelectors": [],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "[data-component=RADCookieOverlay] .CookieOverlay"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "[data-component=RADCookieOverlay] .CookieOverlay_Buttons"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "[data-component=RADCookieOverlay] .CookieOverlay_Buttons > .Btn-Accent"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "[data-component=RADCookieOverlay] .CookieOverlay_ButtonGroup > button:nth-child(2)"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "cookie=False"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "seg-social",
3
+ "vendorUrl": "https://www.seg-social.es/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://([a-z0-9-]+\\.)*seg-social\\.(gob\\.)?es/"
6
+ },
7
+ "prehideSelectors": ["#cookieContainer #cookies"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookieContainer #cookies .cookies_inner button[onclick*='Rechazar']"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookieContainer #cookies .cookies_inner button[onclick*='Rechazar']"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookieContainer #cookies .cookies_inner button[onclick*='Aceptar']"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#cookieContainer #cookies .cookies_inner button[onclick*='Rechazar']"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "%7E%7Cparcial"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "silktide",
3
+ "vendorUrl": "https://silktide.com/consent-manager/",
4
+ "prehideSelectors": ["#silktide-banner", "#silktide-backdrop"],
5
+ "detectCmp": [{ "exists": "#silktide-banner" }],
6
+ "detectPopup": [{ "visible": "#silktide-banner" }],
7
+ "optIn": [{ "waitForThenClick": "#silktide-banner .accept-all" }],
8
+ "optOut": [
9
+ {
10
+ "if": { "exists": "#silktide-banner .reject-all" },
11
+ "then": [{ "click": "#silktide-banner .reject-all" }],
12
+ "else": [{ "click": "#silktide-banner .preferences" }, { "waitForThenClick": "#silktide-modal .preferences-reject-all" }]
13
+ }
14
+ ],
15
+ "test": [{ "waitForVisible": "#silktide-banner", "check": "none", "timeout": 2000 }]
16
+ }