@duckduckgo/autoconsent 10.13.0 → 10.14.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 +12 -0
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +94 -38
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +94 -38
- package/dist/autoconsent.playwright.js +1 -1
- package/dist/autoconsent.unit.js +94 -38
- package/package.json +1 -1
- package/rules/autoconsent/dmgmedia.json +2 -2
- package/rules/autoconsent/instagram.json +6 -6
- package/rules/autoconsent/paypal-us.json +19 -13
- package/rules/autoconsent/pinterest-business.json +28 -0
- package/rules/autoconsent/quantcast.json +12 -5
- package/rules/autoconsent/twitter.json +3 -3
- package/rules/rules.json +94 -38
- package/tests/pinterest-business.spec.ts +6 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# v10.14.0 (Wed Aug 07 2024)
|
|
2
|
+
|
|
3
|
+
#### 🚀 Enhancement
|
|
4
|
+
|
|
5
|
+
- Batch of regression fixes [#476](https://github.com/duckduckgo/autoconsent/pull/476) ([@muodov](https://github.com/muodov))
|
|
6
|
+
|
|
7
|
+
#### Authors: 1
|
|
8
|
+
|
|
9
|
+
- Maxim Tsoy ([@muodov](https://github.com/muodov))
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
1
13
|
# v10.13.0 (Thu Aug 01 2024)
|
|
2
14
|
|
|
3
15
|
#### 🚀 Enhancement
|
|
@@ -2502,12 +2502,12 @@
|
|
|
2502
2502
|
],
|
|
2503
2503
|
"detectCmp": [
|
|
2504
2504
|
{
|
|
2505
|
-
"exists": "[data-project=\"mol-fe-cmp\"]"
|
|
2505
|
+
"exists": "[data-project=\"mol-fe-cmp\"] [class*=footer]"
|
|
2506
2506
|
}
|
|
2507
2507
|
],
|
|
2508
2508
|
"detectPopup": [
|
|
2509
2509
|
{
|
|
2510
|
-
"visible": "[data-project=\"mol-fe-cmp\"]"
|
|
2510
|
+
"visible": "[data-project=\"mol-fe-cmp\"] [class*=footer]"
|
|
2511
2511
|
}
|
|
2512
2512
|
],
|
|
2513
2513
|
"optIn": [
|
|
@@ -3628,27 +3628,25 @@
|
|
|
3628
3628
|
"runContext": {
|
|
3629
3629
|
"urlPattern": "^https://www\\.instagram\\.com/"
|
|
3630
3630
|
},
|
|
3631
|
-
"prehideSelectors": [
|
|
3632
|
-
".x78zum5.xdt5ytf.xg6iff7.x1n2onr6:has(._a9--)"
|
|
3633
|
-
],
|
|
3631
|
+
"prehideSelectors": [],
|
|
3634
3632
|
"detectCmp": [
|
|
3635
3633
|
{
|
|
3636
|
-
"exists": "
|
|
3634
|
+
"exists": "xpath///span[contains(., \"Vill du tillåta användningen av cookies från Instagram i den här webbläsaren?\") or contains(., \"Allow the use of cookies from Instagram on this browser?\") or contains(., \"Povolit v prohlížeči použití souborů cookie z Instagramu?\") or contains(., \"Dopustiti upotrebu kolačića s Instagrama na ovom pregledniku?\") or contains(., \"Разрешить использование файлов cookie от Instagram в этом браузере?\") or contains(., \"Vuoi consentire l'uso dei cookie di Instagram su questo browser?\") or contains(., \"Povoliť používanie cookies zo služby Instagram v tomto prehliadači?\") or contains(., \"Die Verwendung von Cookies durch Instagram in diesem Browser erlauben?\") or contains(., \"Sallitaanko Instagramin evästeiden käyttö tällä selaimella?\") or contains(., \"Engedélyezed az Instagram cookie-jainak használatát ebben a böngészőben?\") or contains(., \"Het gebruik van cookies van Instagram toestaan in deze browser?\") or contains(., \"Bu tarayıcıda Instagram'dan çerez kullanımına izin verilsin mi?\") or contains(., \"Permitir o uso de cookies do Instagram neste navegador?\") or contains(., \"Permiţi folosirea modulelor cookie de la Instagram în acest browser?\") or contains(., \"Autoriser l’utilisation des cookies d’Instagram sur ce navigateur ?\") or contains(., \"¿Permitir el uso de cookies de Instagram en este navegador?\") or contains(., \"Zezwolić na użycie plików cookie z Instagramu w tej przeglądarce?\") or contains(., \"Να επιτρέπεται η χρήση cookies από τo Instagram σε αυτό το πρόγραμμα περιήγησης;\") or contains(., \"Разрешавате ли използването на бисквитки от Instagram на този браузър?\") or contains(., \"Vil du tillade brugen af cookies fra Instagram i denne browser?\") or contains(., \"Vil du tillate bruk av informasjonskapsler fra Instagram i denne nettleseren?\")]"
|
|
3637
3635
|
}
|
|
3638
3636
|
],
|
|
3639
3637
|
"detectPopup": [
|
|
3640
3638
|
{
|
|
3641
|
-
"visible": "
|
|
3639
|
+
"visible": "xpath///span[contains(., \"Vill du tillåta användningen av cookies från Instagram i den här webbläsaren?\") or contains(., \"Allow the use of cookies from Instagram on this browser?\") or contains(., \"Povolit v prohlížeči použití souborů cookie z Instagramu?\") or contains(., \"Dopustiti upotrebu kolačića s Instagrama na ovom pregledniku?\") or contains(., \"Разрешить использование файлов cookie от Instagram в этом браузере?\") or contains(., \"Vuoi consentire l'uso dei cookie di Instagram su questo browser?\") or contains(., \"Povoliť používanie cookies zo služby Instagram v tomto prehliadači?\") or contains(., \"Die Verwendung von Cookies durch Instagram in diesem Browser erlauben?\") or contains(., \"Sallitaanko Instagramin evästeiden käyttö tällä selaimella?\") or contains(., \"Engedélyezed az Instagram cookie-jainak használatát ebben a böngészőben?\") or contains(., \"Het gebruik van cookies van Instagram toestaan in deze browser?\") or contains(., \"Bu tarayıcıda Instagram'dan çerez kullanımına izin verilsin mi?\") or contains(., \"Permitir o uso de cookies do Instagram neste navegador?\") or contains(., \"Permiţi folosirea modulelor cookie de la Instagram în acest browser?\") or contains(., \"Autoriser l’utilisation des cookies d’Instagram sur ce navigateur ?\") or contains(., \"¿Permitir el uso de cookies de Instagram en este navegador?\") or contains(., \"Zezwolić na użycie plików cookie z Instagramu w tej przeglądarce?\") or contains(., \"Να επιτρέπεται η χρήση cookies από τo Instagram σε αυτό το πρόγραμμα περιήγησης;\") or contains(., \"Разрешавате ли използването на бисквитки от Instagram на този браузър?\") or contains(., \"Vil du tillade brugen af cookies fra Instagram i denne browser?\") or contains(., \"Vil du tillate bruk av informasjonskapsler fra Instagram i denne nettleseren?\")]"
|
|
3642
3640
|
}
|
|
3643
3641
|
],
|
|
3644
3642
|
"optIn": [
|
|
3645
3643
|
{
|
|
3646
|
-
"waitForThenClick": "
|
|
3644
|
+
"waitForThenClick": "xpath///button[contains(., 'Tillad alle cookies') or contains(., 'Alle Cookies erlauben') or contains(., 'Allow all cookies') or contains(., 'Разрешаване на всички бисквитки') or contains(., 'Tillåt alla cookies') or contains(., 'Povolit všechny soubory cookie') or contains(., 'Tüm çerezlere izin ver') or contains(., 'Permite toate modulele cookie') or contains(., 'Να επιτρέπονται όλα τα cookies') or contains(., 'Tillat alle informasjonskapsler') or contains(., 'Povoliť všetky cookies') or contains(., 'Permitir todas las cookies') or contains(., 'Permitir todos os cookies') or contains(., 'Alle cookies toestaan') or contains(., 'Salli kaikki evästeet') or contains(., 'Consenti tutti i cookie') or contains(., 'Az összes cookie engedélyezése') or contains(., 'Autoriser tous les cookies') or contains(., 'Zezwól na wszystkie pliki cookie') or contains(., 'Разрешить все cookie') or contains(., 'Dopusti sve kolačiće')]"
|
|
3647
3645
|
}
|
|
3648
3646
|
],
|
|
3649
3647
|
"optOut": [
|
|
3650
3648
|
{
|
|
3651
|
-
"waitForThenClick": "
|
|
3649
|
+
"waitForThenClick": "xpath///button[contains(., 'Отклонить необязательные файлы cookie') or contains(., 'Decline optional cookies') or contains(., 'Refuser les cookies optionnels') or contains(., 'Hylkää valinnaiset evästeet') or contains(., 'Afvis valgfrie cookies') or contains(., 'Odmietnuť nepovinné cookies') or contains(., 'Απόρριψη προαιρετικών cookies') or contains(., 'Neka valfria cookies') or contains(., 'Optionale Cookies ablehnen') or contains(., 'Rifiuta cookie facoltativi') or contains(., 'Odbij neobavezne kolačiće') or contains(., 'Avvis valgfrie informasjonskapsler') or contains(., 'İsteğe bağlı çerezleri reddet') or contains(., 'Recusar cookies opcionais') or contains(., 'Optionele cookies afwijzen') or contains(., 'Rechazar cookies opcionales') or contains(., 'Odrzuć opcjonalne pliki cookie') or contains(., 'Отхвърляне на бисквитките по избор') or contains(., 'Odmítnout volitelné soubory cookie') or contains(., 'Refuză modulele cookie opţionale') or contains(., 'A nem kötelező cookie-k elutasítása')]"
|
|
3652
3650
|
},
|
|
3653
3651
|
{
|
|
3654
3652
|
"wait": 2000
|
|
@@ -5028,24 +5026,36 @@
|
|
|
5028
5026
|
"optOut": [
|
|
5029
5027
|
{
|
|
5030
5028
|
"if": {
|
|
5031
|
-
"exists": "
|
|
5029
|
+
"exists": "#bannerDeclineButton"
|
|
5032
5030
|
},
|
|
5033
5031
|
"then": [
|
|
5034
5032
|
{
|
|
5035
|
-
"click": "
|
|
5033
|
+
"click": "#bannerDeclineButton"
|
|
5036
5034
|
}
|
|
5037
5035
|
],
|
|
5038
5036
|
"else": [
|
|
5039
5037
|
{
|
|
5040
|
-
"
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
"
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
"
|
|
5038
|
+
"if": {
|
|
5039
|
+
"exists": "a#manageCookiesLink"
|
|
5040
|
+
},
|
|
5041
|
+
"then": [
|
|
5042
|
+
{
|
|
5043
|
+
"click": "a#manageCookiesLink"
|
|
5044
|
+
}
|
|
5045
|
+
],
|
|
5046
|
+
"else": [
|
|
5047
|
+
{
|
|
5048
|
+
"waitForVisible": ".privacy-sheet-content #formContent"
|
|
5049
|
+
},
|
|
5050
|
+
{
|
|
5051
|
+
"click": "#formContent .cookiepref-11m2iee-checkbox_base input:checked",
|
|
5052
|
+
"all": true,
|
|
5053
|
+
"optional": true
|
|
5054
|
+
},
|
|
5055
|
+
{
|
|
5056
|
+
"click": ".confirmCookie #submitCookiesBtn"
|
|
5057
|
+
}
|
|
5058
|
+
]
|
|
5049
5059
|
}
|
|
5050
5060
|
]
|
|
5051
5061
|
}
|
|
@@ -5115,6 +5125,36 @@
|
|
|
5115
5125
|
}
|
|
5116
5126
|
]
|
|
5117
5127
|
},
|
|
5128
|
+
{
|
|
5129
|
+
"name": "pinterest-business",
|
|
5130
|
+
"vendorUrl": "https://business.pinterest.com/",
|
|
5131
|
+
"runContext": {
|
|
5132
|
+
"urlPattern": "^https://.*\\.pinterest\\.com/"
|
|
5133
|
+
},
|
|
5134
|
+
"prehideSelectors": [
|
|
5135
|
+
".BusinessCookieConsent"
|
|
5136
|
+
],
|
|
5137
|
+
"detectCmp": [
|
|
5138
|
+
{
|
|
5139
|
+
"exists": ".BusinessCookieConsent"
|
|
5140
|
+
}
|
|
5141
|
+
],
|
|
5142
|
+
"detectPopup": [
|
|
5143
|
+
{
|
|
5144
|
+
"visible": ".BusinessCookieConsent [data-id=cookie-consent-banner-buttons]"
|
|
5145
|
+
}
|
|
5146
|
+
],
|
|
5147
|
+
"optIn": [
|
|
5148
|
+
{
|
|
5149
|
+
"waitForThenClick": "[data-id=cookie-consent-banner-buttons] > div:nth-child(1) button"
|
|
5150
|
+
}
|
|
5151
|
+
],
|
|
5152
|
+
"optOut": [
|
|
5153
|
+
{
|
|
5154
|
+
"waitForThenClick": "[data-id=cookie-consent-banner-buttons] > div:nth-child(2) button"
|
|
5155
|
+
}
|
|
5156
|
+
]
|
|
5157
|
+
},
|
|
5118
5158
|
{
|
|
5119
5159
|
"name": "pmc",
|
|
5120
5160
|
"cosmetic": true,
|
|
@@ -5384,23 +5424,39 @@
|
|
|
5384
5424
|
],
|
|
5385
5425
|
"optOut": [
|
|
5386
5426
|
{
|
|
5387
|
-
"
|
|
5388
|
-
|
|
5389
|
-
{
|
|
5390
|
-
"waitFor": "#qc-cmp2-ui"
|
|
5391
|
-
},
|
|
5392
|
-
{
|
|
5393
|
-
"click": ".qc-cmp2-toggle-switch > button[aria-checked=\"true\"]",
|
|
5394
|
-
"all": true,
|
|
5395
|
-
"optional": true
|
|
5396
|
-
},
|
|
5397
|
-
{
|
|
5398
|
-
"click": ".qc-cmp2-main button[aria-label=\"REJECT ALL\"]",
|
|
5399
|
-
"optional": true
|
|
5427
|
+
"waitFor": ".qc-cmp2-summary-buttons > button[mode=\"secondary\"]",
|
|
5428
|
+
"timeout": 2000
|
|
5400
5429
|
},
|
|
5401
5430
|
{
|
|
5402
|
-
"
|
|
5403
|
-
|
|
5431
|
+
"if": {
|
|
5432
|
+
"exists": ".qc-cmp2-summary-buttons > button[mode=\"secondary\"]:nth-of-type(2)"
|
|
5433
|
+
},
|
|
5434
|
+
"then": [
|
|
5435
|
+
{
|
|
5436
|
+
"click": ".qc-cmp2-summary-buttons > button[mode=\"secondary\"]:nth-of-type(2)"
|
|
5437
|
+
}
|
|
5438
|
+
],
|
|
5439
|
+
"else": [
|
|
5440
|
+
{
|
|
5441
|
+
"click": ".qc-cmp2-summary-buttons > button[mode=\"secondary\"]:nth-of-type(1)"
|
|
5442
|
+
},
|
|
5443
|
+
{
|
|
5444
|
+
"waitFor": "#qc-cmp2-ui"
|
|
5445
|
+
},
|
|
5446
|
+
{
|
|
5447
|
+
"click": ".qc-cmp2-toggle-switch > button[aria-checked=\"true\"]",
|
|
5448
|
+
"all": true,
|
|
5449
|
+
"optional": true
|
|
5450
|
+
},
|
|
5451
|
+
{
|
|
5452
|
+
"click": ".qc-cmp2-main button[aria-label=\"REJECT ALL\"]",
|
|
5453
|
+
"optional": true
|
|
5454
|
+
},
|
|
5455
|
+
{
|
|
5456
|
+
"waitForThenClick": ".qc-cmp2-main button[aria-label=\"SAVE & EXIT\"],.qc-cmp2-buttons-desktop > button[mode=\"primary\"]",
|
|
5457
|
+
"timeout": 5000
|
|
5458
|
+
}
|
|
5459
|
+
]
|
|
5404
5460
|
}
|
|
5405
5461
|
],
|
|
5406
5462
|
"optIn": [
|
|
@@ -6664,7 +6720,7 @@
|
|
|
6664
6720
|
{
|
|
6665
6721
|
"name": "twitter",
|
|
6666
6722
|
"runContext": {
|
|
6667
|
-
"urlPattern": "^https://([a-z0-9-]+\\.)?twitter\\.com/"
|
|
6723
|
+
"urlPattern": "^https://([a-z0-9-]+\\.)?(twitter|x)\\.com/"
|
|
6668
6724
|
},
|
|
6669
6725
|
"prehideSelectors": [
|
|
6670
6726
|
"[data-testid=\"BottomBar\"]"
|
|
@@ -6681,12 +6737,12 @@
|
|
|
6681
6737
|
],
|
|
6682
6738
|
"optIn": [
|
|
6683
6739
|
{
|
|
6684
|
-
"waitForThenClick": "[data-testid=\"BottomBar\"] > div:has(>div:first-child>div:last-child>
|
|
6740
|
+
"waitForThenClick": "[data-testid=\"BottomBar\"] > div:has(>div:first-child>div:last-child>button[role=button]>span) > div:last-child > button[role=button]:first-child"
|
|
6685
6741
|
}
|
|
6686
6742
|
],
|
|
6687
6743
|
"optOut": [
|
|
6688
6744
|
{
|
|
6689
|
-
"waitForThenClick": "[data-testid=\"BottomBar\"] > div:has(>div:first-child>div:last-child>
|
|
6745
|
+
"waitForThenClick": "[data-testid=\"BottomBar\"] > div:has(>div:first-child>div:last-child>button[role=button]>span) > div:last-child > button[role=button]:last-child"
|
|
6690
6746
|
}
|
|
6691
6747
|
],
|
|
6692
6748
|
"TODOtest": [
|
|
@@ -2502,12 +2502,12 @@
|
|
|
2502
2502
|
],
|
|
2503
2503
|
"detectCmp": [
|
|
2504
2504
|
{
|
|
2505
|
-
"exists": "[data-project=\"mol-fe-cmp\"]"
|
|
2505
|
+
"exists": "[data-project=\"mol-fe-cmp\"] [class*=footer]"
|
|
2506
2506
|
}
|
|
2507
2507
|
],
|
|
2508
2508
|
"detectPopup": [
|
|
2509
2509
|
{
|
|
2510
|
-
"visible": "[data-project=\"mol-fe-cmp\"]"
|
|
2510
|
+
"visible": "[data-project=\"mol-fe-cmp\"] [class*=footer]"
|
|
2511
2511
|
}
|
|
2512
2512
|
],
|
|
2513
2513
|
"optIn": [
|
|
@@ -3628,27 +3628,25 @@
|
|
|
3628
3628
|
"runContext": {
|
|
3629
3629
|
"urlPattern": "^https://www\\.instagram\\.com/"
|
|
3630
3630
|
},
|
|
3631
|
-
"prehideSelectors": [
|
|
3632
|
-
".x78zum5.xdt5ytf.xg6iff7.x1n2onr6:has(._a9--)"
|
|
3633
|
-
],
|
|
3631
|
+
"prehideSelectors": [],
|
|
3634
3632
|
"detectCmp": [
|
|
3635
3633
|
{
|
|
3636
|
-
"exists": "
|
|
3634
|
+
"exists": "xpath///span[contains(., \"Vill du tillåta användningen av cookies från Instagram i den här webbläsaren?\") or contains(., \"Allow the use of cookies from Instagram on this browser?\") or contains(., \"Povolit v prohlížeči použití souborů cookie z Instagramu?\") or contains(., \"Dopustiti upotrebu kolačića s Instagrama na ovom pregledniku?\") or contains(., \"Разрешить использование файлов cookie от Instagram в этом браузере?\") or contains(., \"Vuoi consentire l'uso dei cookie di Instagram su questo browser?\") or contains(., \"Povoliť používanie cookies zo služby Instagram v tomto prehliadači?\") or contains(., \"Die Verwendung von Cookies durch Instagram in diesem Browser erlauben?\") or contains(., \"Sallitaanko Instagramin evästeiden käyttö tällä selaimella?\") or contains(., \"Engedélyezed az Instagram cookie-jainak használatát ebben a böngészőben?\") or contains(., \"Het gebruik van cookies van Instagram toestaan in deze browser?\") or contains(., \"Bu tarayıcıda Instagram'dan çerez kullanımına izin verilsin mi?\") or contains(., \"Permitir o uso de cookies do Instagram neste navegador?\") or contains(., \"Permiţi folosirea modulelor cookie de la Instagram în acest browser?\") or contains(., \"Autoriser l’utilisation des cookies d’Instagram sur ce navigateur ?\") or contains(., \"¿Permitir el uso de cookies de Instagram en este navegador?\") or contains(., \"Zezwolić na użycie plików cookie z Instagramu w tej przeglądarce?\") or contains(., \"Να επιτρέπεται η χρήση cookies από τo Instagram σε αυτό το πρόγραμμα περιήγησης;\") or contains(., \"Разрешавате ли използването на бисквитки от Instagram на този браузър?\") or contains(., \"Vil du tillade brugen af cookies fra Instagram i denne browser?\") or contains(., \"Vil du tillate bruk av informasjonskapsler fra Instagram i denne nettleseren?\")]"
|
|
3637
3635
|
}
|
|
3638
3636
|
],
|
|
3639
3637
|
"detectPopup": [
|
|
3640
3638
|
{
|
|
3641
|
-
"visible": "
|
|
3639
|
+
"visible": "xpath///span[contains(., \"Vill du tillåta användningen av cookies från Instagram i den här webbläsaren?\") or contains(., \"Allow the use of cookies from Instagram on this browser?\") or contains(., \"Povolit v prohlížeči použití souborů cookie z Instagramu?\") or contains(., \"Dopustiti upotrebu kolačića s Instagrama na ovom pregledniku?\") or contains(., \"Разрешить использование файлов cookie от Instagram в этом браузере?\") or contains(., \"Vuoi consentire l'uso dei cookie di Instagram su questo browser?\") or contains(., \"Povoliť používanie cookies zo služby Instagram v tomto prehliadači?\") or contains(., \"Die Verwendung von Cookies durch Instagram in diesem Browser erlauben?\") or contains(., \"Sallitaanko Instagramin evästeiden käyttö tällä selaimella?\") or contains(., \"Engedélyezed az Instagram cookie-jainak használatát ebben a böngészőben?\") or contains(., \"Het gebruik van cookies van Instagram toestaan in deze browser?\") or contains(., \"Bu tarayıcıda Instagram'dan çerez kullanımına izin verilsin mi?\") or contains(., \"Permitir o uso de cookies do Instagram neste navegador?\") or contains(., \"Permiţi folosirea modulelor cookie de la Instagram în acest browser?\") or contains(., \"Autoriser l’utilisation des cookies d’Instagram sur ce navigateur ?\") or contains(., \"¿Permitir el uso de cookies de Instagram en este navegador?\") or contains(., \"Zezwolić na użycie plików cookie z Instagramu w tej przeglądarce?\") or contains(., \"Να επιτρέπεται η χρήση cookies από τo Instagram σε αυτό το πρόγραμμα περιήγησης;\") or contains(., \"Разрешавате ли използването на бисквитки от Instagram на този браузър?\") or contains(., \"Vil du tillade brugen af cookies fra Instagram i denne browser?\") or contains(., \"Vil du tillate bruk av informasjonskapsler fra Instagram i denne nettleseren?\")]"
|
|
3642
3640
|
}
|
|
3643
3641
|
],
|
|
3644
3642
|
"optIn": [
|
|
3645
3643
|
{
|
|
3646
|
-
"waitForThenClick": "
|
|
3644
|
+
"waitForThenClick": "xpath///button[contains(., 'Tillad alle cookies') or contains(., 'Alle Cookies erlauben') or contains(., 'Allow all cookies') or contains(., 'Разрешаване на всички бисквитки') or contains(., 'Tillåt alla cookies') or contains(., 'Povolit všechny soubory cookie') or contains(., 'Tüm çerezlere izin ver') or contains(., 'Permite toate modulele cookie') or contains(., 'Να επιτρέπονται όλα τα cookies') or contains(., 'Tillat alle informasjonskapsler') or contains(., 'Povoliť všetky cookies') or contains(., 'Permitir todas las cookies') or contains(., 'Permitir todos os cookies') or contains(., 'Alle cookies toestaan') or contains(., 'Salli kaikki evästeet') or contains(., 'Consenti tutti i cookie') or contains(., 'Az összes cookie engedélyezése') or contains(., 'Autoriser tous les cookies') or contains(., 'Zezwól na wszystkie pliki cookie') or contains(., 'Разрешить все cookie') or contains(., 'Dopusti sve kolačiće')]"
|
|
3647
3645
|
}
|
|
3648
3646
|
],
|
|
3649
3647
|
"optOut": [
|
|
3650
3648
|
{
|
|
3651
|
-
"waitForThenClick": "
|
|
3649
|
+
"waitForThenClick": "xpath///button[contains(., 'Отклонить необязательные файлы cookie') or contains(., 'Decline optional cookies') or contains(., 'Refuser les cookies optionnels') or contains(., 'Hylkää valinnaiset evästeet') or contains(., 'Afvis valgfrie cookies') or contains(., 'Odmietnuť nepovinné cookies') or contains(., 'Απόρριψη προαιρετικών cookies') or contains(., 'Neka valfria cookies') or contains(., 'Optionale Cookies ablehnen') or contains(., 'Rifiuta cookie facoltativi') or contains(., 'Odbij neobavezne kolačiće') or contains(., 'Avvis valgfrie informasjonskapsler') or contains(., 'İsteğe bağlı çerezleri reddet') or contains(., 'Recusar cookies opcionais') or contains(., 'Optionele cookies afwijzen') or contains(., 'Rechazar cookies opcionales') or contains(., 'Odrzuć opcjonalne pliki cookie') or contains(., 'Отхвърляне на бисквитките по избор') or contains(., 'Odmítnout volitelné soubory cookie') or contains(., 'Refuză modulele cookie opţionale') or contains(., 'A nem kötelező cookie-k elutasítása')]"
|
|
3652
3650
|
},
|
|
3653
3651
|
{
|
|
3654
3652
|
"wait": 2000
|
|
@@ -5028,24 +5026,36 @@
|
|
|
5028
5026
|
"optOut": [
|
|
5029
5027
|
{
|
|
5030
5028
|
"if": {
|
|
5031
|
-
"exists": "
|
|
5029
|
+
"exists": "#bannerDeclineButton"
|
|
5032
5030
|
},
|
|
5033
5031
|
"then": [
|
|
5034
5032
|
{
|
|
5035
|
-
"click": "
|
|
5033
|
+
"click": "#bannerDeclineButton"
|
|
5036
5034
|
}
|
|
5037
5035
|
],
|
|
5038
5036
|
"else": [
|
|
5039
5037
|
{
|
|
5040
|
-
"
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
"
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
"
|
|
5038
|
+
"if": {
|
|
5039
|
+
"exists": "a#manageCookiesLink"
|
|
5040
|
+
},
|
|
5041
|
+
"then": [
|
|
5042
|
+
{
|
|
5043
|
+
"click": "a#manageCookiesLink"
|
|
5044
|
+
}
|
|
5045
|
+
],
|
|
5046
|
+
"else": [
|
|
5047
|
+
{
|
|
5048
|
+
"waitForVisible": ".privacy-sheet-content #formContent"
|
|
5049
|
+
},
|
|
5050
|
+
{
|
|
5051
|
+
"click": "#formContent .cookiepref-11m2iee-checkbox_base input:checked",
|
|
5052
|
+
"all": true,
|
|
5053
|
+
"optional": true
|
|
5054
|
+
},
|
|
5055
|
+
{
|
|
5056
|
+
"click": ".confirmCookie #submitCookiesBtn"
|
|
5057
|
+
}
|
|
5058
|
+
]
|
|
5049
5059
|
}
|
|
5050
5060
|
]
|
|
5051
5061
|
}
|
|
@@ -5115,6 +5125,36 @@
|
|
|
5115
5125
|
}
|
|
5116
5126
|
]
|
|
5117
5127
|
},
|
|
5128
|
+
{
|
|
5129
|
+
"name": "pinterest-business",
|
|
5130
|
+
"vendorUrl": "https://business.pinterest.com/",
|
|
5131
|
+
"runContext": {
|
|
5132
|
+
"urlPattern": "^https://.*\\.pinterest\\.com/"
|
|
5133
|
+
},
|
|
5134
|
+
"prehideSelectors": [
|
|
5135
|
+
".BusinessCookieConsent"
|
|
5136
|
+
],
|
|
5137
|
+
"detectCmp": [
|
|
5138
|
+
{
|
|
5139
|
+
"exists": ".BusinessCookieConsent"
|
|
5140
|
+
}
|
|
5141
|
+
],
|
|
5142
|
+
"detectPopup": [
|
|
5143
|
+
{
|
|
5144
|
+
"visible": ".BusinessCookieConsent [data-id=cookie-consent-banner-buttons]"
|
|
5145
|
+
}
|
|
5146
|
+
],
|
|
5147
|
+
"optIn": [
|
|
5148
|
+
{
|
|
5149
|
+
"waitForThenClick": "[data-id=cookie-consent-banner-buttons] > div:nth-child(1) button"
|
|
5150
|
+
}
|
|
5151
|
+
],
|
|
5152
|
+
"optOut": [
|
|
5153
|
+
{
|
|
5154
|
+
"waitForThenClick": "[data-id=cookie-consent-banner-buttons] > div:nth-child(2) button"
|
|
5155
|
+
}
|
|
5156
|
+
]
|
|
5157
|
+
},
|
|
5118
5158
|
{
|
|
5119
5159
|
"name": "pmc",
|
|
5120
5160
|
"cosmetic": true,
|
|
@@ -5384,23 +5424,39 @@
|
|
|
5384
5424
|
],
|
|
5385
5425
|
"optOut": [
|
|
5386
5426
|
{
|
|
5387
|
-
"
|
|
5388
|
-
|
|
5389
|
-
{
|
|
5390
|
-
"waitFor": "#qc-cmp2-ui"
|
|
5391
|
-
},
|
|
5392
|
-
{
|
|
5393
|
-
"click": ".qc-cmp2-toggle-switch > button[aria-checked=\"true\"]",
|
|
5394
|
-
"all": true,
|
|
5395
|
-
"optional": true
|
|
5396
|
-
},
|
|
5397
|
-
{
|
|
5398
|
-
"click": ".qc-cmp2-main button[aria-label=\"REJECT ALL\"]",
|
|
5399
|
-
"optional": true
|
|
5427
|
+
"waitFor": ".qc-cmp2-summary-buttons > button[mode=\"secondary\"]",
|
|
5428
|
+
"timeout": 2000
|
|
5400
5429
|
},
|
|
5401
5430
|
{
|
|
5402
|
-
"
|
|
5403
|
-
|
|
5431
|
+
"if": {
|
|
5432
|
+
"exists": ".qc-cmp2-summary-buttons > button[mode=\"secondary\"]:nth-of-type(2)"
|
|
5433
|
+
},
|
|
5434
|
+
"then": [
|
|
5435
|
+
{
|
|
5436
|
+
"click": ".qc-cmp2-summary-buttons > button[mode=\"secondary\"]:nth-of-type(2)"
|
|
5437
|
+
}
|
|
5438
|
+
],
|
|
5439
|
+
"else": [
|
|
5440
|
+
{
|
|
5441
|
+
"click": ".qc-cmp2-summary-buttons > button[mode=\"secondary\"]:nth-of-type(1)"
|
|
5442
|
+
},
|
|
5443
|
+
{
|
|
5444
|
+
"waitFor": "#qc-cmp2-ui"
|
|
5445
|
+
},
|
|
5446
|
+
{
|
|
5447
|
+
"click": ".qc-cmp2-toggle-switch > button[aria-checked=\"true\"]",
|
|
5448
|
+
"all": true,
|
|
5449
|
+
"optional": true
|
|
5450
|
+
},
|
|
5451
|
+
{
|
|
5452
|
+
"click": ".qc-cmp2-main button[aria-label=\"REJECT ALL\"]",
|
|
5453
|
+
"optional": true
|
|
5454
|
+
},
|
|
5455
|
+
{
|
|
5456
|
+
"waitForThenClick": ".qc-cmp2-main button[aria-label=\"SAVE & EXIT\"],.qc-cmp2-buttons-desktop > button[mode=\"primary\"]",
|
|
5457
|
+
"timeout": 5000
|
|
5458
|
+
}
|
|
5459
|
+
]
|
|
5404
5460
|
}
|
|
5405
5461
|
],
|
|
5406
5462
|
"optIn": [
|
|
@@ -6664,7 +6720,7 @@
|
|
|
6664
6720
|
{
|
|
6665
6721
|
"name": "twitter",
|
|
6666
6722
|
"runContext": {
|
|
6667
|
-
"urlPattern": "^https://([a-z0-9-]+\\.)?twitter\\.com/"
|
|
6723
|
+
"urlPattern": "^https://([a-z0-9-]+\\.)?(twitter|x)\\.com/"
|
|
6668
6724
|
},
|
|
6669
6725
|
"prehideSelectors": [
|
|
6670
6726
|
"[data-testid=\"BottomBar\"]"
|
|
@@ -6681,12 +6737,12 @@
|
|
|
6681
6737
|
],
|
|
6682
6738
|
"optIn": [
|
|
6683
6739
|
{
|
|
6684
|
-
"waitForThenClick": "[data-testid=\"BottomBar\"] > div:has(>div:first-child>div:last-child>
|
|
6740
|
+
"waitForThenClick": "[data-testid=\"BottomBar\"] > div:has(>div:first-child>div:last-child>button[role=button]>span) > div:last-child > button[role=button]:first-child"
|
|
6685
6741
|
}
|
|
6686
6742
|
],
|
|
6687
6743
|
"optOut": [
|
|
6688
6744
|
{
|
|
6689
|
-
"waitForThenClick": "[data-testid=\"BottomBar\"] > div:has(>div:first-child>div:last-child>
|
|
6745
|
+
"waitForThenClick": "[data-testid=\"BottomBar\"] > div:has(>div:first-child>div:last-child>button[role=button]>span) > div:last-child > button[role=button]:last-child"
|
|
6690
6746
|
}
|
|
6691
6747
|
],
|
|
6692
6748
|
"TODOtest": [
|