@duckduckgo/autoconsent 9.6.0 → 9.7.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 (67) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/addon-firefox/background.bundle.js +7 -0
  3. package/dist/addon-firefox/content.bundle.js +7 -0
  4. package/dist/addon-firefox/rules.json +897 -4
  5. package/dist/addon-mv3/background.bundle.js +7 -0
  6. package/dist/addon-mv3/content.bundle.js +7 -0
  7. package/dist/addon-mv3/rules.json +897 -4
  8. package/dist/autoconsent.cjs.js +7 -0
  9. package/dist/autoconsent.esm.js +7 -0
  10. package/dist/autoconsent.playwright.js +1 -1
  11. package/dist/autoconsent.unit.js +904 -4
  12. package/lib/eval-snippets.ts +7 -0
  13. package/package.json +1 -1
  14. package/rules/autoconsent/abconcerts.be.json +39 -0
  15. package/rules/autoconsent/aliexpress.json +39 -0
  16. package/rules/autoconsent/arbeitsagentur.json +36 -0
  17. package/rules/autoconsent/asus.json +43 -0
  18. package/rules/autoconsent/cookieacceptbar.json +26 -0
  19. package/rules/autoconsent/cookieconsent2.json +32 -0
  20. package/rules/autoconsent/cookieconsent3.json +29 -0
  21. package/rules/autoconsent/dndbeyond.json +31 -0
  22. package/rules/autoconsent/hashicorp.json +31 -0
  23. package/rules/autoconsent/hu-manity.json +28 -0
  24. package/rules/autoconsent/jdsports.json +39 -0
  25. package/rules/autoconsent/lineagrafica.json +26 -0
  26. package/rules/autoconsent/livejasmin.json +39 -0
  27. package/rules/autoconsent/om.json +40 -0
  28. package/rules/autoconsent/openli.json +26 -0
  29. package/rules/autoconsent/ourworldindata.json +28 -0
  30. package/rules/autoconsent/pabcogypsum.json +25 -0
  31. package/rules/autoconsent/productz.com.json +28 -0
  32. package/rules/autoconsent/setapp.com.json +29 -0
  33. package/rules/autoconsent/svt.se.json +31 -0
  34. package/rules/autoconsent/taunton.json +36 -0
  35. package/rules/autoconsent/termsfeed.json +26 -0
  36. package/rules/autoconsent/termsfeed3.json +27 -0
  37. package/rules/autoconsent/twitch-mobile.json +29 -0
  38. package/rules/autoconsent/wolframalpha.json +29 -0
  39. package/rules/autoconsent/xe.com.json +39 -0
  40. package/rules/create-rule.mjs +2 -2
  41. package/rules/rules.json +897 -4
  42. package/tests/abconcerts.be.spec.ts +7 -0
  43. package/tests/aliexpress.spec.ts +6 -0
  44. package/tests/arbeitsagentur.spec.ts +5 -0
  45. package/tests/asus.spec.ts +6 -0
  46. package/tests/cookieacceptbar.spec.ts +6 -0
  47. package/tests/cookieconsent2.spec.ts +7 -0
  48. package/tests/cookieconsent3.spec.ts +5 -0
  49. package/tests/dndbeyond.spec.ts +5 -0
  50. package/tests/hashicorp.spec.ts +5 -0
  51. package/tests/hu-manity.spec.ts +7 -0
  52. package/tests/jdsports.spec.ts +5 -0
  53. package/tests/lineagrafica.spec.ts +5 -0
  54. package/tests/livejasmin.spec.ts +5 -0
  55. package/tests/om.spec.ts +9 -0
  56. package/tests/openli.spec.ts +6 -0
  57. package/tests/ourworldindata.spec.ts +5 -0
  58. package/tests/pabcogypsum.spec.ts +5 -0
  59. package/tests/productz.com.spec.ts +5 -0
  60. package/tests/setapp.com.spec.ts +5 -0
  61. package/tests/svt.se.spec.ts +5 -0
  62. package/tests/taunton.spec.ts +11 -0
  63. package/tests/termsfeed.spec.ts +6 -0
  64. package/tests/termsfeed3.spec.ts +7 -0
  65. package/tests/twitch-mobile.spec.ts +5 -0
  66. package/tests/wolframalpha.spec.ts +5 -0
  67. package/tests/xe.com.spec.ts +5 -0
@@ -58,6 +58,49 @@
58
58
  }
59
59
  ]
60
60
  },
61
+ {
62
+ "name": "abconcerts.be",
63
+ "vendorUrl": "https://unknown",
64
+ "intermediate": false,
65
+ "prehideSelectors": [
66
+ "dialog.cookie-consent"
67
+ ],
68
+ "detectCmp": [
69
+ {
70
+ "exists": "dialog.cookie-consent form.cookie-consent__form"
71
+ }
72
+ ],
73
+ "detectPopup": [
74
+ {
75
+ "visible": "dialog.cookie-consent form.cookie-consent__form"
76
+ }
77
+ ],
78
+ "optIn": [
79
+ {
80
+ "waitForThenClick": "dialog.cookie-consent form.cookie-consent__form button[value=yes]"
81
+ }
82
+ ],
83
+ "optOut": [
84
+ {
85
+ "if": {
86
+ "exists": "dialog.cookie-consent form.cookie-consent__form button[value=no]"
87
+ },
88
+ "then": [
89
+ {
90
+ "click": "dialog.cookie-consent form.cookie-consent__form button[value=no]"
91
+ }
92
+ ],
93
+ "else": [
94
+ {
95
+ "click": "dialog.cookie-consent form.cookie-consent__form button.cookie-consent__options-toggle"
96
+ },
97
+ {
98
+ "waitForThenClick": "dialog.cookie-consent form.cookie-consent__form button[value=\"save_options\"]"
99
+ }
100
+ ]
101
+ }
102
+ ]
103
+ },
61
104
  {
62
105
  "name": "activobank.pt",
63
106
  "runContext": {
@@ -186,6 +229,47 @@
186
229
  }
187
230
  ]
188
231
  },
232
+ {
233
+ "name": "aliexpress",
234
+ "vendorUrl": "https://aliexpress.com/",
235
+ "runContext": {
236
+ "urlPattern": "^https://.*\\.aliexpress\\.com/"
237
+ },
238
+ "prehideSelectors": [
239
+ "#gdpr-new-container"
240
+ ],
241
+ "detectCmp": [
242
+ {
243
+ "exists": "#gdpr-new-container"
244
+ }
245
+ ],
246
+ "detectPopup": [
247
+ {
248
+ "visible": "#gdpr-new-container"
249
+ }
250
+ ],
251
+ "optIn": [
252
+ {
253
+ "waitForThenClick": "#gdpr-new-container .btn-accept"
254
+ }
255
+ ],
256
+ "optOut": [
257
+ {
258
+ "waitForThenClick": "#gdpr-new-container .btn-more"
259
+ },
260
+ {
261
+ "waitFor": "#gdpr-new-container .gdpr-dialog-switcher"
262
+ },
263
+ {
264
+ "click": "#gdpr-new-container .switcher-on",
265
+ "all": true,
266
+ "optional": true
267
+ },
268
+ {
269
+ "click": "#gdpr-new-container .btn-save"
270
+ }
271
+ ]
272
+ },
189
273
  {
190
274
  "name": "almacmp",
191
275
  "prehideSelectors": [
@@ -315,6 +399,89 @@
315
399
  }
316
400
  ]
317
401
  },
402
+ {
403
+ "name": "arbeitsagentur",
404
+ "vendorUrl": "https://www.arbeitsagentur.de/",
405
+ "prehideSelectors": [
406
+ ".modal-open bahf-cookie-disclaimer-dpl3"
407
+ ],
408
+ "detectCmp": [
409
+ {
410
+ "exists": "bahf-cookie-disclaimer-dpl3"
411
+ }
412
+ ],
413
+ "detectPopup": [
414
+ {
415
+ "visible": "bahf-cookie-disclaimer-dpl3"
416
+ }
417
+ ],
418
+ "optIn": [
419
+ {
420
+ "waitForThenClick": [
421
+ "bahf-cookie-disclaimer-dpl3",
422
+ "bahf-cd-modal-dpl3 .ba-btn-primary"
423
+ ]
424
+ }
425
+ ],
426
+ "optOut": [
427
+ {
428
+ "waitForThenClick": [
429
+ "bahf-cookie-disclaimer-dpl3",
430
+ "bahf-cd-modal-dpl3 .ba-btn-contrast"
431
+ ]
432
+ }
433
+ ],
434
+ "test": [
435
+ {
436
+ "eval": "EVAL_ARBEITSAGENTUR_TEST"
437
+ }
438
+ ]
439
+ },
440
+ {
441
+ "name": "asus",
442
+ "vendorUrl": "https://www.asus.com/",
443
+ "runContext": {
444
+ "urlPattern": "^https://www\\.asus\\.com/"
445
+ },
446
+ "prehideSelectors": [
447
+ "#cookie-policy-info,#cookie-policy-info-bg"
448
+ ],
449
+ "detectCmp": [
450
+ {
451
+ "exists": "#cookie-policy-info"
452
+ }
453
+ ],
454
+ "detectPopup": [
455
+ {
456
+ "visible": "#cookie-policy-info"
457
+ }
458
+ ],
459
+ "optIn": [
460
+ {
461
+ "waitForThenClick": "#cookie-policy-info [data-agree=\"Accept Cookies\"]"
462
+ }
463
+ ],
464
+ "optOut": [
465
+ {
466
+ "if": {
467
+ "exists": "#cookie-policy-info .btn-reject"
468
+ },
469
+ "then": [
470
+ {
471
+ "waitForThenClick": "#cookie-policy-info .btn-reject"
472
+ }
473
+ ],
474
+ "else": [
475
+ {
476
+ "waitForThenClick": "#cookie-policy-info .btn-setting"
477
+ },
478
+ {
479
+ "waitForThenClick": "#cookie-policy-lightbox-wrapper [data-agree=\"Save Settings\"]"
480
+ }
481
+ ]
482
+ }
483
+ ]
484
+ },
318
485
  {
319
486
  "name": "athlinks-com",
320
487
  "runContext": {
@@ -1569,6 +1736,34 @@
1569
1736
  }
1570
1737
  ]
1571
1738
  },
1739
+ {
1740
+ "name": "cookieacceptbar",
1741
+ "vendorUrl": "https://unknown",
1742
+ "cosmetic": true,
1743
+ "prehideSelectors": [
1744
+ "#cookieAcceptBar.cookieAcceptBar"
1745
+ ],
1746
+ "detectCmp": [
1747
+ {
1748
+ "exists": "#cookieAcceptBar.cookieAcceptBar"
1749
+ }
1750
+ ],
1751
+ "detectPopup": [
1752
+ {
1753
+ "visible": "#cookieAcceptBar.cookieAcceptBar"
1754
+ }
1755
+ ],
1756
+ "optIn": [
1757
+ {
1758
+ "waitForThenClick": "#cookieAcceptBarConfirm"
1759
+ }
1760
+ ],
1761
+ "optOut": [
1762
+ {
1763
+ "hide": "#cookieAcceptBar.cookieAcceptBar"
1764
+ }
1765
+ ]
1766
+ },
1572
1767
  {
1573
1768
  "name": "cookiealert",
1574
1769
  "intermediate": false,
@@ -1617,6 +1812,75 @@
1617
1812
  }
1618
1813
  ]
1619
1814
  },
1815
+ {
1816
+ "name": "cookieconsent2",
1817
+ "vendorUrl": "https://www.github.com/orestbida/cookieconsent",
1818
+ "comment": "supports v2.x.x of the library",
1819
+ "prehideSelectors": [
1820
+ "#cc--main"
1821
+ ],
1822
+ "detectCmp": [
1823
+ {
1824
+ "exists": "#cc--main"
1825
+ }
1826
+ ],
1827
+ "detectPopup": [
1828
+ {
1829
+ "visible": "#cm"
1830
+ },
1831
+ {
1832
+ "exists": "#s-all-bn"
1833
+ }
1834
+ ],
1835
+ "optIn": [
1836
+ {
1837
+ "waitForThenClick": "#s-all-bn"
1838
+ }
1839
+ ],
1840
+ "optOut": [
1841
+ {
1842
+ "waitForThenClick": "#s-rall-bn"
1843
+ }
1844
+ ],
1845
+ "test": [
1846
+ {
1847
+ "eval": "EVAL_COOKIECONSENT2_TEST"
1848
+ }
1849
+ ]
1850
+ },
1851
+ {
1852
+ "name": "cookieconsent3",
1853
+ "vendorUrl": "https://www.github.com/orestbida/cookieconsent",
1854
+ "comment": "supports v3.x.x of the library",
1855
+ "prehideSelectors": [
1856
+ "#cc-main"
1857
+ ],
1858
+ "detectCmp": [
1859
+ {
1860
+ "exists": "#cc-main"
1861
+ }
1862
+ ],
1863
+ "detectPopup": [
1864
+ {
1865
+ "visible": "#cc-main .cm-wrapper"
1866
+ }
1867
+ ],
1868
+ "optIn": [
1869
+ {
1870
+ "waitForThenClick": ".cm__btn[data-role=all]"
1871
+ }
1872
+ ],
1873
+ "optOut": [
1874
+ {
1875
+ "waitForThenClick": ".cm__btn[data-role=necessary]"
1876
+ }
1877
+ ],
1878
+ "test": [
1879
+ {
1880
+ "eval": "EVAL_COOKIECONSENT3_TEST"
1881
+ }
1882
+ ]
1883
+ },
1620
1884
  {
1621
1885
  "name": "cookiefirst.com",
1622
1886
  "prehideSelectors": [
@@ -2047,6 +2311,41 @@
2047
2311
  }
2048
2312
  ]
2049
2313
  },
2314
+ {
2315
+ "name": "dndbeyond",
2316
+ "vendorUrl": "https://www.dndbeyond.com/",
2317
+ "runContext": {
2318
+ "urlPattern": "^https://www\\.dndbeyond\\.com/"
2319
+ },
2320
+ "prehideSelectors": [
2321
+ "[id^=cookie-consent-banner]"
2322
+ ],
2323
+ "detectCmp": [
2324
+ {
2325
+ "exists": "[id^=cookie-consent-banner]"
2326
+ }
2327
+ ],
2328
+ "detectPopup": [
2329
+ {
2330
+ "visible": "[id^=cookie-consent-banner]"
2331
+ }
2332
+ ],
2333
+ "optIn": [
2334
+ {
2335
+ "waitForThenClick": "#cookie-consent-granted"
2336
+ }
2337
+ ],
2338
+ "optOut": [
2339
+ {
2340
+ "waitForThenClick": "#cookie-consent-denied"
2341
+ }
2342
+ ],
2343
+ "test": [
2344
+ {
2345
+ "eval": "EVAL_DNDBEYOND_TEST"
2346
+ }
2347
+ ]
2348
+ },
2050
2349
  {
2051
2350
  "name": "Drupal",
2052
2351
  "detectCmp": [
@@ -2601,6 +2900,39 @@
2601
2900
  }
2602
2901
  ]
2603
2902
  },
2903
+ {
2904
+ "name": "hashicorp",
2905
+ "vendorUrl": "https://hashicorp.com/",
2906
+ "runContext": {
2907
+ "urlPattern": "^https://[^.]*\\.hashicorp\\.com/"
2908
+ },
2909
+ "prehideSelectors": [
2910
+ "[data-testid=consent-banner]"
2911
+ ],
2912
+ "detectCmp": [
2913
+ {
2914
+ "exists": "[data-testid=consent-banner]"
2915
+ }
2916
+ ],
2917
+ "detectPopup": [
2918
+ {
2919
+ "visible": "[data-testid=consent-banner]"
2920
+ }
2921
+ ],
2922
+ "optIn": [
2923
+ {
2924
+ "waitForThenClick": "[data-testid=accept]"
2925
+ }
2926
+ ],
2927
+ "optOut": [
2928
+ {
2929
+ "waitForThenClick": "[data-testid=manage-preferences]"
2930
+ },
2931
+ {
2932
+ "waitForThenClick": "[data-testid=consent-mgr-dialog] [data-ga-button=save-preferences]"
2933
+ }
2934
+ ]
2935
+ },
2604
2936
  {
2605
2937
  "name": "healthline-media",
2606
2938
  "prehideSelectors": [
@@ -2750,20 +3082,50 @@
2750
3082
  ]
2751
3083
  },
2752
3084
  {
2753
- "name": "hubspot",
3085
+ "name": "hu-manity",
3086
+ "vendorUrl": "https://hu-manity.co/",
3087
+ "prehideSelectors": [
3088
+ "#hu.hu-wrapper"
3089
+ ],
2754
3090
  "detectCmp": [
2755
3091
  {
2756
- "exists": "#hs-eu-cookie-confirmation"
3092
+ "exists": "#hu.hu-visible"
2757
3093
  }
2758
3094
  ],
2759
3095
  "detectPopup": [
2760
3096
  {
2761
- "visible": "#hs-eu-cookie-confirmation"
3097
+ "visible": "#hu.hu-visible"
2762
3098
  }
2763
3099
  ],
2764
3100
  "optIn": [
2765
3101
  {
2766
- "click": "#hs-eu-confirmation-button"
3102
+ "waitForThenClick": "[data-hu-action=cookies-notice-consent-choices-3]"
3103
+ },
3104
+ {
3105
+ "waitForThenClick": "#hu-cookies-save"
3106
+ }
3107
+ ],
3108
+ "optOut": [
3109
+ {
3110
+ "waitForThenClick": "#hu-cookies-save"
3111
+ }
3112
+ ]
3113
+ },
3114
+ {
3115
+ "name": "hubspot",
3116
+ "detectCmp": [
3117
+ {
3118
+ "exists": "#hs-eu-cookie-confirmation"
3119
+ }
3120
+ ],
3121
+ "detectPopup": [
3122
+ {
3123
+ "visible": "#hs-eu-cookie-confirmation"
3124
+ }
3125
+ ],
3126
+ "optIn": [
3127
+ {
3128
+ "click": "#hs-eu-confirmation-button"
2767
3129
  }
2768
3130
  ],
2769
3131
  "optOut": [
@@ -2993,6 +3355,51 @@
2993
3355
  }
2994
3356
  ]
2995
3357
  },
3358
+ {
3359
+ "name": "jdsports",
3360
+ "vendorUrl": "https://www.jdsports.co.uk/",
3361
+ "runContext": {
3362
+ "urlPattern": "^https://www\\.jdsports\\."
3363
+ },
3364
+ "prehideSelectors": [
3365
+ ".miniConsent,#PrivacyPolicyBanner"
3366
+ ],
3367
+ "detectCmp": [
3368
+ {
3369
+ "exists": ".miniConsent,#PrivacyPolicyBanner"
3370
+ }
3371
+ ],
3372
+ "detectPopup": [
3373
+ {
3374
+ "visible": ".miniConsent,#PrivacyPolicyBanner"
3375
+ }
3376
+ ],
3377
+ "optIn": [
3378
+ {
3379
+ "waitForThenClick": ".miniConsent .accept-all-cookies"
3380
+ }
3381
+ ],
3382
+ "optOut": [
3383
+ {
3384
+ "if": {
3385
+ "exists": "#PrivacyPolicyBanner"
3386
+ },
3387
+ "then": [
3388
+ {
3389
+ "hide": "#PrivacyPolicyBanner"
3390
+ }
3391
+ ],
3392
+ "else": [
3393
+ {
3394
+ "waitForThenClick": "#cookie-settings"
3395
+ },
3396
+ {
3397
+ "waitForThenClick": "#reject-all-cookies"
3398
+ }
3399
+ ]
3400
+ }
3401
+ ]
3402
+ },
2996
3403
  {
2997
3404
  "name": "johnlewis.com",
2998
3405
  "prehideSelectors": [
@@ -3277,6 +3684,34 @@
3277
3684
  }
3278
3685
  ]
3279
3686
  },
3687
+ {
3688
+ "name": "lineagrafica",
3689
+ "vendorUrl": "https://addons.prestashop.com/en/legal/8734-eu-cookie-law-gdpr-banner-blocker.html",
3690
+ "cosmetic": true,
3691
+ "prehideSelectors": [
3692
+ "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
3693
+ ],
3694
+ "detectCmp": [
3695
+ {
3696
+ "exists": "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
3697
+ }
3698
+ ],
3699
+ "detectPopup": [
3700
+ {
3701
+ "exists": "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
3702
+ }
3703
+ ],
3704
+ "optIn": [
3705
+ {
3706
+ "waitForThenClick": "#lgcookieslaw_accept"
3707
+ }
3708
+ ],
3709
+ "optOut": [
3710
+ {
3711
+ "hide": "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
3712
+ }
3713
+ ]
3714
+ },
3280
3715
  {
3281
3716
  "name": "linkedin.com",
3282
3717
  "prehideSelectors": [
@@ -3321,6 +3756,47 @@
3321
3756
  }
3322
3757
  ]
3323
3758
  },
3759
+ {
3760
+ "name": "livejasmin",
3761
+ "vendorUrl": "https://www.livejasmin.com/",
3762
+ "runContext": {
3763
+ "urlPattern": "^https://www\\.livejasmin\\.com/"
3764
+ },
3765
+ "prehideSelectors": [
3766
+ "#consent_modal"
3767
+ ],
3768
+ "detectCmp": [
3769
+ {
3770
+ "exists": "#consent_modal"
3771
+ }
3772
+ ],
3773
+ "detectPopup": [
3774
+ {
3775
+ "visible": "#consent_modal"
3776
+ }
3777
+ ],
3778
+ "optIn": [
3779
+ {
3780
+ "waitForThenClick": "#consent_modal button[data-testid=ButtonStyledButton]:first-of-type"
3781
+ }
3782
+ ],
3783
+ "optOut": [
3784
+ {
3785
+ "waitForThenClick": "#consent_modal button[data-testid=ButtonStyledButton]:nth-of-type(2)"
3786
+ },
3787
+ {
3788
+ "waitForVisible": "[data-testid=PrivacyPreferenceCenterWithConsentCookieContent]"
3789
+ },
3790
+ {
3791
+ "click": "[data-testid=PrivacyPreferenceCenterWithConsentCookieContent] input[data-testid=PrivacyPreferenceCenterWithConsentCookieSwitch]:checked",
3792
+ "optional": true,
3793
+ "all": true
3794
+ },
3795
+ {
3796
+ "waitForThenClick": "[data-testid=PrivacyPreferenceCenterWithConsentCookieContent] button[data-testid=ButtonStyledButton]:last-child"
3797
+ }
3798
+ ]
3799
+ },
3324
3800
  {
3325
3801
  "name": "macpaw.com",
3326
3802
  "cosmetic": true,
@@ -3802,6 +4278,50 @@
3802
4278
  }
3803
4279
  ]
3804
4280
  },
4281
+ {
4282
+ "name": "om",
4283
+ "vendorUrl": "https://olli-machts.de/en/extension/cookie-manager",
4284
+ "prehideSelectors": [
4285
+ ".tx-om-cookie-consent"
4286
+ ],
4287
+ "detectCmp": [
4288
+ {
4289
+ "exists": ".tx-om-cookie-consent .active[data-omcookie-panel]"
4290
+ }
4291
+ ],
4292
+ "detectPopup": [
4293
+ {
4294
+ "exists": ".tx-om-cookie-consent .active[data-omcookie-panel]"
4295
+ }
4296
+ ],
4297
+ "optIn": [
4298
+ {
4299
+ "waitForThenClick": "[data-omcookie-panel-save=all]"
4300
+ }
4301
+ ],
4302
+ "optOut": [
4303
+ {
4304
+ "if": {
4305
+ "exists": "[data-omcookie-panel-save=min]"
4306
+ },
4307
+ "then": [
4308
+ {
4309
+ "waitForThenClick": "[data-omcookie-panel-save=min]"
4310
+ }
4311
+ ],
4312
+ "else": [
4313
+ {
4314
+ "click": "input[data-omcookie-panel-grp]:checked:not(:disabled)",
4315
+ "all": true,
4316
+ "optional": true
4317
+ },
4318
+ {
4319
+ "waitForThenClick": "[data-omcookie-panel-save=save]"
4320
+ }
4321
+ ]
4322
+ }
4323
+ ]
4324
+ },
3805
4325
  {
3806
4326
  "name": "onlyFans.com",
3807
4327
  "prehideSelectors": [
@@ -3834,6 +4354,34 @@
3834
4354
  }
3835
4355
  ]
3836
4356
  },
4357
+ {
4358
+ "name": "openli",
4359
+ "vendorUrl": "https://openli.com",
4360
+ "prehideSelectors": [
4361
+ ".legalmonster-cleanslate"
4362
+ ],
4363
+ "detectCmp": [
4364
+ {
4365
+ "exists": ".legalmonster-cleanslate"
4366
+ }
4367
+ ],
4368
+ "detectPopup": [
4369
+ {
4370
+ "visible": ".legalmonster-cleanslate #lm-cookie-wall-container",
4371
+ "check": "any"
4372
+ }
4373
+ ],
4374
+ "optIn": [
4375
+ {
4376
+ "waitForThenClick": "#lm-accept-all"
4377
+ }
4378
+ ],
4379
+ "optOut": [
4380
+ {
4381
+ "waitForThenClick": "#lm-accept-necessary"
4382
+ }
4383
+ ]
4384
+ },
3837
4385
  {
3838
4386
  "name": "opera.com",
3839
4387
  "vendorUrl": "https://unknown",
@@ -3930,6 +4478,63 @@
3930
4478
  }
3931
4479
  ]
3932
4480
  },
4481
+ {
4482
+ "name": "ourworldindata",
4483
+ "vendorUrl": "https://ourworldindata.org/",
4484
+ "runContext": {
4485
+ "urlPattern": "^https://ourworldindata\\.org/"
4486
+ },
4487
+ "prehideSelectors": [
4488
+ ".cookie-manager"
4489
+ ],
4490
+ "detectCmp": [
4491
+ {
4492
+ "exists": ".cookie-manager"
4493
+ }
4494
+ ],
4495
+ "detectPopup": [
4496
+ {
4497
+ "visible": ".cookie-manager .cookie-notice.open"
4498
+ }
4499
+ ],
4500
+ "optIn": [
4501
+ {
4502
+ "waitForThenClick": ".cookie-notice [data-test=accept]"
4503
+ }
4504
+ ],
4505
+ "optOut": [
4506
+ {
4507
+ "waitForThenClick": ".cookie-notice [data-test=reject]"
4508
+ }
4509
+ ]
4510
+ },
4511
+ {
4512
+ "name": "pabcogypsum",
4513
+ "vendorUrl": "https://unknown",
4514
+ "prehideSelectors": [
4515
+ ".js-cookie-notice:has(#cookie_settings-form)"
4516
+ ],
4517
+ "detectCmp": [
4518
+ {
4519
+ "exists": ".js-cookie-notice:has(#cookie_settings-form)"
4520
+ }
4521
+ ],
4522
+ "detectPopup": [
4523
+ {
4524
+ "visible": ".js-cookie-notice:has(#cookie_settings-form)"
4525
+ }
4526
+ ],
4527
+ "optIn": [
4528
+ {
4529
+ "waitForThenClick": ".js-cookie-notice button[value=allow]"
4530
+ }
4531
+ ],
4532
+ "optOut": [
4533
+ {
4534
+ "waitForThenClick": ".js-cookie-notice button[value=disable]"
4535
+ }
4536
+ ]
4537
+ },
3933
4538
  {
3934
4539
  "name": "paypal-us",
3935
4540
  "prehideSelectors": [
@@ -4221,6 +4826,34 @@
4221
4826
  }
4222
4827
  ]
4223
4828
  },
4829
+ {
4830
+ "name": "productz.com",
4831
+ "vendorUrl": "https://productz.com/",
4832
+ "runContext": {
4833
+ "urlPattern": "^https://productz\\.com/"
4834
+ },
4835
+ "prehideSelectors": [],
4836
+ "detectCmp": [
4837
+ {
4838
+ "exists": ".c-modal.is-active"
4839
+ }
4840
+ ],
4841
+ "detectPopup": [
4842
+ {
4843
+ "visible": ".c-modal.is-active"
4844
+ }
4845
+ ],
4846
+ "optIn": [
4847
+ {
4848
+ "waitForThenClick": ".c-modal.is-active .is-accept"
4849
+ }
4850
+ ],
4851
+ "optOut": [
4852
+ {
4853
+ "waitForThenClick": ".c-modal.is-active .is-dismiss"
4854
+ }
4855
+ ]
4856
+ },
4224
4857
  {
4225
4858
  "name": "pubtech",
4226
4859
  "prehideSelectors": [
@@ -4440,6 +5073,35 @@
4440
5073
  }
4441
5074
  ]
4442
5075
  },
5076
+ {
5077
+ "name": "setapp.com",
5078
+ "vendorUrl": "https://setapp.com/",
5079
+ "cosmetic": true,
5080
+ "runContext": {
5081
+ "urlPattern": "^https://setapp\\.com/"
5082
+ },
5083
+ "prehideSelectors": [],
5084
+ "detectCmp": [
5085
+ {
5086
+ "exists": ".cookie-banner.js-cookie-banner"
5087
+ }
5088
+ ],
5089
+ "detectPopup": [
5090
+ {
5091
+ "visible": ".cookie-banner.js-cookie-banner"
5092
+ }
5093
+ ],
5094
+ "optIn": [
5095
+ {
5096
+ "waitForThenClick": ".cookie-banner.js-cookie-banner button"
5097
+ }
5098
+ ],
5099
+ "optOut": [
5100
+ {
5101
+ "hide": ".cookie-banner.js-cookie-banner"
5102
+ }
5103
+ ]
5104
+ },
4443
5105
  {
4444
5106
  "name": "sibbo",
4445
5107
  "prehideSelectors": [
@@ -4653,6 +5315,41 @@
4653
5315
  }
4654
5316
  ]
4655
5317
  },
5318
+ {
5319
+ "name": "svt.se",
5320
+ "vendorUrl": "https://www.svt.se/",
5321
+ "runContext": {
5322
+ "urlPattern": "^https://www\\.svt\\.se/"
5323
+ },
5324
+ "prehideSelectors": [
5325
+ "[class*=CookieConsent__root___]"
5326
+ ],
5327
+ "detectCmp": [
5328
+ {
5329
+ "exists": "[class*=CookieConsent__root___]"
5330
+ }
5331
+ ],
5332
+ "detectPopup": [
5333
+ {
5334
+ "visible": "[class*=CookieConsent__modal___]"
5335
+ }
5336
+ ],
5337
+ "optIn": [
5338
+ {
5339
+ "waitForThenClick": "[class*=CookieConsent__modal___] > div > button[class*=primary]"
5340
+ }
5341
+ ],
5342
+ "optOut": [
5343
+ {
5344
+ "waitForThenClick": "[class*=CookieConsent__modal___] > div > button[class*=secondary]:nth-child(2)"
5345
+ }
5346
+ ],
5347
+ "test": [
5348
+ {
5349
+ "eval": "EVAL_SVT_TEST"
5350
+ }
5351
+ ]
5352
+ },
4656
5353
  {
4657
5354
  "name": "takealot.com",
4658
5355
  "cosmetic": true,
@@ -4724,6 +5421,46 @@
4724
5421
  }
4725
5422
  ]
4726
5423
  },
5424
+ {
5425
+ "name": "taunton",
5426
+ "vendorUrl": "https://www.taunton.com/",
5427
+ "prehideSelectors": [
5428
+ "#taunton-user-consent__overlay"
5429
+ ],
5430
+ "detectCmp": [
5431
+ {
5432
+ "exists": "#taunton-user-consent__overlay"
5433
+ }
5434
+ ],
5435
+ "detectPopup": [
5436
+ {
5437
+ "exists": "#taunton-user-consent__overlay:not([aria-hidden=true])"
5438
+ }
5439
+ ],
5440
+ "optIn": [
5441
+ {
5442
+ "click": "#taunton-user-consent__toolbar input[type=checkbox]:not(:checked)"
5443
+ },
5444
+ {
5445
+ "click": "#taunton-user-consent__toolbar button[type=submit]"
5446
+ }
5447
+ ],
5448
+ "optOut": [
5449
+ {
5450
+ "click": "#taunton-user-consent__toolbar input[type=checkbox]:checked",
5451
+ "optional": true,
5452
+ "all": true
5453
+ },
5454
+ {
5455
+ "click": "#taunton-user-consent__toolbar button[type=submit]"
5456
+ }
5457
+ ],
5458
+ "test": [
5459
+ {
5460
+ "eval": "EVAL_TAUNTON_TEST"
5461
+ }
5462
+ ]
5463
+ },
4727
5464
  {
4728
5465
  "name": "Tealium",
4729
5466
  "prehideSelectors": [
@@ -4870,6 +5607,63 @@
4870
5607
  }
4871
5608
  ]
4872
5609
  },
5610
+ {
5611
+ "name": "termsfeed",
5612
+ "vendorUrl": "https://termsfeed.com",
5613
+ "comment": "v4.x.x",
5614
+ "prehideSelectors": [
5615
+ ".termsfeed-com---nb"
5616
+ ],
5617
+ "detectCmp": [
5618
+ {
5619
+ "exists": ".termsfeed-com---nb"
5620
+ }
5621
+ ],
5622
+ "detectPopup": [
5623
+ {
5624
+ "visible": ".termsfeed-com---nb"
5625
+ }
5626
+ ],
5627
+ "optIn": [
5628
+ {
5629
+ "waitForThenClick": ".cc-nb-okagree"
5630
+ }
5631
+ ],
5632
+ "optOut": [
5633
+ {
5634
+ "waitForThenClick": ".cc-nb-reject"
5635
+ }
5636
+ ]
5637
+ },
5638
+ {
5639
+ "name": "termsfeed3",
5640
+ "vendorUrl": "https://termsfeed.com",
5641
+ "comment": "v3.x.x",
5642
+ "cosmetic": true,
5643
+ "prehideSelectors": [
5644
+ ".cc_dialog.cc_css_reboot"
5645
+ ],
5646
+ "detectCmp": [
5647
+ {
5648
+ "exists": ".cc_dialog.cc_css_reboot"
5649
+ }
5650
+ ],
5651
+ "detectPopup": [
5652
+ {
5653
+ "visible": ".cc_dialog.cc_css_reboot"
5654
+ }
5655
+ ],
5656
+ "optIn": [
5657
+ {
5658
+ "waitForThenClick": ".cc_dialog.cc_css_reboot .cc_b_ok"
5659
+ }
5660
+ ],
5661
+ "optOut": [
5662
+ {
5663
+ "hide": ".cc_dialog.cc_css_reboot"
5664
+ }
5665
+ ]
5666
+ },
4873
5667
  {
4874
5668
  "name": "Test page cosmetic CMP",
4875
5669
  "cosmetic": true,
@@ -5328,6 +6122,35 @@
5328
6122
  }
5329
6123
  ]
5330
6124
  },
6125
+ {
6126
+ "name": "twitch-mobile",
6127
+ "vendorUrl": "https://m.twitch.tv/",
6128
+ "cosmetic": true,
6129
+ "runContext": {
6130
+ "urlPattern": "^https?://m\\.twitch\\.tv"
6131
+ },
6132
+ "prehideSelectors": [],
6133
+ "detectCmp": [
6134
+ {
6135
+ "exists": ".ReactModal__Overlay:has([href=\"https://www.twitch.tv/p/cookie-policy\"])"
6136
+ }
6137
+ ],
6138
+ "detectPopup": [
6139
+ {
6140
+ "visible": ".ReactModal__Overlay:has([href=\"https://www.twitch.tv/p/cookie-policy\"])"
6141
+ }
6142
+ ],
6143
+ "optIn": [
6144
+ {
6145
+ "waitForThenClick": ".ReactModal__Overlay:has([href=\"https://www.twitch.tv/p/cookie-policy\"]) button"
6146
+ }
6147
+ ],
6148
+ "optOut": [
6149
+ {
6150
+ "hide": ".ReactModal__Overlay:has([href=\"https://www.twitch.tv/p/cookie-policy\"])"
6151
+ }
6152
+ ]
6153
+ },
5331
6154
  {
5332
6155
  "name": "twitch.tv",
5333
6156
  "runContext": {
@@ -5804,6 +6627,35 @@
5804
6627
  }
5805
6628
  ]
5806
6629
  },
6630
+ {
6631
+ "name": "wolframalpha",
6632
+ "vendorUrl": "https://www.wolframalpha.com",
6633
+ "prehideSelectors": [],
6634
+ "cosmetic": true,
6635
+ "runContext": {
6636
+ "urlPattern": "^https://www\\.wolframalpha\\.com/"
6637
+ },
6638
+ "detectCmp": [
6639
+ {
6640
+ "exists": "section._a_yb"
6641
+ }
6642
+ ],
6643
+ "detectPopup": [
6644
+ {
6645
+ "visible": "section._a_yb"
6646
+ }
6647
+ ],
6648
+ "optIn": [
6649
+ {
6650
+ "waitForThenClick": "section._a_yb button"
6651
+ }
6652
+ ],
6653
+ "optOut": [
6654
+ {
6655
+ "hide": "section._a_yb"
6656
+ }
6657
+ ]
6658
+ },
5807
6659
  {
5808
6660
  "name": "woo-commerce-com",
5809
6661
  "prehideSelectors": [
@@ -5896,6 +6748,47 @@
5896
6748
  }
5897
6749
  ]
5898
6750
  },
6751
+ {
6752
+ "name": "xe.com",
6753
+ "vendorUrl": "https://www.xe.com/",
6754
+ "runContext": {
6755
+ "urlPattern": "^https://www\\.xe\\.com/"
6756
+ },
6757
+ "prehideSelectors": [
6758
+ "[class*=ConsentBanner]"
6759
+ ],
6760
+ "detectCmp": [
6761
+ {
6762
+ "exists": "[class*=ConsentBanner]"
6763
+ }
6764
+ ],
6765
+ "detectPopup": [
6766
+ {
6767
+ "visible": "[class*=ConsentBanner]"
6768
+ }
6769
+ ],
6770
+ "optIn": [
6771
+ {
6772
+ "waitForThenClick": "[class*=ConsentBanner] .egnScw"
6773
+ }
6774
+ ],
6775
+ "optOut": [
6776
+ {
6777
+ "wait": 1000
6778
+ },
6779
+ {
6780
+ "waitForThenClick": "[class*=ConsentBanner] .frDWEu"
6781
+ },
6782
+ {
6783
+ "waitForThenClick": "[class*=ConsentBanner] .hXIpFU"
6784
+ }
6785
+ ],
6786
+ "test": [
6787
+ {
6788
+ "eval": "EVAL_XE_TEST"
6789
+ }
6790
+ ]
6791
+ },
5899
6792
  {
5900
6793
  "name": "xhamster-eu",
5901
6794
  "prehideSelectors": [