@duckduckgo/autoconsent 9.2.1 → 9.4.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.
- package/CHANGELOG.md +30 -0
- package/dist/addon-firefox/background.bundle.js +3 -4
- package/dist/addon-firefox/content.bundle.js +4 -5
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +355 -43
- package/dist/addon-mv3/background.bundle.js +3 -4
- package/dist/addon-mv3/content.bundle.js +4 -5
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +355 -43
- package/dist/autoconsent.cjs.js +4 -5
- package/dist/autoconsent.esm.js +4 -5
- package/dist/autoconsent.playwright.js +1 -1
- package/dist/autoconsent.unit.js +359 -48
- package/lib/cmps/sourcepoint-frame.ts +1 -1
- package/lib/eval-snippets.ts +3 -4
- package/package.json +1 -1
- package/rules/autoconsent/bahn-de.json +47 -0
- package/rules/autoconsent/canyon-com.json +18 -0
- package/rules/autoconsent/complianz-categories.json +16 -7
- package/rules/autoconsent/complianz-notice.json +9 -3
- package/rules/autoconsent/complianz-opt-both.json +14 -0
- package/rules/autoconsent/complianz-optin.json +23 -10
- package/rules/autoconsent/ezoic.json +1 -1
- package/rules/autoconsent/hetzner-com.json +11 -0
- package/rules/autoconsent/osano.json +3 -4
- package/rules/autoconsent/rog-forum-asus-com.json +14 -0
- package/rules/autoconsent/strato-de.json +20 -0
- package/rules/autoconsent/transip-nl.json +49 -0
- package/rules/autoconsent/ubuntu.com.json +5 -4
- package/rules/rules.json +355 -43
- package/tests/bahn-de.spec.ts +5 -0
- package/tests/canyon-com.spec.ts +5 -0
- package/tests/complianz-opt-both.spec.ts +5 -0
- package/tests/ezoic.spec.ts +1 -1
- package/tests/hetzner-com.spec.ts +5 -0
- package/tests/rog-forum-asus-com.spec.ts +5 -0
- package/tests/strato-de.spec.ts +5 -0
- package/tests/ubuntu.spec.ts +2 -0
|
@@ -482,6 +482,7 @@
|
|
|
482
482
|
EVAL_ALMACMP_0: () => document.cookie.includes('"name":"Google","consent":false'),
|
|
483
483
|
EVAL_AFFINITY_SERIF_COM_0: () => document.cookie.includes("serif_manage_cookies_viewed") && !document.cookie.includes("serif_allow_analytics"),
|
|
484
484
|
EVAL_AXEPTIO_0: () => document.cookie.includes("axeptio_authorized_vendors=%2C%2C"),
|
|
485
|
+
EVAL_BAHN_TEST: () => utag.gdpr.getSelectedCategories().length === 1,
|
|
485
486
|
EVAL_BING_0: () => document.cookie.includes("AL=0") && document.cookie.includes("AD=0") && document.cookie.includes("SM=0"),
|
|
486
487
|
EVAL_BLOCKSY_0: () => document.cookie.includes("blocksy_cookies_consent_accepted=no"),
|
|
487
488
|
EVAL_BORLABS_0: () => !JSON.parse(decodeURIComponent(document.cookie.split(";").find((c) => c.indexOf("borlabs-cookie") !== -1).split("=", 2)[1])).consents.statistics,
|
|
@@ -492,8 +493,6 @@
|
|
|
492
493
|
EVAL_CLINCH_0: () => document.cookie.includes("ctc_rejected=1"),
|
|
493
494
|
EVAL_COINBASE_0: () => JSON.parse(decodeURIComponent(document.cookie.match(/cm_(eu|default)_preferences=([0-9a-zA-Z\\{\\}\\[\\]%:]*);?/)[2])).consent.length <= 1,
|
|
494
495
|
EVAL_COMPLIANZ_BANNER_0: () => document.cookie.includes("cmplz_banner-status=dismissed"),
|
|
495
|
-
EVAL_COMPLIANZ_CATEGORIES_0: () => !!document.cookie.match(/cmplz_[^=]+=deny/),
|
|
496
|
-
EVAL_COMPLIANZ_OPTIN_0: () => !!document.cookie.match(/cookieconsent_preferences_disabled=[^;]+/),
|
|
497
496
|
EVAL_COOKIE_LAW_INFO_0: () => CLI.disableAllCookies() || CLI.reject_close() || true,
|
|
498
497
|
EVAL_COOKIE_LAW_INFO_1: () => document.cookie.indexOf("cookielawinfo-checkbox-non-necessary=yes") === -1,
|
|
499
498
|
EVAL_COOKIE_MANAGER_POPUP_0: () => JSON.parse(document.cookie.split(";").find((c) => c.trim().startsWith("CookieLevel")).split("=")[1]).social === false,
|
|
@@ -516,7 +515,7 @@
|
|
|
516
515
|
EVAL_EU_COOKIE_COMPLIANCE_0: () => document.cookie.indexOf("cookie-agreed=2") === -1,
|
|
517
516
|
EVAL_EU_COOKIE_LAW_0: () => !document.cookie.includes("euCookie"),
|
|
518
517
|
EVAL_EZOIC_0: () => ezCMP.handleAcceptAllClick(),
|
|
519
|
-
EVAL_EZOIC_1: () => !!document.cookie.match(/
|
|
518
|
+
EVAL_EZOIC_1: () => !!document.cookie.match(/ez-consent-tcf/),
|
|
520
519
|
EVAL_GOOGLE_0: () => !!document.cookie.match(/SOCS=CAE/),
|
|
521
520
|
EVAL_HEMA_TEST_0: () => document.cookie.includes("cookies_rejected=1"),
|
|
522
521
|
EVAL_IUBENDA_0: () => document.querySelectorAll(".purposes-item input[type=checkbox]:not([disabled])").forEach((x) => {
|
|
@@ -559,7 +558,7 @@
|
|
|
559
558
|
EVAL_THEFREEDICTIONARY_0: () => cmpUi.showPurposes() || cmpUi.rejectAll() || true,
|
|
560
559
|
EVAL_THEFREEDICTIONARY_1: () => cmpUi.allowAll() || true,
|
|
561
560
|
EVAL_THEVERGE_0: () => document.cookie.includes("_duet_gdpr_acknowledged=1"),
|
|
562
|
-
EVAL_UBUNTU_COM_0: () => document.cookie
|
|
561
|
+
EVAL_UBUNTU_COM_0: () => document.cookie.includes("_cookies_accepted=essential"),
|
|
563
562
|
EVAL_UK_COOKIE_CONSENT_0: () => !document.cookie.includes("catAccCookies"),
|
|
564
563
|
EVAL_USERCENTRICS_API_0: () => typeof UC_UI === "object",
|
|
565
564
|
EVAL_USERCENTRICS_API_1: () => !!UC_UI.closeCMP(),
|
|
@@ -1284,7 +1283,7 @@
|
|
|
1284
1283
|
this.waitForElement(".pm-features", 2e3).then((success) => success ? 2 : -1)
|
|
1285
1284
|
]);
|
|
1286
1285
|
if (path === 0) {
|
|
1287
|
-
await this.wait(
|
|
1286
|
+
await this.wait(1500);
|
|
1288
1287
|
return this.click(rejectSelector1);
|
|
1289
1288
|
} else if (path === 1) {
|
|
1290
1289
|
this.click(rejectSelector2);
|
|
@@ -509,6 +509,55 @@
|
|
|
509
509
|
}
|
|
510
510
|
]
|
|
511
511
|
},
|
|
512
|
+
{
|
|
513
|
+
"name": "bahn-de",
|
|
514
|
+
"vendorUrl": "https://www.bahn.de/",
|
|
515
|
+
"cosmetic": false,
|
|
516
|
+
"runContext": {
|
|
517
|
+
"main": true,
|
|
518
|
+
"frame": false,
|
|
519
|
+
"urlPattern": "^https://(www\\.)?bahn\\.de/"
|
|
520
|
+
},
|
|
521
|
+
"intermediate": false,
|
|
522
|
+
"prehideSelectors": [],
|
|
523
|
+
"detectCmp": [
|
|
524
|
+
{
|
|
525
|
+
"exists": [
|
|
526
|
+
"body > div:first-child",
|
|
527
|
+
"#consent-layer"
|
|
528
|
+
]
|
|
529
|
+
}
|
|
530
|
+
],
|
|
531
|
+
"detectPopup": [
|
|
532
|
+
{
|
|
533
|
+
"visible": [
|
|
534
|
+
"body > div:first-child",
|
|
535
|
+
"#consent-layer"
|
|
536
|
+
]
|
|
537
|
+
}
|
|
538
|
+
],
|
|
539
|
+
"optIn": [
|
|
540
|
+
{
|
|
541
|
+
"waitForThenClick": [
|
|
542
|
+
"body > div:first-child",
|
|
543
|
+
"#consent-layer .js-accept-all-cookies"
|
|
544
|
+
]
|
|
545
|
+
}
|
|
546
|
+
],
|
|
547
|
+
"optOut": [
|
|
548
|
+
{
|
|
549
|
+
"waitForThenClick": [
|
|
550
|
+
"body > div:first-child",
|
|
551
|
+
"#consent-layer .js-accept-essential-cookies"
|
|
552
|
+
]
|
|
553
|
+
}
|
|
554
|
+
],
|
|
555
|
+
"test": [
|
|
556
|
+
{
|
|
557
|
+
"eval": "EVAL_BAHN_TEST"
|
|
558
|
+
}
|
|
559
|
+
]
|
|
560
|
+
},
|
|
512
561
|
{
|
|
513
562
|
"name": "bbb.org",
|
|
514
563
|
"runContext": {
|
|
@@ -770,6 +819,38 @@
|
|
|
770
819
|
}
|
|
771
820
|
]
|
|
772
821
|
},
|
|
822
|
+
{
|
|
823
|
+
"name": "canyon.com",
|
|
824
|
+
"runContext": {
|
|
825
|
+
"urlPattern": "^https://www\\.canyon\\.com/"
|
|
826
|
+
},
|
|
827
|
+
"prehideSelectors": [
|
|
828
|
+
"div.modal.cookiesModal.is-open"
|
|
829
|
+
],
|
|
830
|
+
"detectCmp": [
|
|
831
|
+
{
|
|
832
|
+
"exists": "div.modal.cookiesModal.is-open"
|
|
833
|
+
}
|
|
834
|
+
],
|
|
835
|
+
"detectPopup": [
|
|
836
|
+
{
|
|
837
|
+
"visible": "div.modal.cookiesModal.is-open"
|
|
838
|
+
}
|
|
839
|
+
],
|
|
840
|
+
"optIn": [
|
|
841
|
+
{
|
|
842
|
+
"click": "div.cookiesModal__buttonWrapper > button[data-closecause=\"close-by-submit\"]"
|
|
843
|
+
}
|
|
844
|
+
],
|
|
845
|
+
"optOut": [
|
|
846
|
+
{
|
|
847
|
+
"click": "div.cookiesModal__buttonWrapper > button[data-closecause=\"close-by-manage-cookies\"]"
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"waitForThenClick": "button#js-manage-data-privacy-save-button"
|
|
851
|
+
}
|
|
852
|
+
]
|
|
853
|
+
},
|
|
773
854
|
{
|
|
774
855
|
"name": "cc-banner-springer",
|
|
775
856
|
"prehideSelectors": [
|
|
@@ -1144,26 +1225,42 @@
|
|
|
1144
1225
|
],
|
|
1145
1226
|
"optIn": [
|
|
1146
1227
|
{
|
|
1147
|
-
"
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1228
|
+
"any": [
|
|
1229
|
+
{
|
|
1230
|
+
"click": ".cc-accept-all"
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"click": ".cc-allow-all"
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"click": ".cc-allow"
|
|
1237
|
+
},
|
|
1238
|
+
{
|
|
1239
|
+
"click": ".cc-dismiss"
|
|
1240
|
+
}
|
|
1241
|
+
]
|
|
1157
1242
|
}
|
|
1158
1243
|
],
|
|
1159
1244
|
"optOut": [
|
|
1160
1245
|
{
|
|
1161
|
-
"
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1246
|
+
"if": {
|
|
1247
|
+
"exists": ".cc-type-categories[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss"
|
|
1248
|
+
},
|
|
1249
|
+
"then": [
|
|
1250
|
+
{
|
|
1251
|
+
"click": ".cc-dismiss"
|
|
1252
|
+
}
|
|
1253
|
+
],
|
|
1254
|
+
"else": [
|
|
1255
|
+
{
|
|
1256
|
+
"click": ".cc-type-categories input[type=checkbox]:not([disabled]):checked",
|
|
1257
|
+
"all": true,
|
|
1258
|
+
"optional": true
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"click": ".cc-save"
|
|
1262
|
+
}
|
|
1263
|
+
]
|
|
1167
1264
|
}
|
|
1168
1265
|
]
|
|
1169
1266
|
},
|
|
@@ -1175,12 +1272,12 @@
|
|
|
1175
1272
|
"cosmetic": true,
|
|
1176
1273
|
"detectCmp": [
|
|
1177
1274
|
{
|
|
1178
|
-
"exists": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"]"
|
|
1275
|
+
"exists": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-compliance .cc-btn"
|
|
1179
1276
|
}
|
|
1180
1277
|
],
|
|
1181
1278
|
"detectPopup": [
|
|
1182
1279
|
{
|
|
1183
|
-
"visible": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"]"
|
|
1280
|
+
"visible": ".cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-compliance .cc-btn"
|
|
1184
1281
|
}
|
|
1185
1282
|
],
|
|
1186
1283
|
"optIn": [
|
|
@@ -1199,23 +1296,35 @@
|
|
|
1199
1296
|
],
|
|
1200
1297
|
"optOut": [
|
|
1201
1298
|
{
|
|
1202
|
-
"
|
|
1299
|
+
"if": {
|
|
1300
|
+
"exists": ".cc-deny"
|
|
1301
|
+
},
|
|
1302
|
+
"then": [
|
|
1303
|
+
{
|
|
1304
|
+
"click": ".cc-deny"
|
|
1305
|
+
}
|
|
1306
|
+
],
|
|
1307
|
+
"else": [
|
|
1308
|
+
{
|
|
1309
|
+
"hide": "[aria-describedby=\"cookieconsent:desc\"]"
|
|
1310
|
+
}
|
|
1311
|
+
]
|
|
1203
1312
|
}
|
|
1204
1313
|
]
|
|
1205
1314
|
},
|
|
1206
1315
|
{
|
|
1207
|
-
"name": "Complianz
|
|
1316
|
+
"name": "Complianz opt-both",
|
|
1208
1317
|
"prehideSelectors": [
|
|
1209
|
-
"
|
|
1318
|
+
"[aria-describedby=\"cookieconsent:desc\"] .cc-type-opt-both"
|
|
1210
1319
|
],
|
|
1211
1320
|
"detectCmp": [
|
|
1212
1321
|
{
|
|
1213
|
-
"exists": "
|
|
1322
|
+
"exists": "[aria-describedby=\"cookieconsent:desc\"] .cc-type-opt-both"
|
|
1214
1323
|
}
|
|
1215
1324
|
],
|
|
1216
1325
|
"detectPopup": [
|
|
1217
1326
|
{
|
|
1218
|
-
"visible": "
|
|
1327
|
+
"visible": "[aria-describedby=\"cookieconsent:desc\"] .cc-type-opt-both"
|
|
1219
1328
|
}
|
|
1220
1329
|
],
|
|
1221
1330
|
"optIn": [
|
|
@@ -1234,24 +1343,78 @@
|
|
|
1234
1343
|
],
|
|
1235
1344
|
"optOut": [
|
|
1236
1345
|
{
|
|
1237
|
-
"
|
|
1238
|
-
}
|
|
1346
|
+
"waitForThenClick": ".cc-deny"
|
|
1347
|
+
}
|
|
1348
|
+
]
|
|
1349
|
+
},
|
|
1350
|
+
{
|
|
1351
|
+
"name": "Complianz optin",
|
|
1352
|
+
"prehideSelectors": [
|
|
1353
|
+
".cc-type-opt-in[aria-describedby=\"cookieconsent:desc\"]"
|
|
1354
|
+
],
|
|
1355
|
+
"detectCmp": [
|
|
1239
1356
|
{
|
|
1240
|
-
"
|
|
1241
|
-
}
|
|
1357
|
+
"exists": ".cc-type-opt-in[aria-describedby=\"cookieconsent:desc\"]"
|
|
1358
|
+
}
|
|
1359
|
+
],
|
|
1360
|
+
"detectPopup": [
|
|
1242
1361
|
{
|
|
1243
|
-
"
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1362
|
+
"visible": ".cc-type-opt-in[aria-describedby=\"cookieconsent:desc\"]"
|
|
1363
|
+
}
|
|
1364
|
+
],
|
|
1365
|
+
"optIn": [
|
|
1247
1366
|
{
|
|
1248
|
-
"
|
|
1249
|
-
|
|
1367
|
+
"any": [
|
|
1368
|
+
{
|
|
1369
|
+
"click": ".cc-accept-all"
|
|
1370
|
+
},
|
|
1371
|
+
{
|
|
1372
|
+
"click": ".cc-allow"
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
"click": ".cc-dismiss"
|
|
1376
|
+
}
|
|
1377
|
+
]
|
|
1250
1378
|
}
|
|
1251
1379
|
],
|
|
1252
|
-
"
|
|
1380
|
+
"optOut": [
|
|
1253
1381
|
{
|
|
1254
|
-
"
|
|
1382
|
+
"if": {
|
|
1383
|
+
"visible": ".cc-deny"
|
|
1384
|
+
},
|
|
1385
|
+
"then": [
|
|
1386
|
+
{
|
|
1387
|
+
"click": ".cc-deny"
|
|
1388
|
+
}
|
|
1389
|
+
],
|
|
1390
|
+
"else": [
|
|
1391
|
+
{
|
|
1392
|
+
"if": {
|
|
1393
|
+
"visible": ".cc-settings"
|
|
1394
|
+
},
|
|
1395
|
+
"then": [
|
|
1396
|
+
{
|
|
1397
|
+
"waitForThenClick": ".cc-settings"
|
|
1398
|
+
},
|
|
1399
|
+
{
|
|
1400
|
+
"waitForVisible": ".cc-settings-view"
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"click": ".cc-settings-view input[type=checkbox]:not([disabled]):checked",
|
|
1404
|
+
"all": true,
|
|
1405
|
+
"optional": true
|
|
1406
|
+
},
|
|
1407
|
+
{
|
|
1408
|
+
"click": ".cc-settings-view .cc-btn-accept-selected"
|
|
1409
|
+
}
|
|
1410
|
+
],
|
|
1411
|
+
"else": [
|
|
1412
|
+
{
|
|
1413
|
+
"click": ".cc-dismiss"
|
|
1414
|
+
}
|
|
1415
|
+
]
|
|
1416
|
+
}
|
|
1417
|
+
]
|
|
1255
1418
|
}
|
|
1256
1419
|
]
|
|
1257
1420
|
},
|
|
@@ -2116,7 +2279,7 @@
|
|
|
2116
2279
|
"waitFor": "#ez-cookie-dialog input[type=checkbox]"
|
|
2117
2280
|
},
|
|
2118
2281
|
{
|
|
2119
|
-
"click": "#ez-cookie-dialog input[type=checkbox]
|
|
2282
|
+
"click": "#ez-cookie-dialog input[type=checkbox]:checked",
|
|
2120
2283
|
"all": true
|
|
2121
2284
|
},
|
|
2122
2285
|
{
|
|
@@ -2413,6 +2576,35 @@
|
|
|
2413
2576
|
}
|
|
2414
2577
|
]
|
|
2415
2578
|
},
|
|
2579
|
+
{
|
|
2580
|
+
"name": "hetzner.com",
|
|
2581
|
+
"runContext": {
|
|
2582
|
+
"urlPattern": "^https://www\\.hetzner\\.com/"
|
|
2583
|
+
},
|
|
2584
|
+
"prehideSelectors": [
|
|
2585
|
+
"#CookieConsent"
|
|
2586
|
+
],
|
|
2587
|
+
"detectCmp": [
|
|
2588
|
+
{
|
|
2589
|
+
"exists": "#CookieConsent"
|
|
2590
|
+
}
|
|
2591
|
+
],
|
|
2592
|
+
"detectPopup": [
|
|
2593
|
+
{
|
|
2594
|
+
"visible": "#CookieConsent"
|
|
2595
|
+
}
|
|
2596
|
+
],
|
|
2597
|
+
"optIn": [
|
|
2598
|
+
{
|
|
2599
|
+
"click": "#CookieConsentGiven"
|
|
2600
|
+
}
|
|
2601
|
+
],
|
|
2602
|
+
"optOut": [
|
|
2603
|
+
{
|
|
2604
|
+
"click": "#CookieConsentDeclined"
|
|
2605
|
+
}
|
|
2606
|
+
]
|
|
2607
|
+
},
|
|
2416
2608
|
{
|
|
2417
2609
|
"name": "hl.co.uk",
|
|
2418
2610
|
"prehideSelectors": [
|
|
@@ -3558,9 +3750,8 @@
|
|
|
3558
3750
|
{
|
|
3559
3751
|
"name": "osano",
|
|
3560
3752
|
"prehideSelectors": [
|
|
3561
|
-
".osano-cm-window"
|
|
3753
|
+
".osano-cm-window,.osano-cm-dialog"
|
|
3562
3754
|
],
|
|
3563
|
-
"cosmetic": true,
|
|
3564
3755
|
"detectCmp": [
|
|
3565
3756
|
{
|
|
3566
3757
|
"exists": ".osano-cm-window"
|
|
@@ -3579,7 +3770,7 @@
|
|
|
3579
3770
|
],
|
|
3580
3771
|
"optOut": [
|
|
3581
3772
|
{
|
|
3582
|
-
"
|
|
3773
|
+
"waitForThenClick": ".osano-cm-denyAll"
|
|
3583
3774
|
}
|
|
3584
3775
|
]
|
|
3585
3776
|
},
|
|
@@ -4019,6 +4210,38 @@
|
|
|
4019
4210
|
}
|
|
4020
4211
|
]
|
|
4021
4212
|
},
|
|
4213
|
+
{
|
|
4214
|
+
"name": "rog-forum.asus.com",
|
|
4215
|
+
"runContext": {
|
|
4216
|
+
"urlPattern": "^https://rog-forum\\.asus\\.com/"
|
|
4217
|
+
},
|
|
4218
|
+
"prehideSelectors": [
|
|
4219
|
+
"#cookie-policy-info"
|
|
4220
|
+
],
|
|
4221
|
+
"detectCmp": [
|
|
4222
|
+
{
|
|
4223
|
+
"exists": "#cookie-policy-info"
|
|
4224
|
+
}
|
|
4225
|
+
],
|
|
4226
|
+
"detectPopup": [
|
|
4227
|
+
{
|
|
4228
|
+
"visible": "#cookie-policy-info"
|
|
4229
|
+
}
|
|
4230
|
+
],
|
|
4231
|
+
"optIn": [
|
|
4232
|
+
{
|
|
4233
|
+
"click": "div.cookie-btn-box > div[aria-label=\"Accept\"]"
|
|
4234
|
+
}
|
|
4235
|
+
],
|
|
4236
|
+
"optOut": [
|
|
4237
|
+
{
|
|
4238
|
+
"click": "div.cookie-btn-box > div[aria-label=\"Reject\"]"
|
|
4239
|
+
},
|
|
4240
|
+
{
|
|
4241
|
+
"waitForThenClick": ".cookie-policy-lightbox-bottom > div[aria-label=\"Save Settings\"]"
|
|
4242
|
+
}
|
|
4243
|
+
]
|
|
4244
|
+
},
|
|
4022
4245
|
{
|
|
4023
4246
|
"name": "roofingmegastore.co.uk",
|
|
4024
4247
|
"runContext": {
|
|
@@ -4261,6 +4484,39 @@
|
|
|
4261
4484
|
}
|
|
4262
4485
|
]
|
|
4263
4486
|
},
|
|
4487
|
+
{
|
|
4488
|
+
"name": "strato.de",
|
|
4489
|
+
"prehideSelectors": [
|
|
4490
|
+
"#cookie_initial_modal",
|
|
4491
|
+
".modal-backdrop"
|
|
4492
|
+
],
|
|
4493
|
+
"runContext": {
|
|
4494
|
+
"urlPattern": "^https://www\\.strato\\.de/"
|
|
4495
|
+
},
|
|
4496
|
+
"detectCmp": [
|
|
4497
|
+
{
|
|
4498
|
+
"exists": "#cookie_initial_modal"
|
|
4499
|
+
}
|
|
4500
|
+
],
|
|
4501
|
+
"detectPopup": [
|
|
4502
|
+
{
|
|
4503
|
+
"visible": "#cookie_initial_modal"
|
|
4504
|
+
}
|
|
4505
|
+
],
|
|
4506
|
+
"optIn": [
|
|
4507
|
+
{
|
|
4508
|
+
"click": "button#jss_consent_all_initial_modal"
|
|
4509
|
+
}
|
|
4510
|
+
],
|
|
4511
|
+
"optOut": [
|
|
4512
|
+
{
|
|
4513
|
+
"click": "button#jss_open_settings_modal"
|
|
4514
|
+
},
|
|
4515
|
+
{
|
|
4516
|
+
"click": "button#jss_consent_checked"
|
|
4517
|
+
}
|
|
4518
|
+
]
|
|
4519
|
+
},
|
|
4264
4520
|
{
|
|
4265
4521
|
"name": "takealot.com",
|
|
4266
4522
|
"cosmetic": true,
|
|
@@ -4697,6 +4953,61 @@
|
|
|
4697
4953
|
}
|
|
4698
4954
|
]
|
|
4699
4955
|
},
|
|
4956
|
+
{
|
|
4957
|
+
"name": "transip-nl",
|
|
4958
|
+
"runContext": {
|
|
4959
|
+
"urlPattern": "^https://www\\.transip\\.nl/"
|
|
4960
|
+
},
|
|
4961
|
+
"prehideSelectors": [
|
|
4962
|
+
"#consent-modal"
|
|
4963
|
+
],
|
|
4964
|
+
"detectCmp": [
|
|
4965
|
+
{
|
|
4966
|
+
"any": [
|
|
4967
|
+
{
|
|
4968
|
+
"exists": "#consent-modal"
|
|
4969
|
+
},
|
|
4970
|
+
{
|
|
4971
|
+
"exists": "#privacy-settings-content"
|
|
4972
|
+
}
|
|
4973
|
+
]
|
|
4974
|
+
}
|
|
4975
|
+
],
|
|
4976
|
+
"detectPopup": [
|
|
4977
|
+
{
|
|
4978
|
+
"any": [
|
|
4979
|
+
{
|
|
4980
|
+
"visible": "#consent-modal"
|
|
4981
|
+
},
|
|
4982
|
+
{
|
|
4983
|
+
"visible": "#privacy-settings-content"
|
|
4984
|
+
}
|
|
4985
|
+
]
|
|
4986
|
+
}
|
|
4987
|
+
],
|
|
4988
|
+
"optIn": [
|
|
4989
|
+
{
|
|
4990
|
+
"click": "button[type=\"submit\"]"
|
|
4991
|
+
}
|
|
4992
|
+
],
|
|
4993
|
+
"optOut": [
|
|
4994
|
+
{
|
|
4995
|
+
"if": {
|
|
4996
|
+
"exists": "#privacy-settings-content"
|
|
4997
|
+
},
|
|
4998
|
+
"then": [
|
|
4999
|
+
{
|
|
5000
|
+
"click": "button[type=\"submit\"]"
|
|
5001
|
+
}
|
|
5002
|
+
],
|
|
5003
|
+
"else": [
|
|
5004
|
+
{
|
|
5005
|
+
"click": "div.one-modal__action-footer-column--secondary > a"
|
|
5006
|
+
}
|
|
5007
|
+
]
|
|
5008
|
+
}
|
|
5009
|
+
]
|
|
5010
|
+
},
|
|
4700
5011
|
{
|
|
4701
5012
|
"name": "tropicfeel-com",
|
|
4702
5013
|
"prehideSelectors": [
|
|
@@ -4946,7 +5257,7 @@
|
|
|
4946
5257
|
{
|
|
4947
5258
|
"any": [
|
|
4948
5259
|
{
|
|
4949
|
-
"waitForThenClick": "button.
|
|
5260
|
+
"waitForThenClick": "button.js-manage"
|
|
4950
5261
|
},
|
|
4951
5262
|
{
|
|
4952
5263
|
"waitForThenClick": "xpath///*[@id=\"cookie-policy-content\"]/p[4]/button[2]"
|
|
@@ -4954,14 +5265,15 @@
|
|
|
4954
5265
|
]
|
|
4955
5266
|
},
|
|
4956
5267
|
{
|
|
4957
|
-
"waitForThenClick": ".p-switch__input:checked",
|
|
5268
|
+
"waitForThenClick": "dialog.cookie-policy .p-switch__input:checked",
|
|
4958
5269
|
"optional": true,
|
|
4959
|
-
"all": true
|
|
5270
|
+
"all": true,
|
|
5271
|
+
"timeout": 500
|
|
4960
5272
|
},
|
|
4961
5273
|
{
|
|
4962
5274
|
"any": [
|
|
4963
5275
|
{
|
|
4964
|
-
"waitForThenClick": "
|
|
5276
|
+
"waitForThenClick": "dialog.cookie-policy .js-save-preferences"
|
|
4965
5277
|
},
|
|
4966
5278
|
{
|
|
4967
5279
|
"waitForThenClick": "xpath///*[@id=\"modal\"]/div/button"
|
package/dist/autoconsent.cjs.js
CHANGED
|
@@ -505,6 +505,7 @@ var snippets = {
|
|
|
505
505
|
EVAL_ALMACMP_0: () => document.cookie.includes('"name":"Google","consent":false'),
|
|
506
506
|
EVAL_AFFINITY_SERIF_COM_0: () => document.cookie.includes("serif_manage_cookies_viewed") && !document.cookie.includes("serif_allow_analytics"),
|
|
507
507
|
EVAL_AXEPTIO_0: () => document.cookie.includes("axeptio_authorized_vendors=%2C%2C"),
|
|
508
|
+
EVAL_BAHN_TEST: () => utag.gdpr.getSelectedCategories().length === 1,
|
|
508
509
|
EVAL_BING_0: () => document.cookie.includes("AL=0") && document.cookie.includes("AD=0") && document.cookie.includes("SM=0"),
|
|
509
510
|
EVAL_BLOCKSY_0: () => document.cookie.includes("blocksy_cookies_consent_accepted=no"),
|
|
510
511
|
EVAL_BORLABS_0: () => !JSON.parse(decodeURIComponent(document.cookie.split(";").find((c) => c.indexOf("borlabs-cookie") !== -1).split("=", 2)[1])).consents.statistics,
|
|
@@ -515,8 +516,6 @@ var snippets = {
|
|
|
515
516
|
EVAL_CLINCH_0: () => document.cookie.includes("ctc_rejected=1"),
|
|
516
517
|
EVAL_COINBASE_0: () => JSON.parse(decodeURIComponent(document.cookie.match(/cm_(eu|default)_preferences=([0-9a-zA-Z\\{\\}\\[\\]%:]*);?/)[2])).consent.length <= 1,
|
|
517
518
|
EVAL_COMPLIANZ_BANNER_0: () => document.cookie.includes("cmplz_banner-status=dismissed"),
|
|
518
|
-
EVAL_COMPLIANZ_CATEGORIES_0: () => !!document.cookie.match(/cmplz_[^=]+=deny/),
|
|
519
|
-
EVAL_COMPLIANZ_OPTIN_0: () => !!document.cookie.match(/cookieconsent_preferences_disabled=[^;]+/),
|
|
520
519
|
EVAL_COOKIE_LAW_INFO_0: () => CLI.disableAllCookies() || CLI.reject_close() || true,
|
|
521
520
|
EVAL_COOKIE_LAW_INFO_1: () => document.cookie.indexOf("cookielawinfo-checkbox-non-necessary=yes") === -1,
|
|
522
521
|
EVAL_COOKIE_MANAGER_POPUP_0: () => JSON.parse(document.cookie.split(";").find((c) => c.trim().startsWith("CookieLevel")).split("=")[1]).social === false,
|
|
@@ -539,7 +538,7 @@ var snippets = {
|
|
|
539
538
|
EVAL_EU_COOKIE_COMPLIANCE_0: () => document.cookie.indexOf("cookie-agreed=2") === -1,
|
|
540
539
|
EVAL_EU_COOKIE_LAW_0: () => !document.cookie.includes("euCookie"),
|
|
541
540
|
EVAL_EZOIC_0: () => ezCMP.handleAcceptAllClick(),
|
|
542
|
-
EVAL_EZOIC_1: () => !!document.cookie.match(/
|
|
541
|
+
EVAL_EZOIC_1: () => !!document.cookie.match(/ez-consent-tcf/),
|
|
543
542
|
EVAL_GOOGLE_0: () => !!document.cookie.match(/SOCS=CAE/),
|
|
544
543
|
EVAL_HEMA_TEST_0: () => document.cookie.includes("cookies_rejected=1"),
|
|
545
544
|
EVAL_IUBENDA_0: () => document.querySelectorAll(".purposes-item input[type=checkbox]:not([disabled])").forEach((x) => {
|
|
@@ -582,7 +581,7 @@ var snippets = {
|
|
|
582
581
|
EVAL_THEFREEDICTIONARY_0: () => cmpUi.showPurposes() || cmpUi.rejectAll() || true,
|
|
583
582
|
EVAL_THEFREEDICTIONARY_1: () => cmpUi.allowAll() || true,
|
|
584
583
|
EVAL_THEVERGE_0: () => document.cookie.includes("_duet_gdpr_acknowledged=1"),
|
|
585
|
-
EVAL_UBUNTU_COM_0: () => document.cookie
|
|
584
|
+
EVAL_UBUNTU_COM_0: () => document.cookie.includes("_cookies_accepted=essential"),
|
|
586
585
|
EVAL_UK_COOKIE_CONSENT_0: () => !document.cookie.includes("catAccCookies"),
|
|
587
586
|
EVAL_USERCENTRICS_API_0: () => typeof UC_UI === "object",
|
|
588
587
|
EVAL_USERCENTRICS_API_1: () => !!UC_UI.closeCMP(),
|
|
@@ -1307,7 +1306,7 @@ var SourcePoint = class extends AutoConsentCMPBase {
|
|
|
1307
1306
|
this.waitForElement(".pm-features", 2e3).then((success) => success ? 2 : -1)
|
|
1308
1307
|
]);
|
|
1309
1308
|
if (path === 0) {
|
|
1310
|
-
await this.wait(
|
|
1309
|
+
await this.wait(1500);
|
|
1311
1310
|
return this.click(rejectSelector1);
|
|
1312
1311
|
} else if (path === 1) {
|
|
1313
1312
|
this.click(rejectSelector2);
|
package/dist/autoconsent.esm.js
CHANGED
|
@@ -480,6 +480,7 @@ var snippets = {
|
|
|
480
480
|
EVAL_ALMACMP_0: () => document.cookie.includes('"name":"Google","consent":false'),
|
|
481
481
|
EVAL_AFFINITY_SERIF_COM_0: () => document.cookie.includes("serif_manage_cookies_viewed") && !document.cookie.includes("serif_allow_analytics"),
|
|
482
482
|
EVAL_AXEPTIO_0: () => document.cookie.includes("axeptio_authorized_vendors=%2C%2C"),
|
|
483
|
+
EVAL_BAHN_TEST: () => utag.gdpr.getSelectedCategories().length === 1,
|
|
483
484
|
EVAL_BING_0: () => document.cookie.includes("AL=0") && document.cookie.includes("AD=0") && document.cookie.includes("SM=0"),
|
|
484
485
|
EVAL_BLOCKSY_0: () => document.cookie.includes("blocksy_cookies_consent_accepted=no"),
|
|
485
486
|
EVAL_BORLABS_0: () => !JSON.parse(decodeURIComponent(document.cookie.split(";").find((c) => c.indexOf("borlabs-cookie") !== -1).split("=", 2)[1])).consents.statistics,
|
|
@@ -490,8 +491,6 @@ var snippets = {
|
|
|
490
491
|
EVAL_CLINCH_0: () => document.cookie.includes("ctc_rejected=1"),
|
|
491
492
|
EVAL_COINBASE_0: () => JSON.parse(decodeURIComponent(document.cookie.match(/cm_(eu|default)_preferences=([0-9a-zA-Z\\{\\}\\[\\]%:]*);?/)[2])).consent.length <= 1,
|
|
492
493
|
EVAL_COMPLIANZ_BANNER_0: () => document.cookie.includes("cmplz_banner-status=dismissed"),
|
|
493
|
-
EVAL_COMPLIANZ_CATEGORIES_0: () => !!document.cookie.match(/cmplz_[^=]+=deny/),
|
|
494
|
-
EVAL_COMPLIANZ_OPTIN_0: () => !!document.cookie.match(/cookieconsent_preferences_disabled=[^;]+/),
|
|
495
494
|
EVAL_COOKIE_LAW_INFO_0: () => CLI.disableAllCookies() || CLI.reject_close() || true,
|
|
496
495
|
EVAL_COOKIE_LAW_INFO_1: () => document.cookie.indexOf("cookielawinfo-checkbox-non-necessary=yes") === -1,
|
|
497
496
|
EVAL_COOKIE_MANAGER_POPUP_0: () => JSON.parse(document.cookie.split(";").find((c) => c.trim().startsWith("CookieLevel")).split("=")[1]).social === false,
|
|
@@ -514,7 +513,7 @@ var snippets = {
|
|
|
514
513
|
EVAL_EU_COOKIE_COMPLIANCE_0: () => document.cookie.indexOf("cookie-agreed=2") === -1,
|
|
515
514
|
EVAL_EU_COOKIE_LAW_0: () => !document.cookie.includes("euCookie"),
|
|
516
515
|
EVAL_EZOIC_0: () => ezCMP.handleAcceptAllClick(),
|
|
517
|
-
EVAL_EZOIC_1: () => !!document.cookie.match(/
|
|
516
|
+
EVAL_EZOIC_1: () => !!document.cookie.match(/ez-consent-tcf/),
|
|
518
517
|
EVAL_GOOGLE_0: () => !!document.cookie.match(/SOCS=CAE/),
|
|
519
518
|
EVAL_HEMA_TEST_0: () => document.cookie.includes("cookies_rejected=1"),
|
|
520
519
|
EVAL_IUBENDA_0: () => document.querySelectorAll(".purposes-item input[type=checkbox]:not([disabled])").forEach((x) => {
|
|
@@ -557,7 +556,7 @@ var snippets = {
|
|
|
557
556
|
EVAL_THEFREEDICTIONARY_0: () => cmpUi.showPurposes() || cmpUi.rejectAll() || true,
|
|
558
557
|
EVAL_THEFREEDICTIONARY_1: () => cmpUi.allowAll() || true,
|
|
559
558
|
EVAL_THEVERGE_0: () => document.cookie.includes("_duet_gdpr_acknowledged=1"),
|
|
560
|
-
EVAL_UBUNTU_COM_0: () => document.cookie
|
|
559
|
+
EVAL_UBUNTU_COM_0: () => document.cookie.includes("_cookies_accepted=essential"),
|
|
561
560
|
EVAL_UK_COOKIE_CONSENT_0: () => !document.cookie.includes("catAccCookies"),
|
|
562
561
|
EVAL_USERCENTRICS_API_0: () => typeof UC_UI === "object",
|
|
563
562
|
EVAL_USERCENTRICS_API_1: () => !!UC_UI.closeCMP(),
|
|
@@ -1282,7 +1281,7 @@ var SourcePoint = class extends AutoConsentCMPBase {
|
|
|
1282
1281
|
this.waitForElement(".pm-features", 2e3).then((success) => success ? 2 : -1)
|
|
1283
1282
|
]);
|
|
1284
1283
|
if (path === 0) {
|
|
1285
|
-
await this.wait(
|
|
1284
|
+
await this.wait(1500);
|
|
1286
1285
|
return this.click(rejectSelector1);
|
|
1287
1286
|
} else if (path === 1) {
|
|
1288
1287
|
this.click(rejectSelector2);
|