@duckduckgo/autoconsent 16.58.0 → 16.60.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/.agents/lib/regional-testing/harness.mjs +4 -172
- package/.agents/skills/oxylabs-testing/SKILL.md +4 -4
- package/.agents/skills/oxylabs-testing/scripts/oxylabs.mjs +17 -164
- package/.agents/skills/oxylabs-testing/scripts/oxylabs.test.mjs +6 -3
- package/.agents/skills/verify-pr/SKILL.md +1 -1
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +176 -0
- package/Jenkinsfile +36 -1
- package/dist/addon-firefox/background.bundle.js +22 -1
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +253 -93
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/popup.bundle.js +1 -1
- package/dist/addon-firefox/rule-index.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +22 -1
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +253 -93
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/popup.bundle.js +1 -1
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +253 -93
- package/dist/autoconsent.esm.js +253 -93
- package/dist/autoconsent.playwright.js +253 -93
- package/dist/autoconsent.standalone.js +254 -94
- package/dist/heuristics.cjs.js +29 -3
- package/dist/heuristics.mjs +28 -3
- package/dist/types/cmps/onetrust.d.ts +1 -0
- package/dist/types/eval-snippets.d.ts +3 -0
- package/dist/types/heuristic-classify.d.ts +1 -0
- package/dist/types/heuristics.d.ts +10 -1
- package/lib/cmps/onetrust.ts +15 -0
- package/lib/eval-snippets.ts +21 -0
- package/lib/heuristic-classify.ts +6 -0
- package/lib/heuristic-patterns.ts +26 -1
- package/lib/heuristics.ts +256 -104
- package/package.json +4 -6
- package/playwright/isolated-world.mjs +217 -0
- package/playwright/oxylabs.mjs +196 -0
- package/playwright/runner.ts +183 -39
- package/playwright.config.ts +4 -1
- package/rules/autoconsent/123inkt.json +9 -0
- package/rules/autoconsent/aeolservice.json +39 -0
- package/rules/autoconsent/amazon-music.json +13 -0
- package/rules/autoconsent/animatetimes.json +34 -0
- package/rules/autoconsent/annunci69.json +19 -0
- package/rules/autoconsent/arbeidsplassen-nav-no.json +33 -0
- package/rules/autoconsent/asahi-interactive.json +30 -0
- package/rules/autoconsent/att.json +36 -0
- package/rules/autoconsent/auctionet.json +39 -0
- package/rules/autoconsent/autodoc.json +18 -0
- package/rules/autoconsent/avada-privacy-bar-cosmetic.json +28 -0
- package/rules/autoconsent/avada-privacy-bar.json +70 -0
- package/rules/autoconsent/axesor.json +13 -0
- package/rules/autoconsent/bbc.com-orb-cosmetic.json +34 -0
- package/rules/autoconsent/bbc.com.json +8 -5
- package/rules/autoconsent/blitzrechner.json +16 -0
- package/rules/autoconsent/bokadirekt.se.json +50 -0
- package/rules/autoconsent/bouvet-cookiepanel.json +29 -0
- package/rules/autoconsent/brainsum-cookieconsent.json +25 -0
- package/rules/autoconsent/bwr-cookie.json +13 -0
- package/rules/autoconsent/capitalone-ca.json +13 -0
- package/rules/autoconsent/carpetaciudadana.json +51 -0
- package/rules/autoconsent/cf-gdpr-cookie-consent.json +23 -0
- package/rules/autoconsent/chatgpt.json +3 -3
- package/rules/autoconsent/cksmodal.json +9 -0
- package/rules/autoconsent/consent-studio.json +41 -0
- package/rules/autoconsent/cookie-popup-cookieno.json +29 -0
- package/rules/autoconsent/cookie-popup-cookieok.json +25 -0
- package/rules/autoconsent/cookielegit.json +21 -0
- package/rules/autoconsent/cookieman.json +23 -4
- package/rules/autoconsent/cookieprompter.json +21 -0
- package/rules/autoconsent/cookiereports.json +10 -0
- package/rules/autoconsent/cookietractor.json +37 -0
- package/rules/autoconsent/danskebank.json +17 -0
- package/rules/autoconsent/de-volksbank.json +14 -0
- package/rules/autoconsent/dintel.json +13 -0
- package/rules/autoconsent/dpgmedia-nl.json +20 -8
- package/rules/autoconsent/e-grip.json +63 -0
- package/rules/autoconsent/eccmm.json +30 -0
- package/rules/autoconsent/england-nhs-uk.json +18 -0
- package/rules/autoconsent/eon.pl.json +18 -0
- package/rules/autoconsent/erdee-media.json +24 -0
- package/rules/autoconsent/eroticiracconti-it.json +13 -0
- package/rules/autoconsent/ersatzteile-24.json +49 -0
- package/rules/autoconsent/escorteintime.json +15 -0
- package/rules/autoconsent/gays-cruising.json +18 -0
- package/rules/autoconsent/gov-pl-cookies-info.json +28 -0
- package/rules/autoconsent/gravito.json +23 -16
- package/rules/autoconsent/grupa-pracuj.json +73 -0
- package/rules/autoconsent/grupa-rmf.json +21 -0
- package/rules/autoconsent/gsb-cookiebanner-selection.json +12 -0
- package/rules/autoconsent/gwo.json +53 -0
- package/rules/autoconsent/hacon-next-gen.json +41 -0
- package/rules/autoconsent/hsbc-au.json +35 -0
- package/rules/autoconsent/ign-es.json +35 -0
- package/rules/autoconsent/impress-co-jp.json +10 -0
- package/rules/autoconsent/ing-de.json +31 -0
- package/rules/autoconsent/interia.json +1 -4
- package/rules/autoconsent/intesasanpaolo.json +37 -0
- package/rules/autoconsent/iworks-footer-notice.json +19 -0
- package/rules/autoconsent/jobindex.json +40 -0
- package/rules/autoconsent/juzaphoto.json +13 -0
- package/rules/autoconsent/kaspersky-cookies-notification.json +9 -0
- package/rules/autoconsent/lantmateriet.json +13 -0
- package/rules/autoconsent/leukhuis-nl.json +35 -0
- package/rules/autoconsent/lg-cookiecontrol.json +16 -0
- package/rules/autoconsent/libris.nl.json +19 -0
- package/rules/autoconsent/lineagrafica-reject.json +32 -0
- package/rules/autoconsent/mainichi.json +39 -0
- package/rules/autoconsent/mango.json +56 -0
- package/rules/autoconsent/matemaks.json +29 -0
- package/rules/autoconsent/merito.pl.json +44 -0
- package/rules/autoconsent/minitool.json +31 -0
- package/rules/autoconsent/miteco.json +41 -0
- package/rules/autoconsent/mobile-de.json +13 -0
- package/rules/autoconsent/mq-edu-au.json +26 -0
- package/rules/autoconsent/nederlandseloterij.json +35 -0
- package/rules/autoconsent/nordea.json +21 -0
- package/rules/autoconsent/nordnet.json +33 -0
- package/rules/autoconsent/nowaera.json +44 -0
- package/rules/autoconsent/ok.json +4 -12
- package/rules/autoconsent/olvg.json +45 -0
- package/rules/autoconsent/onlineradiobox.json +35 -0
- package/rules/autoconsent/optyczne-pl.json +28 -0
- package/rules/autoconsent/orbys.json +35 -0
- package/rules/autoconsent/payfip.json +36 -0
- package/rules/autoconsent/pdf24.json +48 -0
- package/rules/autoconsent/pe-cookies.json +30 -0
- package/rules/autoconsent/pekao24.json +33 -0
- package/rules/autoconsent/pensionsmyndigheten.json +13 -0
- package/rules/autoconsent/praca-pl.json +17 -0
- package/rules/autoconsent/pro-euclp-cookies-box.json +31 -0
- package/rules/autoconsent/pubfactory.json +45 -0
- package/rules/autoconsent/puesc-gov-pl.json +37 -0
- package/rules/autoconsent/rambler.json +30 -0
- package/rules/autoconsent/rejestr-io.json +36 -0
- package/rules/autoconsent/remove-cookie-notice.json +18 -0
- package/rules/autoconsent/rijksoverheid-notification-bar.json +34 -0
- package/rules/autoconsent/route-inn.json +13 -0
- package/rules/autoconsent/schumacher.com.json +53 -0
- package/rules/autoconsent/sedlak-gdpr-cookie.json +10 -0
- package/rules/autoconsent/seniorweb.json +42 -0
- package/rules/autoconsent/shouldianswer.json +14 -0
- package/rules/autoconsent/shueisha-gigaviewer.json +10 -0
- package/rules/autoconsent/sitevision.json +18 -1
- package/rules/autoconsent/skatteverket-se.json +33 -0
- package/rules/autoconsent/smile-insurances.json +13 -0
- package/rules/autoconsent/snb.ch.json +18 -0
- package/rules/autoconsent/sujetdebac.fr.json +10 -0
- package/rules/autoconsent/svt.se.json +7 -7
- package/rules/autoconsent/swisscom-ecare.json +31 -0
- package/rules/autoconsent/telegram-im.json +36 -0
- package/rules/autoconsent/temu.json +12 -16
- package/rules/autoconsent/thecode.json +21 -0
- package/rules/autoconsent/thomsonlocal.com.json +10 -0
- package/rules/autoconsent/todostuslibros.json +51 -0
- package/rules/autoconsent/turkishairlines.com.json +33 -0
- package/rules/autoconsent/uk-parliament.json +19 -0
- package/rules/autoconsent/usherbrooke.json +16 -0
- package/rules/autoconsent/vdg-cookies.json +36 -0
- package/rules/autoconsent/warszawa19115.pl.json +52 -0
- package/rules/autoconsent/wirtualna-polska.json +41 -0
- package/rules/autoconsent/wojsko-polskie-pl.json +28 -0
- package/rules/autoconsent/xenforo-cookie-consent.json +62 -0
- package/rules/autoconsent/xtb.json +18 -0
- package/rules/autoconsent/zorginstituut-cookiewarning.json +33 -0
- package/rules/autoconsent/zurich-cookies-notification-banner.json +17 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/123inkt.spec.ts +5 -0
- package/tests/aeolservice.spec.ts +5 -0
- package/tests/amazon-music.spec.ts +9 -0
- package/tests/animatetimes.spec.ts +3 -0
- package/tests/annunci69.spec.ts +5 -0
- package/tests/arbeidsplassen-nav-no.spec.ts +3 -0
- package/tests/asahi-interactive.spec.ts +6 -0
- package/tests/att.spec.ts +3 -0
- package/tests/auctionet.spec.ts +3 -0
- package/tests/autodoc.spec.ts +8 -0
- package/tests/avada-privacy-bar-cosmetic.spec.ts +3 -0
- package/tests/avada-privacy-bar.spec.ts +12 -0
- package/tests/axesor.spec.ts +3 -0
- package/tests/bbc.com-orb-cosmetic.spec.ts +8 -0
- package/tests/bbc.com.spec.ts +11 -9
- package/tests/blitzrechner.spec.ts +3 -0
- package/tests/bokadirekt.se.spec.ts +3 -0
- package/tests/bouvet-cookiepanel.spec.ts +9 -0
- package/tests/brainsum-cookieconsent.spec.ts +9 -0
- package/tests/bwr-cookie.spec.ts +3 -0
- package/tests/capitalone-ca.spec.ts +3 -0
- package/tests/carpetaciudadana.spec.ts +6 -0
- package/tests/cf-gdpr-cookie-consent.spec.ts +3 -0
- package/tests/chatgpt.spec.ts +3 -1
- package/tests/cksmodal.spec.ts +3 -0
- package/tests/consent-studio.spec.ts +15 -0
- package/tests/cookie-popup-cookieno.spec.ts +8 -0
- package/tests/cookie-popup-cookieok.spec.ts +9 -0
- package/tests/cookiebot.spec.ts +1 -0
- package/tests/cookielegit.spec.ts +3 -0
- package/tests/cookieman.spec.ts +1 -0
- package/tests/cookieprompter.spec.ts +9 -0
- package/tests/cookiereports.spec.ts +13 -0
- package/tests/cookietractor.spec.ts +12 -0
- package/tests/danskebank.spec.ts +12 -0
- package/tests/de-volksbank.spec.ts +5 -0
- package/tests/dintel.spec.ts +10 -0
- package/tests/dpgmedia-nl.spec.ts +15 -1
- package/tests/e-grip.spec.ts +8 -0
- package/tests/eccmm.spec.ts +6 -0
- package/tests/england-nhs-uk.spec.ts +3 -0
- package/tests/eon.pl.spec.ts +3 -0
- package/tests/erdee-media.spec.ts +3 -0
- package/tests/eroticiracconti-it.spec.ts +3 -0
- package/tests/ersatzteile-24.spec.ts +6 -0
- package/tests/escorteintime.spec.ts +3 -0
- package/tests/gays-cruising.spec.ts +3 -0
- package/tests/gov-pl-cookies-info.spec.ts +3 -0
- package/tests/gravito.spec.ts +7 -1
- package/tests/grupa-pracuj.spec.ts +8 -0
- package/tests/grupa-rmf.spec.ts +5 -0
- package/tests/gsb-cookiebanner-selection.spec.ts +7 -0
- package/tests/gwo.spec.ts +6 -0
- package/tests/hacon-next-gen.spec.ts +6 -0
- package/tests/hsbc-au.spec.ts +6 -0
- package/tests/ign-es.spec.ts +3 -0
- package/tests/impress-co-jp.spec.ts +8 -0
- package/tests/ing-de.spec.ts +3 -0
- package/tests/interia.spec.ts +1 -1
- package/tests/intesasanpaolo.spec.ts +3 -0
- package/tests/iworks-footer-notice.spec.ts +3 -0
- package/tests/jobindex.spec.ts +3 -0
- package/tests/juzaphoto.spec.ts +7 -0
- package/tests/kaspersky-cookies-notification.spec.ts +8 -0
- package/tests/lantmateriet.spec.ts +3 -0
- package/tests/leukhuis-nl.spec.ts +3 -0
- package/tests/lg-cookiecontrol.spec.ts +10 -0
- package/tests/libris.nl.spec.ts +3 -0
- package/tests/lineagrafica-reject.spec.ts +8 -0
- package/tests/mainichi.spec.ts +10 -0
- package/tests/mango.spec.ts +3 -0
- package/tests/matemaks.spec.ts +3 -0
- package/tests/merito.pl.spec.ts +3 -0
- package/tests/minitool.spec.ts +8 -0
- package/tests/miteco.spec.ts +8 -0
- package/tests/mobile-de.spec.ts +3 -0
- package/tests/mq-edu-au.spec.ts +3 -0
- package/tests/nederlandseloterij.spec.ts +9 -0
- package/tests/nordea.spec.ts +6 -0
- package/tests/nordnet.spec.ts +8 -0
- package/tests/nowaera.spec.ts +3 -0
- package/tests/olvg.spec.ts +6 -0
- package/tests/onlineradiobox.spec.ts +5 -0
- package/tests/optyczne-pl.spec.ts +3 -0
- package/tests/orbys.spec.ts +3 -0
- package/tests/payfip.spec.ts +3 -0
- package/tests/pdf24.spec.ts +3 -0
- package/tests/pe-cookies.spec.ts +6 -0
- package/tests/pekao24.spec.ts +3 -0
- package/tests/pensionsmyndigheten.spec.ts +3 -0
- package/tests/praca-pl.spec.ts +3 -0
- package/tests/pro-euclp-cookies-box.spec.ts +8 -0
- package/tests/pubfactory.spec.ts +10 -0
- package/tests/puesc-gov-pl.spec.ts +3 -0
- package/tests/rambler.spec.ts +3 -0
- package/tests/rejestr-io.spec.ts +3 -0
- package/tests/remove-cookie-notice.spec.ts +3 -0
- package/tests/rijksoverheid-notification-bar.spec.ts +3 -0
- package/tests/route-inn.spec.ts +3 -0
- package/tests/schumacher.com.spec.ts +6 -0
- package/tests/sedlak-gdpr-cookie.spec.ts +6 -0
- package/tests/seniorweb.spec.ts +3 -0
- package/tests/shouldianswer.spec.ts +8 -0
- package/tests/shueisha-gigaviewer.spec.ts +3 -0
- package/tests/sitevision-cookie-consent.spec.ts +1 -0
- package/tests/sitevision.spec.ts +7 -0
- package/tests/skatteverket-se.spec.ts +3 -0
- package/tests/smile-insurances.spec.ts +6 -0
- package/tests/snb.ch.spec.ts +3 -0
- package/tests/sujetdebac.fr.spec.ts +3 -0
- package/tests/svt.se.spec.ts +1 -3
- package/tests/swisscom-ecare.spec.ts +7 -0
- package/tests/telegram-im.spec.ts +6 -0
- package/tests/temu.spec.ts +3 -1
- package/tests/thecode.spec.ts +3 -0
- package/tests/thomsonlocal.com.spec.ts +3 -0
- package/tests/todostuslibros.spec.ts +3 -0
- package/tests/turkishairlines.com.spec.ts +3 -0
- package/tests/uk-parliament.spec.ts +8 -0
- package/tests/usherbrooke.spec.ts +6 -0
- package/tests/vdg-cookies.spec.ts +8 -0
- package/tests/warszawa19115.pl.spec.ts +3 -0
- package/tests/wirtualna-polska.spec.ts +8 -0
- package/tests/wojsko-polskie-pl.spec.ts +3 -0
- package/tests/xenforo-cookie-consent.spec.ts +6 -0
- package/tests/xtb.spec.ts +3 -0
- package/tests/zorginstituut-cookiewarning.spec.ts +10 -0
- package/tests/zurich-cookies-notification-banner.spec.ts +3 -0
- package/tests-wtr/heuristics/get-potential-popups.test.ts +330 -9
- package/tests-wtr/heuristics/heuristics-utils.test.ts +98 -0
- package/rules/autoconsent/twitter.json +0 -34
- package/rules/generated/auto_CH_autodoc.de_krd.json +0 -40
- package/rules/generated/auto_CH_svtplay.se_d39.json +0 -40
- package/rules/generated/auto_GB_parliamentlive.tv_r3v.json +0 -28
- package/rules/generated/auto_NL_asnbank.nl_e28.json +0 -40
- package/rules/generated/auto_NL_eurojackpot.nederlandseloterij.nl_7hr.json +0 -40
- package/rules/generated/auto_NL_lotto.nederlandseloterij.nl_7c8.json +0 -40
- package/rules/generated/auto_NL_nederlandseloterij.nl_b60.json +0 -40
- package/rules/generated/auto_NL_staatsloterij.nederlandseloterij.nl_197.json +0 -40
- package/rules/generated/auto_NO_arronet.se_vo5.json +0 -40
- package/rules/generated/auto_NO_liseberg.se_qy4.json +0 -40
- package/rules/generated/auto_NO_nordnet.se_2en.json +0 -40
- package/rules/generated/auto_NO_regeringen.se_uhv.json +0 -40
- package/rules/generated/auto_NO_svtplay.se_ujn.json +0 -40
- package/rules/generated/auto_NO_uu.se_eea.json +0 -40
- package/tests/generated/auto_CH_autodoc.de_krd.spec.ts +0 -2
- package/tests/generated/auto_CH_svtplay.se_d39.spec.ts +0 -2
- package/tests/generated/auto_GB_parliamentlive.tv_r3v.spec.ts +0 -6
- package/tests/generated/auto_NL_asnbank.nl_e28.spec.ts +0 -6
- package/tests/generated/auto_NL_eurojackpot.nederlandseloterij.nl_7hr.spec.ts +0 -6
- package/tests/generated/auto_NL_lotto.nederlandseloterij.nl_7c8.spec.ts +0 -6
- package/tests/generated/auto_NL_nederlandseloterij.nl_b60.spec.ts +0 -6
- package/tests/generated/auto_NL_staatsloterij.nederlandseloterij.nl_197.spec.ts +0 -6
- package/tests/generated/auto_NO_arronet.se_vo5.spec.ts +0 -2
- package/tests/generated/auto_NO_liseberg.se_qy4.spec.ts +0 -2
- package/tests/generated/auto_NO_nordnet.se_2en.spec.ts +0 -2
- package/tests/generated/auto_NO_regeringen.se_uhv.spec.ts +0 -6
- package/tests/generated/auto_NO_svtplay.se_ujn.spec.ts +0 -2
- package/tests/generated/auto_NO_uu.se_eea.spec.ts +0 -2
- package/tests/twitter.spec.ts +0 -10
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pubfactory",
|
|
3
|
+
"vendorUrl": "https://www.pubfactory.com/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": ["#euCookiesZone .european-union-cookies-agreement"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#euCookiesZone .european-union-cookies-agreement"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#euCookiesZone .european-union-cookies-agreement"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitFor": "body[data-page-initialized=true]",
|
|
19
|
+
"timeout": 20000,
|
|
20
|
+
"optional": true
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": "#euCookiesZone [data-testid=cookieBannerDismiss]"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"optOut": [
|
|
27
|
+
{
|
|
28
|
+
"waitFor": "body[data-page-initialized=true]",
|
|
29
|
+
"timeout": 20000,
|
|
30
|
+
"optional": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"waitForThenClick": "#euCookiesZone [data-testid=cookieBannerDismiss]"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"waitForVisible": "#euCookiesZone .european-union-cookies-agreement",
|
|
37
|
+
"check": "none"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"test": [
|
|
41
|
+
{
|
|
42
|
+
"cookieContains": "EUCookieOff=t"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "puesc-gov-pl",
|
|
3
|
+
"vendorUrl": "https://puesc.gov.pl/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?puesc\\.gov\\.pl/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookies .cookies__container"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".cookies .cookies__close button.cookies__button"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".cookies .cookies__close button.cookies__button"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".cookies .cookies__close button.cookies__button",
|
|
21
|
+
"retry": 3,
|
|
22
|
+
"retryInterval": 500
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": ".cookies .cookies__close button.cookies__button",
|
|
28
|
+
"retry": 3,
|
|
29
|
+
"retryInterval": 500
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"test": [
|
|
33
|
+
{
|
|
34
|
+
"cookieContains": "cookieAgreements=true"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rambler",
|
|
3
|
+
"vendorUrl": "https://www.rambler.ru/",
|
|
4
|
+
"prehideSelectors": ["#cookie-policy-notification.r-sdk__policy-notification"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookie-policy-notification.r-sdk__policy-notification"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#cookie-policy-notification.r-sdk__policy-notification"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#cookie-policy-notification .r-sdk__button"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#cookie-policy-notification .r-sdk__button"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "terms-notification=true"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rejestr.io",
|
|
3
|
+
"vendorUrl": "https://rejestr.io/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?rejestr\\.io/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#footer > .container > .d-flex > button.btn-outline-primary"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "#footer > .container > .d-flex > button.btn-outline-primary"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#footer > .container > .d-flex > button.btn-outline-primary"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": "#footer > .container > .d-flex > button.btn-outline-primary"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"waitForVisible": "#footer > .container > .d-flex > button.btn-outline-primary",
|
|
32
|
+
"timeout": 1000,
|
|
33
|
+
"check": "none"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "remove-cookie-notice",
|
|
3
|
+
"prehideSelectors": ["#cookie:has(a.remove_cookie[onclick*=\"/cookie/close\"])"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": "xpath///div[@id='cookie']//a[contains(@class,'remove_cookie') and contains(@onclick,'/cookie/close') and (normalize-space(.)='OK' or normalize-space(.)='x' or normalize-space(.)='×')]"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [{ "visible": "#cookie a.remove_cookie[onclick*=\"/cookie/close\"]" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#cookie a.remove_cookie[onclick*=\"/cookie/close\"]" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{
|
|
13
|
+
"waitForThenClick": "xpath///div[@id='cookie']//a[contains(@class,'remove_cookie') and contains(@onclick,'/cookie/close') and (normalize-space(.)='OK' or normalize-space(.)='x' or normalize-space(.)='×')]"
|
|
14
|
+
},
|
|
15
|
+
{ "waitForVisible": "#cookie", "check": "none", "timeout": 2000 }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "visible": "#cookie", "check": "none" }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rijksoverheid-notification-bar",
|
|
3
|
+
"cosmetic": false,
|
|
4
|
+
"runContext": {
|
|
5
|
+
"main": true,
|
|
6
|
+
"frame": false
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#notification-bar:has(> #close-notification[aria-label=\"Sluit de cookiebanner\"])"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#notification-bar > #close-notification[aria-label=\"Sluit de cookiebanner\"]"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "#notification-bar"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#notification-bar > #close-notification"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": "#notification-bar > #close-notification"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"cookieContains": "cookie_notification_shown=true"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "route-inn",
|
|
3
|
+
"vendorUrl": "https://www.route-inn.co.jp/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?(route-inn|ark-hotel)\\.co\\.jp/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookie-consent"],
|
|
8
|
+
"detectCmp": [{ "exists": ".cookie-consent .cookie-close" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".cookie-consent.is-show .cookie-close" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".cookie-consent .cookie-agree" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": ".cookie-consent .cookie-close" }],
|
|
12
|
+
"test": [{ "cookieContains": "cookie=true" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "schumacher.com",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?schumacher\\.com/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "xpath///div[contains(@class, 'MuiBackdrop-root')][.//h1[contains(., 'Your Privacy Matters to Us')]]"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "xpath///div[contains(@class, 'MuiBackdrop-root')][.//h1[contains(., 'Your Privacy Matters to Us')]]"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "xpath///div[contains(@class, 'MuiBackdrop-root')][.//h1[contains(., 'Your Privacy Matters to Us')]]//button[normalize-space(.)='Accept All']"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"if": {
|
|
25
|
+
"exists": "xpath///div[contains(@class, 'MuiBackdrop-root')][.//h1[contains(., 'Your Privacy Matters to Us')]]//button[normalize-space(.)='Reject Optional']"
|
|
26
|
+
},
|
|
27
|
+
"then": [
|
|
28
|
+
{
|
|
29
|
+
"click": "xpath///div[contains(@class, 'MuiBackdrop-root')][.//h1[contains(., 'Your Privacy Matters to Us')]]//button[normalize-space(.)='Reject Optional']"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"else": [
|
|
33
|
+
{
|
|
34
|
+
"waitForThenClick": "xpath///div[contains(@class, 'MuiBackdrop-root')][.//h1[contains(., 'Your Privacy Matters to Us')]]//button[contains(normalize-space(.), 'MANAGE PREFERENCES')]"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"waitForThenClick": "xpath///div[contains(@class, 'MuiBackdrop-root')][.//h1[contains(., 'Manage Preferences')]]//button[normalize-space(.)='Save Preferences']"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"test": [
|
|
43
|
+
{
|
|
44
|
+
"cookieContains": "\"functional\":false"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"cookieContains": "\"performance\":false"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"cookieContains": "\"personalization\":false"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sedlak-gdpr-cookie",
|
|
3
|
+
"vendorUrl": "https://sedlak.pl/",
|
|
4
|
+
"prehideSelectors": ["#gdpr-cookie"],
|
|
5
|
+
"detectCmp": [{ "exists": "#gdpr-cookie .js-allow-required" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#gdpr-cookie .js-allow-required" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#gdpr-cookie .js-allow-all" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": "#gdpr-cookie .js-allow-required" }],
|
|
9
|
+
"test": [{ "cookieContains": "gdpr-cookie=eyJwcmVmZXJlbmNlIjpmYWxzZSwic3RhdGlzdGljIjpmYWxzZSwibWFya2V0aW5nIjpmYWxzZX0" }]
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "seniorweb",
|
|
3
|
+
"vendorUrl": "https://www.seniorweb.nl/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?seniorweb\\.nl/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-info"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookie-info"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookie-info"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookie-info .button-row button.save-button:not(.btn-cta)"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cookie-info .button-row button.btn-secondary"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": "#cookie-info #no-ad-cookies"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"click": "#cookie-info #no-ad-cookies"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"waitForThenClick": "#cookie-info form button.save-button"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"test": [
|
|
38
|
+
{
|
|
39
|
+
"cookieContains": ".sw-cookie=1"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shouldianswer",
|
|
3
|
+
"vendorUrl": "https://www.shouldianswer.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"main": true,
|
|
7
|
+
"frame": false
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": ["footer.pageFooter #cookieBanner.cookieBanner"],
|
|
10
|
+
"detectCmp": [{ "exists": "footer.pageFooter #cookieBanner.cookieBanner" }],
|
|
11
|
+
"detectPopup": [{ "visible": "footer.pageFooter #cookieBanner.cookieBanner.visible" }],
|
|
12
|
+
"optIn": [{ "hide": "footer.pageFooter #cookieBanner.cookieBanner" }],
|
|
13
|
+
"optOut": [{ "hide": "footer.pageFooter #cookieBanner.cookieBanner" }]
|
|
14
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shueisha-gigaviewer",
|
|
3
|
+
"vendorUrl": "https://gigaviewer.com/",
|
|
4
|
+
"prehideSelectors": [".js-top-modal-window-container"],
|
|
5
|
+
"detectCmp": [{ "exists": ".js-top-modal-window-container .modal-link[href*='shueisha.co.jp/privacy']" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".js-top-modal-window-container .js-top-modal-content" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ".js-top-modal-window-container button.close-modal.js-top-modal-close-button" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": ".js-top-modal-window-container button.close-modal.js-top-modal-close-button" }],
|
|
9
|
+
"test": [{ "waitForVisible": ".js-top-modal-window-container", "timeout": 1000, "check": "none" }]
|
|
10
|
+
}
|
|
@@ -7,7 +7,24 @@
|
|
|
7
7
|
"optIn": [{ "waitForThenClick": ".sv-cookie-consent-banner form:has(input[name=\"analytics\"]) button[type=\"submit\"]" }],
|
|
8
8
|
"optOut": [
|
|
9
9
|
{
|
|
10
|
-
"
|
|
10
|
+
"if": {
|
|
11
|
+
"exists": ".sv-cookie-consent-banner form:has(input[name=\"necessary\"]):not(:has(input[name=\"analytics\"])) button[type=\"submit\"]"
|
|
12
|
+
},
|
|
13
|
+
"then": [
|
|
14
|
+
{
|
|
15
|
+
"click": ".sv-cookie-consent-banner form:has(input[name=\"necessary\"]):not(:has(input[name=\"analytics\"])) button[type=\"submit\"]"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"else": [
|
|
19
|
+
{ "click": ".sv-cookie-consent-banner button[type=\"button\"]" },
|
|
20
|
+
{ "waitForVisible": ".sv-cookie-consent-banner button[type=\"submit\"][form]" },
|
|
21
|
+
{
|
|
22
|
+
"click": ".sv-cookie-consent-banner form input[type=\"checkbox\"]:checked:not(:disabled)",
|
|
23
|
+
"all": true,
|
|
24
|
+
"optional": true
|
|
25
|
+
},
|
|
26
|
+
{ "click": ".sv-cookie-consent-banner button[type=\"submit\"][form]" }
|
|
27
|
+
]
|
|
11
28
|
}
|
|
12
29
|
],
|
|
13
30
|
"test": [{ "waitForVisible": ".sv-cookie-consent-banner", "check": "none", "timeout": 2000 }]
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "skatteverket-se",
|
|
3
|
+
"vendorUrl": "https://www.skatteverket.se/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?skatteverket\\.se/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["skv-cookie-banner"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ["skv-cookie-banner", ".skv-cookie-banner-root"]
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ["skv-cookie-banner", ".skv-cookie-banner-root"]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ["skv-cookie-banner", "#accept-all"]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ["skv-cookie-banner", "#deny-all"]
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "SKVCookieAllow=strictlyNecessary"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "smile-insurances",
|
|
3
|
+
"vendorUrl": "https://www.smile-insurances.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?smile-insurances\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".sm-alert[data-cookie^='cookie.disclaimer']"],
|
|
8
|
+
"detectCmp": [{ "exists": ".sm-alert[data-cookie^='cookie.disclaimer']" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".sm-alert.is-visible[data-cookie^='cookie.disclaimer'] .sm-alert__button" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".sm-alert.is-visible[data-cookie^='cookie.disclaimer'] .sm-alert__button" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": ".sm-alert.is-visible[data-cookie^='cookie.disclaimer'] .sm-alert__button" }],
|
|
12
|
+
"test": [{ "cookieContains": "disclaimer=closed" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "snb.ch",
|
|
3
|
+
"vendorUrl": "https://www.snb.ch/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?snb\\.ch/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".m-gdpr-banner", ".o-overlay--gdpr"],
|
|
8
|
+
"detectCmp": [{ "exists": ".m-gdpr-banner .js-m-gdpr-banner__button-manage" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".m-gdpr-banner.state-m-gdpr-banner--visible" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".m-gdpr-banner .js-m-gdpr-banner__button-all" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": ".m-gdpr-banner .js-m-gdpr-banner__button-manage" },
|
|
13
|
+
{ "waitForVisible": ".m-gdpr-settings .js-m-gdpr-settings__button-custom" },
|
|
14
|
+
{ "click": ".m-gdpr-settings input:checked:not(:disabled)", "all": true, "optional": true },
|
|
15
|
+
{ "click": ".m-gdpr-settings .js-m-gdpr-settings__button-custom" }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "visible": ".m-gdpr-banner", "check": "none" }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sujetdebac.fr",
|
|
3
|
+
"runContext": { "urlPattern": "^https?://(www\\.)?sujetdebac\\.fr/" },
|
|
4
|
+
"prehideSelectors": ["#banniere_cookies"],
|
|
5
|
+
"detectCmp": [{ "exists": "#banniere_cookies" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#banniere_cookies" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#banniere_cookies span[onclick]" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": "#banniere_cookies span[onclick]" }],
|
|
9
|
+
"test": [{ "visible": "#banniere_cookies", "check": "none" }]
|
|
10
|
+
}
|
|
@@ -2,32 +2,32 @@
|
|
|
2
2
|
"name": "svt.se",
|
|
3
3
|
"vendorUrl": "https://www.svt.se/",
|
|
4
4
|
"runContext": {
|
|
5
|
-
"urlPattern": "^https://
|
|
5
|
+
"urlPattern": "^https://(\\w+\\.)?svt\\.se/"
|
|
6
6
|
},
|
|
7
|
-
"prehideSelectors": ["
|
|
7
|
+
"prehideSelectors": [".CookieConsent__root"],
|
|
8
8
|
"detectCmp": [
|
|
9
9
|
{
|
|
10
|
-
"exists": "
|
|
10
|
+
"exists": ".CookieConsent__root"
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
13
|
"detectPopup": [
|
|
14
14
|
{
|
|
15
|
-
"visible": "
|
|
15
|
+
"visible": ".CookieConsent__root .CookieConsent__modal"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"optIn": [
|
|
19
19
|
{
|
|
20
|
-
"waitForThenClick": "
|
|
20
|
+
"waitForThenClick": ".CookieConsent__root button[data-consent-action=accept-all], #CookieConsent_accept_all"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"optOut": [
|
|
24
24
|
{
|
|
25
|
-
"waitForThenClick": "
|
|
25
|
+
"waitForThenClick": ".CookieConsent__root button[data-consent-action=reject-all], #CookieConsent_reject_all"
|
|
26
26
|
}
|
|
27
27
|
],
|
|
28
28
|
"test": [
|
|
29
29
|
{
|
|
30
|
-
"cookieContains": "
|
|
30
|
+
"cookieContains": "\"improved_experience\":false,\"partners\":false"
|
|
31
31
|
}
|
|
32
32
|
]
|
|
33
33
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "swisscom-ecare",
|
|
3
|
+
"prehideSelectors": [".js-consent-modal"],
|
|
4
|
+
"detectCmp": [{ "exists": ".js-consent-modal #validate_cookie_btn, .js-consent-modal #validate_cookie_foreign_btn" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".js-consent-modal .modal-content" }],
|
|
6
|
+
"optIn": [
|
|
7
|
+
{
|
|
8
|
+
"if": { "visible": ".js-consent-modal #validate_cookie_foreign_btn" },
|
|
9
|
+
"then": [{ "waitForThenClick": ".js-consent-modal #validate_cookie_foreign_btn", "retry": 3, "retryInterval": 500 }],
|
|
10
|
+
"else": [{ "waitForThenClick": ".js-consent-modal #validate_cookie_btn", "retry": 3, "retryInterval": 500 }]
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"optOut": [
|
|
14
|
+
{
|
|
15
|
+
"if": { "visible": ".js-consent-modal #validate_cookie_foreign_btn" },
|
|
16
|
+
"then": [{ "waitForThenClick": ".js-consent-modal #validate_cookie_foreign_btn", "retry": 3, "retryInterval": 500 }],
|
|
17
|
+
"else": [
|
|
18
|
+
{ "click": ".js-consent-modal #unfold_cookie_btn" },
|
|
19
|
+
{ "waitForVisible": ".js-consent-modal .cookie-selection" },
|
|
20
|
+
{
|
|
21
|
+
"click": ".js-consent-modal .cookie-selection input[type=checkbox]:checked:not(:disabled)",
|
|
22
|
+
"all": true,
|
|
23
|
+
"optional": true
|
|
24
|
+
},
|
|
25
|
+
{ "waitForThenClick": ".js-consent-modal #validate_cookie_btn", "retry": 3, "retryInterval": 500 }
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{ "waitForVisible": ".js-consent-modal .modal-content", "check": "none" }
|
|
29
|
+
],
|
|
30
|
+
"test": [{ "cookieContains": "_gtm_consent_prod=" }]
|
|
31
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "telegram-im",
|
|
3
|
+
"vendorUrl": "https://telegram.im/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?(telegram\\.im|telegramcn\\.org\\.cn|telegramim\\.ru)/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#myModal.showmodal"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#myModal.showmodal .showmodal-close"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#myModal.showmodal"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"comment": "the OK button sits inside a privacy policy link, clicking the backdrop stores consent without opening a new tab",
|
|
21
|
+
"waitForThenClick": "#myModal.showmodal"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"comment": "notice-only banner: acknowledge via the backdrop, the OK button would also open the privacy policy in a new tab",
|
|
27
|
+
"waitForThenClick": "#myModal.showmodal"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"test": [
|
|
31
|
+
{
|
|
32
|
+
"visible": "#myModal.showmodal",
|
|
33
|
+
"check": "none"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -7,34 +7,30 @@
|
|
|
7
7
|
"prehideSelectors": [],
|
|
8
8
|
"detectCmp": [
|
|
9
9
|
{
|
|
10
|
-
"exists": "div
|
|
10
|
+
"exists": "div:has([href=\"cookiePrivacyLink\"]) + div:has(> [role=button][aria-label])"
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
13
|
"detectPopup": [
|
|
14
14
|
{
|
|
15
|
-
"visible": "div
|
|
15
|
+
"visible": "div:has([href=\"cookiePrivacyLink\"]) + div:has(> [role=button][aria-label])"
|
|
16
16
|
}
|
|
17
17
|
],
|
|
18
18
|
"optIn": [
|
|
19
19
|
{
|
|
20
|
-
"waitForThenClick": "div
|
|
20
|
+
"waitForThenClick": "div:has([href=\"cookiePrivacyLink\"]) + div:has(> [role=button][aria-label]) > [role=button][aria-label]:not(:nth-child(2))"
|
|
21
21
|
}
|
|
22
22
|
],
|
|
23
23
|
"optOut": [
|
|
24
24
|
{
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
{
|
|
35
|
-
"waitForThenClick": "div > div > div:has(> div > span[href*=\"/cookie-and-similar-technologies-policy.html\"]) > [role=button]:nth-child(2)"
|
|
36
|
-
}
|
|
37
|
-
]
|
|
25
|
+
"waitForThenClick": "div:has([href=\"cookiePrivacyLink\"]) + div:has(> [role=button][aria-label]) > [role=button][aria-label]:nth-child(2)"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"wait": 500
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"cookieContains": "privacy_setting_detail=%7B%22adsChoice%22%3A%220"
|
|
38
34
|
}
|
|
39
35
|
]
|
|
40
36
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "thecode",
|
|
3
|
+
"vendorUrl": "https://www.thecode.co.uk/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?(thecode\\.co\\.uk|lovethesales\\.com)/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookie-popups__container"],
|
|
8
|
+
"detectCmp": [{ "exists": ".cookie-popups__container" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".cookie-popups__first-consent-popup" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "[data-test-id=\"cookie-popup-set-button\"]" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": "[data-test-id=\"cookie-manage-settings-button\"]" },
|
|
13
|
+
{ "waitForVisible": ".cookie-popups__preferences-popup" },
|
|
14
|
+
{
|
|
15
|
+
"if": { "exists": ".cookie-popups__advertising-toggle:checked" },
|
|
16
|
+
"then": [{ "click": "[data-test-id=\"cookie-advertising-slider\"]" }]
|
|
17
|
+
},
|
|
18
|
+
{ "click": "[data-test-id=\"cookie-save-preferences-button\"]" }
|
|
19
|
+
],
|
|
20
|
+
"test": [{ "wait": 1000 }, { "cookieContains": "lts-cookie-consent=1" }]
|
|
21
|
+
}
|