@duckduckgo/autoconsent 1.0.2 → 1.0.5

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 (69) hide show
  1. package/package.json +1 -1
  2. package/rules/autoconsent/arzt-auskunft-de.json +8 -0
  3. package/rules/autoconsent/aws-amazon.json +18 -0
  4. package/rules/autoconsent/baden-wuerttemberg-de.json +9 -0
  5. package/rules/autoconsent/borlabs.json +12 -0
  6. package/rules/autoconsent/bundesregierung-de.json +15 -0
  7. package/rules/autoconsent/corona-in-zahlen-de.json +8 -0
  8. package/rules/autoconsent/deepl.json +8 -0
  9. package/rules/autoconsent/destatis-de.json +8 -0
  10. package/rules/autoconsent/hl-co-uk.json +33 -0
  11. package/rules/autoconsent/ionos-de.json +15 -0
  12. package/rules/autoconsent/johnlewis.json +14 -0
  13. package/rules/autoconsent/mediamarkt-de.json +11 -0
  14. package/rules/autoconsent/metoffice-gov-uk.json +8 -0
  15. package/rules/autoconsent/microsoft.json +9 -0
  16. package/rules/autoconsent/moneysavingexpert.json +14 -0
  17. package/rules/autoconsent/motor-talk-de.json +24 -0
  18. package/rules/autoconsent/national-lottery-co-uk.json +11 -0
  19. package/rules/autoconsent/netflix-de.json +7 -0
  20. package/rules/autoconsent/nhs.json +8 -0
  21. package/rules/autoconsent/obi-de.json +12 -0
  22. package/rules/autoconsent/otto-de.json +12 -0
  23. package/rules/autoconsent/paypal-de.json +12 -0
  24. package/rules/autoconsent/snigel.json +7 -0
  25. package/rules/autoconsent/steampowered.json +15 -0
  26. package/rules/autoconsent/thalia-de.json +24 -0
  27. package/rules/autoconsent/thefreedictionary.json +12 -0
  28. package/rules/autoconsent/usercentrics-1.json +19 -0
  29. package/rules/autoconsent/vodafone-de.json +13 -0
  30. package/rules/autoconsent/xing.json +15 -0
  31. package/rules/rules.json +904 -59
  32. package/tests/arzt-auskunft.spec.ts +7 -0
  33. package/tests/aws.amazon.spec.ts +7 -0
  34. package/tests/baden-wuerttemberg.spec.ts +7 -0
  35. package/tests/borlabs.spec.ts +7 -0
  36. package/tests/bundesregierung.spec.ts +7 -0
  37. package/tests/consentmanager.spec.ts +2 -1
  38. package/tests/cookiebot.spec.ts +3 -3
  39. package/tests/cookieconsent.spec.ts +2 -1
  40. package/tests/cookielawinfo.spec.ts +0 -1
  41. package/tests/corona-in-zahlen.spec.ts +7 -0
  42. package/tests/deepl.spec.ts +7 -0
  43. package/tests/destatis.spec.ts +7 -0
  44. package/tests/eu-cookie-compliance-banner.spec.ts +0 -1
  45. package/tests/hl-co-uk.spec.ts +7 -0
  46. package/tests/ionos.spec.ts +7 -0
  47. package/tests/johnlewis.spec.ts +7 -0
  48. package/tests/mediamarkt.spec.ts +7 -0
  49. package/tests/metoffice-gov-uk.spec.ts +7 -0
  50. package/tests/microsoft.spec.ts +9 -0
  51. package/tests/moneysavingexpert.spec.ts +7 -0
  52. package/tests/motor-talk.spec.ts +7 -0
  53. package/tests/national-lottery.spec.ts +7 -0
  54. package/tests/netflix.spec.ts +7 -0
  55. package/tests/nhs.spec.ts +7 -0
  56. package/tests/obi.spec.ts +7 -0
  57. package/tests/onetrust.spec.ts +0 -1
  58. package/tests/otto.spec.ts +7 -0
  59. package/tests/paypal.spec.ts +7 -0
  60. package/tests/runner.ts +1 -1
  61. package/tests/snigel.spec.ts +7 -0
  62. package/tests/steampowered.spec.ts +7 -0
  63. package/tests/thalia.spec.ts +7 -0
  64. package/tests/thefreedictionary.spec.ts +7 -0
  65. package/tests/usercentrics-1.spec.ts +9 -0
  66. package/tests/vodafone.spec.ts +7 -0
  67. package/tests/wordpressgdpr.spec.ts +0 -1
  68. package/tests/xing.spec.ts +8 -0
  69. package/tests/optanon.spec.ts +0 -10
package/rules/rules.json CHANGED
@@ -1,5 +1,31 @@
1
1
  {
2
2
  "autoconsent": [
3
+ {
4
+ "name": "arzt-auskunft.de",
5
+ "prehideSelectors": [
6
+ "#cookiescript_injected"
7
+ ],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookiescript_injected"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookiescript_injected"
16
+ }
17
+ ],
18
+ "optOut": [
19
+ {
20
+ "click": "#cookiescript_reject"
21
+ }
22
+ ],
23
+ "optIn": [
24
+ {
25
+ "click": "#cookiescript_accept"
26
+ }
27
+ ]
28
+ },
3
29
  {
4
30
  "name": "asus",
5
31
  "detectCmp": [
@@ -26,6 +52,119 @@
26
52
  }
27
53
  ]
28
54
  },
55
+ {
56
+ "name": "aws.amazon.com",
57
+ "prehideSelectors": [
58
+ "#awsccc-cb-content",
59
+ "#awsccc-cs-container-inner"
60
+ ],
61
+ "detectCmp": [
62
+ {
63
+ "exists": "#awsccc-cb-content"
64
+ }
65
+ ],
66
+ "detectPopup": [
67
+ {
68
+ "visible": "#awsccc-cb-content"
69
+ }
70
+ ],
71
+ "optIn": [
72
+ {
73
+ "click": "button[data-id=awsccc-cb-btn-accept"
74
+ }
75
+ ],
76
+ "optOut": [
77
+ {
78
+ "click": "button[data-id=awsccc-cb-btn-customize]"
79
+ },
80
+ {
81
+ "eval": "Array.from(document.querySelectorAll('input[aria-checked=true')).forEach(e => e.click()) || true"
82
+ },
83
+ {
84
+ "click": "button[data-id=awsccc-cs-btn-save]"
85
+ }
86
+ ]
87
+ },
88
+ {
89
+ "name": "baden-wuerttemberg.de",
90
+ "isHidingRule": true,
91
+ "prehideSelectors": [
92
+ ".cookie-alert.t-dark"
93
+ ],
94
+ "detectCmp": [
95
+ {
96
+ "exists": ".cookie-alert.t-dark"
97
+ }
98
+ ],
99
+ "detectPopup": [
100
+ {
101
+ "visible": ".cookie-alert.t-dark"
102
+ }
103
+ ],
104
+ "optIn": [
105
+ {
106
+ "click": ".cookie-alert__button"
107
+ }
108
+ ],
109
+ "optOut": []
110
+ },
111
+ {
112
+ "name": "borlabs",
113
+ "prehideSelectors": [
114
+ "#BorlabsCookieBox"
115
+ ],
116
+ "detectCmp": [
117
+ {
118
+ "exists": "._brlbs-block-content"
119
+ }
120
+ ],
121
+ "detectPopup": [
122
+ {
123
+ "visible": "._brlbs-bar-wrap,._brlbs-box-wrap"
124
+ }
125
+ ],
126
+ "optIn": [
127
+ {
128
+ "click": "a[data-cookie-accept-all]"
129
+ }
130
+ ],
131
+ "optOut": [
132
+ {
133
+ "click": "a[data-cookie-refuse]"
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "name": "bundesregierung.de",
139
+ "prehideSelectors": [
140
+ ".bpa-cookie-banner"
141
+ ],
142
+ "detectCmp": [
143
+ {
144
+ "exists": ".bpa-cookie-banner"
145
+ }
146
+ ],
147
+ "detectPopup": [
148
+ {
149
+ "visible": ".bpa-module-full-hero"
150
+ }
151
+ ],
152
+ "optIn": [
153
+ {
154
+ "click": ".bpa-accept-all-button"
155
+ }
156
+ ],
157
+ "optOut": [
158
+ {
159
+ "click": ".bpa-close-button"
160
+ }
161
+ ],
162
+ "test": [
163
+ {
164
+ "eval": "document.cookie.match('cookie-allow-tracking=0')"
165
+ }
166
+ ]
167
+ },
29
168
  {
30
169
  "name": "cc_banner",
31
170
  "prehideSelectors": [
@@ -151,6 +290,85 @@
151
290
  }
152
291
  ]
153
292
  },
293
+ {
294
+ "name": "corona-in-zahlen.de",
295
+ "prehideSelectors": [
296
+ ".cookiealert"
297
+ ],
298
+ "detectCmp": [
299
+ {
300
+ "exists": ".cookiealert"
301
+ }
302
+ ],
303
+ "detectPopup": [
304
+ {
305
+ "visible": ".cookiealert"
306
+ }
307
+ ],
308
+ "optOut": [
309
+ {
310
+ "click": ".configurecookies"
311
+ },
312
+ {
313
+ "click": ".confirmcookies"
314
+ }
315
+ ],
316
+ "optIn": [
317
+ {
318
+ "click": ".acceptcookies"
319
+ }
320
+ ]
321
+ },
322
+ {
323
+ "name": "deepl.com",
324
+ "prehideSelectors": [
325
+ ".dl_cookieBanner_container"
326
+ ],
327
+ "detectCmp": [
328
+ {
329
+ "exists": ".dl_cookieBanner_container"
330
+ }
331
+ ],
332
+ "detectPopup": [
333
+ {
334
+ "visible": ".dl_cookieBanner_container"
335
+ }
336
+ ],
337
+ "optOut": [
338
+ {
339
+ "click": ".dl_cookieBanner--buttonSelected"
340
+ }
341
+ ],
342
+ "optIn": [
343
+ {
344
+ "click": ".dl_cookieBanner--buttonAll"
345
+ }
346
+ ]
347
+ },
348
+ {
349
+ "name": "destatis.de",
350
+ "prehideSelectors": [
351
+ "div[aria-labelledby=cookiebannerhead]"
352
+ ],
353
+ "isHidingRule": true,
354
+ "detectCmp": [
355
+ {
356
+ "exists": ".cookiebannerbox"
357
+ }
358
+ ],
359
+ "detectPopup": [
360
+ {
361
+ "visible": ".cookiebannerbox"
362
+ }
363
+ ],
364
+ "optOut": [
365
+ {
366
+ "hide": [
367
+ ".cookiebannerbox"
368
+ ]
369
+ }
370
+ ]
371
+ },
154
372
  {
155
373
  "name": "Drupal",
156
374
  "detectCmp": [
@@ -246,164 +464,582 @@
246
464
  ]
247
465
  },
248
466
  {
249
- "name": "hubspot",
467
+ "name": "hl.co.uk",
468
+ "prehideSelectors": [
469
+ ".cookieModalContent",
470
+ "#cookie-banner-overlay"
471
+ ],
250
472
  "detectCmp": [
251
473
  {
252
- "exists": "#hs-eu-cookie-confirmation"
474
+ "exists": "#cookie-banner-overlay"
253
475
  }
254
476
  ],
255
477
  "detectPopup": [
256
478
  {
257
- "visible": "#hs-eu-cookie-confirmation"
479
+ "exists": "#cookie-banner-overlay"
258
480
  }
259
481
  ],
260
482
  "optIn": [
261
483
  {
262
- "click": "#hs-eu-confirmation-button"
484
+ "click": "#acceptCookieButton"
263
485
  }
264
486
  ],
265
487
  "optOut": [
266
488
  {
267
- "click": "#hs-eu-decline-button"
489
+ "click": "#manageCookie"
490
+ },
491
+ {
492
+ "hide": [
493
+ ".cookieSettingsModal"
494
+ ]
495
+ },
496
+ {
497
+ "wait": 500
498
+ },
499
+ {
500
+ "click": "#AOCookieToggle"
501
+ },
502
+ {
503
+ "eval": "document.querySelector('#AOCookieToggle').getAttribute('aria-pressed') === 'false'"
504
+ },
505
+ {
506
+ "click": "#TPCookieToggle"
507
+ },
508
+ {
509
+ "eval": "document.querySelector('#TPCookieToggle').getAttribute('aria-pressed') === 'false'"
510
+ },
511
+ {
512
+ "click": "#updateCookieButton"
268
513
  }
269
514
  ]
270
515
  },
271
516
  {
272
- "name": "klaro",
517
+ "name": "hubspot",
273
518
  "detectCmp": [
274
519
  {
275
- "exists": ".klaro > .cookie-notice"
520
+ "exists": "#hs-eu-cookie-confirmation"
276
521
  }
277
522
  ],
278
523
  "detectPopup": [
279
524
  {
280
- "visible": ".klaro > .cookie-notice"
525
+ "visible": "#hs-eu-cookie-confirmation"
281
526
  }
282
527
  ],
283
528
  "optIn": [
284
529
  {
285
- "click": ".cm-btn-success"
530
+ "click": "#hs-eu-confirmation-button"
286
531
  }
287
532
  ],
288
533
  "optOut": [
289
534
  {
290
- "click": ".cn-decline"
291
- }
292
- ],
293
- "test": [
294
- {
295
- "eval": "Object.values(klaro.getManager().consents).every(c => !c)"
535
+ "click": "#hs-eu-decline-button"
296
536
  }
297
537
  ]
298
538
  },
299
539
  {
300
- "name": "notice-cookie",
540
+ "name": "ionos.de",
301
541
  "prehideSelectors": [
302
- ".button--notice"
542
+ ".privacy-consent--backdrop",
543
+ ".privacy-consent--modal"
303
544
  ],
304
- "isHidingRule": true,
305
545
  "detectCmp": [
306
546
  {
307
- "exists": ".notice--cookie"
547
+ "exists": ".privacy-consent--modal"
308
548
  }
309
549
  ],
310
550
  "detectPopup": [
311
551
  {
312
- "visible": ".notice--cookie"
552
+ "visible": ".privacy-consent--modal"
313
553
  }
314
554
  ],
315
555
  "optIn": [
316
556
  {
317
- "click": ".button--notice"
557
+ "click": "#selectAll"
318
558
  }
319
559
  ],
320
560
  "optOut": [
321
561
  {
322
- "hide": [
323
- ".notice--cookie"
324
- ]
562
+ "click": ".footer-config-link"
563
+ },
564
+ {
565
+ "click": "#confirmSelection"
325
566
  }
326
567
  ]
327
568
  },
328
569
  {
329
- "name": "Onetrust",
570
+ "name": "johnlewis.com",
330
571
  "prehideSelectors": [
331
- "#onetrust-banner-sdk,#onetrust-consent-sdk,.optanon-alert-box-wrapper,.onetrust-pc-dark-filter,.js-consent-banner"
572
+ "div[class^=pecr-cookie-banner-]"
332
573
  ],
333
- "isHidingRule": true,
334
574
  "detectCmp": [
335
575
  {
336
- "exists": "#onetrust-banner-sdk,.optanon-alert-box-wrapper"
576
+ "exists": "div[class^=pecr-cookie-banner-]"
337
577
  }
338
578
  ],
339
579
  "detectPopup": [
340
580
  {
341
- "visible": "#onetrust-banner-sdk,.optanon-alert-box-wrapper"
581
+ "exists": "div[class^=pecr-cookie-banner-]"
342
582
  }
343
583
  ],
344
584
  "optOut": [
345
585
  {
346
- "click": "#onetrust-pc-btn-handler,.ot-sdk-show-settings,button.js-cookie-settings"
586
+ "click": "button[data-test^=manage-cookies]"
347
587
  },
348
588
  {
349
- "waitFor": "#onetrust-consent-sdk",
350
- "timeout": 2000
589
+ "wait": "500"
351
590
  },
352
591
  {
353
- "wait": 1000
592
+ "eval": "!!Array.from(document.querySelectorAll('label[data-test^=toggle]')).forEach(e => e.click())",
593
+ "optional": true
354
594
  },
355
595
  {
356
- "click": "#onetrust-consent-sdk input.category-switch-handler:checked,.js-editor-toggle-state:checked",
357
- "all": true,
358
- "optional": true
596
+ "eval": "Array.from(document.querySelectorAll('label[data-test^=toggle]')).filter(e => e.className.match('checked') && !e.className.match('disabled')).length === 0"
359
597
  },
360
598
  {
361
- "waitForThenClick": ".save-preference-btn-handler,.js-consent-save",
362
- "timeout": 1000
599
+ "click": "button[data-test=save-preferences]"
363
600
  }
364
601
  ],
365
602
  "optIn": [
366
603
  {
367
- "click": "onetrust-accept-btn-handler,js-accept-cookies"
368
- }
369
- ],
370
- "test": [
371
- {
372
- "eval": "window.OnetrustActiveGroups.split(',').filter(s => s.length > 0).length <= 1"
604
+ "click": "button[data-test=allow-all]"
373
605
  }
374
606
  ]
375
607
  },
376
608
  {
377
- "name": "osano",
378
- "prehideSelectors": [
379
- ".osano-cm-window"
380
- ],
381
- "isHidingRule": true,
609
+ "name": "klaro",
382
610
  "detectCmp": [
383
611
  {
384
- "exists": ".osano-cm-window"
612
+ "exists": ".klaro > .cookie-notice"
385
613
  }
386
614
  ],
387
615
  "detectPopup": [
388
616
  {
389
- "visible": ".osano-cm-dialog"
617
+ "visible": ".klaro > .cookie-notice"
390
618
  }
391
619
  ],
392
620
  "optIn": [
393
621
  {
394
- "click": ".osano-cm-accept-all"
622
+ "click": ".cm-btn-success"
395
623
  }
396
624
  ],
397
625
  "optOut": [
398
626
  {
399
- "hide": [
400
- ".osano-cm-window"
401
- ]
627
+ "click": ".cn-decline"
402
628
  }
403
- ]
404
- },
405
- {
406
- "name": "quantcast",
629
+ ],
630
+ "test": [
631
+ {
632
+ "eval": "Object.values(klaro.getManager().consents).every(c => !c)"
633
+ }
634
+ ]
635
+ },
636
+ {
637
+ "name": "mediamarkt.de",
638
+ "prehideSelectors": [
639
+ "div[aria-labelledby=pwa-consent-layer-title]",
640
+ "div[class^=StyledConsentLayerWrapper-]"
641
+ ],
642
+ "detectCmp": [
643
+ {
644
+ "exists": "div[aria-labelledby^=pwa-consent-layer-title]"
645
+ }
646
+ ],
647
+ "detectPopup": [
648
+ {
649
+ "exists": "div[aria-labelledby^=pwa-consent-layer-title]"
650
+ }
651
+ ],
652
+ "optOut": [
653
+ {
654
+ "click": "button[data-test^=pwa-consent-layer-deny-all]"
655
+ }
656
+ ],
657
+ "optIn": [
658
+ {
659
+ "click": "'button[data-test^=pwa-consent-layer-accept-all'"
660
+ }
661
+ ]
662
+ },
663
+ {
664
+ "name": "metoffice.gov.uk",
665
+ "prehideSelectors": [
666
+ "#ccc-module"
667
+ ],
668
+ "detectCmp": [
669
+ {
670
+ "exists": "#ccc-module"
671
+ }
672
+ ],
673
+ "detectPopup": [
674
+ {
675
+ "exists": "#ccc-module"
676
+ }
677
+ ],
678
+ "optOut": [
679
+ {
680
+ "click": "#ccc-reject-settings"
681
+ }
682
+ ],
683
+ "optIn": [
684
+ {
685
+ "click": "#ccc-recommended-settings"
686
+ }
687
+ ]
688
+ },
689
+ {
690
+ "name": "microsoft.com",
691
+ "prehideSelectors": [
692
+ "#wcpConsentBannerCtrl"
693
+ ],
694
+ "detectCmp": [
695
+ {
696
+ "exists": "#wcpConsentBannerCtrl"
697
+ }
698
+ ],
699
+ "detectPopup": [
700
+ {
701
+ "exists": "#wcpConsentBannerCtrl"
702
+ }
703
+ ],
704
+ "optOut": [
705
+ {
706
+ "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Reject|Ablehnen'))[0].click() || true"
707
+ }
708
+ ],
709
+ "optIn": [
710
+ {
711
+ "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Accept|Annehmen'))[0].click()"
712
+ }
713
+ ],
714
+ "test": [
715
+ {
716
+ "eval": "!!document.cookie.match('MSCC')"
717
+ }
718
+ ]
719
+ },
720
+ {
721
+ "name": "moneysavingexpert.com",
722
+ "detectCmp": [
723
+ {
724
+ "exists": "dialog[data-testid=accept-our-cookies-dialog]"
725
+ }
726
+ ],
727
+ "detectPopup": [
728
+ {
729
+ "visible": "dialog[data-testid=accept-our-cookies-dialog]"
730
+ }
731
+ ],
732
+ "optIn": [
733
+ {
734
+ "click": "#banner-accept"
735
+ }
736
+ ],
737
+ "optOut": [
738
+ {
739
+ "click": "#banner-manage"
740
+ },
741
+ {
742
+ "click": "#pc-confirm"
743
+ }
744
+ ]
745
+ },
746
+ {
747
+ "name": "motor-talk.de",
748
+ "prehideSelectors": [
749
+ ".mt-cc-bnnr__wrapper"
750
+ ],
751
+ "detectCmp": [
752
+ {
753
+ "exists": ".mt-cc-bnnr"
754
+ }
755
+ ],
756
+ "detectPopup": [
757
+ {
758
+ "visible": ".mt-cc-bnnr__wrapper"
759
+ }
760
+ ],
761
+ "optIn": [
762
+ {
763
+ "click": ".mt-cc-bnnr__button-main"
764
+ }
765
+ ],
766
+ "optOut": [
767
+ {
768
+ "click": ".mt-cc-bnnr__decline-link"
769
+ }
770
+ ]
771
+ },
772
+ {
773
+ "name": "national-lottery.co.uk",
774
+ "detectCmp": [
775
+ {
776
+ "exists": ".cuk_cookie_consent"
777
+ }
778
+ ],
779
+ "detectPopup": [
780
+ {
781
+ "visible": ".cuk_cookie_consent",
782
+ "check": "any"
783
+ }
784
+ ],
785
+ "optOut": [
786
+ {
787
+ "click": ".cuk_cookie_consent_manage_pref"
788
+ },
789
+ {
790
+ "click": ".cuk_cookie_consent_save_pref"
791
+ },
792
+ {
793
+ "click": ".cuk_cookie_consent_close"
794
+ }
795
+ ],
796
+ "optIn": [
797
+ {
798
+ "click": ".cuk_cookie_consent_accept_all"
799
+ }
800
+ ]
801
+ },
802
+ {
803
+ "name": "netflix.de",
804
+ "detectCmp": [
805
+ {
806
+ "exists": "#cookie-disclosure"
807
+ }
808
+ ],
809
+ "detectPopup": [
810
+ {
811
+ "visible": ".cookie-disclosure-message",
812
+ "check": "any"
813
+ }
814
+ ],
815
+ "optIn": [
816
+ {
817
+ "click": ".btn-accept"
818
+ }
819
+ ],
820
+ "optOut": [
821
+ {
822
+ "hide": [
823
+ "#cookie-disclosure"
824
+ ]
825
+ },
826
+ {
827
+ "click": ".btn-reject"
828
+ }
829
+ ]
830
+ },
831
+ {
832
+ "name": "nhs.uk",
833
+ "prehideSelectors": [
834
+ "#nhsuk-cookie-banner"
835
+ ],
836
+ "detectCmp": [
837
+ {
838
+ "exists": "#nhsuk-cookie-banner"
839
+ }
840
+ ],
841
+ "detectPopup": [
842
+ {
843
+ "exists": "#nhsuk-cookie-banner"
844
+ }
845
+ ],
846
+ "optOut": [
847
+ {
848
+ "click": "#nhsuk-cookie-banner__link_accept"
849
+ }
850
+ ],
851
+ "optIn": [
852
+ {
853
+ "click": "#nhsuk-cookie-banner__link_accept_analytics"
854
+ }
855
+ ]
856
+ },
857
+ {
858
+ "name": "notice-cookie",
859
+ "prehideSelectors": [
860
+ ".button--notice"
861
+ ],
862
+ "isHidingRule": true,
863
+ "detectCmp": [
864
+ {
865
+ "exists": ".notice--cookie"
866
+ }
867
+ ],
868
+ "detectPopup": [
869
+ {
870
+ "visible": ".notice--cookie"
871
+ }
872
+ ],
873
+ "optIn": [
874
+ {
875
+ "click": ".button--notice"
876
+ }
877
+ ],
878
+ "optOut": [
879
+ {
880
+ "hide": [
881
+ ".notice--cookie"
882
+ ]
883
+ }
884
+ ]
885
+ },
886
+ {
887
+ "name": "obi.de",
888
+ "prehideSelectors": [
889
+ ".disc-cp--active"
890
+ ],
891
+ "detectCmp": [
892
+ {
893
+ "exists": ".disc-cp-modal__modal"
894
+ }
895
+ ],
896
+ "detectPopup": [
897
+ {
898
+ "visible": ".disc-cp-modal__modal"
899
+ }
900
+ ],
901
+ "optIn": [
902
+ {
903
+ "click": ".js-disc-cp-accept-all"
904
+ }
905
+ ],
906
+ "optOut": [
907
+ {
908
+ "click": ".js-disc-cp-deny-all"
909
+ }
910
+ ]
911
+ },
912
+ {
913
+ "name": "Onetrust",
914
+ "prehideSelectors": [
915
+ "#onetrust-banner-sdk,#onetrust-consent-sdk,.optanon-alert-box-wrapper,.onetrust-pc-dark-filter,.js-consent-banner"
916
+ ],
917
+ "isHidingRule": true,
918
+ "detectCmp": [
919
+ {
920
+ "exists": "#onetrust-banner-sdk,.optanon-alert-box-wrapper"
921
+ }
922
+ ],
923
+ "detectPopup": [
924
+ {
925
+ "visible": "#onetrust-banner-sdk,.optanon-alert-box-wrapper"
926
+ }
927
+ ],
928
+ "optOut": [
929
+ {
930
+ "click": "#onetrust-pc-btn-handler,.ot-sdk-show-settings,button.js-cookie-settings"
931
+ },
932
+ {
933
+ "waitFor": "#onetrust-consent-sdk",
934
+ "timeout": 2000
935
+ },
936
+ {
937
+ "wait": 1000
938
+ },
939
+ {
940
+ "click": "#onetrust-consent-sdk input.category-switch-handler:checked,.js-editor-toggle-state:checked",
941
+ "all": true,
942
+ "optional": true
943
+ },
944
+ {
945
+ "waitForThenClick": ".save-preference-btn-handler,.js-consent-save",
946
+ "timeout": 1000
947
+ }
948
+ ],
949
+ "optIn": [
950
+ {
951
+ "click": "onetrust-accept-btn-handler,js-accept-cookies"
952
+ }
953
+ ],
954
+ "test": [
955
+ {
956
+ "eval": "window.OnetrustActiveGroups.split(',').filter(s => s.length > 0).length <= 1"
957
+ }
958
+ ]
959
+ },
960
+ {
961
+ "name": "osano",
962
+ "prehideSelectors": [
963
+ ".osano-cm-window"
964
+ ],
965
+ "isHidingRule": true,
966
+ "detectCmp": [
967
+ {
968
+ "exists": ".osano-cm-window"
969
+ }
970
+ ],
971
+ "detectPopup": [
972
+ {
973
+ "visible": ".osano-cm-dialog"
974
+ }
975
+ ],
976
+ "optIn": [
977
+ {
978
+ "click": ".osano-cm-accept-all"
979
+ }
980
+ ],
981
+ "optOut": [
982
+ {
983
+ "hide": [
984
+ ".osano-cm-window"
985
+ ]
986
+ }
987
+ ]
988
+ },
989
+ {
990
+ "name": "otto.de",
991
+ "prehideSelectors": [
992
+ ".cookieBanner--visibility"
993
+ ],
994
+ "detectCmp": [
995
+ {
996
+ "exists": ".cookieBanner--visibility"
997
+ }
998
+ ],
999
+ "detectPopup": [
1000
+ {
1001
+ "visible": ".cookieBanner__wrapper"
1002
+ }
1003
+ ],
1004
+ "optIn": [
1005
+ {
1006
+ "click": ".js_cookieBannerPermissionButton"
1007
+ }
1008
+ ],
1009
+ "optOut": [
1010
+ {
1011
+ "click": ".js_cookieBannerProhibitionButton"
1012
+ }
1013
+ ]
1014
+ },
1015
+ {
1016
+ "name": "paypal.de",
1017
+ "prehideSelectors": [
1018
+ "#gdprCookieBanner"
1019
+ ],
1020
+ "detectCmp": [
1021
+ {
1022
+ "exists": "#gdprCookieBanner"
1023
+ }
1024
+ ],
1025
+ "detectPopup": [
1026
+ {
1027
+ "visible": "#gdprCookieContent_wrapper"
1028
+ }
1029
+ ],
1030
+ "optIn": [
1031
+ {
1032
+ "click": "#acceptAllButton"
1033
+ }
1034
+ ],
1035
+ "optOut": [
1036
+ {
1037
+ "click": ".gdprCookieBanner_decline-button"
1038
+ }
1039
+ ]
1040
+ },
1041
+ {
1042
+ "name": "quantcast",
407
1043
  "prehideSelectors": [
408
1044
  "#qc-cmp2-main,#qc-cmp2-container"
409
1045
  ],
@@ -444,6 +1080,66 @@
444
1080
  }
445
1081
  ]
446
1082
  },
1083
+ {
1084
+ "name": "snigel",
1085
+ "detectCmp": [
1086
+ {
1087
+ "exists": ".snigel-cmp-framework"
1088
+ }
1089
+ ],
1090
+ "detectPopup": [
1091
+ {
1092
+ "visible": ".snigel-cmp-framework"
1093
+ }
1094
+ ],
1095
+ "optOut": [
1096
+ {
1097
+ "click": "#sn-b-custom"
1098
+ },
1099
+ {
1100
+ "click": "#sn-b-save"
1101
+ }
1102
+ ],
1103
+ "test": [
1104
+ {
1105
+ "eval": "!!document.cookie.match('snconsent')"
1106
+ }
1107
+ ]
1108
+ },
1109
+ {
1110
+ "name": "steampowered.com",
1111
+ "detectCmp": [
1112
+ {
1113
+ "exists": ".cookiepreferences_popup"
1114
+ },
1115
+ {
1116
+ "visible": ".cookiepreferences_popup"
1117
+ }
1118
+ ],
1119
+ "detectPopup": [
1120
+ {
1121
+ "visible": ".cookiepreferences_popup"
1122
+ }
1123
+ ],
1124
+ "optOut": [
1125
+ {
1126
+ "click": "#rejectAllButton"
1127
+ }
1128
+ ],
1129
+ "optIn": [
1130
+ {
1131
+ "click": "#acceptAllButton"
1132
+ }
1133
+ ],
1134
+ "test": [
1135
+ {
1136
+ "wait": 1000
1137
+ },
1138
+ {
1139
+ "eval": "JSON.parse(decodeURIComponent(document.cookie.split(';').find(s => s.trim().startsWith('cookieSettings')).split('=')[1])).preference_state === 2"
1140
+ }
1141
+ ]
1142
+ },
447
1143
  {
448
1144
  "name": "Tealium",
449
1145
  "prehideSelectors": [
@@ -524,6 +1220,155 @@
524
1220
  "eval": "window.results.results[0] === 'button_clicked'"
525
1221
  }
526
1222
  ]
1223
+ },
1224
+ {
1225
+ "name": "thalia.de",
1226
+ "prehideSelectors": [
1227
+ ".consent-banner-box"
1228
+ ],
1229
+ "detectCmp": [
1230
+ {
1231
+ "exists": "consent-banner[component=consent-banner]"
1232
+ }
1233
+ ],
1234
+ "detectPopup": [
1235
+ {
1236
+ "visible": ".consent-banner-box"
1237
+ }
1238
+ ],
1239
+ "optIn": [
1240
+ {
1241
+ "click": ".button-zustimmen"
1242
+ }
1243
+ ],
1244
+ "optOut": [
1245
+ {
1246
+ "click": "button[data-consent=disagree]"
1247
+ }
1248
+ ]
1249
+ },
1250
+ {
1251
+ "name": "thefreedictionary.com",
1252
+ "prehideSelectors": [
1253
+ "#cmpBanner"
1254
+ ],
1255
+ "detectCmp": [
1256
+ {
1257
+ "exists": "#cmpBanner"
1258
+ }
1259
+ ],
1260
+ "detectPopup": [
1261
+ {
1262
+ "visible": "#cmpBanner"
1263
+ }
1264
+ ],
1265
+ "optIn": [
1266
+ {
1267
+ "eval": "cmpUi.allowAll()"
1268
+ }
1269
+ ],
1270
+ "optOut": [
1271
+ {
1272
+ "eval": "cmpUi.showPurposes() || cmpUi.rejectAll() || true"
1273
+ }
1274
+ ]
1275
+ },
1276
+ {
1277
+ "name": "usercentrics-1",
1278
+ "detectCmp": [
1279
+ {
1280
+ "exists": "#usercentrics-root"
1281
+ }
1282
+ ],
1283
+ "detectPopup": [
1284
+ {
1285
+ "eval": "!!document.querySelector('#usercentrics-root').shadowRoot.querySelector('#uc-center-container')"
1286
+ }
1287
+ ],
1288
+ "optIn": [
1289
+ {
1290
+ "eval": "!!UC_UI.acceptAllConsents()"
1291
+ },
1292
+ {
1293
+ "eval": "!!UC_UI.closeCMP()"
1294
+ },
1295
+ {
1296
+ "eval": "UC_UI.areAllConsentsAccepted() === true"
1297
+ }
1298
+ ],
1299
+ "optOut": [
1300
+ {
1301
+ "eval": "!!UC_UI.closeCMP()"
1302
+ },
1303
+ {
1304
+ "eval": "!!UC_UI.denyAllConsents()"
1305
+ }
1306
+ ],
1307
+ "test": [
1308
+ {
1309
+ "eval": "UC_UI.areAllConsentsAccepted() === false"
1310
+ }
1311
+ ]
1312
+ },
1313
+ {
1314
+ "name": "vodafone.de",
1315
+ "prehideSelectors": [
1316
+ ".dip-consent,.dip-consent-container"
1317
+ ],
1318
+ "detectCmp": [
1319
+ {
1320
+ "exists": ".dip-consent-container"
1321
+ }
1322
+ ],
1323
+ "detectPopup": [
1324
+ {
1325
+ "visible": ".dip-consent-content"
1326
+ }
1327
+ ],
1328
+ "optOut": [
1329
+ {
1330
+ "click": ".dip-consent-btn.white-btn"
1331
+ },
1332
+ {
1333
+ "eval": "Array.from(document.querySelectorAll('.dip-consent-btn.red-btn')).filter(e => e.innerText === 'Auswahl bestätigen')[0].click() || true"
1334
+ }
1335
+ ],
1336
+ "optIn": [
1337
+ {
1338
+ "click": ".dip-consent-btn.red-btn"
1339
+ }
1340
+ ]
1341
+ },
1342
+ {
1343
+ "name": "xing.com",
1344
+ "detectCmp": [
1345
+ {
1346
+ "exists": "div[class^=cookie-consent-CookieConsent]"
1347
+ }
1348
+ ],
1349
+ "detectPopup": [
1350
+ {
1351
+ "exists": "div[class^=cookie-consent-CookieConsent]"
1352
+ }
1353
+ ],
1354
+ "optIn": [
1355
+ {
1356
+ "click": "#consent-accept-button"
1357
+ }
1358
+ ],
1359
+ "optOut": [
1360
+ {
1361
+ "click": "#consent-settings-button"
1362
+ },
1363
+ {
1364
+ "click": ".consent-banner-button-accept-overlay"
1365
+ }
1366
+ ],
1367
+ "test": [
1368
+ {
1369
+ "eval": "document.cookie.includes('userConsent=%7B%22marketing%22%3Afalse')"
1370
+ }
1371
+ ]
527
1372
  }
528
1373
  ],
529
1374
  "consentomatic": {