@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
@@ -486,6 +486,7 @@
486
486
  EVAL_ADROLL_0: () => !document.cookie.includes("__adroll_fpc"),
487
487
  EVAL_ALMACMP_0: () => document.cookie.includes('"name":"Google","consent":false'),
488
488
  EVAL_AFFINITY_SERIF_COM_0: () => document.cookie.includes("serif_manage_cookies_viewed") && !document.cookie.includes("serif_allow_analytics"),
489
+ EVAL_ARBEITSAGENTUR_TEST: () => document.cookie.includes("cookie_consent=denied"),
489
490
  EVAL_AXEPTIO_0: () => document.cookie.includes("axeptio_authorized_vendors=%2C%2C"),
490
491
  EVAL_BAHN_TEST: () => utag.gdpr.getSelectedCategories().length === 1,
491
492
  EVAL_BING_0: () => document.cookie.includes("AL=0") && document.cookie.includes("AD=0") && document.cookie.includes("SM=0"),
@@ -496,6 +497,8 @@
496
497
  EVAL_CC_BANNER2_0: () => !!document.cookie.match(/sncc=[^;]+D%3Dtrue/),
497
498
  EVAL_CLICKIO_0: () => document.cookie.includes("__lxG__consent__v2_daisybit="),
498
499
  EVAL_CLINCH_0: () => document.cookie.includes("ctc_rejected=1"),
500
+ EVAL_COOKIECONSENT2_TEST: () => document.cookie.includes("cc_cookie="),
501
+ EVAL_COOKIECONSENT3_TEST: () => document.cookie.includes("cc_cookie="),
499
502
  EVAL_COINBASE_0: () => JSON.parse(decodeURIComponent(document.cookie.match(/cm_(eu|default)_preferences=([0-9a-zA-Z\\{\\}\\[\\]%:]*);?/)[2])).consent.length <= 1,
500
503
  EVAL_COMPLIANZ_BANNER_0: () => document.cookie.includes("cmplz_banner-status=dismissed"),
501
504
  EVAL_COOKIE_LAW_INFO_0: () => CLI.disableAllCookies() || CLI.reject_close() || true,
@@ -512,6 +515,7 @@
512
515
  EVAL_COOKIEINFORMATION_2: () => document.cookie.includes("CookieInformationConsent="),
513
516
  EVAL_COOKIEYES_0: () => document.cookie.includes("advertisement:no"),
514
517
  EVAL_DAILYMOTION_0: () => !!document.cookie.match("dm-euconsent-v2"),
518
+ EVAL_DNDBEYOND_TEST: () => document.cookie.includes("cookie-consent=denied"),
515
519
  EVAL_DSGVO_0: () => !document.cookie.includes("sp_dsgvo_cookie_settings"),
516
520
  EVAL_DUNELM_0: () => document.cookie.includes("cc_functional=0") && document.cookie.includes("cc_targeting=0"),
517
521
  EVAL_ETSY_0: () => document.querySelectorAll(".gdpr-overlay-body input").forEach((toggle) => {
@@ -549,10 +553,12 @@
549
553
  EVAL_SIRDATA_0: () => document.cookie.includes("euconsent-v2"),
550
554
  EVAL_SNIGEL_0: () => !!document.cookie.match("snconsent"),
551
555
  EVAL_STEAMPOWERED_0: () => JSON.parse(decodeURIComponent(document.cookie.split(";").find((s) => s.trim().startsWith("cookieSettings")).split("=")[1])).preference_state === 2,
556
+ EVAL_SVT_TEST: () => document.cookie.includes('cookie-consent-1={"optedIn":true,"functionality":false,"statistics":false}'),
552
557
  EVAL_TAKEALOT_0: () => document.body.classList.remove("freeze") || (document.body.style = "") || true,
553
558
  EVAL_TARTEAUCITRON_0: () => tarteaucitron.userInterface.respondAll(false) || true,
554
559
  EVAL_TARTEAUCITRON_1: () => tarteaucitron.userInterface.respondAll(true) || true,
555
560
  EVAL_TARTEAUCITRON_2: () => document.cookie.match(/tarteaucitron=[^;]*/)[0].includes("false"),
561
+ EVAL_TAUNTON_TEST: () => document.cookie.includes("taunton_user_consent_submitted=true"),
556
562
  EVAL_TEALIUM_0: () => typeof window.utag !== "undefined" && typeof utag.gdpr === "object",
557
563
  EVAL_TEALIUM_1: () => utag.gdpr.setConsentValue(false) || true,
558
564
  EVAL_TEALIUM_DONOTSELL: () => utag.gdpr.dns?.setDnsState(false) || true,
@@ -577,6 +583,7 @@
577
583
  EVAL_WAITROSE_0: () => Array.from(document.querySelectorAll("label[id$=cookies-deny-label]")).forEach((e) => e.click()) || true,
578
584
  EVAL_WAITROSE_1: () => document.cookie.includes("wtr_cookies_advertising=0") && document.cookie.includes("wtr_cookies_analytics=0"),
579
585
  EVAL_WP_COOKIE_NOTICE_0: () => document.cookie.includes("wpl_viewed_cookie=no"),
586
+ EVAL_XE_TEST: () => document.cookie.includes("xeConsentState={%22performance%22:false%2C%22marketing%22:false%2C%22compliance%22:false}"),
580
587
  EVAL_XING_0: () => document.cookie.includes("userConsent=%7B%22marketing%22%3Afalse"),
581
588
  EVAL_YOUTUBE_DESKTOP_0: () => !!document.cookie.match(/SOCS=CAE/),
582
589
  EVAL_YOUTUBE_MOBILE_0: () => !!document.cookie.match(/SOCS=CAE/)
@@ -2352,6 +2359,49 @@
2352
2359
  }
2353
2360
  ]
2354
2361
  },
2362
+ {
2363
+ name: "abconcerts.be",
2364
+ vendorUrl: "https://unknown",
2365
+ intermediate: false,
2366
+ prehideSelectors: [
2367
+ "dialog.cookie-consent"
2368
+ ],
2369
+ detectCmp: [
2370
+ {
2371
+ exists: "dialog.cookie-consent form.cookie-consent__form"
2372
+ }
2373
+ ],
2374
+ detectPopup: [
2375
+ {
2376
+ visible: "dialog.cookie-consent form.cookie-consent__form"
2377
+ }
2378
+ ],
2379
+ optIn: [
2380
+ {
2381
+ waitForThenClick: "dialog.cookie-consent form.cookie-consent__form button[value=yes]"
2382
+ }
2383
+ ],
2384
+ optOut: [
2385
+ {
2386
+ if: {
2387
+ exists: "dialog.cookie-consent form.cookie-consent__form button[value=no]"
2388
+ },
2389
+ then: [
2390
+ {
2391
+ click: "dialog.cookie-consent form.cookie-consent__form button[value=no]"
2392
+ }
2393
+ ],
2394
+ else: [
2395
+ {
2396
+ click: "dialog.cookie-consent form.cookie-consent__form button.cookie-consent__options-toggle"
2397
+ },
2398
+ {
2399
+ waitForThenClick: 'dialog.cookie-consent form.cookie-consent__form button[value="save_options"]'
2400
+ }
2401
+ ]
2402
+ }
2403
+ ]
2404
+ },
2355
2405
  {
2356
2406
  name: "activobank.pt",
2357
2407
  runContext: {
@@ -2480,6 +2530,47 @@
2480
2530
  }
2481
2531
  ]
2482
2532
  },
2533
+ {
2534
+ name: "aliexpress",
2535
+ vendorUrl: "https://aliexpress.com/",
2536
+ runContext: {
2537
+ urlPattern: "^https://.*\\.aliexpress\\.com/"
2538
+ },
2539
+ prehideSelectors: [
2540
+ "#gdpr-new-container"
2541
+ ],
2542
+ detectCmp: [
2543
+ {
2544
+ exists: "#gdpr-new-container"
2545
+ }
2546
+ ],
2547
+ detectPopup: [
2548
+ {
2549
+ visible: "#gdpr-new-container"
2550
+ }
2551
+ ],
2552
+ optIn: [
2553
+ {
2554
+ waitForThenClick: "#gdpr-new-container .btn-accept"
2555
+ }
2556
+ ],
2557
+ optOut: [
2558
+ {
2559
+ waitForThenClick: "#gdpr-new-container .btn-more"
2560
+ },
2561
+ {
2562
+ waitFor: "#gdpr-new-container .gdpr-dialog-switcher"
2563
+ },
2564
+ {
2565
+ click: "#gdpr-new-container .switcher-on",
2566
+ all: true,
2567
+ optional: true
2568
+ },
2569
+ {
2570
+ click: "#gdpr-new-container .btn-save"
2571
+ }
2572
+ ]
2573
+ },
2483
2574
  {
2484
2575
  name: "almacmp",
2485
2576
  prehideSelectors: [
@@ -2609,6 +2700,89 @@
2609
2700
  }
2610
2701
  ]
2611
2702
  },
2703
+ {
2704
+ name: "arbeitsagentur",
2705
+ vendorUrl: "https://www.arbeitsagentur.de/",
2706
+ prehideSelectors: [
2707
+ ".modal-open bahf-cookie-disclaimer-dpl3"
2708
+ ],
2709
+ detectCmp: [
2710
+ {
2711
+ exists: "bahf-cookie-disclaimer-dpl3"
2712
+ }
2713
+ ],
2714
+ detectPopup: [
2715
+ {
2716
+ visible: "bahf-cookie-disclaimer-dpl3"
2717
+ }
2718
+ ],
2719
+ optIn: [
2720
+ {
2721
+ waitForThenClick: [
2722
+ "bahf-cookie-disclaimer-dpl3",
2723
+ "bahf-cd-modal-dpl3 .ba-btn-primary"
2724
+ ]
2725
+ }
2726
+ ],
2727
+ optOut: [
2728
+ {
2729
+ waitForThenClick: [
2730
+ "bahf-cookie-disclaimer-dpl3",
2731
+ "bahf-cd-modal-dpl3 .ba-btn-contrast"
2732
+ ]
2733
+ }
2734
+ ],
2735
+ test: [
2736
+ {
2737
+ eval: "EVAL_ARBEITSAGENTUR_TEST"
2738
+ }
2739
+ ]
2740
+ },
2741
+ {
2742
+ name: "asus",
2743
+ vendorUrl: "https://www.asus.com/",
2744
+ runContext: {
2745
+ urlPattern: "^https://www\\.asus\\.com/"
2746
+ },
2747
+ prehideSelectors: [
2748
+ "#cookie-policy-info,#cookie-policy-info-bg"
2749
+ ],
2750
+ detectCmp: [
2751
+ {
2752
+ exists: "#cookie-policy-info"
2753
+ }
2754
+ ],
2755
+ detectPopup: [
2756
+ {
2757
+ visible: "#cookie-policy-info"
2758
+ }
2759
+ ],
2760
+ optIn: [
2761
+ {
2762
+ waitForThenClick: '#cookie-policy-info [data-agree="Accept Cookies"]'
2763
+ }
2764
+ ],
2765
+ optOut: [
2766
+ {
2767
+ if: {
2768
+ exists: "#cookie-policy-info .btn-reject"
2769
+ },
2770
+ then: [
2771
+ {
2772
+ waitForThenClick: "#cookie-policy-info .btn-reject"
2773
+ }
2774
+ ],
2775
+ else: [
2776
+ {
2777
+ waitForThenClick: "#cookie-policy-info .btn-setting"
2778
+ },
2779
+ {
2780
+ waitForThenClick: '#cookie-policy-lightbox-wrapper [data-agree="Save Settings"]'
2781
+ }
2782
+ ]
2783
+ }
2784
+ ]
2785
+ },
2612
2786
  {
2613
2787
  name: "athlinks-com",
2614
2788
  runContext: {
@@ -3863,6 +4037,34 @@
3863
4037
  }
3864
4038
  ]
3865
4039
  },
4040
+ {
4041
+ name: "cookieacceptbar",
4042
+ vendorUrl: "https://unknown",
4043
+ cosmetic: true,
4044
+ prehideSelectors: [
4045
+ "#cookieAcceptBar.cookieAcceptBar"
4046
+ ],
4047
+ detectCmp: [
4048
+ {
4049
+ exists: "#cookieAcceptBar.cookieAcceptBar"
4050
+ }
4051
+ ],
4052
+ detectPopup: [
4053
+ {
4054
+ visible: "#cookieAcceptBar.cookieAcceptBar"
4055
+ }
4056
+ ],
4057
+ optIn: [
4058
+ {
4059
+ waitForThenClick: "#cookieAcceptBarConfirm"
4060
+ }
4061
+ ],
4062
+ optOut: [
4063
+ {
4064
+ hide: "#cookieAcceptBar.cookieAcceptBar"
4065
+ }
4066
+ ]
4067
+ },
3866
4068
  {
3867
4069
  name: "cookiealert",
3868
4070
  intermediate: false,
@@ -3911,6 +4113,75 @@
3911
4113
  }
3912
4114
  ]
3913
4115
  },
4116
+ {
4117
+ name: "cookieconsent2",
4118
+ vendorUrl: "https://www.github.com/orestbida/cookieconsent",
4119
+ comment: "supports v2.x.x of the library",
4120
+ prehideSelectors: [
4121
+ "#cc--main"
4122
+ ],
4123
+ detectCmp: [
4124
+ {
4125
+ exists: "#cc--main"
4126
+ }
4127
+ ],
4128
+ detectPopup: [
4129
+ {
4130
+ visible: "#cm"
4131
+ },
4132
+ {
4133
+ exists: "#s-all-bn"
4134
+ }
4135
+ ],
4136
+ optIn: [
4137
+ {
4138
+ waitForThenClick: "#s-all-bn"
4139
+ }
4140
+ ],
4141
+ optOut: [
4142
+ {
4143
+ waitForThenClick: "#s-rall-bn"
4144
+ }
4145
+ ],
4146
+ test: [
4147
+ {
4148
+ eval: "EVAL_COOKIECONSENT2_TEST"
4149
+ }
4150
+ ]
4151
+ },
4152
+ {
4153
+ name: "cookieconsent3",
4154
+ vendorUrl: "https://www.github.com/orestbida/cookieconsent",
4155
+ comment: "supports v3.x.x of the library",
4156
+ prehideSelectors: [
4157
+ "#cc-main"
4158
+ ],
4159
+ detectCmp: [
4160
+ {
4161
+ exists: "#cc-main"
4162
+ }
4163
+ ],
4164
+ detectPopup: [
4165
+ {
4166
+ visible: "#cc-main .cm-wrapper"
4167
+ }
4168
+ ],
4169
+ optIn: [
4170
+ {
4171
+ waitForThenClick: ".cm__btn[data-role=all]"
4172
+ }
4173
+ ],
4174
+ optOut: [
4175
+ {
4176
+ waitForThenClick: ".cm__btn[data-role=necessary]"
4177
+ }
4178
+ ],
4179
+ test: [
4180
+ {
4181
+ eval: "EVAL_COOKIECONSENT3_TEST"
4182
+ }
4183
+ ]
4184
+ },
3914
4185
  {
3915
4186
  name: "cookiefirst.com",
3916
4187
  prehideSelectors: [
@@ -4341,6 +4612,41 @@
4341
4612
  }
4342
4613
  ]
4343
4614
  },
4615
+ {
4616
+ name: "dndbeyond",
4617
+ vendorUrl: "https://www.dndbeyond.com/",
4618
+ runContext: {
4619
+ urlPattern: "^https://www\\.dndbeyond\\.com/"
4620
+ },
4621
+ prehideSelectors: [
4622
+ "[id^=cookie-consent-banner]"
4623
+ ],
4624
+ detectCmp: [
4625
+ {
4626
+ exists: "[id^=cookie-consent-banner]"
4627
+ }
4628
+ ],
4629
+ detectPopup: [
4630
+ {
4631
+ visible: "[id^=cookie-consent-banner]"
4632
+ }
4633
+ ],
4634
+ optIn: [
4635
+ {
4636
+ waitForThenClick: "#cookie-consent-granted"
4637
+ }
4638
+ ],
4639
+ optOut: [
4640
+ {
4641
+ waitForThenClick: "#cookie-consent-denied"
4642
+ }
4643
+ ],
4644
+ test: [
4645
+ {
4646
+ eval: "EVAL_DNDBEYOND_TEST"
4647
+ }
4648
+ ]
4649
+ },
4344
4650
  {
4345
4651
  name: "Drupal",
4346
4652
  detectCmp: [
@@ -4895,6 +5201,39 @@
4895
5201
  }
4896
5202
  ]
4897
5203
  },
5204
+ {
5205
+ name: "hashicorp",
5206
+ vendorUrl: "https://hashicorp.com/",
5207
+ runContext: {
5208
+ urlPattern: "^https://[^.]*\\.hashicorp\\.com/"
5209
+ },
5210
+ prehideSelectors: [
5211
+ "[data-testid=consent-banner]"
5212
+ ],
5213
+ detectCmp: [
5214
+ {
5215
+ exists: "[data-testid=consent-banner]"
5216
+ }
5217
+ ],
5218
+ detectPopup: [
5219
+ {
5220
+ visible: "[data-testid=consent-banner]"
5221
+ }
5222
+ ],
5223
+ optIn: [
5224
+ {
5225
+ waitForThenClick: "[data-testid=accept]"
5226
+ }
5227
+ ],
5228
+ optOut: [
5229
+ {
5230
+ waitForThenClick: "[data-testid=manage-preferences]"
5231
+ },
5232
+ {
5233
+ waitForThenClick: "[data-testid=consent-mgr-dialog] [data-ga-button=save-preferences]"
5234
+ }
5235
+ ]
5236
+ },
4898
5237
  {
4899
5238
  name: "healthline-media",
4900
5239
  prehideSelectors: [
@@ -5044,20 +5383,50 @@
5044
5383
  ]
5045
5384
  },
5046
5385
  {
5047
- name: "hubspot",
5386
+ name: "hu-manity",
5387
+ vendorUrl: "https://hu-manity.co/",
5388
+ prehideSelectors: [
5389
+ "#hu.hu-wrapper"
5390
+ ],
5048
5391
  detectCmp: [
5049
5392
  {
5050
- exists: "#hs-eu-cookie-confirmation"
5393
+ exists: "#hu.hu-visible"
5051
5394
  }
5052
5395
  ],
5053
5396
  detectPopup: [
5054
5397
  {
5055
- visible: "#hs-eu-cookie-confirmation"
5398
+ visible: "#hu.hu-visible"
5056
5399
  }
5057
5400
  ],
5058
5401
  optIn: [
5059
5402
  {
5060
- click: "#hs-eu-confirmation-button"
5403
+ waitForThenClick: "[data-hu-action=cookies-notice-consent-choices-3]"
5404
+ },
5405
+ {
5406
+ waitForThenClick: "#hu-cookies-save"
5407
+ }
5408
+ ],
5409
+ optOut: [
5410
+ {
5411
+ waitForThenClick: "#hu-cookies-save"
5412
+ }
5413
+ ]
5414
+ },
5415
+ {
5416
+ name: "hubspot",
5417
+ detectCmp: [
5418
+ {
5419
+ exists: "#hs-eu-cookie-confirmation"
5420
+ }
5421
+ ],
5422
+ detectPopup: [
5423
+ {
5424
+ visible: "#hs-eu-cookie-confirmation"
5425
+ }
5426
+ ],
5427
+ optIn: [
5428
+ {
5429
+ click: "#hs-eu-confirmation-button"
5061
5430
  }
5062
5431
  ],
5063
5432
  optOut: [
@@ -5287,6 +5656,51 @@
5287
5656
  }
5288
5657
  ]
5289
5658
  },
5659
+ {
5660
+ name: "jdsports",
5661
+ vendorUrl: "https://www.jdsports.co.uk/",
5662
+ runContext: {
5663
+ urlPattern: "^https://www\\.jdsports\\."
5664
+ },
5665
+ prehideSelectors: [
5666
+ ".miniConsent,#PrivacyPolicyBanner"
5667
+ ],
5668
+ detectCmp: [
5669
+ {
5670
+ exists: ".miniConsent,#PrivacyPolicyBanner"
5671
+ }
5672
+ ],
5673
+ detectPopup: [
5674
+ {
5675
+ visible: ".miniConsent,#PrivacyPolicyBanner"
5676
+ }
5677
+ ],
5678
+ optIn: [
5679
+ {
5680
+ waitForThenClick: ".miniConsent .accept-all-cookies"
5681
+ }
5682
+ ],
5683
+ optOut: [
5684
+ {
5685
+ if: {
5686
+ exists: "#PrivacyPolicyBanner"
5687
+ },
5688
+ then: [
5689
+ {
5690
+ hide: "#PrivacyPolicyBanner"
5691
+ }
5692
+ ],
5693
+ else: [
5694
+ {
5695
+ waitForThenClick: "#cookie-settings"
5696
+ },
5697
+ {
5698
+ waitForThenClick: "#reject-all-cookies"
5699
+ }
5700
+ ]
5701
+ }
5702
+ ]
5703
+ },
5290
5704
  {
5291
5705
  name: "johnlewis.com",
5292
5706
  prehideSelectors: [
@@ -5571,6 +5985,34 @@
5571
5985
  }
5572
5986
  ]
5573
5987
  },
5988
+ {
5989
+ name: "lineagrafica",
5990
+ vendorUrl: "https://addons.prestashop.com/en/legal/8734-eu-cookie-law-gdpr-banner-blocker.html",
5991
+ cosmetic: true,
5992
+ prehideSelectors: [
5993
+ "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
5994
+ ],
5995
+ detectCmp: [
5996
+ {
5997
+ exists: "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
5998
+ }
5999
+ ],
6000
+ detectPopup: [
6001
+ {
6002
+ exists: "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
6003
+ }
6004
+ ],
6005
+ optIn: [
6006
+ {
6007
+ waitForThenClick: "#lgcookieslaw_accept"
6008
+ }
6009
+ ],
6010
+ optOut: [
6011
+ {
6012
+ hide: "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
6013
+ }
6014
+ ]
6015
+ },
5574
6016
  {
5575
6017
  name: "linkedin.com",
5576
6018
  prehideSelectors: [
@@ -5615,6 +6057,47 @@
5615
6057
  }
5616
6058
  ]
5617
6059
  },
6060
+ {
6061
+ name: "livejasmin",
6062
+ vendorUrl: "https://www.livejasmin.com/",
6063
+ runContext: {
6064
+ urlPattern: "^https://www\\.livejasmin\\.com/"
6065
+ },
6066
+ prehideSelectors: [
6067
+ "#consent_modal"
6068
+ ],
6069
+ detectCmp: [
6070
+ {
6071
+ exists: "#consent_modal"
6072
+ }
6073
+ ],
6074
+ detectPopup: [
6075
+ {
6076
+ visible: "#consent_modal"
6077
+ }
6078
+ ],
6079
+ optIn: [
6080
+ {
6081
+ waitForThenClick: "#consent_modal button[data-testid=ButtonStyledButton]:first-of-type"
6082
+ }
6083
+ ],
6084
+ optOut: [
6085
+ {
6086
+ waitForThenClick: "#consent_modal button[data-testid=ButtonStyledButton]:nth-of-type(2)"
6087
+ },
6088
+ {
6089
+ waitForVisible: "[data-testid=PrivacyPreferenceCenterWithConsentCookieContent]"
6090
+ },
6091
+ {
6092
+ click: "[data-testid=PrivacyPreferenceCenterWithConsentCookieContent] input[data-testid=PrivacyPreferenceCenterWithConsentCookieSwitch]:checked",
6093
+ optional: true,
6094
+ all: true
6095
+ },
6096
+ {
6097
+ waitForThenClick: "[data-testid=PrivacyPreferenceCenterWithConsentCookieContent] button[data-testid=ButtonStyledButton]:last-child"
6098
+ }
6099
+ ]
6100
+ },
5618
6101
  {
5619
6102
  name: "macpaw.com",
5620
6103
  cosmetic: true,
@@ -6096,6 +6579,50 @@
6096
6579
  }
6097
6580
  ]
6098
6581
  },
6582
+ {
6583
+ name: "om",
6584
+ vendorUrl: "https://olli-machts.de/en/extension/cookie-manager",
6585
+ prehideSelectors: [
6586
+ ".tx-om-cookie-consent"
6587
+ ],
6588
+ detectCmp: [
6589
+ {
6590
+ exists: ".tx-om-cookie-consent .active[data-omcookie-panel]"
6591
+ }
6592
+ ],
6593
+ detectPopup: [
6594
+ {
6595
+ exists: ".tx-om-cookie-consent .active[data-omcookie-panel]"
6596
+ }
6597
+ ],
6598
+ optIn: [
6599
+ {
6600
+ waitForThenClick: "[data-omcookie-panel-save=all]"
6601
+ }
6602
+ ],
6603
+ optOut: [
6604
+ {
6605
+ if: {
6606
+ exists: "[data-omcookie-panel-save=min]"
6607
+ },
6608
+ then: [
6609
+ {
6610
+ waitForThenClick: "[data-omcookie-panel-save=min]"
6611
+ }
6612
+ ],
6613
+ else: [
6614
+ {
6615
+ click: "input[data-omcookie-panel-grp]:checked:not(:disabled)",
6616
+ all: true,
6617
+ optional: true
6618
+ },
6619
+ {
6620
+ waitForThenClick: "[data-omcookie-panel-save=save]"
6621
+ }
6622
+ ]
6623
+ }
6624
+ ]
6625
+ },
6099
6626
  {
6100
6627
  name: "onlyFans.com",
6101
6628
  prehideSelectors: [
@@ -6128,6 +6655,34 @@
6128
6655
  }
6129
6656
  ]
6130
6657
  },
6658
+ {
6659
+ name: "openli",
6660
+ vendorUrl: "https://openli.com",
6661
+ prehideSelectors: [
6662
+ ".legalmonster-cleanslate"
6663
+ ],
6664
+ detectCmp: [
6665
+ {
6666
+ exists: ".legalmonster-cleanslate"
6667
+ }
6668
+ ],
6669
+ detectPopup: [
6670
+ {
6671
+ visible: ".legalmonster-cleanslate #lm-cookie-wall-container",
6672
+ check: "any"
6673
+ }
6674
+ ],
6675
+ optIn: [
6676
+ {
6677
+ waitForThenClick: "#lm-accept-all"
6678
+ }
6679
+ ],
6680
+ optOut: [
6681
+ {
6682
+ waitForThenClick: "#lm-accept-necessary"
6683
+ }
6684
+ ]
6685
+ },
6131
6686
  {
6132
6687
  name: "opera.com",
6133
6688
  vendorUrl: "https://unknown",
@@ -6224,6 +6779,63 @@
6224
6779
  }
6225
6780
  ]
6226
6781
  },
6782
+ {
6783
+ name: "ourworldindata",
6784
+ vendorUrl: "https://ourworldindata.org/",
6785
+ runContext: {
6786
+ urlPattern: "^https://ourworldindata\\.org/"
6787
+ },
6788
+ prehideSelectors: [
6789
+ ".cookie-manager"
6790
+ ],
6791
+ detectCmp: [
6792
+ {
6793
+ exists: ".cookie-manager"
6794
+ }
6795
+ ],
6796
+ detectPopup: [
6797
+ {
6798
+ visible: ".cookie-manager .cookie-notice.open"
6799
+ }
6800
+ ],
6801
+ optIn: [
6802
+ {
6803
+ waitForThenClick: ".cookie-notice [data-test=accept]"
6804
+ }
6805
+ ],
6806
+ optOut: [
6807
+ {
6808
+ waitForThenClick: ".cookie-notice [data-test=reject]"
6809
+ }
6810
+ ]
6811
+ },
6812
+ {
6813
+ name: "pabcogypsum",
6814
+ vendorUrl: "https://unknown",
6815
+ prehideSelectors: [
6816
+ ".js-cookie-notice:has(#cookie_settings-form)"
6817
+ ],
6818
+ detectCmp: [
6819
+ {
6820
+ exists: ".js-cookie-notice:has(#cookie_settings-form)"
6821
+ }
6822
+ ],
6823
+ detectPopup: [
6824
+ {
6825
+ visible: ".js-cookie-notice:has(#cookie_settings-form)"
6826
+ }
6827
+ ],
6828
+ optIn: [
6829
+ {
6830
+ waitForThenClick: ".js-cookie-notice button[value=allow]"
6831
+ }
6832
+ ],
6833
+ optOut: [
6834
+ {
6835
+ waitForThenClick: ".js-cookie-notice button[value=disable]"
6836
+ }
6837
+ ]
6838
+ },
6227
6839
  {
6228
6840
  name: "paypal-us",
6229
6841
  prehideSelectors: [
@@ -6515,6 +7127,34 @@
6515
7127
  }
6516
7128
  ]
6517
7129
  },
7130
+ {
7131
+ name: "productz.com",
7132
+ vendorUrl: "https://productz.com/",
7133
+ runContext: {
7134
+ urlPattern: "^https://productz\\.com/"
7135
+ },
7136
+ prehideSelectors: [],
7137
+ detectCmp: [
7138
+ {
7139
+ exists: ".c-modal.is-active"
7140
+ }
7141
+ ],
7142
+ detectPopup: [
7143
+ {
7144
+ visible: ".c-modal.is-active"
7145
+ }
7146
+ ],
7147
+ optIn: [
7148
+ {
7149
+ waitForThenClick: ".c-modal.is-active .is-accept"
7150
+ }
7151
+ ],
7152
+ optOut: [
7153
+ {
7154
+ waitForThenClick: ".c-modal.is-active .is-dismiss"
7155
+ }
7156
+ ]
7157
+ },
6518
7158
  {
6519
7159
  name: "pubtech",
6520
7160
  prehideSelectors: [
@@ -6734,6 +7374,35 @@
6734
7374
  }
6735
7375
  ]
6736
7376
  },
7377
+ {
7378
+ name: "setapp.com",
7379
+ vendorUrl: "https://setapp.com/",
7380
+ cosmetic: true,
7381
+ runContext: {
7382
+ urlPattern: "^https://setapp\\.com/"
7383
+ },
7384
+ prehideSelectors: [],
7385
+ detectCmp: [
7386
+ {
7387
+ exists: ".cookie-banner.js-cookie-banner"
7388
+ }
7389
+ ],
7390
+ detectPopup: [
7391
+ {
7392
+ visible: ".cookie-banner.js-cookie-banner"
7393
+ }
7394
+ ],
7395
+ optIn: [
7396
+ {
7397
+ waitForThenClick: ".cookie-banner.js-cookie-banner button"
7398
+ }
7399
+ ],
7400
+ optOut: [
7401
+ {
7402
+ hide: ".cookie-banner.js-cookie-banner"
7403
+ }
7404
+ ]
7405
+ },
6737
7406
  {
6738
7407
  name: "sibbo",
6739
7408
  prehideSelectors: [
@@ -6947,6 +7616,41 @@
6947
7616
  }
6948
7617
  ]
6949
7618
  },
7619
+ {
7620
+ name: "svt.se",
7621
+ vendorUrl: "https://www.svt.se/",
7622
+ runContext: {
7623
+ urlPattern: "^https://www\\.svt\\.se/"
7624
+ },
7625
+ prehideSelectors: [
7626
+ "[class*=CookieConsent__root___]"
7627
+ ],
7628
+ detectCmp: [
7629
+ {
7630
+ exists: "[class*=CookieConsent__root___]"
7631
+ }
7632
+ ],
7633
+ detectPopup: [
7634
+ {
7635
+ visible: "[class*=CookieConsent__modal___]"
7636
+ }
7637
+ ],
7638
+ optIn: [
7639
+ {
7640
+ waitForThenClick: "[class*=CookieConsent__modal___] > div > button[class*=primary]"
7641
+ }
7642
+ ],
7643
+ optOut: [
7644
+ {
7645
+ waitForThenClick: "[class*=CookieConsent__modal___] > div > button[class*=secondary]:nth-child(2)"
7646
+ }
7647
+ ],
7648
+ test: [
7649
+ {
7650
+ eval: "EVAL_SVT_TEST"
7651
+ }
7652
+ ]
7653
+ },
6950
7654
  {
6951
7655
  name: "takealot.com",
6952
7656
  cosmetic: true,
@@ -7018,6 +7722,46 @@
7018
7722
  }
7019
7723
  ]
7020
7724
  },
7725
+ {
7726
+ name: "taunton",
7727
+ vendorUrl: "https://www.taunton.com/",
7728
+ prehideSelectors: [
7729
+ "#taunton-user-consent__overlay"
7730
+ ],
7731
+ detectCmp: [
7732
+ {
7733
+ exists: "#taunton-user-consent__overlay"
7734
+ }
7735
+ ],
7736
+ detectPopup: [
7737
+ {
7738
+ exists: "#taunton-user-consent__overlay:not([aria-hidden=true])"
7739
+ }
7740
+ ],
7741
+ optIn: [
7742
+ {
7743
+ click: "#taunton-user-consent__toolbar input[type=checkbox]:not(:checked)"
7744
+ },
7745
+ {
7746
+ click: "#taunton-user-consent__toolbar button[type=submit]"
7747
+ }
7748
+ ],
7749
+ optOut: [
7750
+ {
7751
+ click: "#taunton-user-consent__toolbar input[type=checkbox]:checked",
7752
+ optional: true,
7753
+ all: true
7754
+ },
7755
+ {
7756
+ click: "#taunton-user-consent__toolbar button[type=submit]"
7757
+ }
7758
+ ],
7759
+ test: [
7760
+ {
7761
+ eval: "EVAL_TAUNTON_TEST"
7762
+ }
7763
+ ]
7764
+ },
7021
7765
  {
7022
7766
  name: "Tealium",
7023
7767
  prehideSelectors: [
@@ -7164,6 +7908,63 @@
7164
7908
  }
7165
7909
  ]
7166
7910
  },
7911
+ {
7912
+ name: "termsfeed",
7913
+ vendorUrl: "https://termsfeed.com",
7914
+ comment: "v4.x.x",
7915
+ prehideSelectors: [
7916
+ ".termsfeed-com---nb"
7917
+ ],
7918
+ detectCmp: [
7919
+ {
7920
+ exists: ".termsfeed-com---nb"
7921
+ }
7922
+ ],
7923
+ detectPopup: [
7924
+ {
7925
+ visible: ".termsfeed-com---nb"
7926
+ }
7927
+ ],
7928
+ optIn: [
7929
+ {
7930
+ waitForThenClick: ".cc-nb-okagree"
7931
+ }
7932
+ ],
7933
+ optOut: [
7934
+ {
7935
+ waitForThenClick: ".cc-nb-reject"
7936
+ }
7937
+ ]
7938
+ },
7939
+ {
7940
+ name: "termsfeed3",
7941
+ vendorUrl: "https://termsfeed.com",
7942
+ comment: "v3.x.x",
7943
+ cosmetic: true,
7944
+ prehideSelectors: [
7945
+ ".cc_dialog.cc_css_reboot"
7946
+ ],
7947
+ detectCmp: [
7948
+ {
7949
+ exists: ".cc_dialog.cc_css_reboot"
7950
+ }
7951
+ ],
7952
+ detectPopup: [
7953
+ {
7954
+ visible: ".cc_dialog.cc_css_reboot"
7955
+ }
7956
+ ],
7957
+ optIn: [
7958
+ {
7959
+ waitForThenClick: ".cc_dialog.cc_css_reboot .cc_b_ok"
7960
+ }
7961
+ ],
7962
+ optOut: [
7963
+ {
7964
+ hide: ".cc_dialog.cc_css_reboot"
7965
+ }
7966
+ ]
7967
+ },
7167
7968
  {
7168
7969
  name: "Test page cosmetic CMP",
7169
7970
  cosmetic: true,
@@ -7622,6 +8423,35 @@
7622
8423
  }
7623
8424
  ]
7624
8425
  },
8426
+ {
8427
+ name: "twitch-mobile",
8428
+ vendorUrl: "https://m.twitch.tv/",
8429
+ cosmetic: true,
8430
+ runContext: {
8431
+ urlPattern: "^https?://m\\.twitch\\.tv"
8432
+ },
8433
+ prehideSelectors: [],
8434
+ detectCmp: [
8435
+ {
8436
+ exists: '.ReactModal__Overlay:has([href="https://www.twitch.tv/p/cookie-policy"])'
8437
+ }
8438
+ ],
8439
+ detectPopup: [
8440
+ {
8441
+ visible: '.ReactModal__Overlay:has([href="https://www.twitch.tv/p/cookie-policy"])'
8442
+ }
8443
+ ],
8444
+ optIn: [
8445
+ {
8446
+ waitForThenClick: '.ReactModal__Overlay:has([href="https://www.twitch.tv/p/cookie-policy"]) button'
8447
+ }
8448
+ ],
8449
+ optOut: [
8450
+ {
8451
+ hide: '.ReactModal__Overlay:has([href="https://www.twitch.tv/p/cookie-policy"])'
8452
+ }
8453
+ ]
8454
+ },
7625
8455
  {
7626
8456
  name: "twitch.tv",
7627
8457
  runContext: {
@@ -8098,6 +8928,35 @@
8098
8928
  }
8099
8929
  ]
8100
8930
  },
8931
+ {
8932
+ name: "wolframalpha",
8933
+ vendorUrl: "https://www.wolframalpha.com",
8934
+ prehideSelectors: [],
8935
+ cosmetic: true,
8936
+ runContext: {
8937
+ urlPattern: "^https://www\\.wolframalpha\\.com/"
8938
+ },
8939
+ detectCmp: [
8940
+ {
8941
+ exists: "section._a_yb"
8942
+ }
8943
+ ],
8944
+ detectPopup: [
8945
+ {
8946
+ visible: "section._a_yb"
8947
+ }
8948
+ ],
8949
+ optIn: [
8950
+ {
8951
+ waitForThenClick: "section._a_yb button"
8952
+ }
8953
+ ],
8954
+ optOut: [
8955
+ {
8956
+ hide: "section._a_yb"
8957
+ }
8958
+ ]
8959
+ },
8101
8960
  {
8102
8961
  name: "woo-commerce-com",
8103
8962
  prehideSelectors: [
@@ -8190,6 +9049,47 @@
8190
9049
  }
8191
9050
  ]
8192
9051
  },
9052
+ {
9053
+ name: "xe.com",
9054
+ vendorUrl: "https://www.xe.com/",
9055
+ runContext: {
9056
+ urlPattern: "^https://www\\.xe\\.com/"
9057
+ },
9058
+ prehideSelectors: [
9059
+ "[class*=ConsentBanner]"
9060
+ ],
9061
+ detectCmp: [
9062
+ {
9063
+ exists: "[class*=ConsentBanner]"
9064
+ }
9065
+ ],
9066
+ detectPopup: [
9067
+ {
9068
+ visible: "[class*=ConsentBanner]"
9069
+ }
9070
+ ],
9071
+ optIn: [
9072
+ {
9073
+ waitForThenClick: "[class*=ConsentBanner] .egnScw"
9074
+ }
9075
+ ],
9076
+ optOut: [
9077
+ {
9078
+ wait: 1e3
9079
+ },
9080
+ {
9081
+ waitForThenClick: "[class*=ConsentBanner] .frDWEu"
9082
+ },
9083
+ {
9084
+ waitForThenClick: "[class*=ConsentBanner] .hXIpFU"
9085
+ }
9086
+ ],
9087
+ test: [
9088
+ {
9089
+ eval: "EVAL_XE_TEST"
9090
+ }
9091
+ ]
9092
+ },
8193
9093
  {
8194
9094
  name: "xhamster-eu",
8195
9095
  prehideSelectors: [