@duckduckgo/autoconsent 18.1.0 → 18.3.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 +131 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +256 -65
- 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/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +256 -65
- 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 +256 -65
- package/dist/autoconsent.esm.js +256 -65
- package/dist/autoconsent.playwright.js +256 -65
- package/dist/autoconsent.standalone.js +257 -66
- package/dist/heuristics.cjs.js +264 -67
- package/dist/heuristics.mjs +260 -66
- package/dist/types/heuristic-patterns.d.ts +4 -1
- package/docs/heuristic-detection.md +1 -0
- package/lib/heuristic-literals.ts +90 -16
- package/lib/heuristic-negatives.ts +15 -10
- package/lib/heuristic-patterns.ts +153 -35
- package/package.json +1 -1
- package/rules/autoconsent/aa-cookie-banner.json +2 -2
- package/rules/autoconsent/acconsento.json +45 -0
- package/rules/autoconsent/adaptivemedia.json +30 -0
- package/rules/autoconsent/adeac-jp.json +29 -0
- package/rules/autoconsent/agenziaentrate-geoportale.json +35 -0
- package/rules/autoconsent/alertnotification-alert-bar.json +27 -0
- package/rules/autoconsent/amasty-gdpr-hyva.json +6 -6
- 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/betheme.json +10 -0
- package/rules/autoconsent/bgk-pl.json +18 -0
- package/rules/autoconsent/biblia-online.pl.json +40 -0
- package/rules/autoconsent/bitauto.json +57 -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/bt-com-au.json +13 -0
- package/rules/autoconsent/c-cookie-message.json +9 -0
- package/rules/autoconsent/calclife.net.json +43 -0
- package/rules/autoconsent/casino-guru.json +28 -0
- package/rules/autoconsent/code3-cookies-consent.json +48 -0
- package/rules/autoconsent/complianz-opt-out.json +7 -2
- package/rules/autoconsent/cookie-agree-banner.json +9 -0
- package/rules/autoconsent/cookie-box-notice.json +41 -0
- package/rules/autoconsent/cookie-use-notice.json +12 -0
- package/rules/autoconsent/cookieinfo-zamknij.json +30 -0
- package/rules/autoconsent/cookieinfo.json +1 -1
- package/rules/autoconsent/cookies-and-content-security-policy.json +45 -0
- package/rules/autoconsent/cookiesbanner-preference.json +14 -0
- package/rules/autoconsent/cookiesmodal-pl.json +18 -0
- package/rules/autoconsent/creditunionsa.json +12 -0
- package/rules/autoconsent/cstudios.json +35 -0
- package/rules/autoconsent/dandomain.json +41 -0
- package/rules/autoconsent/datezone.json +22 -0
- package/rules/autoconsent/dfactory-cookie-notice.json +13 -1
- package/rules/autoconsent/didomi.json +7 -1
- package/rules/autoconsent/dlibra.json +32 -0
- package/rules/autoconsent/dnb.json +30 -0
- package/rules/autoconsent/e-file.json +44 -0
- package/rules/autoconsent/erli-pl.json +36 -0
- package/rules/autoconsent/facebook.json +16 -6
- package/rules/autoconsent/fellow-pl.json +16 -0
- package/rules/autoconsent/fn-se.json +17 -0
- 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/icom-co-jp.json +34 -0
- package/rules/autoconsent/imyfone.json +25 -0
- package/rules/autoconsent/interface-medien-gebaeck.json +33 -0
- package/rules/autoconsent/intermedia-cms-fsi.json +30 -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/lieder.net.json +13 -0
- package/rules/autoconsent/loescher.json +44 -0
- package/rules/autoconsent/menti-com.json +37 -0
- package/rules/autoconsent/meowdb.json +65 -0
- package/rules/autoconsent/monex-co-jp.json +34 -0
- package/rules/autoconsent/mos-cudzoziemcy-gov-pl.json +29 -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/octoparse.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/oresundstag.json +40 -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/renaud-bray.json +44 -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/saos-org-pl.json +35 -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/shopgold.json +83 -0
- package/rules/autoconsent/shueisha-hpplus.json +27 -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/synergy-net-au.json +33 -0
- package/rules/autoconsent/tcl.json +50 -0
- package/rules/autoconsent/teeshoppen.json +42 -0
- package/rules/autoconsent/tuki-cookieterms.json +20 -0
- package/rules/autoconsent/tullys-jp.json +11 -0
- package/rules/autoconsent/weblegal.json +10 -0
- package/rules/autoconsent/weblication.json +38 -0
- package/rules/autoconsent/worldbank.json +5 -5
- package/rules/autoconsent/wuerth.json +57 -0
- package/rules/autoconsent/x28-privacy-settings.json +18 -0
- package/rules/autoconsent/ynjn.json +34 -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/adaptivemedia.spec.ts +3 -0
- package/tests/adeac-jp.spec.ts +3 -0
- package/tests/agenziaentrate-geoportale.spec.ts +5 -0
- package/tests/alertnotification-alert-bar.spec.ts +11 -0
- package/tests/amasty-gdpr-hyva.spec.ts +1 -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/betheme.spec.ts +9 -0
- package/tests/bgk-pl.spec.ts +5 -0
- package/tests/biblia-online.pl.spec.ts +3 -0
- package/tests/bitauto.spec.ts +3 -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/bt-com-au.spec.ts +3 -0
- package/tests/c-cookie-message.spec.ts +9 -0
- package/tests/calclife.net.spec.ts +3 -0
- package/tests/casino-guru.spec.ts +15 -0
- package/tests/code3-cookies-consent.spec.ts +8 -0
- package/tests/complianz-opt-out.spec.ts +13 -3
- package/tests/cookie-agree-banner.spec.ts +3 -0
- package/tests/cookie-box-notice.spec.ts +10 -0
- package/tests/cookie-use-notice.spec.ts +6 -0
- package/tests/cookieinfo-zamknij.spec.ts +3 -0
- package/tests/cookies-and-content-security-policy.spec.ts +16 -0
- package/tests/cookiesbanner-preference.spec.ts +8 -0
- package/tests/cookiesmodal-pl.spec.ts +3 -0
- package/tests/creditunionsa.spec.ts +3 -0
- package/tests/cstudios.spec.ts +3 -0
- package/tests/dandomain.spec.ts +18 -0
- package/tests/datezone.spec.ts +3 -0
- package/tests/didomi.spec.ts +8 -0
- package/tests/dlibra.spec.ts +8 -0
- package/tests/dnb.spec.ts +5 -0
- package/tests/e-file.spec.ts +9 -0
- package/tests/erli-pl.spec.ts +4 -0
- package/tests/facebook.spec.ts +1 -1
- package/tests/fellow-pl.spec.ts +5 -0
- package/tests/fn-se.spec.ts +3 -0
- 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/icom-co-jp.spec.ts +3 -0
- package/tests/imyfone.spec.ts +9 -0
- package/tests/interface-medien-gebaeck.spec.ts +13 -0
- package/tests/intermedia-cms-fsi.spec.ts +8 -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/lieder.net.spec.ts +3 -0
- package/tests/loescher.spec.ts +5 -0
- package/tests/menti-com.spec.ts +3 -0
- package/tests/meowdb.spec.ts +3 -0
- package/tests/monex-co-jp.spec.ts +3 -0
- package/tests/mos-cudzoziemcy-gov-pl.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/octoparse.spec.ts +6 -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/oresundstag.spec.ts +3 -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/renaud-bray.spec.ts +5 -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/saos-org-pl.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/shopgold.spec.ts +3 -0
- package/tests/shueisha-hpplus.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/synergy-net-au.spec.ts +8 -0
- package/tests/tcl.spec.ts +9 -0
- package/tests/teeshoppen.spec.ts +7 -0
- package/tests/tuki-cookieterms.spec.ts +8 -0
- package/tests/tullys-jp.spec.ts +3 -0
- package/tests/weblegal.spec.ts +8 -0
- package/tests/weblication.spec.ts +9 -0
- package/tests/worldbank.spec.ts +1 -0
- package/tests/wuerth.spec.ts +8 -0
- package/tests/x28-privacy-settings.spec.ts +4 -0
- package/tests/ynjn.spec.ts +3 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +356 -3
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "intermedia-cms-fsi",
|
|
3
|
+
"vendorUrl": "https://i.media.pl/",
|
|
4
|
+
"prehideSelectors": ["#stopka-polityka"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#stopka-polityka #stopka-polityka-zamknij"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#stopka-polityka"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#stopka-polityka-zamknij"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#stopka-polityka-zamknij"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "prywatnosc=tak"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "invision-guest-terms",
|
|
3
|
+
"vendorUrl": "https://invisioncommunity.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": ["#elGuestTerms[data-role=\"guestTermsBar\"]"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "xpath///div[@id='elGuestTerms'][@data-role='guestTermsBar'][.//a[@data-action='dismissTerms']][not(.//form)][count(.//a[contains(@class,'ipsButton')] | .//button) <= 1][contains(translate(., 'COKIE', 'cokie'), 'cookie')]"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [{ "visible": "#elGuestTerms[data-role=\"guestTermsBar\"]" }],
|
|
12
|
+
"optIn": [{ "waitForThenClick": "#elGuestTerms a[data-action=\"dismissTerms\"]" }],
|
|
13
|
+
"optOut": [{ "hide": "#elGuestTerms[data-role=\"guestTermsBar\"]" }]
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ipkobiznes.pl",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?ipkobiznes\\.pl/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#layout div:has(> div > div > span > button[title='EXT_COOKIE_POLICY'])"],
|
|
7
|
+
"detectCmp": [{ "exists": "#layout div:has(> div > div > span > button[title='EXT_COOKIE_POLICY'])" }],
|
|
8
|
+
"detectPopup": [{ "visible": "#layout div:has(> div > div > span > button[title='EXT_COOKIE_POLICY'])" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "#layout div:has(> span > button[title='EXT_COOKIE_POLICY']) + div button" }],
|
|
10
|
+
"optOut": [{ "waitForThenClick": "#layout div:has(> span > button[title='EXT_COOKIE_POLICY']) + div button" }],
|
|
11
|
+
"test": [{ "cookieContains": "pkobp-cookie-policy=true" }]
|
|
12
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jquery-cookiepolicy",
|
|
3
|
+
"vendorUrl": "https://pkw.gov.pl/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"main": true,
|
|
7
|
+
"frame": false
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": [".js-cp-box"],
|
|
10
|
+
"detectCmp": [{ "exists": ".js-cp-box .js-cp-accept-all-button" }],
|
|
11
|
+
"detectPopup": [{ "visible": ".js-cp-box" }],
|
|
12
|
+
"optIn": [{ "waitForThenClick": ".js-cp-box .js-cp-accept-all-button" }],
|
|
13
|
+
"optOut": [
|
|
14
|
+
{
|
|
15
|
+
"if": { "exists": ".js-cp-box .js-cp-reject-all-button" },
|
|
16
|
+
"then": [{ "waitForThenClick": ".js-cp-box .js-cp-reject-all-button" }],
|
|
17
|
+
"else": [
|
|
18
|
+
{ "click": ".js-cp-box .js-cp-settings-button" },
|
|
19
|
+
{ "waitForVisible": ".js-cp-box .js-cp-settings-box" },
|
|
20
|
+
{
|
|
21
|
+
"click": ".js-cp-box .new-cp-content-settings-options-one-cookie.on:not(.disabled)",
|
|
22
|
+
"all": true,
|
|
23
|
+
"optional": true
|
|
24
|
+
},
|
|
25
|
+
{ "waitForThenClick": ".js-cp-box .js-cp-accept-selected-button" }
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [{ "cookieContains": "cookiepolicyinfo_new" }]
|
|
30
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lieder.net",
|
|
3
|
+
"vendorUrl": "https://www.lieder.net/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?lieder\\.net/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-notice:has(.cookie-btn[onclick])"],
|
|
8
|
+
"detectCmp": [{ "exists": "#cookie-notice .cookie-btn[onclick]" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#cookie-notice[style*='visibility: visible'] .cookie-btn[onclick]" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#cookie-notice .cookie-btn[onclick]" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": "#cookie-notice .cookie-btn[onclick]" }],
|
|
12
|
+
"test": [{ "cookieContains": "accepts=Y" }]
|
|
13
|
+
}
|
|
@@ -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,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "menti.com",
|
|
3
|
+
"vendorUrl": "https://www.menti.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?menti\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["div.z-notification:has(a[href*='mentimeter.com/cookie-policy'])"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "div.z-notification a[href*='mentimeter.com/cookie-policy']"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "div.z-notification a[href*='mentimeter.com/cookie-policy']"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "div.z-notification:has(a[href*='mentimeter.com/cookie-policy']) > button",
|
|
21
|
+
"retry": 10,
|
|
22
|
+
"retryInterval": 500
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": "div.z-notification:has(a[href*='mentimeter.com/cookie-policy']) > button",
|
|
28
|
+
"retry": 10,
|
|
29
|
+
"retryInterval": 500
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"test": [
|
|
33
|
+
{
|
|
34
|
+
"cookieContains": "has_approved_cookie_policy"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -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,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": "mos-cudzoziemcy-gov-pl",
|
|
3
|
+
"vendorUrl": "https://mos.cudzoziemcy.gov.pl/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://mos\\.cudzoziemcy\\.gov\\.pl/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [".cookies:has(> #agreeButton)"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": ".cookies > #agreeButton"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ".cookies > #agreeButton"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".cookies > #agreeButton"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": ".cookies:has(> #agreeButton)"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -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,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "octoparse",
|
|
3
|
+
"vendorUrl": "https://www.octoparse.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?octoparse\\.(com|jp|de|fr|es|ai)/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["[class^='cookies_cookies__']"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "[class^='cookies_cookies__'] [class^='cookies_close__']"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "[class^='cookies_cookies__'] [class^='cookies_close__']"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "[class^='cookies_cookies__'] [class^='cookies_accept__']"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "[class^='cookies_cookies__'] [class^='cookies_close__']"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": "[class^='cookies_cookies__']",
|
|
29
|
+
"check": "none",
|
|
30
|
+
"timeout": 2000
|
|
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,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oresundstag",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://www.oresundstag.se/"
|
|
5
|
+
},
|
|
6
|
+
"runContext": {
|
|
7
|
+
"urlPattern": "^https?://(www\\.)?oresundstag\\.se/"
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": ["#consent-manager-modal"],
|
|
10
|
+
"detectCmp": [
|
|
11
|
+
{
|
|
12
|
+
"exists": "#consent-manager-modal #cookies-consent"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [
|
|
16
|
+
{
|
|
17
|
+
"visible": "#consent-manager-modal [role=dialog]"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optIn": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#consent-manager-modal [class*=modal_buttons] button[type=button]"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"click": "#cookies-consent label[role=checkbox]:has(input:checked)",
|
|
28
|
+
"all": true,
|
|
29
|
+
"optional": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"waitForThenClick": "#consent-manager-modal [class*=modal_buttons] button[type=submit]"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"test": [
|
|
36
|
+
{
|
|
37
|
+
"cookieContains": "\"analytics\":false"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -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
|
+
}
|