@duckduckgo/autoconsent 18.0.0 → 18.2.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/.github/workflows/ddg-release.yml +6 -3
- package/CHANGELOG.md +91 -0
- package/dist/addon-firefox/background.bundle.js +2 -1
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +173 -40
- 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 +2 -1
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +173 -40
- 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 +173 -40
- package/dist/autoconsent.esm.js +173 -40
- package/dist/autoconsent.playwright.js +173 -40
- package/dist/autoconsent.standalone.js +174 -41
- package/dist/heuristics.cjs.js +175 -32
- package/dist/heuristics.mjs +171 -32
- package/dist/types/cmps/tiktok.d.ts +0 -2
- package/dist/types/eval-snippets.d.ts +1 -0
- package/dist/types/heuristic-patterns.d.ts +4 -0
- package/docs/heuristic-detection.md +1 -0
- package/lib/cmps/evidon.ts +5 -4
- package/lib/cmps/tiktok.ts +0 -5
- package/lib/eval-snippets.ts +1 -0
- package/lib/heuristic-literals.ts +52 -5
- package/lib/heuristic-negatives.ts +15 -1
- package/lib/heuristic-patterns.ts +101 -21
- package/package.json +1 -1
- package/rules/autoconsent/aa-cookie-banner.json +2 -2
- package/rules/autoconsent/acconsento.json +45 -0
- package/rules/autoconsent/appconsent.json +8 -8
- package/rules/autoconsent/askas.json +39 -0
- package/rules/autoconsent/atomstore.json +44 -0
- package/rules/autoconsent/b1ng-cc.json +23 -0
- package/rules/autoconsent/bgk-pl.json +18 -0
- package/rules/autoconsent/blogger-cookie-notice.json +10 -0
- package/rules/autoconsent/brainshare.json +12 -0
- package/rules/autoconsent/brandsforstudents.ch.json +19 -0
- package/rules/autoconsent/c-cookie-message.json +9 -0
- package/rules/autoconsent/cookie-agree-banner.json +9 -0
- package/rules/autoconsent/cookie-box-notice.json +41 -0
- package/rules/autoconsent/cookieinfo.json +1 -1
- package/rules/autoconsent/cookies-and-content-security-policy.json +45 -0
- package/rules/autoconsent/dfactory-cookie-notice.json +13 -1
- package/rules/autoconsent/didomi.json +7 -1
- package/rules/autoconsent/facebook.json +16 -6
- package/rules/autoconsent/gdpr-jp-notice.json +25 -0
- package/rules/autoconsent/gdpsystem.json +21 -0
- package/rules/autoconsent/help-ch.json +25 -0
- package/rules/autoconsent/hmgroup-turbocookie.json +18 -0
- package/rules/autoconsent/hmrc-tracking-consent.json +40 -0
- package/rules/autoconsent/imyfone.json +25 -0
- package/rules/autoconsent/interface-medien-gebaeck.json +33 -0
- package/rules/autoconsent/invision-guest-terms.json +14 -0
- package/rules/autoconsent/ipkobiznes.pl.json +12 -0
- package/rules/autoconsent/jquery-cookiepolicy.json +30 -0
- package/rules/autoconsent/loescher.json +44 -0
- package/rules/autoconsent/meowdb.json +65 -0
- package/rules/autoconsent/meta-cookie-dialog-v2.json +40 -0
- package/rules/autoconsent/monex-co-jp.json +34 -0
- package/rules/autoconsent/nnk-theme-cookie-bar.json +29 -0
- package/rules/autoconsent/no-transit-consent.json +32 -0
- package/rules/autoconsent/nperf.json +33 -0
- package/rules/autoconsent/okayama-kanko-jp.json +31 -0
- package/rules/autoconsent/oko-press.json +23 -0
- package/rules/autoconsent/ometv-pl.json +33 -0
- package/rules/autoconsent/pfron-gov-pl.json +37 -0
- package/rules/autoconsent/pl-bip-cookies.json +25 -0
- package/rules/autoconsent/prestashop-advanced-cookie-banner.json +49 -0
- package/rules/autoconsent/qudosbank-com-au.json +14 -0
- package/rules/autoconsent/reverb-gdpr-nag.json +18 -0
- package/rules/autoconsent/reverb.json +24 -0
- package/rules/autoconsent/roblox-creator-hub.json +48 -0
- package/rules/autoconsent/rws-app.json +13 -0
- package/rules/autoconsent/san-tatsu.json +32 -0
- package/rules/autoconsent/sda-it.json +37 -0
- package/rules/autoconsent/seria-group.json +35 -0
- package/rules/autoconsent/shoper.json +10 -0
- package/rules/autoconsent/silver-nu.json +31 -0
- package/rules/autoconsent/soleil-sitevision-cookie-message.json +32 -0
- package/rules/autoconsent/stellantis-psa.json +18 -1
- package/rules/autoconsent/surfshark.json +21 -0
- package/rules/autoconsent/tcl.json +50 -0
- package/rules/autoconsent/tuki-cookieterms.json +20 -0
- package/rules/autoconsent/weblegal.json +10 -0
- package/rules/autoconsent/weblication.json +38 -0
- package/rules/autoconsent/x28-privacy-settings.json +18 -0
- package/rules/autoconsent/zoho.json +23 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/aa-cookie-banner.spec.ts +1 -1
- package/tests/acconsento.spec.ts +8 -0
- package/tests/appconsent.spec.ts +1 -1
- package/tests/askas.spec.ts +9 -0
- package/tests/atomstore.spec.ts +9 -0
- package/tests/b1ng-cc.spec.ts +3 -0
- package/tests/bgk-pl.spec.ts +5 -0
- package/tests/blogger-cookie-notice.spec.ts +9 -0
- package/tests/brainshare.spec.ts +3 -0
- package/tests/brandsforstudents.ch.spec.ts +6 -0
- package/tests/c-cookie-message.spec.ts +9 -0
- package/tests/cookie-agree-banner.spec.ts +3 -0
- package/tests/cookie-box-notice.spec.ts +10 -0
- package/tests/cookies-and-content-security-policy.spec.ts +16 -0
- package/tests/didomi.spec.ts +8 -0
- package/tests/evidon.spec.ts +2 -1
- package/tests/facebook.spec.ts +1 -1
- package/tests/gdpr-jp-notice.spec.ts +3 -0
- package/tests/gdpsystem.spec.ts +3 -0
- package/tests/gravito.spec.ts +6 -0
- package/tests/help-ch.spec.ts +14 -0
- package/tests/hmgroup-turbocookie.spec.ts +7 -0
- package/tests/hmrc-tracking-consent.spec.ts +7 -0
- package/tests/imyfone.spec.ts +9 -0
- package/tests/interface-medien-gebaeck.spec.ts +13 -0
- package/tests/invision-guest-terms.spec.ts +10 -0
- package/tests/ipkobiznes.pl.spec.ts +3 -0
- package/tests/jquery-cookiepolicy.spec.ts +10 -0
- package/tests/loescher.spec.ts +5 -0
- package/tests/meowdb.spec.ts +3 -0
- package/tests/meta-cookie-dialog-v2.spec.ts +10 -0
- package/tests/monex-co-jp.spec.ts +3 -0
- package/tests/nnk-theme-cookie-bar.spec.ts +3 -0
- package/tests/no-transit-consent.spec.ts +3 -0
- package/tests/nperf.spec.ts +3 -0
- package/tests/okayama-kanko-jp.spec.ts +3 -0
- package/tests/oko-press.spec.ts +3 -0
- package/tests/ometv-pl.spec.ts +4 -0
- package/tests/pfron-gov-pl.spec.ts +3 -0
- package/tests/pl-bip-cookies.spec.ts +3 -0
- package/tests/prestashop-advanced-cookie-banner.spec.ts +9 -0
- package/tests/qudosbank-com-au.spec.ts +3 -0
- package/tests/reverb.spec.ts +7 -0
- package/tests/roblox-creator-hub.spec.ts +5 -0
- package/tests/rws-app.spec.ts +15 -0
- package/tests/san-tatsu.spec.ts +3 -0
- package/tests/sda-it.spec.ts +7 -0
- package/tests/seria-group.spec.ts +3 -0
- package/tests/shoper.spec.ts +3 -0
- package/tests/silver-nu.spec.ts +3 -0
- package/tests/soleil-sitevision-cookie-message.spec.ts +8 -0
- package/tests/stellantis-psa.spec.ts +2 -0
- package/tests/surfshark.spec.ts +3 -0
- package/tests/tcl.spec.ts +9 -0
- package/tests/tiktok.spec.ts +2 -2
- package/tests/tuki-cookieterms.spec.ts +8 -0
- package/tests/weblegal.spec.ts +8 -0
- package/tests/weblication.spec.ts +9 -0
- package/tests/x28-privacy-settings.spec.ts +4 -0
- package/tests/zoho.spec.ts +5 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +275 -0
- package/rules/generated/auto_GB_capcut.com_0.json +0 -28
- package/tests/generated/auto_GB_capcut.com_0.spec.ts +0 -2
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "loescher",
|
|
3
|
+
"vendorUrl": "https://www.loescher.it/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://([a-z0-9-]+\\.)?loescher\\.it/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookieChoice"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookieChoice"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookieChoice a[onclick*=cookie_accetto]"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cookieChoice a[href='#modalCookieChoice']"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": "#modalCookieChoice"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"click": "#modalCookieChoice input[type=checkbox]:checked",
|
|
32
|
+
"all": true,
|
|
33
|
+
"optional": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"click": "#modalCookieChoice button[onclick*=cookie_statistici]"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"test": [
|
|
40
|
+
{
|
|
41
|
+
"cookieContains": "loeschertechcookieadv=1"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "meowdb.com",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?meowdb\\.com/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["div[role=region][aria-label='Cookie consent']", "#ncmp__tool .ncmp__banner"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "div[role=region][aria-label='Cookie consent'] button"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "div[role=region][aria-label='Cookie consent']"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "div[role=region][aria-label='Cookie consent'] button"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"waitFor": "#ncmp__tool .ncmp__banner.ncmp__active",
|
|
23
|
+
"timeout": 3000,
|
|
24
|
+
"optional": true
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"if": {
|
|
28
|
+
"exists": "#ncmp__tool .ncmp__banner.ncmp__active"
|
|
29
|
+
},
|
|
30
|
+
"then": [
|
|
31
|
+
{
|
|
32
|
+
"eval": "EVAL_CONSENTMANAGER_NCMP_ACCEPT"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"optOut": [
|
|
38
|
+
{
|
|
39
|
+
"waitForThenClick": "div[role=region][aria-label='Cookie consent'] button"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"waitFor": "#ncmp__tool .ncmp__banner.ncmp__active",
|
|
43
|
+
"timeout": 3000,
|
|
44
|
+
"optional": true
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"if": {
|
|
48
|
+
"exists": "#ncmp__tool .ncmp__banner.ncmp__active"
|
|
49
|
+
},
|
|
50
|
+
"then": [
|
|
51
|
+
{
|
|
52
|
+
"wait": 500
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"eval": "EVAL_CONSENTMANAGER_NCMP_REJECT"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
],
|
|
60
|
+
"test": [
|
|
61
|
+
{
|
|
62
|
+
"cookieContains": "nia_consent_seen=1"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "meta-cookie-dialog-v2",
|
|
3
|
+
"vendorUrl": "https://www.meta.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?meta\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "xpath///div[@role='dialog' and @aria-modal='true']//div[following-sibling::div[@aria-hidden='true'][.//div[@role='button' and @aria-disabled='true']]]/div[@role='button' and @tabindex='0']"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "xpath///div[@role='dialog' and @aria-modal='true']//div[following-sibling::div[@aria-hidden='true'][.//div[@role='button' and @aria-disabled='true']]]/div[@role='button' and @tabindex='0']"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "xpath///div[@role='dialog' and @aria-modal='true']//div[preceding-sibling::div[@aria-hidden='true'][.//div[@role='button' and @aria-disabled='true']]]/div[@role='button' and @tabindex='0']",
|
|
21
|
+
"retry": 20,
|
|
22
|
+
"retryInterval": 500
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"waitForVisible": "xpath///div[@role='dialog' and @aria-modal='true']//div[preceding-sibling::div[@aria-hidden='true'][.//div[@role='button' and @aria-disabled='true']]]/div[@role='button' and @tabindex='0']",
|
|
26
|
+
"check": "none"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"optOut": [
|
|
30
|
+
{
|
|
31
|
+
"waitForThenClick": "xpath///div[@role='dialog' and @aria-modal='true']//div[following-sibling::div[@aria-hidden='true'][.//div[@role='button' and @aria-disabled='true']]]/div[@role='button' and @tabindex='0']",
|
|
32
|
+
"retry": 20,
|
|
33
|
+
"retryInterval": 500
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"waitForVisible": "xpath///div[@role='dialog' and @aria-modal='true']//div[following-sibling::div[@aria-hidden='true'][.//div[@role='button' and @aria-disabled='true']]]/div[@role='button' and @tabindex='0']",
|
|
37
|
+
"check": "none"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "monex-co-jp",
|
|
3
|
+
"vendorUrl": "https://www.monex.co.jp/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?monex\\.co\\.jp/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-confirm"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookie-confirm a[href*='cookieConfirmClose2']"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookie-confirm"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookie-confirm .cookie-button a"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cookie-confirm a[href*='cookieConfirmClose2']"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"visible": "#cookie-confirm",
|
|
31
|
+
"check": "none"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nnk-theme-cookie-bar",
|
|
3
|
+
"prehideSelectors": [".govpl.cookie-bar-container"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": ".govpl.cookie-bar-container .cookiebar-close"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": ".govpl.cookie-bar-container:not(.cookie-bar-hide) .cookiebar-close"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"waitForThenClick": ".govpl.cookie-bar-container .cookiebar-close"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optOut": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".govpl.cookie-bar-container .cookiebar-close"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"test": [
|
|
25
|
+
{
|
|
26
|
+
"cookieContains": "cookie-message-bar=true"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "no-transit-consent",
|
|
3
|
+
"vendorUrl": "https://reise.skyss.no/",
|
|
4
|
+
"prehideSelectors": [
|
|
5
|
+
"div.fixed.rounded-2xl.bg-background-secondary:has(> div.flex > button[class*=\"btn--skin-secondary___\"] + button[class*=\"btn--skin-primary___\"])"
|
|
6
|
+
],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "div.fixed.rounded-2xl.bg-background-secondary:has(> div.flex > button[class*=\"btn--skin-secondary___\"] + button[class*=\"btn--skin-primary___\"])"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "div.fixed.rounded-2xl.bg-background-secondary:has(> div.flex > button[class*=\"btn--skin-secondary___\"] + button[class*=\"btn--skin-primary___\"])"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "div.fixed.rounded-2xl.bg-background-secondary > div.flex > button[class*=\"btn--skin-secondary___\"] + button[class*=\"btn--skin-primary___\"]"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "div.fixed.rounded-2xl.bg-background-secondary > div.flex > button[class*=\"btn--skin-secondary___\"]:first-child"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"cookieContains": "r_consents=%7B%22required%22%3Atrue%2C%22analytics%22%3Afalse"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nperf",
|
|
3
|
+
"vendorUrl": "https://www.nperf.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?nperf\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#consent.container-banner-cookie .consentOk"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#consent.container-banner-cookie .consentOk"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#consent.container-banner-cookie .consentOk"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#consent.container-banner-cookie .consentOk"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "consent="
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "okayama-kanko-jp",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?okayama-kanko\\.jp/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#cookiePolicy"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "#cookiePolicy > menu"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#cookiePolicy"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "#cookiePolicy > button"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#cookiePolicy > menu"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"waitForVisible": "#cookiePolicy",
|
|
28
|
+
"check": "none"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oko-press",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?oko\\.press/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["aside:has(#featureSwitch_necessary)"],
|
|
7
|
+
"detectCmp": [{ "exists": "#featureSwitch_necessary" }],
|
|
8
|
+
"detectPopup": [{ "visible": "aside:has(#featureSwitch_necessary)" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "xpath///aside[.//*[@id='featureSwitch_necessary']]//button[contains(., 'Akceptuję wszystkie')]" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{ "waitForThenClick": "xpath///aside[.//*[@id='featureSwitch_necessary']]//button[contains(., 'Dostosuj')]" },
|
|
12
|
+
{ "waitForVisible": "#featureSwitch_marketing" },
|
|
13
|
+
{
|
|
14
|
+
"if": { "exists": "#featureSwitch_marketing[data-state='checked']" },
|
|
15
|
+
"then": [{ "click": "#featureSwitch_marketing" }]
|
|
16
|
+
},
|
|
17
|
+
{ "waitForThenClick": "xpath///aside[.//*[@id='featureSwitch_necessary']]//button[contains(., 'Potwierdź wybór')]" }
|
|
18
|
+
],
|
|
19
|
+
"test": [
|
|
20
|
+
{ "waitForVisible": "aside:has(#featureSwitch_necessary)", "check": "none", "timeout": 2000 },
|
|
21
|
+
{ "cookieContains": "privacy2=necessary" }
|
|
22
|
+
]
|
|
23
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ometv.pl",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?ometv\\.pl/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "section.cookie-note[role=region] > button"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "section.cookie-note[role=region]"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "section.cookie-note[role=region] > button"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "section.cookie-note[role=region] > button"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"visible": "section.cookie-note[role=region]",
|
|
30
|
+
"check": "none"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pfron-gov-pl",
|
|
3
|
+
"vendorUrl": "https://www.pfron.gov.pl/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?pfron\\.(gov|org)\\.pl/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookies-info"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookies-info .btn-cookie-close"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookies-info .btn-cookie-close"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookies-info .btn-cookie-close",
|
|
21
|
+
"retry": 3,
|
|
22
|
+
"retryInterval": 500
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": "#cookies-info .btn-cookie-close",
|
|
28
|
+
"retry": 3,
|
|
29
|
+
"retryInterval": 500
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"test": [
|
|
33
|
+
{
|
|
34
|
+
"cookieContains": "cookieInfoSZG=true"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pl-bip-cookies",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"prehideSelectors": ["#cookies:has(> button.close > span.visuallyhidden)"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookies > button.close > span.visuallyhidden"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#cookies"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#cookies > button.close"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"hide": "#cookies"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "prestashop-advanced-cookie-banner",
|
|
3
|
+
"vendorUrl": "https://www.presta-module.com/",
|
|
4
|
+
"prehideSelectors": ["#acb-banner"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#acb-banner #acb-accept-all-button"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#acb-banner",
|
|
13
|
+
"check": "any"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#acb-banner #acb-accept-all-button"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"if": {
|
|
24
|
+
"visible": "#acb-banner #acb-deny-all-button",
|
|
25
|
+
"check": "any"
|
|
26
|
+
},
|
|
27
|
+
"then": [
|
|
28
|
+
{
|
|
29
|
+
"waitForThenClick": "#acb-banner #acb-deny-all-button"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"else": [
|
|
33
|
+
{
|
|
34
|
+
"click": "#acb-banner input.acbCheckbox:checked:not([disabled])",
|
|
35
|
+
"all": true,
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"waitForThenClick": "#acb-banner #acb-close-button"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"test": [
|
|
45
|
+
{
|
|
46
|
+
"cookieContains": "PrestaShop-49722c247d445ea6ad5f50ec8153945a=0"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "qudosbank-com-au",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?qudosbank\\.com\\.au/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#popup.cookie-popup"],
|
|
7
|
+
"detectCmp": [{ "exists": "#popup.cookie-popup #close-popup" }],
|
|
8
|
+
"detectPopup": [{ "visible": "#popup.cookie-popup" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "#popup.cookie-popup #close-popup" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{ "waitForThenClick": "#popup.cookie-popup #close-popup" },
|
|
12
|
+
{ "waitForVisible": "#popup.cookie-popup", "check": "none", "timeout": 2000 }
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "reverb-gdpr-nag",
|
|
3
|
+
"vendorUrl": "https://reverb.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?reverb\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"comment": "only once a choice is stored in the main notice, which also reloads the page",
|
|
11
|
+
"cookieContains": "privacy_settings="
|
|
12
|
+
},
|
|
13
|
+
{ "exists": ".gdpr-alert .gdpr-alert__close" }
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [{ "visible": ".gdpr-alert .gdpr-alert__overview" }],
|
|
16
|
+
"optIn": [{ "waitForThenClick": ".gdpr-alert .gdpr-alert__close", "retry": 5, "retryInterval": 500 }],
|
|
17
|
+
"optOut": [{ "waitForThenClick": ".gdpr-alert .gdpr-alert__close", "retry": 5, "retryInterval": 500 }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "reverb",
|
|
3
|
+
"vendorUrl": "https://reverb.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?reverb\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".rc-notice:has(a[href$='/cookies-policy'])"],
|
|
8
|
+
"detectCmp": [{ "exists": ".rc-notice a[href$='/cookies-policy']" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".rc-notice a[href$='/cookies-policy']" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".rc-notice:has(a[href$='/cookies-policy']) .rc-notice__actions button[data-slot=primary]" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{
|
|
13
|
+
"if": { "exists": ".rc-notice:has(a[href$='/cookies-policy']) .rc-notice__actions button[data-slot=secondary]" },
|
|
14
|
+
"then": [{ "waitForThenClick": ".rc-notice:has(a[href$='/cookies-policy']) .rc-notice__actions button[data-slot=secondary]" }],
|
|
15
|
+
"else": [
|
|
16
|
+
{ "waitForThenClick": ".rc-notice:has(a[href$='/cookies-policy']) .rc-notice__description button" },
|
|
17
|
+
{ "waitFor": ".rc-modal input[name=adData]" },
|
|
18
|
+
{ "click": ".rc-modal input.rc-checkbox__input:checked", "all": true, "optional": true },
|
|
19
|
+
{ "waitForThenClick": ".rc-modal:has(input[name=adData]) .rc-modal__footer button[data-slot=primary]" }
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"test": [{ "cookieContains": "third_party_ad_storage_consent%22%3Afalse" }]
|
|
24
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "roblox-creator-hub",
|
|
3
|
+
"vendorUrl": "https://create.roblox.com",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"main": true,
|
|
7
|
+
"frame": false,
|
|
8
|
+
"urlPattern": "^https://create\\.roblox\\.com/"
|
|
9
|
+
},
|
|
10
|
+
"prehideSelectors": [],
|
|
11
|
+
"detectCmp": [
|
|
12
|
+
{
|
|
13
|
+
"exists": ".MuiDrawer-paperAnchorBottom a[href*=\"/info/privacy\"]"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"detectPopup": [
|
|
17
|
+
{
|
|
18
|
+
"visible": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-outlined"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optIn": [
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-contained"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"optOut": [
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-outlined"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"waitForVisible": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-outlined",
|
|
32
|
+
"check": "none",
|
|
33
|
+
"timeout": 2000,
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"comment": "the banner is re-mounted shortly after page load, discarding an early choice",
|
|
38
|
+
"waitForThenClick": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-outlined",
|
|
39
|
+
"timeout": 3000,
|
|
40
|
+
"optional": true
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"test": [
|
|
44
|
+
{
|
|
45
|
+
"cookieContains": "GoogleAnalytics=false"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rws-app",
|
|
3
|
+
"prehideSelectors": [".rws-app > .cookie-modal"],
|
|
4
|
+
"detectCmp": [{ "exists": ".rws-app > .cookie-modal" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".rws-app > .cookie-modal" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": ".rws-app > .cookie-modal .buttons button:first-child" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"waitForThenClick": "xpath///div[contains(@class, 'rws-app')]/div[contains(@class, 'cookie-modal')]//div[contains(@class, 'buttons')]//button[contains(normalize-space(.), 'nödvändiga')]"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"test": [{ "cookieContains": "cookiesApproved=%5B%22REQUIRED%22%5D" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "san-tatsu.jp",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?san-tatsu\\.jp/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".cookie:has(.js-cookie-close)"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "html.show-cookie .cookie .js-cookie-close"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "html.show-cookie .cookie .js-cookie-close"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "html.show-cookie .cookie .js-cookie-close"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "html.show-cookie .cookie .js-cookie-close"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"cookieContains": "cookieAgree=1"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|