@duckduckgo/autoconsent 18.8.0 → 18.10.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 +73 -6
- package/.agents/skills/oxylabs-testing/SKILL.md +4 -3
- package/.agents/skills/oxylabs-testing/scripts/oxylabs.mjs +26 -3
- package/.agents/skills/oxylabs-testing/scripts/oxylabs.test.mjs +27 -1
- package/.agents/skills/proxy-testing/SKILL.md +7 -2
- package/.agents/skills/proxy-testing/scripts/regional-proxy.mjs +4 -2
- package/.agents/skills/proxy-testing/scripts/regional-proxy.test.mjs +152 -2
- package/.github/dependabot.yml +1 -0
- package/.github/workflows/checks.yml +1 -0
- package/CHANGELOG.md +193 -0
- package/Jenkinsfile +22 -27
- package/data/coverage.json +14165 -3824
- package/dist/addon-firefox/background.bundle.js +20 -14
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +24 -5
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/popup.bundle.js +11 -14
- package/dist/addon-firefox/rule-index.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +20 -14
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +24 -5
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/popup.bundle.js +11 -14
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +24 -5
- package/dist/autoconsent.esm.js +24 -5
- package/dist/autoconsent.playwright.js +24 -5
- package/dist/autoconsent.standalone.js +25 -6
- package/dist/heuristics.cjs.js +5 -2
- package/dist/heuristics.mjs +5 -2
- package/dist/types/eval-snippets.d.ts +2 -0
- package/lib/cmps/trustarc-top.ts +12 -3
- package/lib/eval-snippets.ts +9 -0
- package/lib/heuristic-literals.ts +2 -1
- package/lib/heuristic-patterns.ts +3 -1
- package/package.json +2 -2
- package/playwright/runner.ts +30 -2
- package/rules/autoconsent/7plus.json +44 -0
- package/rules/autoconsent/adv-gr-jp.json +29 -0
- package/rules/autoconsent/agentii-getsbet-ro.json +19 -0
- package/rules/autoconsent/alza-cookies-info.json +36 -0
- package/rules/autoconsent/amasty-gdpr-hyva.json +73 -50
- package/rules/autoconsent/amazon.json +5 -2
- package/rules/autoconsent/amgueddfa-cms.json +46 -0
- package/rules/autoconsent/anowave-gtm.json +21 -0
- package/rules/autoconsent/anthropic.json +2 -2
- package/rules/autoconsent/apteka911-ua.json +29 -0
- package/rules/autoconsent/artfund.json +18 -0
- package/rules/autoconsent/babylonbee.json +1 -1
- package/rules/autoconsent/betsson-fr.json +45 -0
- package/rules/autoconsent/bladehq.json +13 -0
- package/rules/autoconsent/brandfetch.json +24 -0
- package/rules/autoconsent/bravissimo.json +18 -0
- package/rules/autoconsent/bristan-group.json +58 -0
- package/rules/autoconsent/bswhealth.json +11 -8
- package/rules/autoconsent/captain-compliance.json +30 -0
- package/rules/autoconsent/cardiff-university.json +37 -0
- package/rules/autoconsent/cgov-cookiebanner.json +9 -0
- package/rules/autoconsent/chrono24.json +54 -0
- package/rules/autoconsent/civic-govuk-cookiecontrol.json +16 -0
- package/rules/autoconsent/classbento.json +38 -0
- package/rules/autoconsent/collectingcars.json +18 -0
- package/rules/autoconsent/conscious-solutions.json +25 -0
- package/rules/autoconsent/consentik-notice.json +15 -0
- package/rules/autoconsent/consentik.json +25 -0
- package/rules/autoconsent/cookie-banner-required-only.json +17 -0
- package/rules/autoconsent/cookiebanner-closecookie.json +9 -0
- package/rules/autoconsent/cookieconsent3.json +1 -1
- package/rules/autoconsent/cookieinformation.json +2 -1
- package/rules/autoconsent/cookiesjsr.json +12 -8
- package/rules/autoconsent/copaair.json +33 -0
- package/rules/autoconsent/crocobet.json +35 -0
- package/rules/autoconsent/crosswater.co.uk.json +41 -0
- package/rules/autoconsent/de-volksbank.json +28 -5
- package/rules/autoconsent/derby-council.json +46 -0
- package/rules/autoconsent/detector-aero.json +21 -0
- package/rules/autoconsent/disturbia.json +38 -0
- package/rules/autoconsent/dobarkod-cookiebanner.json +10 -0
- package/rules/autoconsent/dpgmedia-nl.json +8 -8
- package/rules/autoconsent/energydashboard.co.uk.json +19 -0
- package/rules/autoconsent/ensighten.json +25 -1
- package/rules/autoconsent/eon-nl-cookiewall.json +30 -0
- package/rules/autoconsent/exceed-lms.json +10 -0
- package/rules/autoconsent/expressvpn.json +55 -0
- package/rules/autoconsent/fictionexpress.json +33 -0
- package/rules/autoconsent/food-standards-agency.json +46 -0
- package/rules/autoconsent/freak-no.json +16 -0
- package/rules/autoconsent/fullertonhotels.com.json +37 -6
- package/rules/autoconsent/fundednext.json +16 -0
- package/rules/autoconsent/furniture-com.json +68 -0
- package/rules/autoconsent/globes.json +40 -0
- package/rules/autoconsent/gm-consent.json +20 -0
- package/rules/autoconsent/gotrust.json +95 -0
- package/rules/autoconsent/grocefully.json +25 -0
- package/rules/autoconsent/hds-cookie-consent.json +10 -0
- package/rules/autoconsent/headfirstbristol.json +12 -0
- package/rules/autoconsent/healthysupplies.json +18 -0
- package/rules/autoconsent/helvy.co.uk.json +21 -0
- package/rules/autoconsent/holland-watch-group.json +12 -0
- package/rules/autoconsent/huawei-cookie-notice.json +27 -0
- package/rules/autoconsent/hubspot-cosmetic.json +15 -0
- package/rules/autoconsent/hubspot.json +4 -1
- package/rules/autoconsent/hyperoptic.json +44 -0
- package/rules/autoconsent/hypovereinsbank.json +39 -0
- package/rules/autoconsent/incogni.json +23 -0
- package/rules/autoconsent/islamqa.org.json +31 -0
- package/rules/autoconsent/itemsatis.json +41 -0
- package/rules/autoconsent/ixo-cookie-prompt.json +12 -0
- package/rules/autoconsent/kela-fi.json +32 -0
- package/rules/autoconsent/kenstechtips.json +12 -0
- package/rules/autoconsent/keurig.com.json +47 -0
- package/rules/autoconsent/krillion.json +13 -0
- package/rules/autoconsent/lawhive.json +27 -0
- package/rules/autoconsent/laxd.json +29 -0
- package/rules/autoconsent/lessonup.json +24 -0
- package/rules/autoconsent/ligonier.json +13 -0
- package/rules/autoconsent/madeiramadeira.json +31 -0
- package/rules/autoconsent/manage-cookie-modal.json +52 -0
- package/rules/autoconsent/marriott-notice.json +28 -0
- package/rules/autoconsent/mccoysguide.json +40 -0
- package/rules/autoconsent/mercadolibre.json +3 -3
- package/rules/autoconsent/myfooddiary.json +36 -0
- package/rules/autoconsent/nationwidevehiclecontracts.json +37 -0
- package/rules/autoconsent/natural-intelligence.json +21 -0
- package/rules/autoconsent/naturalnews.json +32 -0
- package/rules/autoconsent/nfl.json +32 -0
- package/rules/autoconsent/noon.json +41 -0
- package/rules/autoconsent/odia.json +12 -0
- package/rules/autoconsent/op-consent-manager.json +17 -0
- package/rules/autoconsent/opencart-google-consent-v2.json +27 -0
- package/rules/autoconsent/pandectes.json +13 -4
- package/rules/autoconsent/paperlesspost.json +64 -0
- package/rules/autoconsent/passenger-cookie-opt-in.json +15 -0
- package/rules/autoconsent/peda-net.json +34 -0
- package/rules/autoconsent/peterchristian.json +35 -0
- package/rules/autoconsent/pieeye.json +25 -0
- package/rules/autoconsent/playdoit-mx.json +32 -0
- package/rules/autoconsent/pmc-privacy-banner.json +40 -6
- package/rules/autoconsent/prestigeflowers.json +21 -0
- package/rules/autoconsent/profootballmania.json +21 -0
- package/rules/autoconsent/pvh.json +29 -0
- package/rules/autoconsent/quorn.json +17 -0
- package/rules/autoconsent/randewoo.ru.json +37 -0
- package/rules/autoconsent/rct-cookies-modal.json +36 -0
- package/rules/autoconsent/realfoods-co-uk.json +18 -0
- package/rules/autoconsent/roguefitness.json +18 -0
- package/rules/autoconsent/rosbalt-ru.json +35 -0
- package/rules/autoconsent/securiti-hybrid.json +30 -0
- package/rules/autoconsent/shopblocks.json +41 -0
- package/rules/autoconsent/sicredi-frame.json +16 -0
- package/rules/autoconsent/sicredi.json +0 -1
- package/rules/autoconsent/simplepractice.com.json +60 -0
- package/rules/autoconsent/skroutz.json +33 -0
- package/rules/autoconsent/spares2repair.json +42 -0
- package/rules/autoconsent/spusu.json +18 -0
- package/rules/autoconsent/sykescottages.json +49 -0
- package/rules/autoconsent/termsfeed.json +4 -4
- package/rules/autoconsent/truecar.json +5 -5
- package/rules/autoconsent/trustarc-newcm.json +37 -6
- package/rules/autoconsent/ubuy.json +10 -0
- package/rules/autoconsent/ukplanettools.json +45 -0
- package/rules/autoconsent/vidal-ru.json +12 -0
- package/rules/autoconsent/virginwines-co-uk.json +32 -0
- package/rules/autoconsent/visualsoft.json +24 -0
- package/rules/autoconsent/vsco.json +27 -0
- package/rules/autoconsent/vystarcu.json +17 -0
- package/rules/autoconsent/web-labs-cookie-consent.json +69 -0
- package/rules/autoconsent/webnetism.json +42 -0
- package/rules/autoconsent/whatnot.json +32 -0
- package/rules/autoconsent/wow-forever.json +33 -0
- package/rules/autoconsent/wso2-identity-server.json +30 -0
- package/rules/autoconsent/xhamster-eu.json +1 -1
- package/rules/autoconsent/xhamster-us.json +1 -1
- package/rules/autoconsent/yourparkingspace.json +47 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/7plus.spec.ts +6 -0
- package/tests/adv-gr-jp.spec.ts +3 -0
- package/tests/agentii-getsbet-ro.spec.ts +3 -0
- package/tests/alza-cookies-info.spec.ts +10 -0
- package/tests/amasty-gdpr-hyva.spec.ts +9 -0
- package/tests/amazon.spec.ts +7 -14
- package/tests/amgueddfa-cms.spec.ts +3 -0
- package/tests/anowave-gtm.spec.ts +8 -0
- package/tests/anthropic.spec.ts +6 -1
- package/tests/apteka911-ua.spec.ts +3 -0
- package/tests/artfund.spec.ts +3 -0
- package/tests/babylonbee.spec.ts +1 -1
- package/tests/betsson-fr.spec.ts +12 -0
- package/tests/bladehq.spec.ts +3 -0
- package/tests/brandfetch.spec.ts +5 -0
- package/tests/bravissimo.spec.ts +9 -0
- package/tests/bristan-group.spec.ts +3 -0
- package/tests/bswhealth.spec.ts +1 -1
- package/tests/captain-compliance.spec.ts +15 -0
- package/tests/cardiff-university.spec.ts +3 -0
- package/tests/cgov-cookiebanner.spec.ts +6 -0
- package/tests/chrono24.spec.ts +3 -0
- package/tests/civic-govuk-cookiecontrol.spec.ts +9 -0
- package/tests/classbento.spec.ts +3 -0
- package/tests/collectingcars.spec.ts +3 -0
- package/tests/conscious-solutions.spec.ts +10 -0
- package/tests/consentik-notice.spec.ts +3 -0
- package/tests/consentik.spec.ts +8 -0
- package/tests/cookie-banner-required-only.spec.ts +9 -0
- package/tests/cookiebanner-closecookie.spec.ts +3 -0
- package/tests/cookieconsent3.spec.ts +4 -5
- package/tests/cookieinformation.spec.ts +3 -1
- package/tests/cookiesjsr.spec.ts +3 -0
- package/tests/copaair.spec.ts +3 -0
- package/tests/crocobet.spec.ts +11 -0
- package/tests/crosswater.co.uk.spec.ts +3 -0
- package/tests/de-volksbank.spec.ts +14 -3
- package/tests/derby-council.spec.ts +8 -0
- package/tests/detector-aero.spec.ts +3 -0
- package/tests/disturbia.spec.ts +6 -0
- package/tests/dobarkod-cookiebanner.spec.ts +8 -0
- package/tests/energydashboard.co.uk.spec.ts +3 -0
- package/tests/ensighten.spec.ts +9 -0
- package/tests/eon-nl-cookiewall.spec.ts +6 -0
- package/tests/exceed-lms.spec.ts +8 -0
- package/tests/expressvpn.spec.ts +3 -0
- package/tests/fictionexpress.spec.ts +3 -0
- package/tests/food-standards-agency.spec.ts +3 -0
- package/tests/freak-no.spec.ts +4 -0
- package/tests/fullertonhotels.com.spec.ts +17 -2
- package/tests/fundednext.spec.ts +6 -0
- package/tests/furniture-com.spec.ts +6 -0
- package/tests/globes.spec.ts +3 -0
- package/tests/gm-consent.spec.ts +9 -0
- package/tests/gotrust.spec.ts +9 -0
- package/tests/grocefully.spec.ts +5 -0
- package/tests/hds-cookie-consent.spec.ts +8 -0
- package/tests/headfirstbristol.spec.ts +3 -0
- package/tests/healthysupplies.spec.ts +3 -0
- package/tests/helvy.co.uk.spec.ts +3 -0
- package/tests/holland-watch-group.spec.ts +8 -0
- package/tests/huawei-cookie-notice.spec.ts +5 -0
- package/tests/hubspot-cosmetic.spec.ts +6 -0
- package/tests/hyperoptic.spec.ts +3 -0
- package/tests/hypovereinsbank.spec.ts +4 -0
- package/tests/incogni.spec.ts +3 -0
- package/tests/islamqa.org.spec.ts +3 -0
- package/tests/itemsatis.spec.ts +3 -0
- package/tests/ixo-cookie-prompt.spec.ts +8 -0
- package/tests/kela-fi.spec.ts +3 -0
- package/tests/kenstechtips.spec.ts +3 -0
- package/tests/keurig.com.spec.ts +3 -0
- package/tests/krillion.spec.ts +6 -0
- package/tests/lawhive.spec.ts +3 -0
- package/tests/laxd.spec.ts +6 -0
- package/tests/lessonup.spec.ts +3 -0
- package/tests/ligonier.spec.ts +3 -0
- package/tests/madeiramadeira.spec.ts +3 -0
- package/tests/manage-cookie-modal.spec.ts +3 -0
- package/tests/marriott-notice.spec.ts +8 -0
- package/tests/mccoysguide.spec.ts +3 -0
- package/tests/myfooddiary.spec.ts +3 -0
- package/tests/nationwidevehiclecontracts.spec.ts +3 -0
- package/tests/natural-intelligence.spec.ts +9 -0
- package/tests/naturalnews.spec.ts +3 -0
- package/tests/nfl.spec.ts +3 -0
- package/tests/noon.spec.ts +5 -0
- package/tests/odia.spec.ts +3 -0
- package/tests/op-consent-manager.spec.ts +3 -0
- package/tests/opencart-google-consent-v2.spec.ts +8 -0
- package/tests/pandectes.spec.ts +3 -0
- package/tests/paperlesspost.spec.ts +5 -0
- package/tests/passenger-cookie-opt-in.spec.ts +14 -0
- package/tests/peda-net.spec.ts +3 -0
- package/tests/peterchristian.spec.ts +3 -0
- package/tests/pieeye.spec.ts +16 -0
- package/tests/playdoit-mx.spec.ts +3 -0
- package/tests/pmc-privacy-banner.spec.ts +3 -0
- package/tests/prestigeflowers.spec.ts +5 -0
- package/tests/profootballmania.spec.ts +3 -0
- package/tests/pvh.spec.ts +8 -0
- package/tests/quorn.spec.ts +3 -0
- package/tests/randewoo.ru.spec.ts +3 -0
- package/tests/rct-cookies-modal.spec.ts +13 -0
- package/tests/realfoods-co-uk.spec.ts +3 -0
- package/tests/roguefitness.spec.ts +3 -0
- package/tests/rosbalt-ru.spec.ts +3 -0
- package/tests/securiti-hybrid.spec.ts +13 -0
- package/tests/shopblocks.spec.ts +8 -0
- package/tests/sicredi-frame.spec.ts +11 -0
- package/tests/sicredi.spec.ts +1 -1
- package/tests/simplepractice.com.spec.ts +4 -0
- package/tests/skroutz.spec.ts +6 -0
- package/tests/spares2repair.spec.ts +5 -0
- package/tests/spusu.spec.ts +3 -0
- package/tests/sykescottages.spec.ts +3 -0
- package/tests/termsfeed.spec.ts +6 -2
- package/tests/truecar.spec.ts +1 -1
- package/tests/trustarc-newcm.spec.ts +16 -0
- package/tests/trustarc.spec.ts +7 -0
- package/tests/ubuy.spec.ts +5 -0
- package/tests/ukplanettools.spec.ts +3 -0
- package/tests/vidal-ru.spec.ts +3 -0
- package/tests/virginwines-co-uk.spec.ts +3 -0
- package/tests/visualsoft.spec.ts +3 -0
- package/tests/vsco.spec.ts +7 -0
- package/tests/vystarcu.spec.ts +3 -0
- package/tests/web-labs-cookie-consent.spec.ts +12 -0
- package/tests/webnetism.spec.ts +10 -0
- package/tests/whatnot.spec.ts +3 -0
- package/tests/wow-forever.spec.ts +3 -0
- package/tests/wso2-identity-server.spec.ts +3 -0
- package/tests/xhamster-eu.spec.ts +6 -0
- package/tests/xhamster-us.spec.ts +6 -0
- package/tests/yourparkingspace.spec.ts +3 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +3 -0
- package/web-test-runner.config.mjs +6 -0
- package/rules/generated/auto_AU_u-buy.com.au_rg0.json +0 -37
- package/rules/generated/auto_CH_seetickets.com_4b2.json +0 -40
- package/rules/generated/auto_GB_charlesclinkard.co.uk_0.json +0 -37
- package/tests/generated/auto_AU_u-buy.com.au_rg0.spec.ts +0 -2
- package/tests/generated/auto_CH_seetickets.com_4b2.spec.ts +0 -6
- package/tests/generated/auto_GB_charlesclinkard.co.uk_0.spec.ts +0 -6
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "paperlesspost",
|
|
3
|
+
"vendorUrl": "https://www.paperlesspost.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?paperlesspost\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["[data-testid='cookie-consent-banner-notice'], [data-testid='cookie-consent-banner-eea']"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "[data-testid='cookie-consent-banner-notice'], [data-testid='cookie-consent-banner-eea']"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "[data-testid='cookie-consent-banner-notice'], [data-testid='cookie-consent-banner-eea']"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"if": {
|
|
21
|
+
"exists": "[data-testid='cookie-consent-banner-eea']"
|
|
22
|
+
},
|
|
23
|
+
"then": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "[data-testid='cookie-consent-banner-eea'] [data-testid='cookie-consent-accept']"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"else": [
|
|
29
|
+
{
|
|
30
|
+
"waitForThenClick": "[data-testid='cookie-consent-banner-notice'] [data-testid='close-cookie-banner']"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"optOut": [
|
|
36
|
+
{
|
|
37
|
+
"if": {
|
|
38
|
+
"exists": "[data-testid='cookie-consent-banner-eea']"
|
|
39
|
+
},
|
|
40
|
+
"then": [
|
|
41
|
+
{
|
|
42
|
+
"waitForThenClick": "[data-testid='cookie-consent-banner-eea'] [data-testid='cookie-consent-decline']"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"else": [
|
|
46
|
+
{
|
|
47
|
+
"waitForThenClick": "[data-testid='cookie-consent-banner-notice'] [data-testid='close-cookie-banner']"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"test": [
|
|
53
|
+
{
|
|
54
|
+
"any": [
|
|
55
|
+
{
|
|
56
|
+
"cookieContains": "consent_cookie=false"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"cookieContains": "hideCookiesBanner=true"
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "passenger-cookie-opt-in",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://passenger.tech/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".cookie-opt-in[data-cookie-role='cookie-message']"],
|
|
7
|
+
"detectCmp": [{ "exists": "[data-cookie-role='cookie-message'] [data-cookie-role='close-and-disallow']" }],
|
|
8
|
+
"detectPopup": [{ "visible": "[data-cookie-role='cookie-message']" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "[data-cookie-role='cookie-choice'] [data-cookie-role='close-and-allow']" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{ "waitForThenClick": "[data-cookie-role='cookie-choice'] [data-cookie-role='manage-settings']" },
|
|
12
|
+
{ "waitForThenClick": "[data-cookie-role='cookie-settings'] [data-cookie-role='close-and-disallow']" }
|
|
13
|
+
],
|
|
14
|
+
"test": [{ "cookieContains": "cookies_disallowed=true" }]
|
|
15
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "peda.net",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?peda\\.net/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".systemmessages .cookieconsent"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": ".systemmessages .cookieconsent button.dismiss"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ".systemmessages .cookieconsent"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ".systemmessages .cookieconsent button.dismiss"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": ".systemmessages .cookieconsent button.dismiss"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"waitForVisible": ".systemmessages .cookieconsent",
|
|
30
|
+
"timeout": 1000,
|
|
31
|
+
"check": "none"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "peterchristian",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?peterchristian\\.(co\\.uk|eu)/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["[data-id=\"consent-cookies\"]"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "[data-id=\"consent-cookies\"]"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "[data-id=\"consent-cookies\"]"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "[data-id=\"consent-cookies\"] [data-id=\"consent-banner-close\"]"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "[data-id=\"consent-cookies\"] button:not([data-id])"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": "xpath///div[@role='dialog']//button[contains(., 'Essentials Only')]"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"test": [
|
|
31
|
+
{
|
|
32
|
+
"cookieContains": "%22analytics_storage%22:%22denied%22"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pieeye",
|
|
3
|
+
"vendorUrl": "https://pii.ai/",
|
|
4
|
+
"prehideSelectors": [".pieeye-consent-container"],
|
|
5
|
+
"detectCmp": [{ "exists": [".pieeye-consent-container iframe", ".allow-all-button"] }],
|
|
6
|
+
"detectPopup": [{ "visible": [".pieeye-consent-container iframe", ".allow-all-button"] }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": [".pieeye-consent-container iframe", ".allow-all-button"] }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{
|
|
10
|
+
"if": { "exists": [".pieeye-consent-container iframe", ".necessary-only-button"] },
|
|
11
|
+
"then": [{ "waitForThenClick": [".pieeye-consent-container iframe", ".necessary-only-button"] }],
|
|
12
|
+
"else": [
|
|
13
|
+
{ "waitForThenClick": [".pieeye-consent-container iframe", ".preferences-button"] },
|
|
14
|
+
{ "waitFor": [".pieeye-consent-container iframe", "[class*='CookieDetails_BannerCheck'] input"], "timeout": 2000 },
|
|
15
|
+
{
|
|
16
|
+
"click": [".pieeye-consent-container iframe", "[class*='CookieDetails_BannerCheck'] input:checked:not([disabled])"],
|
|
17
|
+
"all": true,
|
|
18
|
+
"optional": true
|
|
19
|
+
},
|
|
20
|
+
{ "waitForThenClick": [".pieeye-consent-container iframe", ".allow-selection-button"] }
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"test": [{ "wait": 500 }, { "cookieContains": "\"pieeye-category-targeting-analytics\":0" }]
|
|
25
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "playdoit.mx",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?playdoit\\.mx/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".notifications .notification-root:has(a[href*='aboutcookies.org'])"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": ".notifications .notification-root:has(a[href*='aboutcookies.org'])"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ".notifications .notification-root:has(a[href*='aboutcookies.org'])"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ".notifications .notification-root:has(a[href*='aboutcookies.org']) .notification-action button"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": ".notifications .notification-root:has(a[href*='aboutcookies.org']) .notification-action button"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"cookieContains": "cookiesPolicyAccepted"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pmc-privacy-banner",
|
|
3
|
-
"prehideSelectors": [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
"prehideSelectors": [
|
|
4
|
+
"aside[aria-labelledby=\"pmc-privacy-banner-heading\"], aside[class*=\"PrivacyPolicyBannerstyles__PrivacyBannerRoot\"]"
|
|
5
|
+
],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "aside[aria-labelledby=\"pmc-privacy-banner-heading\"], aside[class*=\"PrivacyPolicyBannerstyles__PrivacyBannerRoot\"]"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"exists": "#onetrust-consent-sdk"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"exists": "#onetrust-banner-sdk",
|
|
15
|
+
"negated": true
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"detectPopup": [
|
|
19
|
+
{
|
|
20
|
+
"visible": "aside[aria-labelledby=\"pmc-privacy-banner-heading\"], aside[class*=\"PrivacyPolicyBannerstyles__PrivacyBannerRoot\"]"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"exists": "#onetrust-banner-sdk",
|
|
24
|
+
"negated": true
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"optIn": [
|
|
28
|
+
{
|
|
29
|
+
"waitForThenClick": "aside[aria-labelledby=\"pmc-privacy-banner-heading\"] button, aside[class*=\"PrivacyPolicyBannerstyles__PrivacyBannerRoot\"] button"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"optOut": [
|
|
33
|
+
{
|
|
34
|
+
"waitForThenClick": "aside[aria-labelledby=\"pmc-privacy-banner-heading\"] button, aside[class*=\"PrivacyPolicyBannerstyles__PrivacyBannerRoot\"] button"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"test": [
|
|
38
|
+
{
|
|
39
|
+
"visible": "aside[aria-labelledby=\"pmc-privacy-banner-heading\"], aside[class*=\"PrivacyPolicyBannerstyles__PrivacyBannerRoot\"]",
|
|
40
|
+
"check": "none"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
9
43
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "prestigeflowers",
|
|
3
|
+
"runContext": { "urlPattern": "^https?://(www\\.)?prestigeflowers\\.co\\.uk/" },
|
|
4
|
+
"prehideSelectors": ["#cookies_banner"],
|
|
5
|
+
"detectCmp": [{ "exists": "#cookies_banner #save-cookies" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#cookies_banner" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#accept-cookies" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{
|
|
10
|
+
"if": { "visible": "#save-cookies" },
|
|
11
|
+
"then": [],
|
|
12
|
+
"else": [{ "waitForThenClick": "#open-cookies" }, { "waitForVisible": "#save-cookies" }]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"if": { "exists": "#cookies_banner .cookie-check:checked:not(:disabled)" },
|
|
16
|
+
"then": [{ "click": "#cookies_banner .cookie-check:checked:not(:disabled)", "all": true }]
|
|
17
|
+
},
|
|
18
|
+
{ "click": "#save-cookies" }
|
|
19
|
+
],
|
|
20
|
+
"test": [{ "cookieContains": "marketing_cookies=0" }]
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "profootballmania.com",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?profootballmania\\.com/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#pfm-consent"],
|
|
7
|
+
"detectCmp": [{ "exists": "#pfm-consent[data-pfm-consent-root]" }],
|
|
8
|
+
"detectPopup": [{ "visible": "#pfm-consent [data-pfm-consent-main-actions]" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "#pfm-consent [data-pfm-consent-main-actions] [data-pfm-consent-accept]" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{ "waitForThenClick": "#pfm-consent [data-pfm-consent-main-actions] [data-pfm-consent-reject]" },
|
|
12
|
+
{
|
|
13
|
+
"comment": "this rule takes priority over funding-choices, so also dismiss its EU dialog",
|
|
14
|
+
"if": { "exists": ".fc-dialog-container .fc-cta-do-not-consent,.fc-dialog-container .fc-cta-manage-options" },
|
|
15
|
+
"then": [{ "click": ".fc-cta-do-not-consent,.fc-cta-manage-options" }]
|
|
16
|
+
},
|
|
17
|
+
{ "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked", "all": true, "optional": true },
|
|
18
|
+
{ "click": ".fc-dialog-container .fc-confirm-choices", "optional": true }
|
|
19
|
+
],
|
|
20
|
+
"test": [{ "cookieContains": "%22analytics%22%3Afalse" }]
|
|
21
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pvh",
|
|
3
|
+
"prehideSelectors": [".ReactModalPortal:has([data-testid='CookieNotice-main-wrapper'])"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": "[data-testid='CookieNotice-main-wrapper'] [data-testid='reject-cookies-pvh-button']"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": "[data-testid='CookieNotice-main-wrapper']"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"waitForThenClick": "[data-testid='CookieNotice-main-wrapper'] [data-testid='accept-cookies-pvh-button']"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optOut": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "[data-testid='CookieNotice-main-wrapper'] [data-testid='reject-cookies-pvh-button']"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"test": [
|
|
25
|
+
{
|
|
26
|
+
"cookieContains": "PVH_COOKIES_GDPR_ANALYTICS=Reject"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "quorn",
|
|
3
|
+
"vendorUrl": "https://www.quorn.co.uk/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": [],
|
|
6
|
+
"detectCmp": [{ "exists": "#cookie-consent .qcmp-modal" }],
|
|
7
|
+
"detectPopup": [{ "visible": "#cookie-consent .qcmp-modal__content" }],
|
|
8
|
+
"optIn": [{ "waitForThenClick": "#cookie-consent .qcmp-actions .qcmp-button--solid" }],
|
|
9
|
+
"optOut": [
|
|
10
|
+
{ "waitForThenClick": "#qcmp-options-toggle" },
|
|
11
|
+
{ "waitForVisible": "#qcmp-options .qcmp-options__save button" },
|
|
12
|
+
{ "click": "#qcmp-options .qcmp-toggle__button[aria-checked=\"true\"]", "all": true, "optional": true },
|
|
13
|
+
{ "click": "#qcmp-options .qcmp-options__save button" },
|
|
14
|
+
{ "waitForVisible": "#cookie-consent .qcmp-modal", "check": "none", "timeout": 2000, "optional": true }
|
|
15
|
+
],
|
|
16
|
+
"test": [{ "visible": "#cookie-consent .qcmp-modal", "check": "none" }]
|
|
17
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "randewoo.ru",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?randewoo\\.ru/"
|
|
5
|
+
},
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "xpath///div[contains(@class,'popmechanic-js-form')][contains(., 'cookie')]//button[@data-popmechanic-close][contains(., 'Отказаться')]"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "xpath///div[contains(@class,'popmechanic-js-form')][contains(., 'cookie')]//button[@data-popmechanic-close][contains(., 'Отказаться')]"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "xpath///div[contains(@class,'popmechanic-js-form')][contains(., 'cookie')]//button[@data-popmechanic-close][contains(., 'Принять')]",
|
|
19
|
+
"retry": 10,
|
|
20
|
+
"retryInterval": 500
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "xpath///div[contains(@class,'popmechanic-js-form')][contains(., 'cookie')]//button[@data-popmechanic-close][contains(., 'Отказаться')]",
|
|
26
|
+
"retry": 10,
|
|
27
|
+
"retryInterval": 500
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"test": [
|
|
31
|
+
{
|
|
32
|
+
"waitForVisible": "xpath///div[contains(@class,'popmechanic-js-form')][contains(., 'cookie')]//button[@data-popmechanic-close][contains(., 'Отказаться')]",
|
|
33
|
+
"check": "none",
|
|
34
|
+
"timeout": 2000
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rct-cookies-modal",
|
|
3
|
+
"vendorUrl": "https://www.protilertools.co.uk/",
|
|
4
|
+
"prehideSelectors": [".rct-cookies-modal-trigger > div"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".rct-cookies-modal-trigger > div"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".rct-cookies-modal-trigger > div"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".rct-cookies-modal-trigger .mt-4 > button:last-child"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".rct-cookies-modal-trigger .mt-4 > button:first-child"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"waitFor": ".rct-cookies-modal-trigger ul input[type=checkbox]"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": ".rct-cookies-modal-trigger .mt-4 > button:first-child"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"test": [
|
|
32
|
+
{
|
|
33
|
+
"cookieContains": "isCookiesBannerDismissed=true"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "realfoods.co.uk",
|
|
3
|
+
"vendorUrl": "https://www.realfoods.co.uk/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?realfoods\\.co\\.uk/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#coPo"],
|
|
8
|
+
"detectCmp": [{ "exists": "#coPo #settingsButton" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#coPo" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#coPo #acceptCookies" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": "#coPo #settingsButton" },
|
|
13
|
+
{ "waitForVisible": "#coSe" },
|
|
14
|
+
{ "click": "#coSe input[type=checkbox]:checked:not(:disabled)", "all": true, "optional": true },
|
|
15
|
+
{ "click": "#coSe #saveSettings" }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "cookieContains": "cookieConsent=necessary" }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "roguefitness",
|
|
3
|
+
"vendorUrl": "https://www.roguefitness.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?roguefitness\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-agree"],
|
|
8
|
+
"detectCmp": [{ "exists": "#cookie-agree .cookie-intro-container" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#cookie-agree .cookie-intro-container" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#cookie-agree .button-intro-container button.black" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": "#cookie-agree .button-intro-container button.gray" },
|
|
13
|
+
{ "waitForVisible": "#cookie-agree .cookie-container label.checkbox:not(.disabled)" },
|
|
14
|
+
{ "click": "#cookie-agree .cookie-container label.checkbox.checked:not(.disabled) input", "all": true, "optional": true },
|
|
15
|
+
{ "waitForThenClick": "#cookie-agree .button-container button.black" }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "cookieContains": "\"marketing\":false" }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rosbalt.ru",
|
|
3
|
+
"vendorUrl": "https://rosbalt.ru/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(\\w+\\.)?rosbalt\\.ru/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#__next > div[class*=\"styles_container__\"]:has(a[href=\"/pages/privacy_policy\"])"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#__next > div[class*=\"styles_container__\"]:has(a[href=\"/pages/privacy_policy\"])"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "#__next > div[class*=\"styles_container__\"]:has(a[href=\"/pages/privacy_policy\"])"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "xpath///div[contains(@class, 'styles_container__')]//div[normalize-space(text())='Принимаю']"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "#__next > div[class*=\"styles_container__\"]:has(a[href=\"/pages/privacy_policy\"])"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": "#__next > div[class*=\"styles_container__\"]:has(a[href=\"/pages/privacy_policy\"])",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "securiti-hybrid",
|
|
3
|
+
"vendorUrl": "https://securiti.ai/",
|
|
4
|
+
"prehideSelectors": [".cc-type-hybrid[aria-describedby=\"cookieconsent:desc\"]"],
|
|
5
|
+
"detectCmp": [{ "exists": ".cc-type-hybrid[aria-describedby=\"cookieconsent:desc\"]:not(.cc-invisible) .cmp-pref-link" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".cc-type-hybrid[aria-describedby=\"cookieconsent:desc\"]:not(.cc-invisible)" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ".cc-type-hybrid[aria-describedby=\"cookieconsent:desc\"]:not(.cc-invisible) .cc-allow" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{
|
|
10
|
+
"if": { "visible": ".cc-type-hybrid[aria-describedby=\"cookieconsent:desc\"]:not(.cc-invisible) .cc-deny" },
|
|
11
|
+
"then": [{ "click": ".cc-type-hybrid[aria-describedby=\"cookieconsent:desc\"]:not(.cc-invisible) .cc-deny" }],
|
|
12
|
+
"else": [
|
|
13
|
+
{
|
|
14
|
+
"comment": "the preferences link is often hidden in the banner, but still opens the preference center",
|
|
15
|
+
"click": ".cc-type-hybrid[aria-describedby=\"cookieconsent:desc\"]:not(.cc-invisible) .cmp-pref-link"
|
|
16
|
+
},
|
|
17
|
+
{ "waitForVisible": ".cmp-body .cmp-save-btn" },
|
|
18
|
+
{
|
|
19
|
+
"if": { "visible": ".cmp-body [id*=rejectAll]" },
|
|
20
|
+
"then": [{ "click": ".cmp-body [id*=rejectAll]" }],
|
|
21
|
+
"else": [{ "click": ".cmp-body input[type=checkbox]:checked:not(:disabled)", "all": true, "optional": true }]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"comment": "some sites reload the page after saving, so this must be the last step",
|
|
25
|
+
"click": ".cmp-body .cmp-save-btn"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shopblocks",
|
|
3
|
+
"vendorUrl": "https://www.shopblocks.com/",
|
|
4
|
+
"prehideSelectors": [".cookie-pop-up-wrapper"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".cookie-pop-up-wrapper #let-me-choose-content #cookie-confirm-choices"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".cookie-pop-up-wrapper #cookie-pop-up-content"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".cookie-pop-up-wrapper #cookie-pop-up-content .cookie-accept-all"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".cookie-pop-up-wrapper #let-me-choose"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"waitForVisible": "#let-me-choose-content"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"click": "#let-me-choose-content input.cookie-checkbox:checked:not(:disabled)",
|
|
29
|
+
"all": true,
|
|
30
|
+
"optional": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"waitForThenClick": "#let-me-choose-content #cookie-confirm-choices"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"test": [
|
|
37
|
+
{
|
|
38
|
+
"cookieContains": "optout="
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sicredi-frame",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"main": false,
|
|
5
|
+
"frame": true,
|
|
6
|
+
"urlPattern": "^https?://(\\w+\\.)?sicredi\\.com\\.br/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#sicredi-cookies-root .banner-container"],
|
|
9
|
+
"detectCmp": [{ "exists": "#sicredi-cookies-root" }],
|
|
10
|
+
"detectPopup": [{ "visible": "#sicredi-cookies-root [data-testid=\"banner\"]" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": "#sicredi-cookies-root [data-testid=\"all-cookies-button\"]" }],
|
|
12
|
+
"optOut": [
|
|
13
|
+
{ "waitForThenClick": "#sicredi-cookies-root [data-testid=\"management-cookies-button\"]" },
|
|
14
|
+
{ "waitForThenClick": "#sicredi-cookies-root [data-testid=\"reject-config-button\"]" }
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sicredi",
|
|
3
|
-
"runContext": { "main": true, "frame": true },
|
|
4
3
|
"prehideSelectors": ["#sicredi-cookies-root .banner-container"],
|
|
5
4
|
"detectCmp": [{ "exists": "#sicredi-cookies-root" }],
|
|
6
5
|
"detectPopup": [{ "visible": "#sicredi-cookies-root [data-testid=\"banner\"]" }],
|