@duckduckgo/autoconsent 9.6.0 → 9.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/addon-firefox/background.bundle.js +7 -0
- package/dist/addon-firefox/content.bundle.js +7 -0
- package/dist/addon-firefox/rules.json +897 -4
- package/dist/addon-mv3/background.bundle.js +7 -0
- package/dist/addon-mv3/content.bundle.js +7 -0
- package/dist/addon-mv3/rules.json +897 -4
- package/dist/autoconsent.cjs.js +7 -0
- package/dist/autoconsent.esm.js +7 -0
- package/dist/autoconsent.playwright.js +1 -1
- package/dist/autoconsent.unit.js +904 -4
- package/lib/eval-snippets.ts +7 -0
- package/package.json +1 -1
- package/rules/autoconsent/abconcerts.be.json +39 -0
- package/rules/autoconsent/aliexpress.json +39 -0
- package/rules/autoconsent/arbeitsagentur.json +36 -0
- package/rules/autoconsent/asus.json +43 -0
- package/rules/autoconsent/cookieacceptbar.json +26 -0
- package/rules/autoconsent/cookieconsent2.json +32 -0
- package/rules/autoconsent/cookieconsent3.json +29 -0
- package/rules/autoconsent/dndbeyond.json +31 -0
- package/rules/autoconsent/hashicorp.json +31 -0
- package/rules/autoconsent/hu-manity.json +28 -0
- package/rules/autoconsent/jdsports.json +39 -0
- package/rules/autoconsent/lineagrafica.json +26 -0
- package/rules/autoconsent/livejasmin.json +39 -0
- package/rules/autoconsent/om.json +40 -0
- package/rules/autoconsent/openli.json +26 -0
- package/rules/autoconsent/ourworldindata.json +28 -0
- package/rules/autoconsent/pabcogypsum.json +25 -0
- package/rules/autoconsent/productz.com.json +28 -0
- package/rules/autoconsent/setapp.com.json +29 -0
- package/rules/autoconsent/svt.se.json +31 -0
- package/rules/autoconsent/taunton.json +36 -0
- package/rules/autoconsent/termsfeed.json +26 -0
- package/rules/autoconsent/termsfeed3.json +27 -0
- package/rules/autoconsent/twitch-mobile.json +29 -0
- package/rules/autoconsent/wolframalpha.json +29 -0
- package/rules/autoconsent/xe.com.json +39 -0
- package/rules/create-rule.mjs +2 -2
- package/rules/rules.json +897 -4
- package/tests/abconcerts.be.spec.ts +7 -0
- package/tests/aliexpress.spec.ts +6 -0
- package/tests/arbeitsagentur.spec.ts +5 -0
- package/tests/asus.spec.ts +6 -0
- package/tests/cookieacceptbar.spec.ts +6 -0
- package/tests/cookieconsent2.spec.ts +7 -0
- package/tests/cookieconsent3.spec.ts +5 -0
- package/tests/dndbeyond.spec.ts +5 -0
- package/tests/hashicorp.spec.ts +5 -0
- package/tests/hu-manity.spec.ts +7 -0
- package/tests/jdsports.spec.ts +5 -0
- package/tests/lineagrafica.spec.ts +5 -0
- package/tests/livejasmin.spec.ts +5 -0
- package/tests/om.spec.ts +9 -0
- package/tests/openli.spec.ts +6 -0
- package/tests/ourworldindata.spec.ts +5 -0
- package/tests/pabcogypsum.spec.ts +5 -0
- package/tests/productz.com.spec.ts +5 -0
- package/tests/setapp.com.spec.ts +5 -0
- package/tests/svt.se.spec.ts +5 -0
- package/tests/taunton.spec.ts +11 -0
- package/tests/termsfeed.spec.ts +6 -0
- package/tests/termsfeed3.spec.ts +7 -0
- package/tests/twitch-mobile.spec.ts +5 -0
- package/tests/wolframalpha.spec.ts +5 -0
- package/tests/xe.com.spec.ts +5 -0
package/lib/eval-snippets.ts
CHANGED
|
@@ -37,6 +37,7 @@ export const snippets = {
|
|
|
37
37
|
EVAL_ADROLL_0: () => !document.cookie.includes('__adroll_fpc'),
|
|
38
38
|
EVAL_ALMACMP_0: () => document.cookie.includes('"name":"Google","consent":false'),
|
|
39
39
|
EVAL_AFFINITY_SERIF_COM_0: () => document.cookie.includes('serif_manage_cookies_viewed') && !document.cookie.includes('serif_allow_analytics'),
|
|
40
|
+
EVAL_ARBEITSAGENTUR_TEST: () => document.cookie.includes('cookie_consent=denied'),
|
|
40
41
|
EVAL_AXEPTIO_0: () => document.cookie.includes('axeptio_authorized_vendors=%2C%2C'),
|
|
41
42
|
EVAL_BAHN_TEST: () => utag.gdpr.getSelectedCategories().length === 1,
|
|
42
43
|
EVAL_BING_0: () => document.cookie.includes('AL=0') && document.cookie.includes('AD=0') && document.cookie.includes('SM=0'),
|
|
@@ -47,6 +48,8 @@ export const snippets = {
|
|
|
47
48
|
EVAL_CC_BANNER2_0: () => !!document.cookie.match(/sncc=[^;]+D%3Dtrue/),
|
|
48
49
|
EVAL_CLICKIO_0: () => document.cookie.includes('__lxG__consent__v2_daisybit='),
|
|
49
50
|
EVAL_CLINCH_0: () => document.cookie.includes('ctc_rejected=1'),
|
|
51
|
+
EVAL_COOKIECONSENT2_TEST: () => document.cookie.includes('cc_cookie='),
|
|
52
|
+
EVAL_COOKIECONSENT3_TEST: () => document.cookie.includes('cc_cookie='),
|
|
50
53
|
EVAL_COINBASE_0: () => JSON.parse(decodeURIComponent(document.cookie.match(/cm_(eu|default)_preferences=([0-9a-zA-Z\\{\\}\\[\\]%:]*);?/)[2])).consent.length <= 1,
|
|
51
54
|
EVAL_COMPLIANZ_BANNER_0: () => document.cookie.includes('cmplz_banner-status=dismissed'),
|
|
52
55
|
EVAL_COOKIE_LAW_INFO_0: () => CLI.disableAllCookies() || CLI.reject_close() || true,
|
|
@@ -63,6 +66,7 @@ export const snippets = {
|
|
|
63
66
|
EVAL_COOKIEINFORMATION_2: () => document.cookie.includes('CookieInformationConsent='),
|
|
64
67
|
EVAL_COOKIEYES_0: () => document.cookie.includes('advertisement:no'),
|
|
65
68
|
EVAL_DAILYMOTION_0: () => !!document.cookie.match('dm-euconsent-v2'),
|
|
69
|
+
EVAL_DNDBEYOND_TEST: () => document.cookie.includes('cookie-consent=denied'),
|
|
66
70
|
EVAL_DSGVO_0: () => !document.cookie.includes('sp_dsgvo_cookie_settings'),
|
|
67
71
|
EVAL_DUNELM_0: () => document.cookie.includes('cc_functional=0') && document.cookie.includes('cc_targeting=0'),
|
|
68
72
|
EVAL_ETSY_0: () => document.querySelectorAll(".gdpr-overlay-body input").forEach(toggle => { toggle.checked = false; }) || true,
|
|
@@ -92,10 +96,12 @@ export const snippets = {
|
|
|
92
96
|
EVAL_SIRDATA_0: () => document.cookie.includes('euconsent-v2'),
|
|
93
97
|
EVAL_SNIGEL_0: () => !!document.cookie.match('snconsent'),
|
|
94
98
|
EVAL_STEAMPOWERED_0: () => JSON.parse(decodeURIComponent(document.cookie.split(';').find(s => s.trim().startsWith('cookieSettings')).split('=')[1])).preference_state === 2,
|
|
99
|
+
EVAL_SVT_TEST: () => document.cookie.includes('cookie-consent-1={"optedIn":true,"functionality":false,"statistics":false}'),
|
|
95
100
|
EVAL_TAKEALOT_0: () => document.body.classList.remove('freeze') || (document.body.style = '') || true,
|
|
96
101
|
EVAL_TARTEAUCITRON_0: () => tarteaucitron.userInterface.respondAll(false) || true,
|
|
97
102
|
EVAL_TARTEAUCITRON_1: () => tarteaucitron.userInterface.respondAll(true) || true,
|
|
98
103
|
EVAL_TARTEAUCITRON_2: () => document.cookie.match(/tarteaucitron=[^;]*/)[0].includes('false'),
|
|
104
|
+
EVAL_TAUNTON_TEST: () => document.cookie.includes('taunton_user_consent_submitted=true'),
|
|
99
105
|
EVAL_TEALIUM_0: () => typeof window.utag !== 'undefined' && typeof utag.gdpr === 'object',
|
|
100
106
|
EVAL_TEALIUM_1: () => utag.gdpr.setConsentValue(false) || true,
|
|
101
107
|
EVAL_TEALIUM_DONOTSELL: () => utag.gdpr.dns?.setDnsState(false) || true,
|
|
@@ -120,6 +126,7 @@ export const snippets = {
|
|
|
120
126
|
EVAL_WAITROSE_0: () => Array.from(document.querySelectorAll('label[id$=cookies-deny-label]')).forEach(e => e.click()) || true,
|
|
121
127
|
EVAL_WAITROSE_1: () => document.cookie.includes('wtr_cookies_advertising=0') && document.cookie.includes('wtr_cookies_analytics=0'),
|
|
122
128
|
EVAL_WP_COOKIE_NOTICE_0: () => document.cookie.includes('wpl_viewed_cookie=no'),
|
|
129
|
+
EVAL_XE_TEST: () => document.cookie.includes('xeConsentState={%22performance%22:false%2C%22marketing%22:false%2C%22compliance%22:false}'),
|
|
123
130
|
EVAL_XING_0: () => document.cookie.includes('userConsent=%7B%22marketing%22%3Afalse'),
|
|
124
131
|
EVAL_YOUTUBE_DESKTOP_0: () => !!document.cookie.match(/SOCS=CAE/),
|
|
125
132
|
EVAL_YOUTUBE_MOBILE_0: () => !!document.cookie.match(/SOCS=CAE/),
|
package/package.json
CHANGED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "abconcerts.be",
|
|
3
|
+
"vendorUrl": "https://unknown",
|
|
4
|
+
"intermediate": false,
|
|
5
|
+
"prehideSelectors": ["dialog.cookie-consent"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "dialog.cookie-consent form.cookie-consent__form"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "dialog.cookie-consent form.cookie-consent__form"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "dialog.cookie-consent form.cookie-consent__form button[value=yes]"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"if": {
|
|
24
|
+
"exists": "dialog.cookie-consent form.cookie-consent__form button[value=no]"
|
|
25
|
+
},
|
|
26
|
+
"then": [{
|
|
27
|
+
"click": "dialog.cookie-consent form.cookie-consent__form button[value=no]"
|
|
28
|
+
}],
|
|
29
|
+
"else": [
|
|
30
|
+
{
|
|
31
|
+
"click": "dialog.cookie-consent form.cookie-consent__form button.cookie-consent__options-toggle"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"waitForThenClick": "dialog.cookie-consent form.cookie-consent__form button[value=\"save_options\"]"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "aliexpress",
|
|
3
|
+
"vendorUrl": "https://aliexpress.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://.*\\.aliexpress\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#gdpr-new-container"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#gdpr-new-container"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#gdpr-new-container"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#gdpr-new-container .btn-accept"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#gdpr-new-container .btn-more"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitFor": "#gdpr-new-container .gdpr-dialog-switcher"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"click": "#gdpr-new-container .switcher-on",
|
|
32
|
+
"all": true,
|
|
33
|
+
"optional": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"click": "#gdpr-new-container .btn-save"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "arbeitsagentur",
|
|
3
|
+
"vendorUrl": "https://www.arbeitsagentur.de/",
|
|
4
|
+
"prehideSelectors": [".modal-open bahf-cookie-disclaimer-dpl3"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "bahf-cookie-disclaimer-dpl3"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "bahf-cookie-disclaimer-dpl3"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": [
|
|
18
|
+
"bahf-cookie-disclaimer-dpl3",
|
|
19
|
+
"bahf-cd-modal-dpl3 .ba-btn-primary"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": [
|
|
26
|
+
"bahf-cookie-disclaimer-dpl3",
|
|
27
|
+
"bahf-cd-modal-dpl3 .ba-btn-contrast"
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"test": [
|
|
32
|
+
{
|
|
33
|
+
"eval": "EVAL_ARBEITSAGENTUR_TEST"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "asus",
|
|
3
|
+
"vendorUrl": "https://www.asus.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://www\\.asus\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-policy-info,#cookie-policy-info-bg"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookie-policy-info"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookie-policy-info"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookie-policy-info [data-agree=\"Accept Cookies\"]"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"if": {
|
|
26
|
+
"exists": "#cookie-policy-info .btn-reject"
|
|
27
|
+
},
|
|
28
|
+
"then": [
|
|
29
|
+
{
|
|
30
|
+
"waitForThenClick": "#cookie-policy-info .btn-reject"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"else": [
|
|
34
|
+
{
|
|
35
|
+
"waitForThenClick": "#cookie-policy-info .btn-setting"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"waitForThenClick": "#cookie-policy-lightbox-wrapper [data-agree=\"Save Settings\"]"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookieacceptbar",
|
|
3
|
+
"vendorUrl": "https://unknown",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": ["#cookieAcceptBar.cookieAcceptBar"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#cookieAcceptBar.cookieAcceptBar"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#cookieAcceptBar.cookieAcceptBar"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#cookieAcceptBarConfirm"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"hide": "#cookieAcceptBar.cookieAcceptBar"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookieconsent2",
|
|
3
|
+
"vendorUrl": "https://www.github.com/orestbida/cookieconsent",
|
|
4
|
+
"comment": "supports v2.x.x of the library",
|
|
5
|
+
"prehideSelectors": ["#cc--main"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#cc--main"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#cm"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"exists": "#s-all-bn"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#s-all-bn"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": "#s-rall-bn"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [{
|
|
30
|
+
"eval": "EVAL_COOKIECONSENT2_TEST"
|
|
31
|
+
}]
|
|
32
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookieconsent3",
|
|
3
|
+
"vendorUrl": "https://www.github.com/orestbida/cookieconsent",
|
|
4
|
+
"comment": "supports v3.x.x of the library",
|
|
5
|
+
"prehideSelectors": ["#cc-main"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#cc-main"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#cc-main .cm-wrapper"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": ".cm__btn[data-role=all]"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": ".cm__btn[data-role=necessary]"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"test": [{
|
|
27
|
+
"eval": "EVAL_COOKIECONSENT3_TEST"
|
|
28
|
+
}]
|
|
29
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dndbeyond",
|
|
3
|
+
"vendorUrl": "https://www.dndbeyond.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://www\\.dndbeyond\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["[id^=cookie-consent-banner]"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "[id^=cookie-consent-banner]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "[id^=cookie-consent-banner]"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookie-consent-granted"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cookie-consent-denied"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [{
|
|
29
|
+
"eval": "EVAL_DNDBEYOND_TEST"
|
|
30
|
+
}]
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hashicorp",
|
|
3
|
+
"vendorUrl": "https://hashicorp.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://[^.]*\\.hashicorp\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["[data-testid=consent-banner]"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "[data-testid=consent-banner]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "[data-testid=consent-banner]"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "[data-testid=accept]"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "[data-testid=manage-preferences]"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": "[data-testid=consent-mgr-dialog] [data-ga-button=save-preferences]"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hu-manity",
|
|
3
|
+
"vendorUrl": "https://hu-manity.co/",
|
|
4
|
+
"prehideSelectors": ["#hu.hu-wrapper"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#hu.hu-visible"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#hu.hu-visible"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "[data-hu-action=cookies-notice-consent-choices-3]"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#hu-cookies-save"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#hu-cookies-save"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jdsports",
|
|
3
|
+
"vendorUrl": "https://www.jdsports.co.uk/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://www\\.jdsports\\."
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".miniConsent,#PrivacyPolicyBanner"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".miniConsent,#PrivacyPolicyBanner"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".miniConsent,#PrivacyPolicyBanner"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".miniConsent .accept-all-cookies"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"if": { "exists": "#PrivacyPolicyBanner" },
|
|
26
|
+
"then": [{
|
|
27
|
+
"hide": "#PrivacyPolicyBanner"
|
|
28
|
+
}],
|
|
29
|
+
"else": [
|
|
30
|
+
{
|
|
31
|
+
"waitForThenClick": "#cookie-settings"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"waitForThenClick": "#reject-all-cookies"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lineagrafica",
|
|
3
|
+
"vendorUrl": "https://addons.prestashop.com/en/legal/8734-eu-cookie-law-gdpr-banner-blocker.html",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": ["#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"exists": "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#lgcookieslaw_accept"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"hide": "#lgcookieslaw_banner,#lgcookieslaw_modal,.lgcookieslaw-overlay"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "livejasmin",
|
|
3
|
+
"vendorUrl": "https://www.livejasmin.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://www\\.livejasmin\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#consent_modal"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#consent_modal"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#consent_modal"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#consent_modal button[data-testid=ButtonStyledButton]:first-of-type"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#consent_modal button[data-testid=ButtonStyledButton]:nth-of-type(2)"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": "[data-testid=PrivacyPreferenceCenterWithConsentCookieContent]"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"click": "[data-testid=PrivacyPreferenceCenterWithConsentCookieContent] input[data-testid=PrivacyPreferenceCenterWithConsentCookieSwitch]:checked",
|
|
32
|
+
"optional": true,
|
|
33
|
+
"all": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"waitForThenClick": "[data-testid=PrivacyPreferenceCenterWithConsentCookieContent] button[data-testid=ButtonStyledButton]:last-child"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "om",
|
|
3
|
+
"vendorUrl": "https://olli-machts.de/en/extension/cookie-manager",
|
|
4
|
+
"prehideSelectors": [".tx-om-cookie-consent"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".tx-om-cookie-consent .active[data-omcookie-panel]"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"exists": ".tx-om-cookie-consent .active[data-omcookie-panel]"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "[data-omcookie-panel-save=all]"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"if": {
|
|
23
|
+
"exists": "[data-omcookie-panel-save=min]"
|
|
24
|
+
},
|
|
25
|
+
"then": [{
|
|
26
|
+
"waitForThenClick": "[data-omcookie-panel-save=min]"
|
|
27
|
+
}],
|
|
28
|
+
"else": [
|
|
29
|
+
{
|
|
30
|
+
"click": "input[data-omcookie-panel-grp]:checked:not(:disabled)",
|
|
31
|
+
"all": true,
|
|
32
|
+
"optional": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"waitForThenClick": "[data-omcookie-panel-save=save]"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "openli",
|
|
3
|
+
"vendorUrl": "https://openli.com",
|
|
4
|
+
"prehideSelectors": [".legalmonster-cleanslate"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".legalmonster-cleanslate"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".legalmonster-cleanslate #lm-cookie-wall-container",
|
|
13
|
+
"check": "any"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#lm-accept-all"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": "#lm-accept-necessary"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ourworldindata",
|
|
3
|
+
"vendorUrl": "https://ourworldindata.org/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://ourworldindata\\.org/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookie-manager"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".cookie-manager"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".cookie-manager .cookie-notice.open"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".cookie-notice [data-test=accept]"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".cookie-notice [data-test=reject]"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pabcogypsum",
|
|
3
|
+
"vendorUrl": "https://unknown",
|
|
4
|
+
"prehideSelectors": [".js-cookie-notice:has(#cookie_settings-form)"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".js-cookie-notice:has(#cookie_settings-form)"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".js-cookie-notice:has(#cookie_settings-form)"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".js-cookie-notice button[value=allow]"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".js-cookie-notice button[value=disable]"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "productz.com",
|
|
3
|
+
"vendorUrl": "https://productz.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://productz\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".c-modal.is-active"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".c-modal.is-active"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".c-modal.is-active .is-accept"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".c-modal.is-active .is-dismiss"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|