@duckduckgo/autoconsent 18.9.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/CHANGELOG.md +164 -0
- package/Jenkinsfile +22 -27
- package/data/coverage.json +14165 -3824
- package/dist/addon-firefox/background.bundle.js +9 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +14 -2
- package/dist/addon-firefox/manifest.json +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 +9 -0
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +14 -2
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +14 -2
- package/dist/autoconsent.esm.js +14 -2
- package/dist/autoconsent.playwright.js +14 -2
- package/dist/autoconsent.standalone.js +15 -3
- package/dist/heuristics.cjs.js +5 -2
- package/dist/heuristics.mjs +5 -2
- package/dist/types/eval-snippets.d.ts +2 -0
- package/lib/eval-snippets.ts +9 -0
- package/lib/heuristic-literals.ts +2 -1
- package/lib/heuristic-patterns.ts +3 -1
- package/package.json +1 -1
- 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/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/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/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/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/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 +2 -0
- package/tests/xhamster-us.spec.ts +2 -0
- package/tests/yourparkingspace.spec.ts +3 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +3 -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,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "betsson-fr",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://betsson.fr/"
|
|
5
|
+
},
|
|
6
|
+
"runContext": {
|
|
7
|
+
"urlPattern": "^https?://(\\w+\\.)?betsson\\.fr/"
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": [".q-dialog:has(.cookiePopup)"],
|
|
10
|
+
"detectCmp": [
|
|
11
|
+
{
|
|
12
|
+
"exists": ".cookiePopup .cookiePopupStepOne"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [
|
|
16
|
+
{
|
|
17
|
+
"visible": ".cookiePopup .cookiePopupStepOne"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optIn": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".cookiePopupStepOne button.sbButton.primary"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": ".cookiePopupStepOne button.sbButton.secondary"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"waitForVisible": ".cookiePopupStepTwo"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"click": ".cookiePopupStepTwo [role=\"checkbox\"][aria-checked=\"true\"]:not([aria-disabled=\"true\"])",
|
|
34
|
+
"all": true,
|
|
35
|
+
"optional": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"waitForThenClick": ".cookiePopupStepTwo button.sbButton.primary"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"waitForVisible": ".cookiePopup",
|
|
42
|
+
"check": "none"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bladehq",
|
|
3
|
+
"runContext": { "urlPattern": "^https?://(www\\.)?bladehq\\.com/" },
|
|
4
|
+
"prehideSelectors": [".message-accept-container"],
|
|
5
|
+
"detectCmp": [{ "exists": ".message-accept-container[style*='flex'] .message-x" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".message-accept-container" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ".message-accept-container .message-x", "retry": 5, "retryInterval": 500 }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{ "waitForThenClick": ".message-accept-container .message-x", "retry": 5, "retryInterval": 500 },
|
|
10
|
+
{ "waitForVisible": ".message-accept-container", "check": "none" }
|
|
11
|
+
],
|
|
12
|
+
"test": [{ "visible": ".message-accept-container", "check": "none" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "brandfetch",
|
|
3
|
+
"vendorUrl": "https://brandfetch.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?brandfetch\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [{ "exists": "[role='dialog'][aria-label='Cookie preferences']" }],
|
|
9
|
+
"detectPopup": [{ "visible": "[role='dialog'][aria-label='Cookie preferences']" }],
|
|
10
|
+
"optIn": [
|
|
11
|
+
{
|
|
12
|
+
"waitForThenClick": "xpath///div[@role='dialog' and @aria-label='Cookie preferences']//button[normalize-space(.)='Accept all']"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optOut": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "xpath///div[@role='dialog' and @aria-label='Cookie preferences']//button[normalize-space(.)='Configure']"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "xpath///div[@role='dialog' and @aria-label='Cookie preferences']//button[normalize-space(.)='Reject all']"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"test": [{ "cookieContains": "bf_consent=1.000." }]
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bravissimo",
|
|
3
|
+
"vendorUrl": "https://www.bravissimo.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?bravissimo\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".c-consent-modal__container"],
|
|
8
|
+
"detectCmp": [{ "exists": ".c-consent-modal__container" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".c-consent-modal__container" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".c-consent-modal__content-container .c-consent-modal__accept-button-container button" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": ".c-consent-modal__reject-link-container button" },
|
|
13
|
+
{ "waitForVisible": ".c-consent-modal__consent-preference-container" },
|
|
14
|
+
{ "click": ".c-consent-modal__consent-preference-container .c-consent-modal__switch input:checked", "all": true, "optional": true },
|
|
15
|
+
{ "click": ".c-consent-modal__consent-preference-container .c-consent-modal__accept-button-container button" }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "wait": 1000 }, { "cookieContains": "COOKIE_CONSENT_MODAL=completed" }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bristan-group",
|
|
3
|
+
"vendorUrl": "https://www.bristan.com/",
|
|
4
|
+
"prehideSelectors": [".cookie-banner:has(.cookie-banner--content-basic)"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".cookie-banner .cookie-banner--content-basic"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"exists": ".cookie-banner #btn-necessary-cookie"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".cookie-banner.active #btn-necessary-cookie"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".cookie-banner #submit-cookie"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".cookie-banner #btn-necessary-cookie"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": ".cookie-banner.active",
|
|
29
|
+
"check": "none",
|
|
30
|
+
"timeout": 1000,
|
|
31
|
+
"optional": true
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"comment": "older script versions throw in the necessary-cookies handler before closing the banner",
|
|
35
|
+
"if": {
|
|
36
|
+
"exists": ".cookie-banner.active"
|
|
37
|
+
},
|
|
38
|
+
"then": [
|
|
39
|
+
{
|
|
40
|
+
"waitForThenClick": ".cookie-banner #btn-customize-cookie"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"waitForThenClick": ".cookie-banner #btn-update-cookie-popup"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"waitForVisible": ".cookie-banner.active",
|
|
49
|
+
"check": "none"
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"test": [
|
|
53
|
+
{
|
|
54
|
+
"visible": ".cookie-banner.active",
|
|
55
|
+
"check": "none"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
@@ -1,37 +1,40 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bswhealth",
|
|
3
3
|
"vendorUrl": "https://www.bswhealth.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?bswhealth\\.com/"
|
|
6
|
+
},
|
|
4
7
|
"cosmetic": false,
|
|
5
|
-
"prehideSelectors": ["
|
|
8
|
+
"prehideSelectors": [".consent-banner"],
|
|
6
9
|
"detectCmp": [
|
|
7
10
|
{
|
|
8
|
-
"exists": "
|
|
11
|
+
"exists": ".consent-banner .manage-cookies-btn"
|
|
9
12
|
}
|
|
10
13
|
],
|
|
11
14
|
"detectPopup": [
|
|
12
15
|
{
|
|
13
|
-
"visible": "
|
|
16
|
+
"visible": ".consent-banner .manage-cookies-btn"
|
|
14
17
|
}
|
|
15
18
|
],
|
|
16
19
|
"optIn": [
|
|
17
20
|
{
|
|
18
|
-
"waitForThenClick": "
|
|
21
|
+
"waitForThenClick": ".consent-banner .accept-btn"
|
|
19
22
|
}
|
|
20
23
|
],
|
|
21
24
|
"optOut": [
|
|
22
25
|
{
|
|
23
|
-
"waitForThenClick": "
|
|
26
|
+
"waitForThenClick": ".consent-banner .manage-cookies-btn"
|
|
24
27
|
},
|
|
25
28
|
{
|
|
26
|
-
"waitForVisible": "
|
|
29
|
+
"waitForVisible": ".config-banner .config-banner_section"
|
|
27
30
|
},
|
|
28
31
|
{
|
|
29
|
-
"waitForThenClick": "
|
|
32
|
+
"waitForThenClick": ".config-banner input[type=checkbox]:checked:not(:disabled)",
|
|
30
33
|
"all": true,
|
|
31
34
|
"optional": true
|
|
32
35
|
},
|
|
33
36
|
{
|
|
34
|
-
"waitForThenClick": "
|
|
37
|
+
"waitForThenClick": ".config-banner .accept-btn"
|
|
35
38
|
}
|
|
36
39
|
],
|
|
37
40
|
"test": [
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "captain-compliance",
|
|
3
|
+
"vendorUrl": "https://captaincompliance.com/",
|
|
4
|
+
"prehideSelectors": [".captain-compliance-modal-container"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": [".captain-compliance-modal-container", "#cc-modal-cookies-banner"]
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": [".captain-compliance-modal-container", "#cc-modal-cookies-banner"]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": [".captain-compliance-modal-container", "#cc-modal-allow-all"]
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": [".captain-compliance-modal-container", "#cc-modal-reject-all"]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "\"status\":\"REJECTED\""
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cardiff-university",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://www.cardiff.ac.uk/"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": true,
|
|
7
|
+
"runContext": {
|
|
8
|
+
"urlPattern": "^https?://(\\w+\\.)?cardiff\\.ac\\.uk/"
|
|
9
|
+
},
|
|
10
|
+
"minimumRuleStepVersion": 2,
|
|
11
|
+
"prehideSelectors": ["#cu-cookie-alert"],
|
|
12
|
+
"detectCmp": [
|
|
13
|
+
{
|
|
14
|
+
"exists": "#cu-cookie-alert #accept-cookie-message"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"detectPopup": [
|
|
18
|
+
{
|
|
19
|
+
"visible": "#cu-cookie-alert"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optIn": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#cu-cookie-alert #accept-cookie-message"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"optOut": [
|
|
28
|
+
{
|
|
29
|
+
"hide": "#cu-cookie-alert"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"removeClass": "with-cookie-banner",
|
|
33
|
+
"selector": "body",
|
|
34
|
+
"optional": true
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cgov-cookiebanner",
|
|
3
|
+
"prehideSelectors": [".cgov-cookiebanner"],
|
|
4
|
+
"detectCmp": [{ "exists": ".cgov-cookiebanner button[name=reject]" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".cgov-cookiebanner" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": ".cgov-cookiebanner button[name=accept]" }],
|
|
7
|
+
"optOut": [{ "waitForThenClick": ".cgov-cookiebanner button[name=reject]" }],
|
|
8
|
+
"test": [{ "waitForVisible": ".cgov-cookiebanner", "check": "none", "timeout": 2000 }]
|
|
9
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "chrono24",
|
|
3
|
+
"vendorUrl": "https://www.chrono24.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?chrono24\\.[a-z.]+/"
|
|
6
|
+
},
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": ".wt-consent-layer-intro"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ".wt-consent-layer-intro"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ".js-consent-accept-all"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"if": {
|
|
25
|
+
"exists": ".js-consent-accept-required"
|
|
26
|
+
},
|
|
27
|
+
"then": [
|
|
28
|
+
{
|
|
29
|
+
"waitForThenClick": ".js-consent-accept-required",
|
|
30
|
+
"retry": 5,
|
|
31
|
+
"retryInterval": 500
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"else": [
|
|
35
|
+
{
|
|
36
|
+
"waitForThenClick": ".js-consent-settings",
|
|
37
|
+
"retry": 5,
|
|
38
|
+
"retryInterval": 500
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"waitForThenClick": ".wt-consent-manager .wt-consent-manager-save",
|
|
42
|
+
"timeout": 5000
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"test": [
|
|
48
|
+
{
|
|
49
|
+
"waitForVisible": ".wt-consent-layer-intro",
|
|
50
|
+
"timeout": 2000,
|
|
51
|
+
"check": "none"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "civic-govuk-cookiecontrol",
|
|
3
|
+
"vendorUrl": "https://www.drupal.org/project/civic_govuk_cookiecontrol",
|
|
4
|
+
"prehideSelectors": [".civic-govuk-cookiecontrol .cookie-banner"],
|
|
5
|
+
"detectCmp": [{ "exists": ".civic-govuk-cookiecontrol .cookie-banner--main .cookie-banner-button--reject" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".civic-govuk-cookiecontrol .cookie-banner--main .cookie-banner-button--reject" }],
|
|
7
|
+
"optIn": [
|
|
8
|
+
{ "waitForThenClick": ".civic-govuk-cookiecontrol .cookie-banner--main .cookie-banner-button--accept" },
|
|
9
|
+
{ "waitForThenClick": ".civic-govuk-cookiecontrol .cookie-banner-accept--hide", "timeout": 2000, "optional": true }
|
|
10
|
+
],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": ".civic-govuk-cookiecontrol .cookie-banner--main .cookie-banner-button--reject" },
|
|
13
|
+
{ "waitForThenClick": ".civic-govuk-cookiecontrol .cookie-banner-reject--hide", "timeout": 2000, "optional": true }
|
|
14
|
+
],
|
|
15
|
+
"test": [{ "visible": ".civic-govuk-cookiecontrol .cookie-banner--main", "check": "none" }]
|
|
16
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "classbento",
|
|
3
|
+
"vendorUrl": "https://www.classbento.co.uk/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"main": true,
|
|
7
|
+
"frame": false,
|
|
8
|
+
"urlPattern": "^https?://(www\\.)?classbento\\.co\\.uk/"
|
|
9
|
+
},
|
|
10
|
+
"prehideSelectors": ["#gdpr-banner"],
|
|
11
|
+
"detectCmp": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#gdpr-banner #gdpr-essential-btn"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"detectPopup": [
|
|
17
|
+
{
|
|
18
|
+
"visible": "#gdpr-banner"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optIn": [
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": "#gdpr-banner #gdpr-btn"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"optOut": [
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": "#gdpr-banner #gdpr-essential-btn"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"test": [
|
|
32
|
+
{
|
|
33
|
+
"waitForVisible": "#gdpr-banner",
|
|
34
|
+
"check": "none",
|
|
35
|
+
"timeout": 2000
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "collectingcars",
|
|
3
|
+
"vendorUrl": "https://collectingcars.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?collecting(cars)?\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-banner"],
|
|
8
|
+
"detectCmp": [{ "exists": "#cookie-banner [data-clickid=cookiepopup_managecookies]" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#cookie-banner [data-clickid=cookiepopup_managecookies]" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#cookie-banner [data-clickid=cookiepopup_acceptall]" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": "#cookie-banner [data-clickid=cookiepopup_managecookies]" },
|
|
13
|
+
{ "waitForVisible": "[data-cy=acceptSelected]" },
|
|
14
|
+
{ "click": "input[data-widget=hdPreferenceToggle]:checked", "all": true, "optional": true },
|
|
15
|
+
{ "waitForThenClick": "[data-cy=acceptSelected]" }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "cookieContains": "consentPreference=essential" }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "conscious-solutions",
|
|
3
|
+
"vendorUrl": "https://www.conscious.co.uk/",
|
|
4
|
+
"prehideSelectors": ["#ccc-notify.cookie-bar"],
|
|
5
|
+
"detectCmp": [{ "exists": "#ccc-notify.cookie-bar" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#ccc-notify.cookie-bar" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#ccc-notify.cookie-bar #ccc-notify-accept" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{
|
|
10
|
+
"if": {
|
|
11
|
+
"exists": "#ccc-notify.cookie-bar button[onclick^=\"manageCookies('disable')\"], #ccc-notify.cookie-bar button[onclick^=\"manageCookies()\"]"
|
|
12
|
+
},
|
|
13
|
+
"then": [
|
|
14
|
+
{
|
|
15
|
+
"waitForThenClick": "#ccc-notify.cookie-bar button[onclick^=\"manageCookies('disable')\"], #ccc-notify.cookie-bar button[onclick^=\"manageCookies()\"]"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"else": [
|
|
19
|
+
{ "waitForThenClick": "#ccc-notify.cookie-bar button[onclick^=\"manageSettings(\"]" },
|
|
20
|
+
{ "waitForThenClick": ".cookie-modal button#ccc-close[onclick^=\"manageCookies()\"]" }
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"test": [{ "cookieContains": "privacy_cookie_status=deny" }]
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "consentik-notice",
|
|
3
|
+
"vendorUrl": "https://apps.shopify.com/consentik",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": [".otCookiesNotification #cookies-wrapper"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{ "exists": ".otCookiesNotification #cookies-wrapper:not(:has(#cookies-dismiss, #cookies-preferences)) #cookies-submit" }
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [{ "visible": ".otCookiesNotification #cookies-wrapper" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".otCookiesNotification #cookies-wrapper #cookies-submit" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "hide": ".otCookiesNotification #cookies-wrapper" },
|
|
13
|
+
{ "hide": ".otCookiesNotification #opacityBackground", "optional": true }
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "consentik",
|
|
3
|
+
"vendorUrl": "https://apps.shopify.com/consentik",
|
|
4
|
+
"prehideSelectors": [".otCookiesNotification #cookies-wrapper"],
|
|
5
|
+
"detectCmp": [{ "exists": ".otCookiesNotification #cookies-wrapper :is(#cookies-dismiss, #cookies-preferences)" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".otCookiesNotification #cookies-wrapper" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ".otCookiesNotification #cookies-wrapper #cookies-submit" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{
|
|
10
|
+
"if": { "exists": ".otCookiesNotification #cookies-wrapper #cookies-dismiss" },
|
|
11
|
+
"then": [{ "waitForThenClick": ".otCookiesNotification #cookies-wrapper #cookies-dismiss" }],
|
|
12
|
+
"else": [
|
|
13
|
+
{ "click": ".otCookiesNotification #cookies-wrapper #cookies-preferences" },
|
|
14
|
+
{ "waitForVisible": ".otCookiesNotification .cookies-btn.btn-select", "check": "any" },
|
|
15
|
+
{
|
|
16
|
+
"click": ".otCookiesNotification .omgCookie-input-switch:checked:not(:disabled):not([data-id=necessary])",
|
|
17
|
+
"all": true,
|
|
18
|
+
"optional": true
|
|
19
|
+
},
|
|
20
|
+
{ "click": ".otCookiesNotification .cookies-btn.btn-select" }
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"test": [{ "cookieContains": "\"categoriesSelected\":[" }, { "cookieContains": "\"marketing\"", "negated": true }]
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookie-banner-required-only",
|
|
3
|
+
"cosmetic": false,
|
|
4
|
+
"runContext": {
|
|
5
|
+
"main": true,
|
|
6
|
+
"frame": false
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#cookieBanner.cookie-banner"],
|
|
9
|
+
"detectCmp": [{ "exists": "#cookieBanner.cookie-banner .cookie-actions button.btn-required-only" }],
|
|
10
|
+
"detectPopup": [{ "visible": "#cookieBanner.cookie-banner" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": "#cookieBanner.cookie-banner .cookie-actions button.btn-accept-all" }],
|
|
12
|
+
"optOut": [
|
|
13
|
+
{ "waitForThenClick": "#cookieBanner.cookie-banner .cookie-actions button.btn-required-only" },
|
|
14
|
+
{ "waitForVisible": "#cookieBanner.cookie-banner", "check": "none" }
|
|
15
|
+
],
|
|
16
|
+
"test": [{ "cookieContains": "cookie-analytics=0" }, { "cookieContains": "cookie-functional=0" }]
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookiebanner-closecookie",
|
|
3
|
+
"prehideSelectors": [],
|
|
4
|
+
"detectCmp": [{ "exists": "#cookieBanner a.btn-closecookie" }],
|
|
5
|
+
"detectPopup": [{ "visible": "#cookieBanner a.btn-closecookie" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": "#cookieBanner a.btn-closecookie" }],
|
|
7
|
+
"optOut": [{ "waitForThenClick": "#cookieBanner a.btn-closecookie" }],
|
|
8
|
+
"test": [{ "cookieContains": "seenCookieNotification=1" }]
|
|
9
|
+
}
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cookiesjsr",
|
|
3
3
|
"_metadata": { "vendorUrl": "https://github.com/jfeltkamp/cookiesjsr" },
|
|
4
|
-
"prehideSelectors": [".cookiesjsr-banner.active"],
|
|
4
|
+
"prehideSelectors": [".cookiesjsr-banner.active", ".cookiesjsr-banner--active"],
|
|
5
5
|
"detectCmp": [{ "exists": ".cookiesjsr-banner" }],
|
|
6
|
-
"detectPopup": [{ "visible": ".cookiesjsr-banner.active" }],
|
|
7
|
-
"optIn": [{ "waitForThenClick": ".cookiesjsr-banner.active .allowAll" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".cookiesjsr-banner.active, .cookiesjsr-banner--active" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ".cookiesjsr-banner.active .allowAll, .cookiesjsr-banner--active .allowAll" }],
|
|
8
8
|
"optOut": [
|
|
9
9
|
{
|
|
10
|
-
"if": { "visible": ".cookiesjsr-banner.active .denyAll" },
|
|
11
|
-
"then": [{ "click": ".cookiesjsr-banner.active .denyAll" }],
|
|
10
|
+
"if": { "visible": ".cookiesjsr-banner.active .denyAll, .cookiesjsr-banner--active .denyAll" },
|
|
11
|
+
"then": [{ "click": ".cookiesjsr-banner.active .denyAll, .cookiesjsr-banner--active .denyAll" }],
|
|
12
12
|
"else": [
|
|
13
|
-
{ "waitForThenClick": ".cookiesjsr-banner.active .cookiesjsr-settings" },
|
|
13
|
+
{ "waitForThenClick": ".cookiesjsr-banner.active .cookiesjsr-settings, .cookiesjsr-banner--active .cookiesjsr-settings" },
|
|
14
14
|
{ "waitForVisible": ".cookiesjsr-layer" },
|
|
15
15
|
{
|
|
16
16
|
"if": { "visible": ".cookiesjsr-layer .denyAll" },
|
|
17
17
|
"then": [{ "click": ".cookiesjsr-layer .denyAll" }],
|
|
18
18
|
"else": [
|
|
19
|
-
{
|
|
19
|
+
{
|
|
20
|
+
"click": ".cookiesjsr-layer .cookiesjsr-switch.active input, .cookiesjsr-layer .cookiesjsr-switch--active input",
|
|
21
|
+
"all": true,
|
|
22
|
+
"optional": true
|
|
23
|
+
},
|
|
20
24
|
{ "waitForThenClick": ".cookiesjsr-layer .save" }
|
|
21
25
|
]
|
|
22
26
|
}
|
|
23
27
|
]
|
|
24
28
|
},
|
|
25
|
-
{ "waitForVisible": ".cookiesjsr-banner.active", "timeout": 2000, "check": "none" }
|
|
29
|
+
{ "waitForVisible": ".cookiesjsr-banner.active, .cookiesjsr-banner--active", "timeout": 2000, "check": "none" }
|
|
26
30
|
]
|
|
27
31
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "copaair",
|
|
3
|
+
"vendorUrl": "https://www.copaair.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?copaair\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["[role=dialog]:has(img[src*=\"/assets/Cookies.svg\"])"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "[role=dialog]:has(img[src*=\"/assets/Cookies.svg\"])"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "[role=dialog]:has(img[src*=\"/assets/Cookies.svg\"])"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "[role=dialog]:has(img[src*=\"/assets/Cookies.svg\"]) button"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "[role=dialog]:has(img[src*=\"/assets/Cookies.svg\"]) button"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "gdprcm=true"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "crocobet",
|
|
3
|
+
"vendorUrl": "https://crocobet.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(\\w+\\.)?crocobet\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["crc-main-cookie-consent", "crc-m-cookie-consent"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "crc-main-cookie-consent [data-cy=\"cookie\"], crc-m-cookie-consent [data-cy=\"main\"]"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "crc-main-cookie-consent [data-cy=\"cookie\"], crc-m-cookie-consent [data-cy=\"main\"]"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "crc-main-cookie-consent [data-cy=\"cookie-action\"] button, crc-m-cookie-consent [data-cy=\"main-button-approved\"]"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "crc-main-cookie-consent, crc-m-cookie-consent"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": "crc-main-cookie-consent [data-cy=\"cookie\"], crc-m-cookie-consent [data-cy=\"main\"]",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|