@duckduckgo/autoconsent 1.0.2 → 1.0.5
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/package.json +1 -1
- package/rules/autoconsent/arzt-auskunft-de.json +8 -0
- package/rules/autoconsent/aws-amazon.json +18 -0
- package/rules/autoconsent/baden-wuerttemberg-de.json +9 -0
- package/rules/autoconsent/borlabs.json +12 -0
- package/rules/autoconsent/bundesregierung-de.json +15 -0
- package/rules/autoconsent/corona-in-zahlen-de.json +8 -0
- package/rules/autoconsent/deepl.json +8 -0
- package/rules/autoconsent/destatis-de.json +8 -0
- package/rules/autoconsent/hl-co-uk.json +33 -0
- package/rules/autoconsent/ionos-de.json +15 -0
- package/rules/autoconsent/johnlewis.json +14 -0
- package/rules/autoconsent/mediamarkt-de.json +11 -0
- package/rules/autoconsent/metoffice-gov-uk.json +8 -0
- package/rules/autoconsent/microsoft.json +9 -0
- package/rules/autoconsent/moneysavingexpert.json +14 -0
- package/rules/autoconsent/motor-talk-de.json +24 -0
- package/rules/autoconsent/national-lottery-co-uk.json +11 -0
- package/rules/autoconsent/netflix-de.json +7 -0
- package/rules/autoconsent/nhs.json +8 -0
- package/rules/autoconsent/obi-de.json +12 -0
- package/rules/autoconsent/otto-de.json +12 -0
- package/rules/autoconsent/paypal-de.json +12 -0
- package/rules/autoconsent/snigel.json +7 -0
- package/rules/autoconsent/steampowered.json +15 -0
- package/rules/autoconsent/thalia-de.json +24 -0
- package/rules/autoconsent/thefreedictionary.json +12 -0
- package/rules/autoconsent/usercentrics-1.json +19 -0
- package/rules/autoconsent/vodafone-de.json +13 -0
- package/rules/autoconsent/xing.json +15 -0
- package/rules/rules.json +904 -59
- package/tests/arzt-auskunft.spec.ts +7 -0
- package/tests/aws.amazon.spec.ts +7 -0
- package/tests/baden-wuerttemberg.spec.ts +7 -0
- package/tests/borlabs.spec.ts +7 -0
- package/tests/bundesregierung.spec.ts +7 -0
- package/tests/consentmanager.spec.ts +2 -1
- package/tests/cookiebot.spec.ts +3 -3
- package/tests/cookieconsent.spec.ts +2 -1
- package/tests/cookielawinfo.spec.ts +0 -1
- package/tests/corona-in-zahlen.spec.ts +7 -0
- package/tests/deepl.spec.ts +7 -0
- package/tests/destatis.spec.ts +7 -0
- package/tests/eu-cookie-compliance-banner.spec.ts +0 -1
- package/tests/hl-co-uk.spec.ts +7 -0
- package/tests/ionos.spec.ts +7 -0
- package/tests/johnlewis.spec.ts +7 -0
- package/tests/mediamarkt.spec.ts +7 -0
- package/tests/metoffice-gov-uk.spec.ts +7 -0
- package/tests/microsoft.spec.ts +9 -0
- package/tests/moneysavingexpert.spec.ts +7 -0
- package/tests/motor-talk.spec.ts +7 -0
- package/tests/national-lottery.spec.ts +7 -0
- package/tests/netflix.spec.ts +7 -0
- package/tests/nhs.spec.ts +7 -0
- package/tests/obi.spec.ts +7 -0
- package/tests/onetrust.spec.ts +0 -1
- package/tests/otto.spec.ts +7 -0
- package/tests/paypal.spec.ts +7 -0
- package/tests/runner.ts +1 -1
- package/tests/snigel.spec.ts +7 -0
- package/tests/steampowered.spec.ts +7 -0
- package/tests/thalia.spec.ts +7 -0
- package/tests/thefreedictionary.spec.ts +7 -0
- package/tests/usercentrics-1.spec.ts +9 -0
- package/tests/vodafone.spec.ts +7 -0
- package/tests/wordpressgdpr.spec.ts +0 -1
- package/tests/xing.spec.ts +8 -0
- package/tests/optanon.spec.ts +0 -10
package/package.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "arzt-auskunft.de",
|
|
3
|
+
"prehideSelectors": ["#cookiescript_injected"],
|
|
4
|
+
"detectCmp": [{"exists": "#cookiescript_injected"}],
|
|
5
|
+
"detectPopup": [{"visible": "#cookiescript_injected"}],
|
|
6
|
+
"optOut": [{"click": "#cookiescript_reject"}],
|
|
7
|
+
"optIn": [{"click": "#cookiescript_accept"}]
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "aws.amazon.com",
|
|
3
|
+
"prehideSelectors": ["#awsccc-cb-content", "#awsccc-cs-container-inner"],
|
|
4
|
+
"detectCmp": [{ "exists": "#awsccc-cb-content" }],
|
|
5
|
+
"detectPopup": [{ "visible": "#awsccc-cb-content" }],
|
|
6
|
+
"optIn": [{ "click": "button[data-id=awsccc-cb-btn-accept" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"click": "button[data-id=awsccc-cb-btn-customize]"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"eval": "Array.from(document.querySelectorAll('input[aria-checked=true')).forEach(e => e.click()) || true"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"click": "button[data-id=awsccc-cs-btn-save]"
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "baden-wuerttemberg.de",
|
|
3
|
+
"isHidingRule": true,
|
|
4
|
+
"prehideSelectors": [".cookie-alert.t-dark"],
|
|
5
|
+
"detectCmp": [{ "exists": ".cookie-alert.t-dark" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".cookie-alert.t-dark" }],
|
|
7
|
+
"optIn": [{ "click": ".cookie-alert__button" }],
|
|
8
|
+
"optOut": []
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "borlabs",
|
|
3
|
+
"prehideSelectors": ["#BorlabsCookieBox"],
|
|
4
|
+
"detectCmp": [{ "exists": "._brlbs-block-content"}],
|
|
5
|
+
"detectPopup": [{ "visible": "._brlbs-bar-wrap,._brlbs-box-wrap" }],
|
|
6
|
+
"optIn": [{ "click": "a[data-cookie-accept-all]" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"click": "a[data-cookie-refuse]"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bundesregierung.de",
|
|
3
|
+
"prehideSelectors": [".bpa-cookie-banner"],
|
|
4
|
+
"detectCmp": [{ "exists": ".bpa-cookie-banner" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".bpa-module-full-hero" }],
|
|
6
|
+
"optIn": [{ "click": ".bpa-accept-all-button" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"click": ".bpa-close-button"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"test": [
|
|
13
|
+
{"eval": "document.cookie.match('cookie-allow-tracking=0')"}
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "corona-in-zahlen.de",
|
|
3
|
+
"prehideSelectors": [".cookiealert"],
|
|
4
|
+
"detectCmp": [{ "exists": ".cookiealert" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".cookiealert" }],
|
|
6
|
+
"optOut": [{"click": ".configurecookies"}, {"click": ".confirmcookies"}],
|
|
7
|
+
"optIn": [{ "click": ".acceptcookies"}]
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "deepl.com",
|
|
3
|
+
"prehideSelectors": [".dl_cookieBanner_container"],
|
|
4
|
+
"detectCmp": [{ "exists": ".dl_cookieBanner_container" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".dl_cookieBanner_container" }],
|
|
6
|
+
"optOut": [{"click": ".dl_cookieBanner--buttonSelected"}],
|
|
7
|
+
"optIn": [{ "click": ".dl_cookieBanner--buttonAll"}]
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "destatis.de",
|
|
3
|
+
"prehideSelectors": ["div[aria-labelledby=cookiebannerhead]"],
|
|
4
|
+
"isHidingRule": true,
|
|
5
|
+
"detectCmp": [{ "exists": ".cookiebannerbox" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".cookiebannerbox" }],
|
|
7
|
+
"optOut": [{ "hide": [".cookiebannerbox"] }]
|
|
8
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hl.co.uk",
|
|
3
|
+
"prehideSelectors": [".cookieModalContent", "#cookie-banner-overlay"],
|
|
4
|
+
"detectCmp": [{ "exists": "#cookie-banner-overlay" }],
|
|
5
|
+
"detectPopup": [{ "exists": "#cookie-banner-overlay" }],
|
|
6
|
+
"optIn": [{ "click": "#acceptCookieButton" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"click": "#manageCookie"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"hide": [".cookieSettingsModal"]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"wait": 500
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"click": "#AOCookieToggle"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"eval": "document.querySelector('#AOCookieToggle').getAttribute('aria-pressed') === 'false'"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"click": "#TPCookieToggle"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"eval": "document.querySelector('#TPCookieToggle').getAttribute('aria-pressed') === 'false'"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"click": "#updateCookieButton"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ionos.de",
|
|
3
|
+
"prehideSelectors": [".privacy-consent--backdrop", ".privacy-consent--modal"],
|
|
4
|
+
"detectCmp": [{ "exists": ".privacy-consent--modal"}],
|
|
5
|
+
"detectPopup": [{ "visible": ".privacy-consent--modal" }],
|
|
6
|
+
"optIn": [{ "click": "#selectAll" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"click": ".footer-config-link"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"click": "#confirmSelection"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "johnlewis.com",
|
|
3
|
+
"prehideSelectors": ["div[class^=pecr-cookie-banner-]"],
|
|
4
|
+
"detectCmp": [{ "exists": "div[class^=pecr-cookie-banner-]" }],
|
|
5
|
+
"detectPopup": [{ "exists": "div[class^=pecr-cookie-banner-]" }],
|
|
6
|
+
"optOut": [
|
|
7
|
+
{"click": "button[data-test^=manage-cookies]"},
|
|
8
|
+
{"wait": "500"},
|
|
9
|
+
{"eval": "!!Array.from(document.querySelectorAll('label[data-test^=toggle]')).forEach(e => e.click())", "optional": true },
|
|
10
|
+
{"eval": "Array.from(document.querySelectorAll('label[data-test^=toggle]')).filter(e => e.className.match('checked') && !e.className.match('disabled')).length === 0"},
|
|
11
|
+
{"click": "button[data-test=save-preferences]"}
|
|
12
|
+
],
|
|
13
|
+
"optIn": [{ "click": "button[data-test=allow-all]"}]
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mediamarkt.de",
|
|
3
|
+
"prehideSelectors": [
|
|
4
|
+
"div[aria-labelledby=pwa-consent-layer-title]",
|
|
5
|
+
"div[class^=StyledConsentLayerWrapper-]"
|
|
6
|
+
],
|
|
7
|
+
"detectCmp": [{"exists": "div[aria-labelledby^=pwa-consent-layer-title]"}],
|
|
8
|
+
"detectPopup": [{"exists": "div[aria-labelledby^=pwa-consent-layer-title]"}],
|
|
9
|
+
"optOut": [{"click": "button[data-test^=pwa-consent-layer-deny-all]"}],
|
|
10
|
+
"optIn": [{"click": "'button[data-test^=pwa-consent-layer-accept-all'"}]
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "microsoft.com",
|
|
3
|
+
"prehideSelectors": ["#wcpConsentBannerCtrl"],
|
|
4
|
+
"detectCmp": [{ "exists": "#wcpConsentBannerCtrl" }],
|
|
5
|
+
"detectPopup": [{ "exists": "#wcpConsentBannerCtrl" }],
|
|
6
|
+
"optOut": [{ "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Reject|Ablehnen'))[0].click() || true" }],
|
|
7
|
+
"optIn": [{ "eval": "Array.from(document.querySelectorAll('div > button')).filter(el => el.innerText.match('Accept|Annehmen'))[0].click()" }],
|
|
8
|
+
"test": [{ "eval": "!!document.cookie.match('MSCC')"}]
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "moneysavingexpert.com",
|
|
3
|
+
"detectCmp": [{ "exists": "dialog[data-testid=accept-our-cookies-dialog]" }],
|
|
4
|
+
"detectPopup": [{ "visible": "dialog[data-testid=accept-our-cookies-dialog]" }],
|
|
5
|
+
"optIn": [{ "click": "#banner-accept" }],
|
|
6
|
+
"optOut": [
|
|
7
|
+
{
|
|
8
|
+
"click": "#banner-manage"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"click": "#pc-confirm"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "motor-talk.de",
|
|
3
|
+
"prehideSelectors": [".mt-cc-bnnr__wrapper"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": ".mt-cc-bnnr"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": ".mt-cc-bnnr__wrapper"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"click": ".mt-cc-bnnr__button-main"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optOut": [
|
|
20
|
+
{
|
|
21
|
+
"click": ".mt-cc-bnnr__decline-link"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "national-lottery.co.uk",
|
|
3
|
+
"detectCmp": [{"exists": ".cuk_cookie_consent"}],
|
|
4
|
+
"detectPopup": [{"visible": ".cuk_cookie_consent", "check": "any"}],
|
|
5
|
+
"optOut": [
|
|
6
|
+
{"click": ".cuk_cookie_consent_manage_pref"},
|
|
7
|
+
{"click": ".cuk_cookie_consent_save_pref"},
|
|
8
|
+
{"click": ".cuk_cookie_consent_close"}
|
|
9
|
+
],
|
|
10
|
+
"optIn": [{"click": ".cuk_cookie_consent_accept_all"}]
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "netflix.de",
|
|
3
|
+
"detectCmp": [{ "exists": "#cookie-disclosure" }],
|
|
4
|
+
"detectPopup": [{ "visible": ".cookie-disclosure-message", "check": "any" }],
|
|
5
|
+
"optIn": [{ "click": ".btn-accept" }],
|
|
6
|
+
"optOut": [{"hide": ["#cookie-disclosure"]}, {"click": ".btn-reject"}]
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nhs.uk",
|
|
3
|
+
"prehideSelectors": ["#nhsuk-cookie-banner"],
|
|
4
|
+
"detectCmp": [{ "exists": "#nhsuk-cookie-banner" }],
|
|
5
|
+
"detectPopup": [{ "exists": "#nhsuk-cookie-banner" }],
|
|
6
|
+
"optOut": [{ "click": "#nhsuk-cookie-banner__link_accept"}],
|
|
7
|
+
"optIn": [{ "click": "#nhsuk-cookie-banner__link_accept_analytics"}]
|
|
8
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "obi.de",
|
|
3
|
+
"prehideSelectors": [".disc-cp--active"],
|
|
4
|
+
"detectCmp": [{ "exists": ".disc-cp-modal__modal" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".disc-cp-modal__modal" }],
|
|
6
|
+
"optIn": [{ "click": ".js-disc-cp-accept-all" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"click": ".js-disc-cp-deny-all"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "otto.de",
|
|
3
|
+
"prehideSelectors": [".cookieBanner--visibility"],
|
|
4
|
+
"detectCmp": [{ "exists": ".cookieBanner--visibility"}],
|
|
5
|
+
"detectPopup": [{ "visible": ".cookieBanner__wrapper" }],
|
|
6
|
+
"optIn": [{ "click": ".js_cookieBannerPermissionButton" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"click": ".js_cookieBannerProhibitionButton"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "paypal.de",
|
|
3
|
+
"prehideSelectors": ["#gdprCookieBanner"],
|
|
4
|
+
"detectCmp": [{ "exists": "#gdprCookieBanner"}],
|
|
5
|
+
"detectPopup": [{ "visible": "#gdprCookieContent_wrapper" }],
|
|
6
|
+
"optIn": [{ "click": "#acceptAllButton" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"click": ".gdprCookieBanner_decline-button"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "snigel",
|
|
3
|
+
"detectCmp": [{ "exists": ".snigel-cmp-framework" }],
|
|
4
|
+
"detectPopup": [{ "visible": ".snigel-cmp-framework" }],
|
|
5
|
+
"optOut": [{ "click": "#sn-b-custom" }, {"click": "#sn-b-save"}],
|
|
6
|
+
"test": [{ "eval": "!!document.cookie.match('snconsent')"}]
|
|
7
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "steampowered.com",
|
|
3
|
+
"detectCmp": [{ "exists": ".cookiepreferences_popup" }, { "visible": ".cookiepreferences_popup" }],
|
|
4
|
+
"detectPopup": [{ "visible": ".cookiepreferences_popup" }],
|
|
5
|
+
"optOut": [{ "click": "#rejectAllButton" }],
|
|
6
|
+
"optIn": [{ "click": "#acceptAllButton" }],
|
|
7
|
+
"test": [
|
|
8
|
+
{
|
|
9
|
+
"wait": 1000
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"eval": "JSON.parse(decodeURIComponent(document.cookie.split(';').find(s => s.trim().startsWith('cookieSettings')).split('=')[1])).preference_state === 2"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "thalia.de",
|
|
3
|
+
"prehideSelectors": [".consent-banner-box"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": "consent-banner[component=consent-banner]"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": ".consent-banner-box"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"click": ".button-zustimmen"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optOut": [
|
|
20
|
+
{
|
|
21
|
+
"click": "button[data-consent=disagree]"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "thefreedictionary.com",
|
|
3
|
+
"prehideSelectors": ["#cmpBanner"],
|
|
4
|
+
"detectCmp": [{ "exists": "#cmpBanner" }],
|
|
5
|
+
"detectPopup": [{ "visible": "#cmpBanner" }],
|
|
6
|
+
"optIn": [{ "eval": "cmpUi.allowAll()" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"eval": "cmpUi.showPurposes() || cmpUi.rejectAll() || true"
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "usercentrics-1",
|
|
3
|
+
"detectCmp": [{ "exists": "#usercentrics-root" }],
|
|
4
|
+
"detectPopup": [
|
|
5
|
+
{
|
|
6
|
+
"eval": "!!document.querySelector('#usercentrics-root').shadowRoot.querySelector('#uc-center-container')"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"optIn": [
|
|
10
|
+
{ "eval": "!!UC_UI.acceptAllConsents()" },
|
|
11
|
+
{ "eval": "!!UC_UI.closeCMP()" },
|
|
12
|
+
{ "eval": "UC_UI.areAllConsentsAccepted() === true" }
|
|
13
|
+
],
|
|
14
|
+
"optOut": [
|
|
15
|
+
{ "eval": "!!UC_UI.closeCMP()" },
|
|
16
|
+
{ "eval": "!!UC_UI.denyAllConsents()" }
|
|
17
|
+
],
|
|
18
|
+
"test": [{ "eval": "UC_UI.areAllConsentsAccepted() === false" }]
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vodafone.de",
|
|
3
|
+
"prehideSelectors": [".dip-consent,.dip-consent-container"],
|
|
4
|
+
"detectCmp": [{ "exists": ".dip-consent-container" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".dip-consent-content" }],
|
|
6
|
+
"optOut": [
|
|
7
|
+
{ "click": ".dip-consent-btn.white-btn" },
|
|
8
|
+
{
|
|
9
|
+
"eval": "Array.from(document.querySelectorAll('.dip-consent-btn.red-btn')).filter(e => e.innerText === 'Auswahl bestätigen')[0].click() || true"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"optIn": [{ "click": ".dip-consent-btn.red-btn" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "xing.com",
|
|
3
|
+
"detectCmp": [{ "exists": "div[class^=cookie-consent-CookieConsent]" }],
|
|
4
|
+
"detectPopup": [{ "exists": "div[class^=cookie-consent-CookieConsent]" }],
|
|
5
|
+
"optIn": [{ "click": "#consent-accept-button" }],
|
|
6
|
+
"optOut": [
|
|
7
|
+
{
|
|
8
|
+
"click": "#consent-settings-button"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"click": ".consent-banner-button-accept-overlay"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"test": [{"eval": "document.cookie.includes('userConsent=%7B%22marketing%22%3Afalse')"}]
|
|
15
|
+
}
|