@duckduckgo/autoconsent 5.3.0 → 6.1.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 (97) hide show
  1. package/.eslintrc +1 -1
  2. package/CHANGELOG.md +47 -0
  3. package/data/coverage.json +958 -1010
  4. package/dist/addon-firefox/background.bundle.js +13 -12
  5. package/dist/addon-firefox/content.bundle.js +1086 -942
  6. package/dist/addon-firefox/manifest.json +1 -1
  7. package/dist/addon-firefox/rules.json +112 -83
  8. package/dist/addon-mv3/background.bundle.js +13 -12
  9. package/dist/addon-mv3/content.bundle.js +1086 -942
  10. package/dist/addon-mv3/manifest.json +1 -1
  11. package/dist/addon-mv3/popup.bundle.js +38 -0
  12. package/dist/addon-mv3/popup.html +2 -1
  13. package/dist/addon-mv3/rules.json +112 -83
  14. package/dist/autoconsent.cjs.js +1579 -1442
  15. package/dist/autoconsent.esm.js +1566 -1424
  16. package/dist/autoconsent.playwright.js +1 -1
  17. package/lib/cmps/airbnb.ts +1 -3
  18. package/lib/cmps/all.ts +13 -22
  19. package/lib/cmps/base.ts +123 -92
  20. package/lib/cmps/consentmanager.ts +7 -10
  21. package/lib/cmps/conversant.ts +1 -4
  22. package/lib/cmps/cookiebot.ts +6 -10
  23. package/lib/cmps/evidon.ts +1 -3
  24. package/lib/cmps/klaro.ts +3 -7
  25. package/lib/cmps/onetrust.ts +3 -7
  26. package/lib/cmps/sourcepoint-frame.ts +1 -4
  27. package/lib/cmps/tiktok.ts +1 -3
  28. package/lib/cmps/trustarc-frame.ts +4 -6
  29. package/lib/cmps/trustarc-top.ts +6 -5
  30. package/lib/cmps/uniconsent.ts +1 -3
  31. package/lib/eval-snippets.ts +105 -0
  32. package/lib/rule-executors.ts +0 -8
  33. package/lib/rules.ts +3 -1
  34. package/lib/types.ts +1 -1
  35. package/lib/web.ts +26 -13
  36. package/package.json +4 -4
  37. package/readme.md +3 -3
  38. package/rules/autoconsent/192.json +1 -1
  39. package/rules/autoconsent/activobank-pt.json +19 -0
  40. package/rules/autoconsent/adroll.json +1 -1
  41. package/rules/autoconsent/affinity-serif-com.json +1 -1
  42. package/rules/autoconsent/axeptio.json +1 -1
  43. package/rules/autoconsent/bing.json +1 -1
  44. package/rules/autoconsent/borlabs.json +1 -1
  45. package/rules/autoconsent/bundesregierung-de.json +1 -1
  46. package/rules/autoconsent/canva.json +1 -1
  47. package/rules/autoconsent/clickio.json +1 -1
  48. package/rules/autoconsent/clinch.json +1 -1
  49. package/rules/autoconsent/coinbase.json +1 -1
  50. package/rules/autoconsent/complianz-banner.json +1 -1
  51. package/rules/autoconsent/complianz-categories.json +1 -1
  52. package/rules/autoconsent/complianz-optin.json +1 -1
  53. package/rules/autoconsent/cookie-law-info.json +2 -2
  54. package/rules/autoconsent/cookie-manager-popup.json +1 -1
  55. package/rules/autoconsent/cookiealert.json +3 -3
  56. package/rules/autoconsent/cookiefirst.json +7 -8
  57. package/rules/autoconsent/cookieinformation.json +3 -3
  58. package/rules/autoconsent/dailymotion.json +1 -1
  59. package/rules/autoconsent/dsgvo.json +1 -1
  60. package/rules/autoconsent/dunelm.json +1 -1
  61. package/rules/autoconsent/etsy.json +2 -2
  62. package/rules/autoconsent/eu-cookie-compliance.json +1 -1
  63. package/rules/autoconsent/eu-cookie-law.json +1 -1
  64. package/rules/autoconsent/ezoic.json +2 -2
  65. package/rules/autoconsent/google.json +1 -1
  66. package/rules/autoconsent/iubenda.json +2 -2
  67. package/rules/autoconsent/jquery-cookiebar.json +1 -1
  68. package/rules/autoconsent/mediavine.json +1 -1
  69. package/rules/autoconsent/microsoft.json +3 -3
  70. package/rules/autoconsent/moove.json +1 -1
  71. package/rules/autoconsent/paypal.json +1 -1
  72. package/rules/autoconsent/primebox.json +1 -1
  73. package/rules/autoconsent/pubtech.json +1 -1
  74. package/rules/autoconsent/reddit.json +1 -1
  75. package/rules/autoconsent/sibbo.json +1 -1
  76. package/rules/autoconsent/sirdata.json +1 -1
  77. package/rules/autoconsent/snigel.json +1 -1
  78. package/rules/autoconsent/steampowered.json +1 -1
  79. package/rules/autoconsent/tarteaucitron.json +3 -3
  80. package/rules/autoconsent/tealium.json +4 -4
  81. package/rules/autoconsent/testcmp-cosmetic.json +1 -1
  82. package/rules/autoconsent/testcmp.json +1 -1
  83. package/rules/autoconsent/thefreedictionary.json +2 -2
  84. package/rules/autoconsent/theverge.json +1 -1
  85. package/rules/autoconsent/twitter.json +1 -1
  86. package/rules/autoconsent/ubuntu.com.json +1 -1
  87. package/rules/autoconsent/uk-cookie-consent.json +1 -1
  88. package/rules/autoconsent/usercentrics-api.json +7 -7
  89. package/rules/autoconsent/usercentrics-button.json +1 -1
  90. package/rules/autoconsent/waitrose.json +2 -2
  91. package/rules/autoconsent/wp-cookie-notice.json +1 -1
  92. package/rules/autoconsent/xing.json +1 -1
  93. package/rules/autoconsent/youtube-desktop.json +1 -1
  94. package/rules/autoconsent/youtube-mobile.json +1 -1
  95. package/rules/rules.json +112 -83
  96. package/tests/activobank-pt.spec.ts +6 -0
  97. package/lib/index.ts +0 -4
@@ -27,7 +27,7 @@
27
27
  ],
28
28
  "test": [
29
29
  {
30
- "eval": "document.cookie.includes('CC_ADVERTISING=NO') && document.cookie.includes('CC_ANALYTICS=NO')"
30
+ "eval": "EVAL_ONENINETWO_0"
31
31
  }
32
32
  ]
33
33
  },
@@ -60,6 +60,35 @@
60
60
  }
61
61
  ]
62
62
  },
63
+ {
64
+ "name": "activobank.pt",
65
+ "runContext": {
66
+ "urlPattern": "^https://(www\\.)?activobank\\.pt"
67
+ },
68
+ "prehideSelectors": [
69
+ "aside#cookies,.overlay-cookies"
70
+ ],
71
+ "detectCmp": [
72
+ {
73
+ "exists": "#cookies .cookies-btn"
74
+ }
75
+ ],
76
+ "detectPopup": [
77
+ {
78
+ "visible": "#cookies #submitCookies"
79
+ }
80
+ ],
81
+ "optIn": [
82
+ {
83
+ "waitForThenClick": "#cookies #submitCookies"
84
+ }
85
+ ],
86
+ "optOut": [
87
+ {
88
+ "waitForThenClick": "#cookies #rejectCookies"
89
+ }
90
+ ]
91
+ },
63
92
  {
64
93
  "name": "Adroll",
65
94
  "prehideSelectors": [
@@ -87,7 +116,7 @@
87
116
  ],
88
117
  "test": [
89
118
  {
90
- "eval": "!document.cookie.includes('__adroll_fpc')"
119
+ "eval": "EVAL_ADROLL_0"
91
120
  }
92
121
  ]
93
122
  },
@@ -128,7 +157,7 @@
128
157
  "wait": 500
129
158
  },
130
159
  {
131
- "eval": "document.cookie.includes('serif_manage_cookies_viewed') && !document.cookie.includes('serif_allow_analytics')"
160
+ "eval": "EVAL_AFFINITY_SERIF_COM_0"
132
161
  }
133
162
  ]
134
163
  },
@@ -447,7 +476,7 @@
447
476
  ],
448
477
  "test": [
449
478
  {
450
- "eval": "document.cookie.includes('axeptio_authorized_vendors=%2C%2C')"
479
+ "eval": "EVAL_AXEPTIO_0"
451
480
  }
452
481
  ]
453
482
  },
@@ -545,7 +574,7 @@
545
574
  ],
546
575
  "test": [
547
576
  {
548
- "eval": "document.cookie.includes('AL=0') && document.cookie.includes('AD=0') && document.cookie.includes('SM=0')"
577
+ "eval": "EVAL_BING_0"
549
578
  }
550
579
  ]
551
580
  },
@@ -590,7 +619,7 @@
590
619
  ],
591
620
  "test": [
592
621
  {
593
- "eval": "!JSON.parse(decodeURIComponent(document.cookie.split(';').find(c => c.indexOf('borlabs-cookie') !== -1).split('=', 2)[1])).consents.statistics"
622
+ "eval": "EVAL_BORLABS_0"
594
623
  }
595
624
  ]
596
625
  },
@@ -625,7 +654,7 @@
625
654
  ],
626
655
  "test": [
627
656
  {
628
- "eval": "document.cookie.match('cookie-allow-tracking=0')"
657
+ "eval": "EVAL_BUNDESREGIERUNG_DE_0"
629
658
  }
630
659
  ]
631
660
  },
@@ -707,7 +736,7 @@
707
736
  ],
708
737
  "test": [
709
738
  {
710
- "eval": "!document.cookie.includes('gtm_fpc_engagement_event')"
739
+ "eval": "EVAL_CANVA_0"
711
740
  }
712
741
  ]
713
742
  },
@@ -813,7 +842,7 @@
813
842
  ],
814
843
  "test": [
815
844
  {
816
- "eval": "document.cookie.includes('__lxG__consent__v2_daisybit=')",
845
+ "eval": "EVAL_CLICKIO_0",
817
846
  "comment": "TODO: this only checks if we interacted at all"
818
847
  }
819
848
  ]
@@ -858,7 +887,7 @@
858
887
  ],
859
888
  "test": [
860
889
  {
861
- "eval": "document.cookie.includes('ctc_rejected=1')"
890
+ "eval": "EVAL_CLINCH_0"
862
891
  }
863
892
  ]
864
893
  },
@@ -933,7 +962,7 @@
933
962
  ],
934
963
  "test": [
935
964
  {
936
- "eval": "JSON.parse(decodeURIComponent(document.cookie.match(/cm_(eu|default)_preferences=([0-9a-zA-Z\\{\\}\\[\\]%:]*);?/)[2])).consent.length <= 1"
965
+ "eval": "EVAL_COINBASE_0"
937
966
  }
938
967
  ]
939
968
  },
@@ -965,7 +994,7 @@
965
994
  ],
966
995
  "test": [
967
996
  {
968
- "eval": "document.cookie.includes('cmplz_banner-status=dismissed')"
997
+ "eval": "EVAL_COMPLIANZ_BANNER_0"
969
998
  }
970
999
  ]
971
1000
  },
@@ -1005,7 +1034,7 @@
1005
1034
  ],
1006
1035
  "test": [
1007
1036
  {
1008
- "eval": "!!document.cookie.match(/cmplz_[^=]+=deny/)"
1037
+ "eval": "EVAL_COMPLIANZ_CATEGORIES_0"
1009
1038
  }
1010
1039
  ]
1011
1040
  },
@@ -1095,7 +1124,7 @@
1095
1124
  ],
1096
1125
  "test": [
1097
1126
  {
1098
- "eval": "!!document.cookie.match(/cookieconsent_preferences_disabled=[^;]+/)"
1127
+ "eval": "EVAL_COMPLIANZ_OPTIN_0"
1099
1128
  }
1100
1129
  ]
1101
1130
  },
@@ -1126,12 +1155,12 @@
1126
1155
  ]
1127
1156
  },
1128
1157
  {
1129
- "eval": "CLI.disableAllCookies() || CLI.reject_close() || true"
1158
+ "eval": "EVAL_COOKIE_LAW_INFO_0"
1130
1159
  }
1131
1160
  ],
1132
1161
  "test": [
1133
1162
  {
1134
- "eval": "document.cookie.indexOf('cookielawinfo-checkbox-non-necessary=yes') === -1"
1163
+ "eval": "EVAL_COOKIE_LAW_INFO_1"
1135
1164
  }
1136
1165
  ]
1137
1166
  },
@@ -1191,7 +1220,7 @@
1191
1220
  ],
1192
1221
  "test": [
1193
1222
  {
1194
- "eval": "JSON.parse(document.cookie.split(';').find(c => c.trim().startsWith('CookieLevel')).split('=')[1]).social === false"
1223
+ "eval": "EVAL_COOKIE_MANAGER_POPUP_0"
1195
1224
  }
1196
1225
  ]
1197
1226
  },
@@ -1247,7 +1276,7 @@
1247
1276
  "click": "button[data-controller='cookie-alert/extended/button/accept']"
1248
1277
  },
1249
1278
  {
1250
- "eval": "document.querySelector('body').removeAttribute('style') || true"
1279
+ "eval": "EVAL_COOKIEALERT_0"
1251
1280
  }
1252
1281
  ],
1253
1282
  "optOut": [
@@ -1263,28 +1292,28 @@
1263
1292
  "click": "button[data-controller='cookie-alert/extended/button/configuration']"
1264
1293
  },
1265
1294
  {
1266
- "eval": "document.querySelector('body').removeAttribute('style') || true"
1295
+ "eval": "EVAL_COOKIEALERT_0"
1267
1296
  }
1268
1297
  ],
1269
1298
  "test": [
1270
1299
  {
1271
- "eval": "window.CookieConsent.declined === true"
1300
+ "eval": "EVAL_COOKIEALERT_2"
1272
1301
  }
1273
1302
  ]
1274
1303
  },
1275
1304
  {
1276
1305
  "name": "cookiefirst.com",
1277
1306
  "prehideSelectors": [
1278
- "#cookiefirst-root"
1307
+ "#cookiefirst-root,.cookiefirst-root,[aria-labelledby=cookie-preference-panel-title]"
1279
1308
  ],
1280
1309
  "detectCmp": [
1281
1310
  {
1282
- "exists": "#cookiefirst-root"
1311
+ "exists": "#cookiefirst-root,.cookiefirst-root"
1283
1312
  }
1284
1313
  ],
1285
1314
  "detectPopup": [
1286
1315
  {
1287
- "visible": "#cookiefirst-root"
1316
+ "visible": "#cookiefirst-root,.cookiefirst-root"
1288
1317
  }
1289
1318
  ],
1290
1319
  "optIn": [
@@ -1306,7 +1335,7 @@
1306
1335
  "timeout": 1000
1307
1336
  },
1308
1337
  {
1309
- "eval": "document.querySelectorAll('button[data-cookiefirst-accent-color=true][role=checkbox]:not([disabled])').forEach(i => (i.getAttribute('aria-checked') == 'true' && i.click())) || true"
1338
+ "eval": "EVAL_COOKIEFIRST_1"
1310
1339
  },
1311
1340
  {
1312
1341
  "wait": 1000
@@ -1324,7 +1353,7 @@
1324
1353
  ],
1325
1354
  "test": [
1326
1355
  {
1327
- "eval": "let o = JSON.parse(decodeURIComponent(document.cookie.split(';').find(c => c.indexOf('cookiefirst') !== -1).trim()).split('=')[1]); (o.performance === false && o.functional === false && o.advertising === false) ? true : false"
1356
+ "eval": "EVAL_COOKIEFIRST_0"
1328
1357
  }
1329
1358
  ]
1330
1359
  },
@@ -1345,7 +1374,7 @@
1345
1374
  ],
1346
1375
  "optIn": [
1347
1376
  {
1348
- "eval": "CookieInformation.submitAllCategories() || true"
1377
+ "eval": "EVAL_COOKIEINFORMATION_1"
1349
1378
  }
1350
1379
  ],
1351
1380
  "optOut": [
@@ -1356,12 +1385,12 @@
1356
1385
  "comment": "some templates don't hide the banner automatically"
1357
1386
  },
1358
1387
  {
1359
- "eval": "CookieInformation.declineAllCategories() || true"
1388
+ "eval": "EVAL_COOKIEINFORMATION_0"
1360
1389
  }
1361
1390
  ],
1362
1391
  "test": [
1363
1392
  {
1364
- "eval": "document.cookie.includes('CookieInformationConsent=')"
1393
+ "eval": "EVAL_COOKIEINFORMATION_2"
1365
1394
  }
1366
1395
  ]
1367
1396
  },
@@ -1482,7 +1511,7 @@
1482
1511
  ],
1483
1512
  "test": [
1484
1513
  {
1485
- "eval": "!!document.cookie.match('dm-euconsent-v2')"
1514
+ "eval": "EVAL_DAILYMOTION_0"
1486
1515
  }
1487
1516
  ]
1488
1517
  },
@@ -1671,7 +1700,7 @@
1671
1700
  ],
1672
1701
  "test": [
1673
1702
  {
1674
- "eval": "!document.cookie.includes('sp_dsgvo_cookie_settings')"
1703
+ "eval": "EVAL_DSGVO_0"
1675
1704
  }
1676
1705
  ]
1677
1706
  },
@@ -1705,7 +1734,7 @@
1705
1734
  ],
1706
1735
  "test": [
1707
1736
  {
1708
- "eval": "document.cookie.includes('cc_functional=0') && document.cookie.includes('cc_targeting=0')"
1737
+ "eval": "EVAL_DUNELM_0"
1709
1738
  }
1710
1739
  ]
1711
1740
  },
@@ -1737,10 +1766,10 @@
1737
1766
  "wait": 1000
1738
1767
  },
1739
1768
  {
1740
- "eval": "document.querySelectorAll(\".gdpr-overlay-body input\").forEach(toggle => { toggle.checked = false; }) || true"
1769
+ "eval": "EVAL_ETSY_0"
1741
1770
  },
1742
1771
  {
1743
- "eval": "document.querySelector('.gdpr-overlay-view button[data-wt-overlay-close]').click() || true"
1772
+ "eval": "EVAL_ETSY_1"
1744
1773
  }
1745
1774
  ],
1746
1775
  "optIn": [
@@ -1780,7 +1809,7 @@
1780
1809
  ],
1781
1810
  "test": [
1782
1811
  {
1783
- "eval": "document.cookie.indexOf('cookie-agreed=2') === -1"
1812
+ "eval": "EVAL_EU_COOKIE_COMPLIANCE_0"
1784
1813
  }
1785
1814
  ]
1786
1815
  },
@@ -1817,7 +1846,7 @@
1817
1846
  ],
1818
1847
  "test": [
1819
1848
  {
1820
- "eval": "!document.cookie.includes('euCookie')"
1849
+ "eval": "EVAL_EU_COOKIE_LAW_0"
1821
1850
  }
1822
1851
  ]
1823
1852
  },
@@ -1842,7 +1871,7 @@
1842
1871
  "optional": true
1843
1872
  },
1844
1873
  {
1845
- "eval": "ezCMP.handleAcceptAllClick()",
1874
+ "eval": "EVAL_EZOIC_0",
1846
1875
  "optional": true
1847
1876
  }
1848
1877
  ],
@@ -1866,7 +1895,7 @@
1866
1895
  ],
1867
1896
  "test": [
1868
1897
  {
1869
- "eval": "!!document.cookie.match(/ezCMPCookieConsent=[^;]+\\|2=0\\|3=0\\|4=0/)"
1898
+ "eval": "EVAL_EZOIC_1"
1870
1899
  }
1871
1900
  ]
1872
1901
  },
@@ -2056,7 +2085,7 @@
2056
2085
  ],
2057
2086
  "test": [
2058
2087
  {
2059
- "eval": "!!document.cookie.match(/SOCS=CAE/)"
2088
+ "eval": "EVAL_GOOGLE_0"
2060
2089
  }
2061
2090
  ]
2062
2091
  },
@@ -2312,7 +2341,7 @@
2312
2341
  "click": ".iubenda-cs-customize-btn"
2313
2342
  },
2314
2343
  {
2315
- "eval": "document.querySelectorAll('.purposes-item input[type=checkbox]:not([disabled])').forEach(x => {if(x.checked) x.click()}) || true"
2344
+ "eval": "EVAL_IUBENDA_0"
2316
2345
  },
2317
2346
  {
2318
2347
  "click": "#iubFooterBtn"
@@ -2320,7 +2349,7 @@
2320
2349
  ],
2321
2350
  "test": [
2322
2351
  {
2323
- "eval": "!!document.cookie.match(/_iub_cs-\\d+=/)"
2352
+ "eval": "EVAL_IUBENDA_1"
2324
2353
  }
2325
2354
  ]
2326
2355
  },
@@ -2397,7 +2426,7 @@
2397
2426
  "check": "none"
2398
2427
  },
2399
2428
  {
2400
- "eval": "!document.cookie.includes('cookies-state=accepted')"
2429
+ "eval": "EVAL_JQUERY_COOKIEBAR_0"
2401
2430
  }
2402
2431
  ]
2403
2432
  },
@@ -2741,7 +2770,7 @@
2741
2770
  "waitFor": "[data-name=\"mediavine-gdpr-cmp\"] input[type=checkbox]"
2742
2771
  },
2743
2772
  {
2744
- "eval": "document.querySelectorAll(\"[data-name=\\\"mediavine-gdpr-cmp\\\"] input[type=checkbox]\").forEach(x => x.checked && x.click()) || true",
2773
+ "eval": "EVAL_MEDIAVINE_0",
2745
2774
  "optional": true
2746
2775
  },
2747
2776
  {
@@ -2766,17 +2795,17 @@
2766
2795
  ],
2767
2796
  "optOut": [
2768
2797
  {
2769
- "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Reject|Ablehnen'))[0].click() || true"
2798
+ "eval": "EVAL_MICROSOFT_0"
2770
2799
  }
2771
2800
  ],
2772
2801
  "optIn": [
2773
2802
  {
2774
- "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Accept|Annehmen'))[0].click() || true"
2803
+ "eval": "EVAL_MICROSOFT_1"
2775
2804
  }
2776
2805
  ],
2777
2806
  "test": [
2778
2807
  {
2779
- "eval": "!!document.cookie.match('MSCC')"
2808
+ "eval": "EVAL_MICROSOFT_2"
2780
2809
  }
2781
2810
  ]
2782
2811
  },
@@ -2902,7 +2931,7 @@
2902
2931
  "waitForVisible": "#moove_gdpr_cookie_modal"
2903
2932
  },
2904
2933
  {
2905
- "eval": "document.querySelectorAll('#moove_gdpr_cookie_modal input').forEach(i => { if (!i.disabled && i.name !== 'moove_gdpr_strict_cookies') i.checked = false }) || true"
2934
+ "eval": "EVAL_MOOVE_0"
2906
2935
  },
2907
2936
  {
2908
2937
  "click": ".moove-gdpr-modal-save-settings"
@@ -3292,7 +3321,7 @@
3292
3321
  "wait": 500
3293
3322
  },
3294
3323
  {
3295
- "eval": "document.cookie.includes('cookie_prefs') === true"
3324
+ "eval": "EVAL_PAYPAL_0"
3296
3325
  }
3297
3326
  ]
3298
3327
  },
@@ -3449,7 +3478,7 @@
3449
3478
  ],
3450
3479
  "test": [
3451
3480
  {
3452
- "eval": "!document.cookie.includes('cb-enabled=accepted')"
3481
+ "eval": "EVAL_PRIMEBOX_0"
3453
3482
  }
3454
3483
  ]
3455
3484
  },
@@ -3553,7 +3582,7 @@
3553
3582
  ],
3554
3583
  "test": [
3555
3584
  {
3556
- "eval": "document.cookie.includes('euconsent-v2') && (document.cookie.match(/.YAAAAAAAAAAA/) || document.cookie.match(/.aAAAAAAAAAAA/) || document.cookie.match(/.YAAACFgAAAAA/)) "
3585
+ "eval": "EVAL_PUBTECH_0"
3557
3586
  }
3558
3587
  ]
3559
3588
  },
@@ -3629,7 +3658,7 @@
3629
3658
  ],
3630
3659
  "test": [
3631
3660
  {
3632
- "eval": "document.cookie.includes('eu_cookie={%22opted%22:true%2C%22nonessential%22:false}')"
3661
+ "eval": "EVAL_REDDIT_0"
3633
3662
  }
3634
3663
  ]
3635
3664
  },
@@ -3718,7 +3747,7 @@
3718
3747
  ],
3719
3748
  "test": [
3720
3749
  {
3721
- "eval": "!!window.localStorage.getItem('euconsent-v2')"
3750
+ "eval": "EVAL_SIBBO_0"
3722
3751
  }
3723
3752
  ]
3724
3753
  },
@@ -3778,7 +3807,7 @@
3778
3807
  ],
3779
3808
  "test": [
3780
3809
  {
3781
- "eval": "document.cookie.includes('euconsent-v2')"
3810
+ "eval": "EVAL_SIRDATA_0"
3782
3811
  }
3783
3812
  ]
3784
3813
  },
@@ -3804,7 +3833,7 @@
3804
3833
  ],
3805
3834
  "test": [
3806
3835
  {
3807
- "eval": "!!document.cookie.match('snconsent')"
3836
+ "eval": "EVAL_SNIGEL_0"
3808
3837
  }
3809
3838
  ],
3810
3839
  "optIn": [
@@ -3843,7 +3872,7 @@
3843
3872
  "wait": 1000
3844
3873
  },
3845
3874
  {
3846
- "eval": "JSON.parse(decodeURIComponent(document.cookie.split(';').find(s => s.trim().startsWith('cookieSettings')).split('=')[1])).preference_state === 2"
3875
+ "eval": "EVAL_STEAMPOWERED_0"
3847
3876
  }
3848
3877
  ]
3849
3878
  },
@@ -3894,17 +3923,17 @@
3894
3923
  ],
3895
3924
  "optIn": [
3896
3925
  {
3897
- "eval": "tarteaucitron.userInterface.respondAll(true) || true"
3926
+ "eval": "EVAL_TARTEAUCITRON_1"
3898
3927
  }
3899
3928
  ],
3900
3929
  "optOut": [
3901
3930
  {
3902
- "eval": "tarteaucitron.userInterface.respondAll(false) || true"
3931
+ "eval": "EVAL_TARTEAUCITRON_0"
3903
3932
  }
3904
3933
  ],
3905
3934
  "test": [
3906
3935
  {
3907
- "eval": "document.cookie.match(/tarteaucitron=[^;]*/)[0].includes('false')",
3936
+ "eval": "EVAL_TARTEAUCITRON_2",
3908
3937
  "comment": "sometimes there are required categories, so we check that at least something is false"
3909
3938
  }
3910
3939
  ]
@@ -3919,7 +3948,7 @@
3919
3948
  "visible": "#__tealiumGDPRecModal"
3920
3949
  },
3921
3950
  {
3922
- "eval": "typeof window.utag !== 'undefined' && typeof utag.gdpr === 'object'"
3951
+ "eval": "EVAL_TEALIUM_0"
3923
3952
  }
3924
3953
  ],
3925
3954
  "detectPopup": [
@@ -3933,7 +3962,7 @@
3933
3962
  "timeout": 1000
3934
3963
  },
3935
3964
  {
3936
- "eval": "utag.gdpr.setConsentValue(false) || true"
3965
+ "eval": "EVAL_TEALIUM_1"
3937
3966
  }
3938
3967
  ],
3939
3968
  "optIn": [
@@ -3943,12 +3972,12 @@
3943
3972
  ]
3944
3973
  },
3945
3974
  {
3946
- "eval": "utag.gdpr.setConsentValue(true) || true"
3975
+ "eval": "EVAL_TEALIUM_2"
3947
3976
  }
3948
3977
  ],
3949
3978
  "test": [
3950
3979
  {
3951
- "eval": "utag.gdpr.getConsentState() !== 1"
3980
+ "eval": "EVAL_TEALIUM_3"
3952
3981
  }
3953
3982
  ]
3954
3983
  },
@@ -4048,7 +4077,7 @@
4048
4077
  "wait": 500
4049
4078
  },
4050
4079
  {
4051
- "eval": "window.results.results[0] === 'banner_hidden'"
4080
+ "eval": "EVAL_TESTCMP_COSMETIC_0"
4052
4081
  }
4053
4082
  ]
4054
4083
  },
@@ -4085,7 +4114,7 @@
4085
4114
  ],
4086
4115
  "test": [
4087
4116
  {
4088
- "eval": "window.results.results[0] === 'button_clicked'"
4117
+ "eval": "EVAL_TESTCMP_0"
4089
4118
  }
4090
4119
  ]
4091
4120
  },
@@ -4132,12 +4161,12 @@
4132
4161
  ],
4133
4162
  "optIn": [
4134
4163
  {
4135
- "eval": "cmpUi.allowAll() || true"
4164
+ "eval": "EVAL_THEFREEDICTIONARY_1"
4136
4165
  }
4137
4166
  ],
4138
4167
  "optOut": [
4139
4168
  {
4140
- "eval": "cmpUi.showPurposes() || cmpUi.rejectAll() || true"
4169
+ "eval": "EVAL_THEFREEDICTIONARY_0"
4141
4170
  }
4142
4171
  ]
4143
4172
  },
@@ -4175,7 +4204,7 @@
4175
4204
  ],
4176
4205
  "test": [
4177
4206
  {
4178
- "eval": "document.cookie.includes('_duet_gdpr_acknowledged=1')"
4207
+ "eval": "EVAL_THEVERGE_0"
4179
4208
  }
4180
4209
  ]
4181
4210
  },
@@ -4437,7 +4466,7 @@
4437
4466
  ],
4438
4467
  "TODOtest": [
4439
4468
  {
4440
- "eval": "document.cookie.includes('d_prefs=MjoxLGNvbnNlbnRfdmVyc2lvbjoy')"
4469
+ "eval": "EVAL_document.cookie.includes('d_prefs=MjoxLGNvbnNlbnRfdmVyc2lvbjoy')"
4441
4470
  }
4442
4471
  ]
4443
4472
  },
@@ -4511,7 +4540,7 @@
4511
4540
  ],
4512
4541
  "test": [
4513
4542
  {
4514
- "eval": "document.cookie === '_cookies_accepted=essential'"
4543
+ "eval": "EVAL_UBUNTU_COM_0"
4515
4544
  }
4516
4545
  ]
4517
4546
  },
@@ -4545,7 +4574,7 @@
4545
4574
  ],
4546
4575
  "test": [
4547
4576
  {
4548
- "eval": "!document.cookie.includes('catAccCookies')"
4577
+ "eval": "EVAL_UK_COOKIE_CONSENT_0"
4549
4578
  }
4550
4579
  ]
4551
4580
  },
@@ -4587,7 +4616,7 @@
4587
4616
  ],
4588
4617
  "detectPopup": [
4589
4618
  {
4590
- "eval": "typeof UC_UI === 'object'"
4619
+ "eval": "EVAL_USERCENTRICS_API_0"
4591
4620
  },
4592
4621
  {
4593
4622
  "exists": [
@@ -4598,26 +4627,26 @@
4598
4627
  ],
4599
4628
  "optIn": [
4600
4629
  {
4601
- "eval": "!!UC_UI.acceptAllConsents()"
4630
+ "eval": "EVAL_USERCENTRICS_API_3"
4602
4631
  },
4603
4632
  {
4604
- "eval": "!!UC_UI.closeCMP()"
4633
+ "eval": "EVAL_USERCENTRICS_API_1"
4605
4634
  },
4606
4635
  {
4607
- "eval": "UC_UI.areAllConsentsAccepted() === true"
4636
+ "eval": "EVAL_USERCENTRICS_API_5"
4608
4637
  }
4609
4638
  ],
4610
4639
  "optOut": [
4611
4640
  {
4612
- "eval": "!!UC_UI.closeCMP()"
4641
+ "eval": "EVAL_USERCENTRICS_API_1"
4613
4642
  },
4614
4643
  {
4615
- "eval": "!!UC_UI.denyAllConsents()"
4644
+ "eval": "EVAL_USERCENTRICS_API_2"
4616
4645
  }
4617
4646
  ],
4618
4647
  "test": [
4619
4648
  {
4620
- "eval": "UC_UI.areAllConsentsAccepted() === false"
4649
+ "eval": "EVAL_USERCENTRICS_API_6"
4621
4650
  }
4622
4651
  ]
4623
4652
  },
@@ -4645,7 +4674,7 @@
4645
4674
  ],
4646
4675
  "test": [
4647
4676
  {
4648
- "eval": "JSON.parse(localStorage.getItem('usercentrics')).consents.every(c => c.isEssential || !c.consentStatus)"
4677
+ "eval": "EVAL_USERCENTRICS_BUTTON_0"
4649
4678
  }
4650
4679
  ]
4651
4680
  },
@@ -4734,7 +4763,7 @@
4734
4763
  "wait": 200
4735
4764
  },
4736
4765
  {
4737
- "eval": "Array.from(document.querySelectorAll('label[id$=cookies-deny-label]')).forEach(e => e.click()) || true"
4766
+ "eval": "EVAL_WAITROSE_0"
4738
4767
  },
4739
4768
  {
4740
4769
  "click": "button[data-test=submit]"
@@ -4742,7 +4771,7 @@
4742
4771
  ],
4743
4772
  "test": [
4744
4773
  {
4745
- "eval": "document.cookie.includes('wtr_cookies_advertising=0') && document.cookie.includes('wtr_cookies_analytics=0')"
4774
+ "eval": "EVAL_WAITROSE_1"
4746
4775
  }
4747
4776
  ]
4748
4777
  },
@@ -4862,7 +4891,7 @@
4862
4891
  ],
4863
4892
  "test": [
4864
4893
  {
4865
- "eval": "document.cookie.includes('wpl_viewed_cookie=no')"
4894
+ "eval": "EVAL_WP_COOKIE_NOTICE_0"
4866
4895
  }
4867
4896
  ]
4868
4897
  },
@@ -4980,7 +5009,7 @@
4980
5009
  ],
4981
5010
  "test": [
4982
5011
  {
4983
- "eval": "document.cookie.includes('userConsent=%7B%22marketing%22%3Afalse')"
5012
+ "eval": "EVAL_XING_0"
4984
5013
  }
4985
5014
  ]
4986
5015
  },
@@ -5082,7 +5111,7 @@
5082
5111
  "wait": 500
5083
5112
  },
5084
5113
  {
5085
- "eval": "!!document.cookie.match(/SOCS=CAE/)"
5114
+ "eval": "EVAL_YOUTUBE_DESKTOP_0"
5086
5115
  }
5087
5116
  ]
5088
5117
  },
@@ -5122,7 +5151,7 @@
5122
5151
  "wait": 500
5123
5152
  },
5124
5153
  {
5125
- "eval": "!!document.cookie.match(/SOCS=CAE/)"
5154
+ "eval": "EVAL_YOUTUBE_MOBILE_0"
5126
5155
  }
5127
5156
  ]
5128
5157
  }