@duckduckgo/autoconsent 16.52.0 → 16.54.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 (164) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +111 -0
  3. package/data/coverage.json +3302 -2383
  4. package/dist/addon-firefox/compact-rules.json +1 -1
  5. package/dist/addon-firefox/manifest.json +1 -1
  6. package/dist/addon-firefox/rule-index.json +1 -1
  7. package/dist/addon-firefox/rules.json +1 -1
  8. package/dist/addon-mv3/compact-rules.json +1 -1
  9. package/dist/addon-mv3/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.standalone.js +1 -1
  13. package/package.json +2 -2
  14. package/rules/autoconsent/accurx.json +26 -0
  15. package/rules/autoconsent/admetricspro.json +53 -0
  16. package/rules/autoconsent/aliexpress.json +37 -13
  17. package/rules/autoconsent/bigid.json +29 -13
  18. package/rules/autoconsent/bnes-cc.json +27 -0
  19. package/rules/autoconsent/burpee-com.json +22 -10
  20. package/rules/autoconsent/c-banner-allow-cookies.json +17 -0
  21. package/rules/autoconsent/ccm19.json +31 -0
  22. package/rules/autoconsent/channel4.json +5 -5
  23. package/rules/autoconsent/citizensadvice.json +43 -0
  24. package/rules/autoconsent/civic-cookie-control.json +9 -9
  25. package/rules/autoconsent/clasohlson.com.json +13 -0
  26. package/rules/autoconsent/cm-cookie-manager.json +20 -0
  27. package/rules/autoconsent/complianz-optin.json +11 -1
  28. package/rules/autoconsent/concept3d.json +19 -0
  29. package/rules/autoconsent/conextra.json +18 -0
  30. package/rules/autoconsent/cookie-script.json +23 -2
  31. package/rules/autoconsent/cookiecuttr.json +3 -2
  32. package/rules/autoconsent/costco-travel.json +44 -0
  33. package/rules/autoconsent/craft-cookie-consent.json +65 -0
  34. package/rules/autoconsent/cz-eshop-cookies-consent.json +9 -0
  35. package/rules/autoconsent/depop.json +16 -14
  36. package/rules/autoconsent/dsgvo.json +8 -2
  37. package/rules/autoconsent/dwaalzin-nu.json +13 -0
  38. package/rules/autoconsent/eastlink.json +66 -0
  39. package/rules/autoconsent/elsevier.json +3 -3
  40. package/rules/autoconsent/eneba.json +66 -0
  41. package/rules/autoconsent/ensighten.json +2 -2
  42. package/rules/autoconsent/eset.json +57 -0
  43. package/rules/autoconsent/europa-eu.json +11 -7
  44. package/rules/autoconsent/figma.json +37 -0
  45. package/rules/autoconsent/finna.json +29 -0
  46. package/rules/autoconsent/gla.ac.uk.json +45 -0
  47. package/rules/autoconsent/head-fi.json +35 -0
  48. package/rules/autoconsent/istore-co-za.json +18 -0
  49. package/rules/autoconsent/kiwico.json +48 -0
  50. package/rules/autoconsent/klaxit-cookie-consent.json +9 -0
  51. package/rules/autoconsent/kwik-fit.json +16 -0
  52. package/rules/autoconsent/malaysiaairlines.com.json +42 -0
  53. package/rules/autoconsent/meridiancu.json +15 -0
  54. package/rules/autoconsent/meteored.json +40 -0
  55. package/rules/autoconsent/mobirise-cookies-alert-cosmetic.json +30 -0
  56. package/rules/autoconsent/mobirise-cookies-alert.json +34 -0
  57. package/rules/autoconsent/msg-cookie.json +9 -0
  58. package/rules/autoconsent/nestpensions.json +14 -0
  59. package/rules/autoconsent/nhs-jobs.json +11 -0
  60. package/rules/autoconsent/occ-gdpr.json +17 -0
  61. package/rules/autoconsent/piwik-pro.json +83 -0
  62. package/rules/autoconsent/plentyshop.json +27 -0
  63. package/rules/autoconsent/posthog.json +35 -0
  64. package/rules/autoconsent/quantcast.json +11 -0
  65. package/rules/autoconsent/quick-cookie-consent.json +70 -0
  66. package/rules/autoconsent/savills.json +44 -0
  67. package/rules/autoconsent/schadefonds.json +15 -0
  68. package/rules/autoconsent/scottish-government-design-system.json +14 -0
  69. package/rules/autoconsent/service2school.json +45 -0
  70. package/rules/autoconsent/smallpdf.json +44 -0
  71. package/rules/autoconsent/somerset-council.json +16 -0
  72. package/rules/autoconsent/sportmedizin-rheuma.json +17 -0
  73. package/rules/autoconsent/stepstone-ccm.json +19 -0
  74. package/rules/autoconsent/teacherspensions.co.uk.json +46 -0
  75. package/rules/autoconsent/thenude.json +108 -0
  76. package/rules/autoconsent/tna-cookie-banner.json +43 -0
  77. package/rules/autoconsent/toyota.json +14 -0
  78. package/rules/autoconsent/tracsis-delay-repay.json +13 -0
  79. package/rules/autoconsent/truendo.json +28 -0
  80. package/rules/autoconsent/truevault-polaris.json +8 -0
  81. package/rules/autoconsent/tti-cookie-popup.json +72 -0
  82. package/rules/autoconsent/u-cookie-consent.json +9 -0
  83. package/rules/autoconsent/ubisoft-com.json +64 -0
  84. package/rules/autoconsent/volvocars-com.json +1 -1
  85. package/rules/autoconsent/wbd-legal-terms.json +28 -10
  86. package/rules/autoconsent/what3words.json +53 -0
  87. package/rules/autoconsent/whitepages-gpc-banner.json +14 -0
  88. package/rules/autoconsent/wp-cookie-notice.json +1 -1
  89. package/rules/compact-rules.json +1 -1
  90. package/rules/rule-index.json +1 -1
  91. package/rules/rules.json +1 -1
  92. package/tests/accurx.spec.ts +3 -0
  93. package/tests/admetricspro.spec.ts +21 -0
  94. package/tests/aliexpress.spec.ts +5 -1
  95. package/tests/bigid.spec.ts +6 -0
  96. package/tests/bnes-cc.spec.ts +3 -0
  97. package/tests/burpee-com.spec.ts +3 -0
  98. package/tests/c-banner-allow-cookies.spec.ts +3 -0
  99. package/tests/ccm19.spec.ts +11 -0
  100. package/tests/channel4.spec.ts +7 -3
  101. package/tests/citizensadvice.spec.ts +3 -0
  102. package/tests/civic-cookie-control.spec.ts +9 -1
  103. package/tests/clasohlson.com.spec.ts +3 -0
  104. package/tests/cm-cookie-manager.spec.ts +11 -0
  105. package/tests/complianz-optin.spec.ts +5 -1
  106. package/tests/concept3d.spec.ts +8 -0
  107. package/tests/conextra.spec.ts +8 -0
  108. package/tests/cookie-script.spec.ts +8 -3
  109. package/tests/cookiecuttr.spec.ts +8 -1
  110. package/tests/costco-travel.spec.ts +5 -0
  111. package/tests/craft-cookie-consent.spec.ts +9 -0
  112. package/tests/cz-eshop-cookies-consent.spec.ts +10 -0
  113. package/tests/depop.spec.ts +3 -1
  114. package/tests/dsgvo.spec.ts +8 -10
  115. package/tests/dwaalzin-nu.spec.ts +6 -0
  116. package/tests/eastlink.spec.ts +3 -0
  117. package/tests/elsevier.spec.ts +5 -1
  118. package/tests/eneba.spec.ts +3 -0
  119. package/tests/eset.spec.ts +9 -0
  120. package/tests/europa-eu.spec.ts +6 -1
  121. package/tests/figma.spec.ts +5 -0
  122. package/tests/finna.spec.ts +3 -0
  123. package/tests/gla.ac.uk.spec.ts +6 -0
  124. package/tests/head-fi.spec.ts +3 -0
  125. package/tests/istore-co-za.spec.ts +3 -0
  126. package/tests/kiwico.spec.ts +5 -0
  127. package/tests/klaxit-cookie-consent.spec.ts +7 -0
  128. package/tests/kwik-fit.spec.ts +3 -0
  129. package/tests/malaysiaairlines.com.spec.ts +3 -0
  130. package/tests/meridiancu.spec.ts +3 -0
  131. package/tests/meteored.spec.ts +9 -0
  132. package/tests/mobirise-cookies-alert-cosmetic.spec.ts +8 -0
  133. package/tests/mobirise-cookies-alert.spec.ts +3 -0
  134. package/tests/msg-cookie.spec.ts +10 -0
  135. package/tests/nestpensions.spec.ts +3 -0
  136. package/tests/nhs-jobs.spec.ts +5 -0
  137. package/tests/occ-gdpr.spec.ts +3 -0
  138. package/tests/piwik-pro.spec.ts +10 -0
  139. package/tests/plentyshop.spec.ts +7 -0
  140. package/tests/posthog.spec.ts +3 -0
  141. package/tests/quantcast.spec.ts +2 -2
  142. package/tests/quick-cookie-consent.spec.ts +8 -0
  143. package/tests/savills.spec.ts +3 -0
  144. package/tests/schadefonds.spec.ts +3 -0
  145. package/tests/scottish-government-design-system.spec.ts +8 -0
  146. package/tests/service2school.spec.ts +3 -0
  147. package/tests/smallpdf.spec.ts +5 -0
  148. package/tests/somerset-council.spec.ts +8 -0
  149. package/tests/sportmedizin-rheuma.spec.ts +3 -0
  150. package/tests/stepstone-ccm.spec.ts +8 -0
  151. package/tests/teacherspensions.co.uk.spec.ts +3 -0
  152. package/tests/thenude.spec.ts +3 -0
  153. package/tests/tna-cookie-banner.spec.ts +8 -0
  154. package/tests/tracsis-delay-repay.spec.ts +6 -0
  155. package/tests/truendo.spec.ts +9 -0
  156. package/tests/tti-cookie-popup.spec.ts +8 -0
  157. package/tests/u-cookie-consent.spec.ts +9 -0
  158. package/tests/ubisoft-com.spec.ts +12 -0
  159. package/tests/wbd-legal-terms.spec.ts +2 -0
  160. package/tests/what3words.spec.ts +3 -0
  161. package/tests/whitepages-gpc-banner.spec.ts +4 -0
  162. package/tests/wp-cookie-notice.spec.ts +4 -1
  163. package/rules/autoconsent/sandhills.json +0 -26
  164. package/tests/sandhills.spec.ts +0 -8
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "smallpdf",
3
+ "vendorUrl": "https://smallpdf.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?smallpdf\\.com/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#app > div:has(> div:last-child > button:first-child + button:last-child)"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#app > div:has(> div:last-child > button:first-child + button:last-child)"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#app > div:not(:has(input[role=switch])) > div:last-child > button:first-child:has(+ button:last-child)"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#app > div:not(:has(input[role=switch])) > div:last-child > button:last-child:not(:first-child)"
26
+ },
27
+ {
28
+ "waitForVisible": "#app > div:has(input[role=switch]) > div:last-child > button:first-child"
29
+ },
30
+ {
31
+ "click": "#app > div:has(input[role=switch]) input[role=switch][aria-checked=true]:not([disabled])",
32
+ "all": true,
33
+ "optional": true
34
+ },
35
+ {
36
+ "click": "#app > div:has(input[role=switch]) > div:last-child > button:first-child"
37
+ }
38
+ ],
39
+ "test": [
40
+ {
41
+ "cookieContains": "_s.cookie_consent=marketing=0:analytics=0"
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "somerset-council",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.somerset.gov.uk/"
5
+ },
6
+ "cosmetic": false,
7
+ "runContext": {
8
+ "main": true,
9
+ "frame": false
10
+ },
11
+ "detectCmp": [{ "exists": ".cookies-banner .cookies-banner__button-group .cookies-banner__reject" }],
12
+ "detectPopup": [{ "visible": ".cookies-banner .cookies-banner__reject" }],
13
+ "optIn": [{ "waitForThenClick": ".cookies-banner .cookies-banner__accept" }],
14
+ "optOut": [{ "waitForThenClick": ".cookies-banner .cookies-banner__reject" }],
15
+ "test": [{ "cookieContains": "_SC_analytics=reject" }]
16
+ }
@@ -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,19 @@
1
+ {
2
+ "name": "stepstone-ccm",
3
+ "vendorUrl": "https://www.stepstone.com/",
4
+ "comment": "StepStone group consent manager (Tealium-backed), used across its job boards",
5
+ "prehideSelectors": ["#GDPRConsentManagerContainer"],
6
+ "detectCmp": [{ "exists": "#GDPRConsentManagerContainer [data-atx-component='cookieConsent']" }],
7
+ "detectPopup": [{ "visible": "#GDPRConsentManagerContainer #explicit_consent" }],
8
+ "optIn": [{ "waitForThenClick": "#GDPRConsentManagerContainer #ccmgt_explicit_accept" }],
9
+ "optOut": [
10
+ { "waitForThenClick": "#GDPRConsentManagerContainer #ccmgt_explicit_preferences" },
11
+ {
12
+ "waitForThenClick": "#GDPRConsentManagerContainer #ccmgt_preferences_reject",
13
+ "timeout": 2000,
14
+ "optional": true,
15
+ "comment": "some locales open a preferences layer (all purposes unchecked) instead of rejecting directly"
16
+ }
17
+ ],
18
+ "test": [{ "cookieContains": "CONSENTMGR=c1:0%7Cc2:0%7Cc3:0" }]
19
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "teacherspensions.co.uk",
3
+ "vendorUrl": "https://www.teacherspensions.co.uk/",
4
+ "runContext": {
5
+ "main": true,
6
+ "frame": false,
7
+ "urlPattern": "^https?://(www\\.)?teacherspensions\\.co\\.uk/"
8
+ },
9
+ "prehideSelectors": ["#cookieChoiceInfo"],
10
+ "detectCmp": [
11
+ {
12
+ "exists": "#cookieChoiceInfo #cookieChoiceLearnMore"
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": "#cookieChoiceInfo"
18
+ }
19
+ ],
20
+ "optIn": [
21
+ {
22
+ "waitForThenClick": "#cookieChoiceInfo #cookieChoiceDismiss"
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "waitForThenClick": "#cookieChoiceInfo #cookieChoiceLearnMore"
28
+ },
29
+ {
30
+ "waitForVisible": "[id$='_ManageCookiesContent'] input[name$='BtnConfirmChoices']"
31
+ },
32
+ {
33
+ "click": "[id$='_ManageCookiesContent'] input[type=checkbox]:checked",
34
+ "all": true,
35
+ "optional": true
36
+ },
37
+ {
38
+ "click": "[id$='_ManageCookiesContent'] input[name$='BtnConfirmChoices']"
39
+ }
40
+ ],
41
+ "test": [
42
+ {
43
+ "cookieContains": "analyticsCookieConsent=n"
44
+ }
45
+ ]
46
+ }
@@ -0,0 +1,108 @@
1
+ {
2
+ "name": "thenude",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.thenude.com/"
5
+ },
6
+ "cosmetic": false,
7
+ "runContext": {
8
+ "main": true,
9
+ "frame": false,
10
+ "urlPattern": "^https?://(www\\.)?thenude\\.com/"
11
+ },
12
+ "prehideSelectors": [".optanon-alert-box-wrapper"],
13
+ "detectCmp": [
14
+ {
15
+ "exists": ".optanon-alert-box-wrapper"
16
+ }
17
+ ],
18
+ "detectPopup": [
19
+ {
20
+ "visible": ".optanon-alert-box-wrapper"
21
+ }
22
+ ],
23
+ "optIn": [
24
+ {
25
+ "waitForThenClick": ".optanon-alert-box-wrapper .optanon-allow-all"
26
+ }
27
+ ],
28
+ "optOut": [
29
+ {
30
+ "waitForThenClick": ".optanon-alert-box-wrapper .optanon-toggle-display"
31
+ },
32
+ {
33
+ "waitForVisible": "#optanon-popup-wrapper"
34
+ },
35
+ {
36
+ "if": {
37
+ "exists": "#optanon-menu li.menu-item-on:is(.menu-item-performance,.menu-item-functional,.menu-item-advertising,.menu-item-social) button"
38
+ },
39
+ "then": [
40
+ {
41
+ "click": "#optanon-menu li.menu-item-on:is(.menu-item-performance,.menu-item-functional,.menu-item-advertising,.menu-item-social) button"
42
+ },
43
+ {
44
+ "waitForThenClick": "#optanon-popup-more-info-bar .optanon-status-editable .optanon-status-on label",
45
+ "timeout": 1000
46
+ }
47
+ ]
48
+ },
49
+ {
50
+ "if": {
51
+ "exists": "#optanon-menu li.menu-item-on:is(.menu-item-performance,.menu-item-functional,.menu-item-advertising,.menu-item-social) button"
52
+ },
53
+ "then": [
54
+ {
55
+ "click": "#optanon-menu li.menu-item-on:is(.menu-item-performance,.menu-item-functional,.menu-item-advertising,.menu-item-social) button"
56
+ },
57
+ {
58
+ "waitForThenClick": "#optanon-popup-more-info-bar .optanon-status-editable .optanon-status-on label",
59
+ "timeout": 1000
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "if": {
65
+ "exists": "#optanon-menu li.menu-item-on:is(.menu-item-performance,.menu-item-functional,.menu-item-advertising,.menu-item-social) button"
66
+ },
67
+ "then": [
68
+ {
69
+ "click": "#optanon-menu li.menu-item-on:is(.menu-item-performance,.menu-item-functional,.menu-item-advertising,.menu-item-social) button"
70
+ },
71
+ {
72
+ "waitForThenClick": "#optanon-popup-more-info-bar .optanon-status-editable .optanon-status-on label",
73
+ "timeout": 1000
74
+ }
75
+ ]
76
+ },
77
+ {
78
+ "if": {
79
+ "exists": "#optanon-menu li.menu-item-on:is(.menu-item-performance,.menu-item-functional,.menu-item-advertising,.menu-item-social) button"
80
+ },
81
+ "then": [
82
+ {
83
+ "click": "#optanon-menu li.menu-item-on:is(.menu-item-performance,.menu-item-functional,.menu-item-advertising,.menu-item-social) button"
84
+ },
85
+ {
86
+ "waitForThenClick": "#optanon-popup-more-info-bar .optanon-status-editable .optanon-status-on label",
87
+ "timeout": 1000
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "click": "#optanon-popup-bottom .optanon-save-settings-button button"
93
+ },
94
+ {
95
+ "waitForVisible": ".optanon-alert-box-wrapper",
96
+ "check": "none",
97
+ "timeout": 3000
98
+ }
99
+ ],
100
+ "test": [
101
+ {
102
+ "cookieContains": "OptanonAlertBoxClosed"
103
+ },
104
+ {
105
+ "cookieContains": "%2C2%3A0%2C3%3A0%2C4%3A0"
106
+ }
107
+ ]
108
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "tna-cookie-banner",
3
+ "vendorUrl": "https://design-system.nationalarchives.gov.uk/",
4
+ "prehideSelectors": [".tna-cookie-banner"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".tna-cookie-banner button[value=\"reject\"]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".tna-cookie-banner__message--prompt button[value=\"reject\"]"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".tna-cookie-banner__message--prompt button[value=\"accept\"]"
18
+ },
19
+ {
20
+ "waitForThenClick": ".tna-cookie-banner__message--accepted button[value=\"close\"]",
21
+ "timeout": 1000,
22
+ "optional": true
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "waitForThenClick": ".tna-cookie-banner__message--prompt button[value=\"reject\"]"
28
+ },
29
+ {
30
+ "waitForThenClick": ".tna-cookie-banner__message--rejected button[value=\"close\"]",
31
+ "timeout": 1000,
32
+ "optional": true
33
+ }
34
+ ],
35
+ "test": [
36
+ {
37
+ "cookieContains": "cookie_preferences_set=true"
38
+ },
39
+ {
40
+ "cookieContains": "%22usage%22%3Afalse"
41
+ }
42
+ ]
43
+ }
@@ -23,12 +23,26 @@
23
23
  }
24
24
  ],
25
25
  "optOut": [
26
+ {
27
+ "waitFor": "#ensModalWrapper",
28
+ "timeout": 5000
29
+ },
26
30
  {
27
31
  "waitForThenClick": "#cookie-banner.visible [data-cookie-preferences-button]"
28
32
  },
29
33
  {
30
34
  "waitForVisible": "#ensModalWrapper #ensSave"
31
35
  },
36
+ {
37
+ "if": { "exists": "#consentModalOverlay" },
38
+ "then": [
39
+ {
40
+ "waitFor": "#ensModalWrapper[tabindex]",
41
+ "timeout": 2000,
42
+ "optional": true
43
+ }
44
+ ]
45
+ },
32
46
  {
33
47
  "click": "#ensModalWrapper .ensCheckbox:checked:not(:disabled):not(#EssentialCookiesSlide)",
34
48
  "all": true,
@@ -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
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "truendo",
3
+ "prehideSelectors": ["#truendo_container .tru_cookie-dialog_wrapper"],
4
+ "detectCmp": [{ "exists": "#truendo_container .tru_cookie-dialog_wrapper" }],
5
+ "detectPopup": [{ "visible": "#truendo_container .tru_cookie-dialog_wrapper" }],
6
+ "optIn": [
7
+ {
8
+ "waitForThenClick": ".tru_cookie-dialog_wrapper [data-cy=banner-ack-btn], .tru_cookie-dialog_wrapper #tru_accept_btn, .tru_cookie-dialog_wrapper button.tru_cookie-dialog_ok:not(#tru_deselect_btn)"
9
+ }
10
+ ],
11
+ "optOut": [
12
+ {
13
+ "if": { "exists": ".tru_cookie-dialog_accept-only" },
14
+ "then": [{ "click": ".tru_cookie-dialog_accept-only .tru_cookie-dialog_message a[href='']" }],
15
+ "else": [
16
+ {
17
+ "click": ".tru_cookie-dialog_wrapper [data-cy=banner-options-btn], .tru_cookie-dialog_wrapper [data-cy=optionsBtn], .tru_cookie-dialog_wrapper #tru_options_btn"
18
+ }
19
+ ]
20
+ },
21
+ { "waitForVisible": "#truendo_container [data-cy=action-button-necessary]", "timeout": 2000, "optional": true },
22
+ {
23
+ "if": { "visible": "#truendo_container [data-cy=action-button-necessary]" },
24
+ "then": [{ "click": "#truendo_container [data-cy=action-button-necessary]" }]
25
+ }
26
+ ],
27
+ "test": [{ "cookieContains": "%22marketing%22%3Afalse" }]
28
+ }
@@ -44,6 +44,14 @@
44
44
  "all": true,
45
45
  "optional": true
46
46
  },
47
+ {
48
+ "click": [
49
+ "#polaris-css-lockdown-container",
50
+ ".polaris-preferences-widget input[type=checkbox]:checked:not([disabled])"
51
+ ],
52
+ "all": true,
53
+ "optional": true
54
+ },
47
55
  {
48
56
  "click": ["#polaris-css-lockdown-container", ".polaris-preferences-widget__save_button"]
49
57
  }
@@ -0,0 +1,72 @@
1
+ {
2
+ "name": "tti-cookie-popup",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.ttigroup.com/"
5
+ },
6
+ "detectCmp": [
7
+ {
8
+ "exists": "#cookie-onetrust-show-info"
9
+ }
10
+ ],
11
+ "detectPopup": [
12
+ {
13
+ "visible": "#cookie-onetrust-show-info"
14
+ }
15
+ ],
16
+ "optIn": [
17
+ {
18
+ "waitForThenClick": "#cookie-onetrust-accept-all"
19
+ }
20
+ ],
21
+ "optOut": [
22
+ {
23
+ "if": {
24
+ "visible": "#cookie-onetrust-only-necessary"
25
+ },
26
+ "then": [
27
+ {
28
+ "click": "#cookie-onetrust-only-necessary"
29
+ }
30
+ ],
31
+ "else": [
32
+ {
33
+ "click": "#cookie-onetrust-show-info"
34
+ },
35
+ {
36
+ "waitForVisible": "#onetrust-pc-sdk",
37
+ "timeout": 10000
38
+ },
39
+ {
40
+ "if": {
41
+ "visible": "#onetrust-pc-sdk .ot-pc-refuse-all-handler"
42
+ },
43
+ "then": [
44
+ {
45
+ "click": "#onetrust-pc-sdk .ot-pc-refuse-all-handler"
46
+ }
47
+ ],
48
+ "else": [
49
+ {
50
+ "click": "#onetrust-pc-sdk input.category-switch-handler:checked",
51
+ "all": true,
52
+ "optional": true
53
+ },
54
+ {
55
+ "waitForThenClick": "#onetrust-pc-sdk .save-preference-btn-handler"
56
+ }
57
+ ]
58
+ }
59
+ ]
60
+ },
61
+ {
62
+ "waitForVisible": "#cookie-onetrust-show-info",
63
+ "timeout": 10000,
64
+ "check": "none"
65
+ }
66
+ ],
67
+ "test": [
68
+ {
69
+ "cookieContains": "OptanonAlertBoxClosed"
70
+ }
71
+ ]
72
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "u-cookie-consent",
3
+ "prehideSelectors": [".u-cookie-frame"],
4
+ "detectCmp": [{ "exists": ".u-cookie-frame [data-attr='btn-reject-cookies']" }],
5
+ "detectPopup": [{ "visible": ".u-cookie-frame [data-attr='btn-reject-cookies']" }],
6
+ "optIn": [{ "waitForThenClick": ".u-cookie-frame [data-attr='btn-accept-cookies']" }],
7
+ "optOut": [{ "waitForThenClick": ".u-cookie-frame [data-attr='btn-reject-cookies']" }],
8
+ "test": [{ "waitForVisible": ".u-cookie-frame [data-attr='btn-reject-cookies']", "check": "none", "timeout": 2000 }]
9
+ }
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "ubisoft.com",
3
+ "vendorUrl": "https://www.ubisoft.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?ubisoft\\.com/"
6
+ },
7
+ "prehideSelectors": ["#privacy_modal", "#footer_tc_privacy"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#privacy__modal__close, #footer_tc_privacy #privacy__links__center"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#privacy__modal__close, #footer_tc_privacy",
16
+ "check": "any"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "if": {
22
+ "exists": "#privacy__modal__accept"
23
+ },
24
+ "then": [
25
+ {
26
+ "waitForThenClick": "#privacy__modal__accept"
27
+ }
28
+ ],
29
+ "else": [
30
+ {
31
+ "waitForThenClick": "#footer_tc_privacy_button"
32
+ }
33
+ ]
34
+ }
35
+ ],
36
+ "optOut": [
37
+ {
38
+ "if": {
39
+ "exists": "#privacy__modal__close"
40
+ },
41
+ "then": [
42
+ {
43
+ "waitForThenClick": "#privacy__modal__close"
44
+ }
45
+ ],
46
+ "else": [
47
+ {
48
+ "waitForThenClick": "#footer_tc_privacy #privacy__links__center"
49
+ },
50
+ {
51
+ "waitForThenClick": "#privacy_options #options_tc_privacy_button"
52
+ }
53
+ ]
54
+ }
55
+ ],
56
+ "test": [
57
+ {
58
+ "cookieContains": "UBI_PRIVACY_POLICY_VIEWED=true"
59
+ },
60
+ {
61
+ "cookieContains": "UBI_PRIVACY_ADS_OPTOUT=true"
62
+ }
63
+ ]
64
+ }
@@ -38,7 +38,7 @@
38
38
  ],
39
39
  "test": [
40
40
  {
41
- "cookieContains": "groups=C1%3A1%2CC3%3A0"
41
+ "cookieContains": "groups=C1%3A1%2CC2%3A0%2CC3%3A0%2CC4%3A0"
42
42
  }
43
43
  ]
44
44
  }
@@ -1,32 +1,50 @@
1
1
  {
2
2
  "name": "wbd-legal-terms",
3
3
  "vendorUrl": "https://www.wbd.com/",
4
- "comment": "Terms-and-cookies notice with only an Agree button. It is a modal <dialog>, so hiding it with CSS leaves the page inert; close it without submitting the form instead.",
4
+ "comment": "Terms-and-cookies notice with only an Agree button. The <dialog> variant is modal, so hiding it with CSS leaves the page inert; close it without submitting the form instead. The MUI modal variant cannot be dismissed, so it is hidden.",
5
5
  "cosmetic": true,
6
6
  "minimumRuleStepVersion": 2,
7
7
  "detectCmp": [
8
8
  {
9
- "exists": "dialog#ltp-dialog"
9
+ "exists": "dialog#ltp-dialog, [id=\"id/ltp\"]"
10
10
  }
11
11
  ],
12
12
  "detectPopup": [
13
13
  {
14
- "visible": "dialog#ltp-dialog[open]"
14
+ "visible": "dialog#ltp-dialog[open], [id=\"id/ltp/banner\"]",
15
+ "check": "any"
15
16
  }
16
17
  ],
17
18
  "optIn": [
18
19
  {
19
- "waitForThenClick": "#ltp-submit-btn"
20
+ "waitForThenClick": "#ltp-submit-btn, [id=\"id/ltp/banner/button\"]"
20
21
  }
21
22
  ],
22
23
  "optOut": [
23
24
  {
24
- "eval": "EVAL_WBD_LTP_CLOSE"
25
- },
26
- {
27
- "removeClass": "is-NoScroll",
28
- "selector": "body",
29
- "optional": true
25
+ "if": {
26
+ "exists": "dialog#ltp-dialog"
27
+ },
28
+ "then": [
29
+ {
30
+ "eval": "EVAL_WBD_LTP_CLOSE"
31
+ },
32
+ {
33
+ "removeClass": "is-NoScroll",
34
+ "selector": "body",
35
+ "optional": true
36
+ }
37
+ ],
38
+ "else": [
39
+ {
40
+ "hide": "[id=\"id/ltp\"]"
41
+ },
42
+ {
43
+ "addStyle": "overflow: auto !important",
44
+ "selector": "body",
45
+ "optional": true
46
+ }
47
+ ]
30
48
  }
31
49
  ]
32
50
  }
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "what3words",
3
+ "vendorUrl": "https://what3words.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?what3words\\.com/"
6
+ },
7
+ "detectCmp": [
8
+ {
9
+ "exists": "[role=dialog] [data-testid=view-preferences], .CookieNotice-Dialog [data-testid=Preferences]"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "[role=dialog] [data-testid=view-preferences], .CookieNotice-Dialog [data-testid=Preferences]",
15
+ "check": "any"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "[role=dialog] [data-testid=accept-all], .CookieNotice-Dialog [data-testid=AcceptAll]"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "if": { "exists": "[role=dialog] [data-testid=view-preferences]" },
26
+ "then": [
27
+ { "click": "[role=dialog] [data-testid=view-preferences]" },
28
+ { "waitForThenClick": "[role=dialog] [data-testid=save-preferences]" }
29
+ ],
30
+ "else": [
31
+ { "click": ".CookieNotice-Dialog [data-testid=Preferences]" },
32
+ { "waitForThenClick": ".CookieNotice-Dialog [data-testid=UpdateAndClose]" }
33
+ ]
34
+ },
35
+ { "waitForVisible": ".fc-consent-root .fc-dialog-container", "timeout": 4000, "optional": true },
36
+ {
37
+ "if": { "visible": ".fc-consent-root .fc-dialog-container" },
38
+ "then": [
39
+ { "click": ".fc-cta-do-not-consent,.fc-cta-manage-options" },
40
+ { "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked", "all": true, "optional": true },
41
+ { "click": ".fc-confirm-choices", "optional": true }
42
+ ]
43
+ }
44
+ ],
45
+ "test": [
46
+ {
47
+ "any": [
48
+ { "cookieContains": "%22analytics%22%3Afalse%2C%22marketing%22%3Afalse" },
49
+ { "cookieContains": "%22analytics%22:false%2C%22marketing%22:false" }
50
+ ]
51
+ }
52
+ ]
53
+ }