@duckduckgo/autoconsent 4.2.0 → 4.3.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 (53) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/addon-firefox/manifest.json +1 -1
  3. package/dist/addon-firefox/rules.json +636 -3
  4. package/dist/addon-mv3/manifest.json +1 -1
  5. package/dist/addon-mv3/rules.json +636 -3
  6. package/dist/autoconsent.playwright.js +1 -1
  7. package/package.json +1 -1
  8. package/rules/autoconsent/1password-com.json +11 -0
  9. package/rules/autoconsent/agolde-com.json +13 -0
  10. package/rules/autoconsent/altium-com.json +9 -0
  11. package/rules/autoconsent/aquasana-com.json +9 -0
  12. package/rules/autoconsent/athlinks-com.json +12 -0
  13. package/rules/autoconsent/automattic-cmp-optout.json +19 -0
  14. package/rules/autoconsent/burpee-com.json +13 -0
  15. package/rules/autoconsent/complianz-optin.json +2 -2
  16. package/rules/autoconsent/crossfit-com.json +10 -0
  17. package/rules/autoconsent/itopvpn-com.json +13 -0
  18. package/rules/autoconsent/justwatch-com.json +15 -0
  19. package/rules/autoconsent/macpaw-com.json +13 -0
  20. package/rules/autoconsent/nrk-no.json +9 -0
  21. package/rules/autoconsent/pinetools-com.json +13 -0
  22. package/rules/autoconsent/similarweb-com.json +13 -0
  23. package/rules/autoconsent/takealot-com.json +13 -0
  24. package/rules/autoconsent/tidbits-com.json +9 -0
  25. package/rules/autoconsent/trader-joes-com.json +9 -0
  26. package/rules/autoconsent/tumblr-com.json +10 -0
  27. package/rules/autoconsent/urbanarmorgear-com.json +9 -0
  28. package/rules/autoconsent/woo-commerce-com.json +20 -0
  29. package/rules/autoconsent/xhamster-eu.json +15 -0
  30. package/rules/rules.json +636 -3
  31. package/tests/1password-com.spec.ts +5 -0
  32. package/tests/agolde-com.spec.ts +5 -0
  33. package/tests/altium-com.spec.ts +5 -0
  34. package/tests/aquasana-com.spec.ts +5 -0
  35. package/tests/athlinks-com.spec.ts +5 -0
  36. package/tests/automattic-cmp-optout.spec.ts +9 -0
  37. package/tests/burpee-com.spec.ts +5 -0
  38. package/tests/complianz-optin.spec.ts +4 -4
  39. package/tests/crossfit-com.spec.ts +5 -0
  40. package/tests/flex-orange-pl.spec.ts +5 -0
  41. package/tests/itopvpn-com.spec.ts +5 -0
  42. package/tests/justwatch-com.spec.ts +5 -0
  43. package/tests/macpaw-com.spec.ts +5 -0
  44. package/tests/nrk-no.spec.ts +5 -0
  45. package/tests/pinetools-com.spec.ts +5 -0
  46. package/tests/similarweb-com.spec.ts +5 -0
  47. package/tests/takealot-com.spec.ts +5 -0
  48. package/tests/tidbits-com.spec.ts +5 -0
  49. package/tests/trader-joes-com.spec.ts +5 -0
  50. package/tests/tumblr-com.spec.ts +5 -0
  51. package/tests/urbanarmorgear-com.spec.ts +5 -0
  52. package/tests/woo-commerce-com.spec.ts +5 -0
  53. package/tests/xhamster-eu.spec.ts +9 -0
@@ -31,6 +31,35 @@
31
31
  }
32
32
  ]
33
33
  },
34
+ {
35
+ "name": "1password-com",
36
+ "cosmetic": true,
37
+ "prehideSelectors": [
38
+ "footer #footer-root [aria-label=\"Cookie Consent\"]"
39
+ ],
40
+ "detectCmp": [
41
+ {
42
+ "exists": "footer #footer-root [aria-label=\"Cookie Consent\"]"
43
+ }
44
+ ],
45
+ "detectPopup": [
46
+ {
47
+ "visible": "footer #footer-root [aria-label=\"Cookie Consent\"]"
48
+ }
49
+ ],
50
+ "optIn": [
51
+ {
52
+ "click": "footer #footer-root [aria-label=\"Cookie Consent\"] button"
53
+ }
54
+ ],
55
+ "optOut": [
56
+ {
57
+ "hide": [
58
+ "footer #footer-root [aria-label=\"Cookie Consent\"]"
59
+ ]
60
+ }
61
+ ]
62
+ },
34
63
  {
35
64
  "name": "Adroll",
36
65
  "prehideSelectors": [
@@ -103,6 +132,64 @@
103
132
  }
104
133
  ]
105
134
  },
135
+ {
136
+ "name": "agolde.com",
137
+ "cosmetic": true,
138
+ "prehideSelectors": [
139
+ "#modal-1 div[data-micromodal-close]"
140
+ ],
141
+ "detectCmp": [
142
+ {
143
+ "exists": "#modal-1 div[aria-labelledby=modal-1-title]"
144
+ }
145
+ ],
146
+ "detectPopup": [
147
+ {
148
+ "exists": "#modal-1 div[data-micromodal-close]"
149
+ }
150
+ ],
151
+ "optIn": [
152
+ {
153
+ "click": "button[aria-label=\"Close modal\"]"
154
+ }
155
+ ],
156
+ "optOut": [
157
+ {
158
+ "hide": [
159
+ "#modal-1 div[data-micromodal-close]"
160
+ ]
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "name": "altium.com",
166
+ "cosmetic": true,
167
+ "prehideSelectors": [
168
+ ".altium-privacy-bar"
169
+ ],
170
+ "detectCmp": [
171
+ {
172
+ "exists": ".altium-privacy-bar"
173
+ }
174
+ ],
175
+ "detectPopup": [
176
+ {
177
+ "exists": ".altium-privacy-bar"
178
+ }
179
+ ],
180
+ "optIn": [
181
+ {
182
+ "click": "a.altium-privacy-bar__btn"
183
+ }
184
+ ],
185
+ "optOut": [
186
+ {
187
+ "hide": [
188
+ ".altium-privacy-bar"
189
+ ]
190
+ }
191
+ ]
192
+ },
106
193
  {
107
194
  "name": "amazon.com",
108
195
  "prehideSelectors": [
@@ -141,6 +228,35 @@
141
228
  }
142
229
  ]
143
230
  },
231
+ {
232
+ "name": "aquasana.com",
233
+ "cosmetic": true,
234
+ "prehideSelectors": [
235
+ "#consent-tracking"
236
+ ],
237
+ "detectCmp": [
238
+ {
239
+ "exists": "#consent-tracking"
240
+ }
241
+ ],
242
+ "detectPopup": [
243
+ {
244
+ "exists": "#consent-tracking"
245
+ }
246
+ ],
247
+ "optIn": [
248
+ {
249
+ "click": "#accept_consent"
250
+ }
251
+ ],
252
+ "optOut": [
253
+ {
254
+ "hide": [
255
+ "#consent-tracking"
256
+ ]
257
+ }
258
+ ]
259
+ },
144
260
  {
145
261
  "name": "arzt-auskunft.de",
146
262
  "prehideSelectors": [
@@ -167,6 +283,38 @@
167
283
  }
168
284
  ]
169
285
  },
286
+ {
287
+ "name": "athlinks-com",
288
+ "runContext": {
289
+ "urlPattern": "^https://(www\\.)?athlinks\\.com/"
290
+ },
291
+ "cosmetic": true,
292
+ "prehideSelectors": [
293
+ "#footer-container ~ div"
294
+ ],
295
+ "detectCmp": [
296
+ {
297
+ "exists": "#footer-container ~ div"
298
+ }
299
+ ],
300
+ "detectPopup": [
301
+ {
302
+ "visible": "#footer-container > div"
303
+ }
304
+ ],
305
+ "optIn": [
306
+ {
307
+ "click": "#footer-container ~ div button"
308
+ }
309
+ ],
310
+ "optOut": [
311
+ {
312
+ "hide": [
313
+ "#footer-container ~ div"
314
+ ]
315
+ }
316
+ ]
317
+ },
170
318
  {
171
319
  "name": "ausopen.com",
172
320
  "cosmetic": true,
@@ -193,6 +341,39 @@
193
341
  }
194
342
  ]
195
343
  },
344
+ {
345
+ "name": "automattic-cmp-optout",
346
+ "prehideSelectors": [
347
+ "form[class*=\"cookie-banner\"][method=\"post\"]"
348
+ ],
349
+ "detectCmp": [
350
+ {
351
+ "exists": "form[class*=\"cookie-banner\"][method=\"post\"]"
352
+ }
353
+ ],
354
+ "detectPopup": [
355
+ {
356
+ "visible": "form[class*=\"cookie-banner\"][method=\"post\"]"
357
+ }
358
+ ],
359
+ "optIn": [
360
+ {
361
+ "click": "a[class*=\"accept-all-button\"]"
362
+ }
363
+ ],
364
+ "optOut": [
365
+ {
366
+ "click": "form[class*=\"cookie-banner\"] div[class*=\"simple-options\"] a[class*=\"customize-button\"]"
367
+ },
368
+ {
369
+ "waitForThenClick": "input[type=checkbox][checked]:not([disabled])",
370
+ "all": true
371
+ },
372
+ {
373
+ "click": "a[class*=\"accept-selection-button\"]"
374
+ }
375
+ ]
376
+ },
196
377
  {
197
378
  "name": "aws.amazon.com",
198
379
  "prehideSelectors": [
@@ -448,6 +629,35 @@
448
629
  }
449
630
  ]
450
631
  },
632
+ {
633
+ "name": "burpee.com",
634
+ "cosmetic": true,
635
+ "prehideSelectors": [
636
+ "#notice-cookie-block"
637
+ ],
638
+ "detectCmp": [
639
+ {
640
+ "exists": "#notice-cookie-block"
641
+ }
642
+ ],
643
+ "detectPopup": [
644
+ {
645
+ "exists": "#html-body #notice-cookie-block"
646
+ }
647
+ ],
648
+ "optIn": [
649
+ {
650
+ "click": "#btn-cookie-allow"
651
+ }
652
+ ],
653
+ "optOut": [
654
+ {
655
+ "hide": [
656
+ "#html-body #notice-cookie-block"
657
+ ]
658
+ }
659
+ ]
660
+ },
451
661
  {
452
662
  "name": "canva.com",
453
663
  "prehideSelectors": [
@@ -873,11 +1083,13 @@
873
1083
  "waitForVisible": "[aria-label=\"cookies preferences popup\"]"
874
1084
  },
875
1085
  {
876
- "click": "[aria-label=\"cookies preferences popup\"] input[type=checkbox]:not([disabled])",
877
- "all": true
1086
+ "click": "[aria-label=\"cookies preferences popup\"] input[type=checkbox]:not([disabled]):checked",
1087
+ "all": true,
1088
+ "optional": true
878
1089
  },
879
1090
  {
880
- "click": "[aria-label=\"cookies preferences popup\"] [aria-label=\"Accept Selected\"]"
1091
+ "click": "[aria-label=\"cookies preferences popup\"] [aria-label=\"Accept Selected\"], [aria-label=\"cookies preferences popup\"] [aria-label=\"Save my choice\"], .cc-btn-accept-selected, .cc-deny",
1092
+ "optional": true
881
1093
  }
882
1094
  ],
883
1095
  "test": [
@@ -1121,6 +1333,35 @@
1121
1333
  }
1122
1334
  ]
1123
1335
  },
1336
+ {
1337
+ "name": "crossfit-com",
1338
+ "cosmetic": true,
1339
+ "prehideSelectors": [
1340
+ "body #modal > div > div[class^=\"_wrapper_\"]"
1341
+ ],
1342
+ "detectCmp": [
1343
+ {
1344
+ "exists": "body #modal > div > div[class^=\"_wrapper_\"]"
1345
+ }
1346
+ ],
1347
+ "detectPopup": [
1348
+ {
1349
+ "visible": "body #modal > div > div[class^=\"_wrapper_\"]"
1350
+ }
1351
+ ],
1352
+ "optIn": [
1353
+ {
1354
+ "click": "button[aria-label=\"accept cookie policy\"]"
1355
+ }
1356
+ ],
1357
+ "optOut": [
1358
+ {
1359
+ "hide": [
1360
+ "body #modal > div > div[class^=\"_wrapper_\"]"
1361
+ ]
1362
+ }
1363
+ ]
1364
+ },
1124
1365
  {
1125
1366
  "name": "dailymotion-us",
1126
1367
  "cosmetic": true,
@@ -1956,6 +2197,35 @@
1956
2197
  }
1957
2198
  ]
1958
2199
  },
2200
+ {
2201
+ "name": "itopvpn.com",
2202
+ "cosmetic": true,
2203
+ "prehideSelectors": [
2204
+ ".pop-cookie"
2205
+ ],
2206
+ "detectCmp": [
2207
+ {
2208
+ "exists": ".pop-cookie"
2209
+ }
2210
+ ],
2211
+ "detectPopup": [
2212
+ {
2213
+ "exists": ".pop-cookie"
2214
+ }
2215
+ ],
2216
+ "optIn": [
2217
+ {
2218
+ "click": "#_pcookie"
2219
+ }
2220
+ ],
2221
+ "optOut": [
2222
+ {
2223
+ "hide": [
2224
+ ".pop-cookie"
2225
+ ]
2226
+ }
2227
+ ]
2228
+ },
1959
2229
  {
1960
2230
  "name": "iubenda",
1961
2231
  "prehideSelectors": [
@@ -2070,6 +2340,49 @@
2070
2340
  }
2071
2341
  ]
2072
2342
  },
2343
+ {
2344
+ "name": "justwatch.com",
2345
+ "prehideSelectors": [
2346
+ ".consent-banner"
2347
+ ],
2348
+ "detectCmp": [
2349
+ {
2350
+ "exists": ".consent-banner"
2351
+ }
2352
+ ],
2353
+ "detectPopup": [
2354
+ {
2355
+ "exists": ".consent-banner"
2356
+ }
2357
+ ],
2358
+ "optIn": [
2359
+ {
2360
+ "click": ".consent-banner__actions button.basic-button.primary"
2361
+ }
2362
+ ],
2363
+ "optOut": [
2364
+ {
2365
+ "click": ".consent-banner__actions button.basic-button.secondary"
2366
+ },
2367
+ {
2368
+ "waitForThenClick": ".consent-modal__footer button.basic-button.secondary"
2369
+ },
2370
+ {
2371
+ "waitForThenClick": ".consent-modal ion-content > div > a:nth-child(9)"
2372
+ },
2373
+ {
2374
+ "click": "label.consent-switch input[type=checkbox]:checked",
2375
+ "all": true,
2376
+ "optional": true
2377
+ },
2378
+ {
2379
+ "waitForVisible": ".consent-modal__footer button.basic-button.primary"
2380
+ },
2381
+ {
2382
+ "click": ".consent-modal__footer button.basic-button.primary"
2383
+ }
2384
+ ]
2385
+ },
2073
2386
  {
2074
2387
  "name": "ketch",
2075
2388
  "runContext": {
@@ -2187,6 +2500,35 @@
2187
2500
  }
2188
2501
  ]
2189
2502
  },
2503
+ {
2504
+ "name": "macpaw.com",
2505
+ "cosmetic": true,
2506
+ "prehideSelectors": [
2507
+ "div[data-banner=\"cookies\"]"
2508
+ ],
2509
+ "detectCmp": [
2510
+ {
2511
+ "exists": "div[data-banner=\"cookies\"]"
2512
+ }
2513
+ ],
2514
+ "detectPopup": [
2515
+ {
2516
+ "exists": "div[data-banner=\"cookies\"]"
2517
+ }
2518
+ ],
2519
+ "optIn": [
2520
+ {
2521
+ "click": "button[data-banner-close=\"cookies\"]"
2522
+ }
2523
+ ],
2524
+ "optOut": [
2525
+ {
2526
+ "hide": [
2527
+ "div[data-banner=\"cookies\"]"
2528
+ ]
2529
+ }
2530
+ ]
2531
+ },
2190
2532
  {
2191
2533
  "name": "marksandspencer.com",
2192
2534
  "cosmetic": true,
@@ -2568,6 +2910,35 @@
2568
2910
  }
2569
2911
  ]
2570
2912
  },
2913
+ {
2914
+ "name": "nrk.no",
2915
+ "cosmetic": true,
2916
+ "prehideSelectors": [
2917
+ ".nrk-masthead__info-banner--cookie"
2918
+ ],
2919
+ "detectCmp": [
2920
+ {
2921
+ "exists": ".nrk-masthead__info-banner--cookie"
2922
+ }
2923
+ ],
2924
+ "detectPopup": [
2925
+ {
2926
+ "exists": ".nrk-masthead__info-banner--cookie"
2927
+ }
2928
+ ],
2929
+ "optIn": [
2930
+ {
2931
+ "click": "div.nrk-masthead__info-banner--cookie button > span:has(+ svg.nrk-close)"
2932
+ }
2933
+ ],
2934
+ "optOut": [
2935
+ {
2936
+ "hide": [
2937
+ ".nrk-masthead__info-banner--cookie"
2938
+ ]
2939
+ }
2940
+ ]
2941
+ },
2571
2942
  {
2572
2943
  "name": "obi.de",
2573
2944
  "prehideSelectors": [
@@ -2765,6 +3136,35 @@
2765
3136
  }
2766
3137
  ]
2767
3138
  },
3139
+ {
3140
+ "name": "pinetools.com",
3141
+ "cosmetic": true,
3142
+ "prehideSelectors": [
3143
+ "#aviso_cookies"
3144
+ ],
3145
+ "detectCmp": [
3146
+ {
3147
+ "exists": "#aviso_cookies"
3148
+ }
3149
+ ],
3150
+ "detectPopup": [
3151
+ {
3152
+ "exists": ".lang_en #aviso_cookies"
3153
+ }
3154
+ ],
3155
+ "optIn": [
3156
+ {
3157
+ "click": "#aviso_cookies .a_boton_cerrar"
3158
+ }
3159
+ ],
3160
+ "optOut": [
3161
+ {
3162
+ "hide": [
3163
+ "#aviso_cookies"
3164
+ ]
3165
+ }
3166
+ ]
3167
+ },
2768
3168
  {
2769
3169
  "name": "pmc",
2770
3170
  "cosmetic": true,
@@ -3162,6 +3562,35 @@
3162
3562
  }
3163
3563
  ]
3164
3564
  },
3565
+ {
3566
+ "name": "similarweb.com",
3567
+ "cosmetic": true,
3568
+ "prehideSelectors": [
3569
+ ".app-cookies-notification"
3570
+ ],
3571
+ "detectCmp": [
3572
+ {
3573
+ "exists": ".app-cookies-notification"
3574
+ }
3575
+ ],
3576
+ "detectPopup": [
3577
+ {
3578
+ "exists": ".app-layout .app-cookies-notification"
3579
+ }
3580
+ ],
3581
+ "optIn": [
3582
+ {
3583
+ "click": "button.app-cookies-notification__dismiss"
3584
+ }
3585
+ ],
3586
+ "optOut": [
3587
+ {
3588
+ "hide": [
3589
+ ".app-layout .app-cookies-notification"
3590
+ ]
3591
+ }
3592
+ ]
3593
+ },
3165
3594
  {
3166
3595
  "name": "Sirdata",
3167
3596
  "prehideSelectors": [
@@ -3258,6 +3687,35 @@
3258
3687
  }
3259
3688
  ]
3260
3689
  },
3690
+ {
3691
+ "name": "takealot.com",
3692
+ "cosmetic": true,
3693
+ "prehideSelectors": [
3694
+ "div[class^=\"cookies-banner-module_cookie-banner_\"]"
3695
+ ],
3696
+ "detectCmp": [
3697
+ {
3698
+ "exists": "div[class^=\"cookies-banner-module_cookie-banner_\"]"
3699
+ }
3700
+ ],
3701
+ "detectPopup": [
3702
+ {
3703
+ "exists": "div[class^=\"cookies-banner-module_cookie-banner_\"]"
3704
+ }
3705
+ ],
3706
+ "optIn": [
3707
+ {
3708
+ "click": "button[class*=\"cookies-banner-module_dismiss-button_\"]"
3709
+ }
3710
+ ],
3711
+ "optOut": [
3712
+ {
3713
+ "hide": [
3714
+ "div[class^=\"cookies-banner-module_cookie-banner_\"]"
3715
+ ]
3716
+ }
3717
+ ]
3718
+ },
3261
3719
  {
3262
3720
  "name": "tarteaucitron.js",
3263
3721
  "prehideSelectors": [
@@ -3561,6 +4019,35 @@
3561
4019
  }
3562
4020
  ]
3563
4021
  },
4022
+ {
4023
+ "name": "tidbits-com",
4024
+ "cosmetic": true,
4025
+ "prehideSelectors": [
4026
+ "#eu_cookie_law_widget-2"
4027
+ ],
4028
+ "detectCmp": [
4029
+ {
4030
+ "exists": "#eu_cookie_law_widget-2"
4031
+ }
4032
+ ],
4033
+ "detectPopup": [
4034
+ {
4035
+ "visible": "#eu_cookie_law_widget-2"
4036
+ }
4037
+ ],
4038
+ "optIn": [
4039
+ {
4040
+ "click": "#eu-cookie-law form > input.accept"
4041
+ }
4042
+ ],
4043
+ "optOut": [
4044
+ {
4045
+ "hide": [
4046
+ "#eu_cookie_law_widget-2"
4047
+ ]
4048
+ }
4049
+ ]
4050
+ },
3564
4051
  {
3565
4052
  "name": "tractor-supply",
3566
4053
  "runContext": {
@@ -3593,6 +4080,35 @@
3593
4080
  }
3594
4081
  ]
3595
4082
  },
4083
+ {
4084
+ "name": "trader-joes-com",
4085
+ "cosmetic": true,
4086
+ "prehideSelectors": [
4087
+ "div.aem-page > div[class^=\"CookiesAlert_cookiesAlert__\"]"
4088
+ ],
4089
+ "detectCmp": [
4090
+ {
4091
+ "exists": "div.aem-page > div[class^=\"CookiesAlert_cookiesAlert__\"]"
4092
+ }
4093
+ ],
4094
+ "detectPopup": [
4095
+ {
4096
+ "visible": "div.aem-page > div[class^=\"CookiesAlert_cookiesAlert__\"]"
4097
+ }
4098
+ ],
4099
+ "optIn": [
4100
+ {
4101
+ "click": "div[class^=\"CookiesAlert_cookiesAlert__container__\"] button"
4102
+ }
4103
+ ],
4104
+ "optOut": [
4105
+ {
4106
+ "hide": [
4107
+ "div.aem-page > div[class^=\"CookiesAlert_cookiesAlert__\"]"
4108
+ ]
4109
+ }
4110
+ ]
4111
+ },
3596
4112
  {
3597
4113
  "name": "true-car",
3598
4114
  "runContext": {
@@ -3656,6 +4172,35 @@
3656
4172
  }
3657
4173
  ]
3658
4174
  },
4175
+ {
4176
+ "name": "tumblr-com",
4177
+ "cosmetic": true,
4178
+ "prehideSelectors": [
4179
+ "#cmp-app-container"
4180
+ ],
4181
+ "detectCmp": [
4182
+ {
4183
+ "exists": "#cmp-app-container"
4184
+ }
4185
+ ],
4186
+ "detectPopup": [
4187
+ {
4188
+ "visible": "#cmp-app-container"
4189
+ }
4190
+ ],
4191
+ "optIn": [
4192
+ {
4193
+ "click": "#tumblr #cmp-app-container div.components-modal__frame > iframe > html body > div > div > div.cmp__dialog-footer > div > button.components-button.white-space-normal.is-primary"
4194
+ }
4195
+ ],
4196
+ "optOut": [
4197
+ {
4198
+ "hide": [
4199
+ "#cmp-app-container"
4200
+ ]
4201
+ }
4202
+ ]
4203
+ },
3659
4204
  {
3660
4205
  "name": "twitter",
3661
4206
  "runContext": {
@@ -3724,6 +4269,35 @@
3724
4269
  }
3725
4270
  ]
3726
4271
  },
4272
+ {
4273
+ "name": "urbanarmorgear-com",
4274
+ "cosmetic": true,
4275
+ "prehideSelectors": [
4276
+ "div[class^=\"Layout__CookieBannerContainer-\"]"
4277
+ ],
4278
+ "detectCmp": [
4279
+ {
4280
+ "exists": "div[class^=\"Layout__CookieBannerContainer-\"]"
4281
+ }
4282
+ ],
4283
+ "detectPopup": [
4284
+ {
4285
+ "visible": "div[class^=\"Layout__CookieBannerContainer-\"]"
4286
+ }
4287
+ ],
4288
+ "optIn": [
4289
+ {
4290
+ "click": "button[class^=\"CookieBanner__AcceptButton\"]"
4291
+ }
4292
+ ],
4293
+ "optOut": [
4294
+ {
4295
+ "hide": [
4296
+ "div[class^=\"Layout__CookieBannerContainer-\"]"
4297
+ ]
4298
+ }
4299
+ ]
4300
+ },
3727
4301
  {
3728
4302
  "name": "usercentrics-api",
3729
4303
  "detectCmp": [
@@ -3941,6 +4515,39 @@
3941
4515
  }
3942
4516
  ]
3943
4517
  },
4518
+ {
4519
+ "name": "woo-commerce-com",
4520
+ "prehideSelectors": [
4521
+ ".wccom-comp-privacy-banner .wccom-privacy-banner"
4522
+ ],
4523
+ "detectCmp": [
4524
+ {
4525
+ "exists": ".wccom-comp-privacy-banner .wccom-privacy-banner"
4526
+ }
4527
+ ],
4528
+ "detectPopup": [
4529
+ {
4530
+ "exists": ".wccom-comp-privacy-banner .wccom-privacy-banner"
4531
+ }
4532
+ ],
4533
+ "optIn": [
4534
+ {
4535
+ "click": ".wccom-privacy-banner__content-buttons button.is-primary"
4536
+ }
4537
+ ],
4538
+ "optOut": [
4539
+ {
4540
+ "click": ".wccom-privacy-banner__content-buttons button.is-secondary"
4541
+ },
4542
+ {
4543
+ "waitForThenClick": "input[type=checkbox][checked]:not([disabled])",
4544
+ "all": true
4545
+ },
4546
+ {
4547
+ "click": "div.wccom-modal__footer > button"
4548
+ }
4549
+ ]
4550
+ },
3944
4551
  {
3945
4552
  "name": "WP Cookie Notice for GDPR",
3946
4553
  "comment": "https://wordpress.org/plugins/gdpr-cookie-consent/",
@@ -4002,6 +4609,32 @@
4002
4609
  }
4003
4610
  ]
4004
4611
  },
4612
+ {
4613
+ "name": "xhamster-eu",
4614
+ "prehideSelectors": [
4615
+ ".cookies-modal"
4616
+ ],
4617
+ "detectCmp": [
4618
+ {
4619
+ "exists": ".cookies-modal"
4620
+ }
4621
+ ],
4622
+ "detectPopup": [
4623
+ {
4624
+ "exists": ".cookies-modal"
4625
+ }
4626
+ ],
4627
+ "optIn": [
4628
+ {
4629
+ "click": "button.cmd-button-accept-all"
4630
+ }
4631
+ ],
4632
+ "optOut": [
4633
+ {
4634
+ "click": "button.cmd-button-reject-all"
4635
+ }
4636
+ ]
4637
+ },
4005
4638
  {
4006
4639
  "name": "xhamster-us",
4007
4640
  "runContext": {