@duckduckgo/autoconsent 18.2.0 → 18.4.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 +122 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +92 -36
- 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 +92 -36
- 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 +92 -36
- package/dist/autoconsent.esm.js +92 -36
- package/dist/autoconsent.playwright.js +92 -36
- package/dist/autoconsent.standalone.js +93 -37
- package/dist/heuristics.cjs.js +92 -38
- package/dist/heuristics.mjs +92 -37
- package/dist/types/heuristic-patterns.d.ts +0 -1
- package/lib/heuristic-literals.ts +39 -12
- package/lib/heuristic-negatives.ts +0 -9
- package/lib/heuristic-patterns.ts +54 -16
- package/package.json +1 -1
- 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/amasty-gdpr-sidebar.json +61 -0
- package/rules/autoconsent/arena-pl.json +16 -0
- package/rules/autoconsent/bannercookie-dashboard.json +10 -0
- package/rules/autoconsent/betheme.json +10 -0
- package/rules/autoconsent/biblia-online.pl.json +40 -0
- package/rules/autoconsent/bitauto.json +57 -0
- package/rules/autoconsent/blastingnews.json +36 -0
- package/rules/autoconsent/bn-org-pl.json +37 -0
- package/rules/autoconsent/bt-com-au.json +13 -0
- package/rules/autoconsent/calclife.net.json +43 -0
- package/rules/autoconsent/casino-guru.json +28 -0
- package/rules/autoconsent/ccconsent-holder.json +56 -0
- package/rules/autoconsent/cloudcms-cookie-alert-notice.json +12 -0
- package/rules/autoconsent/cloudcms-cookie-alert.json +13 -0
- package/rules/autoconsent/code3-cookies-consent.json +48 -0
- package/rules/autoconsent/complianz-opt-out.json +7 -2
- package/rules/autoconsent/cookie-button-basic.json +47 -0
- package/rules/autoconsent/cookie-use-notice.json +12 -0
- package/rules/autoconsent/cookieinfo-zamknij.json +30 -0
- package/rules/autoconsent/cookiesbanner-preference.json +14 -0
- package/rules/autoconsent/cookiesck.json +31 -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/didomi.json +5 -0
- package/rules/autoconsent/dlibra.json +32 -0
- package/rules/autoconsent/dnb.json +30 -0
- package/rules/autoconsent/doc24-ch.json +33 -0
- package/rules/autoconsent/e-file.json +44 -0
- package/rules/autoconsent/erli-pl.json +36 -0
- package/rules/autoconsent/ernesto.json +30 -0
- package/rules/autoconsent/eu-cookie-compliance-legacy.json +15 -0
- package/rules/autoconsent/fellow-pl.json +16 -0
- package/rules/autoconsent/fn-se.json +17 -0
- package/rules/autoconsent/fora-se.json +13 -0
- package/rules/autoconsent/fusedeck.json +38 -0
- package/rules/autoconsent/gjerrigknark.json +38 -0
- package/rules/autoconsent/hemsol.se.json +22 -0
- package/rules/autoconsent/historiskatlas.dk.json +35 -0
- package/rules/autoconsent/hmi-basen-dk.json +27 -0
- package/rules/autoconsent/icom-co-jp.json +34 -0
- package/rules/autoconsent/intermedia-cms-fsi.json +30 -0
- package/rules/autoconsent/jobbland.json +17 -0
- package/rules/autoconsent/kadokawa-ascii.json +34 -0
- package/rules/autoconsent/kglakademi.json +37 -0
- package/rules/autoconsent/kredittbanken.json +14 -0
- package/rules/autoconsent/lieder.net.json +13 -0
- package/rules/autoconsent/matspar-se.json +34 -0
- package/rules/autoconsent/menti-com.json +37 -0
- package/rules/autoconsent/mitrejsevejr.dk.json +13 -0
- package/rules/autoconsent/morgenlevering.no.json +46 -0
- package/rules/autoconsent/mos-cudzoziemcy-gov-pl.json +29 -0
- package/rules/autoconsent/multicalcolo.json +37 -0
- package/rules/autoconsent/nutri.se.json +40 -0
- package/rules/autoconsent/octoparse.json +33 -0
- package/rules/autoconsent/onecall-no.json +44 -0
- package/rules/autoconsent/oresundstag.json +40 -0
- package/rules/autoconsent/peppes.json +38 -0
- package/rules/autoconsent/planteportalen-no.json +32 -0
- package/rules/autoconsent/renaud-bray.json +44 -0
- package/rules/autoconsent/saos-org-pl.json +35 -0
- package/rules/autoconsent/shopgold.json +83 -0
- package/rules/autoconsent/shueisha-hpplus.json +27 -0
- package/rules/autoconsent/sian-it.json +35 -0
- package/rules/autoconsent/skisport.json +22 -0
- package/rules/autoconsent/skogforsk.json +9 -0
- package/rules/autoconsent/skovborghogh-cookies.json +17 -0
- package/rules/autoconsent/sportstiming.json +37 -0
- package/rules/autoconsent/squarespace-cookie-banner.json +3 -3
- package/rules/autoconsent/synergy-net-au.json +33 -0
- package/rules/autoconsent/teeshoppen.json +42 -0
- package/rules/autoconsent/tullys-jp.json +11 -0
- package/rules/autoconsent/vardgivarguiden.json +45 -0
- package/rules/autoconsent/wbd-consent-modal.json +54 -0
- package/rules/autoconsent/welcome-city-yokohama.json +75 -0
- package/rules/autoconsent/wordpress-wordads.json +20 -0
- package/rules/autoconsent/worldbank.json +5 -5
- package/rules/autoconsent/wuerth.json +57 -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/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/amasty-gdpr-sidebar.spec.ts +16 -0
- package/tests/arena-pl.spec.ts +3 -0
- package/tests/bannercookie-dashboard.spec.ts +3 -0
- package/tests/betheme.spec.ts +9 -0
- package/tests/biblia-online.pl.spec.ts +3 -0
- package/tests/bitauto.spec.ts +3 -0
- package/tests/blastingnews.spec.ts +3 -0
- package/tests/bn-org-pl.spec.ts +3 -0
- package/tests/bt-com-au.spec.ts +3 -0
- package/tests/calclife.net.spec.ts +3 -0
- package/tests/casino-guru.spec.ts +15 -0
- package/tests/ccconsent-holder.spec.ts +11 -0
- package/tests/cloudcms-cookie-alert-notice.spec.ts +10 -0
- package/tests/cloudcms-cookie-alert.spec.ts +6 -0
- package/tests/code3-cookies-consent.spec.ts +8 -0
- package/tests/complianz-opt-out.spec.ts +13 -3
- package/tests/cookie-button-basic.spec.ts +9 -0
- package/tests/cookie-use-notice.spec.ts +6 -0
- package/tests/cookieinfo-zamknij.spec.ts +3 -0
- package/tests/cookiesbanner-preference.spec.ts +8 -0
- package/tests/cookiesck.spec.ts +5 -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 +9 -0
- package/tests/dlibra.spec.ts +8 -0
- package/tests/dnb.spec.ts +5 -0
- package/tests/doc24-ch.spec.ts +3 -0
- package/tests/e-file.spec.ts +9 -0
- package/tests/erli-pl.spec.ts +4 -0
- package/tests/ernesto.spec.ts +8 -0
- package/tests/eu-cookie-compliance-legacy.spec.ts +8 -0
- package/tests/fellow-pl.spec.ts +5 -0
- package/tests/fn-se.spec.ts +3 -0
- package/tests/fora-se.spec.ts +3 -0
- package/tests/fusedeck.spec.ts +9 -0
- package/tests/gjerrigknark.spec.ts +6 -0
- package/tests/hemsol.se.spec.ts +3 -0
- package/tests/historiskatlas.dk.spec.ts +3 -0
- package/tests/hmi-basen-dk.spec.ts +5 -0
- package/tests/icom-co-jp.spec.ts +3 -0
- package/tests/intermedia-cms-fsi.spec.ts +8 -0
- package/tests/jobbland.spec.ts +5 -0
- package/tests/kadokawa-ascii.spec.ts +5 -0
- package/tests/kglakademi.spec.ts +3 -0
- package/tests/kredittbanken.spec.ts +3 -0
- package/tests/lieder.net.spec.ts +3 -0
- package/tests/matspar-se.spec.ts +3 -0
- package/tests/menti-com.spec.ts +3 -0
- package/tests/mitrejsevejr.dk.spec.ts +3 -0
- package/tests/morgenlevering.no.spec.ts +3 -0
- package/tests/mos-cudzoziemcy-gov-pl.spec.ts +3 -0
- package/tests/multicalcolo.spec.ts +3 -0
- package/tests/nutri.se.spec.ts +3 -0
- package/tests/octoparse.spec.ts +6 -0
- package/tests/onecall-no.spec.ts +3 -0
- package/tests/oresundstag.spec.ts +3 -0
- package/tests/peppes.spec.ts +5 -0
- package/tests/planteportalen-no.spec.ts +3 -0
- package/tests/renaud-bray.spec.ts +5 -0
- package/tests/saos-org-pl.spec.ts +3 -0
- package/tests/shopgold.spec.ts +3 -0
- package/tests/shueisha-hpplus.spec.ts +3 -0
- package/tests/sian-it.spec.ts +3 -0
- package/tests/skisport.spec.ts +9 -0
- package/tests/skogforsk.spec.ts +3 -0
- package/tests/skovborghogh-cookies.spec.ts +9 -0
- package/tests/sportstiming.spec.ts +8 -0
- package/tests/squarespace-cookie-banner.spec.ts +1 -0
- package/tests/synergy-net-au.spec.ts +8 -0
- package/tests/teeshoppen.spec.ts +7 -0
- package/tests/tullys-jp.spec.ts +3 -0
- package/tests/vardgivarguiden.spec.ts +3 -0
- package/tests/wbd-consent-modal.spec.ts +6 -0
- package/tests/welcome-city-yokohama.spec.ts +3 -0
- package/tests/wordpress-wordads.spec.ts +9 -0
- package/tests/worldbank.spec.ts +1 -0
- package/tests/wuerth.spec.ts +8 -0
- package/tests/ynjn.spec.ts +3 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +82 -4
- package/tests-wtr/rules/cmp-test-urls.json +0 -1
- package/rules/autoconsent/delta-com.json +0 -12
- package/rules/generated/auto_CH_fhgr.ch_9nr.json +0 -40
- package/tests/delta.spec.ts +0 -3
- package/tests/generated/auto_CH_fhgr.ch_9nr.spec.ts +0 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "calclife.net",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?calclife\\.net/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".cookie-consent"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": ".cookie-consent .cookie-consent__customize"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ".cookie-consent .cookie-consent__customize"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ".cookie-consent .cookie-consent__accept-all"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": ".cookie-consent .cookie-consent__customize"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"waitForVisible": ".cookie-consent .cookie-consent__details"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"if": {
|
|
31
|
+
"exists": "#consent-analytics:checked"
|
|
32
|
+
},
|
|
33
|
+
"then": [
|
|
34
|
+
{
|
|
35
|
+
"click": "#consent-analytics"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"click": ".cookie-consent .cookie-consent__save"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "casino-guru",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://casino.guru/"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": true,
|
|
7
|
+
"prehideSelectors": [".js-cookies-policy-alert"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".js-cookies-policy-alert [class*=\"cookies-policy-alert-body\"] [onclick*=\"js-cookies-policy-alert\"]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".js-cookies-policy-alert [class*=\"cookies-policy-alert-body\"]"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".js-cookies-policy-alert [onclick*=\"js-cookies-policy-alert\"]"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"hide": ".js-cookies-policy-alert"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ccconsent-holder",
|
|
3
|
+
"prehideSelectors": [".ccConsentHolder"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": ".ccConsentHolder .ccConsent .cookieSettings"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": ".ccConsentHolder .ccConsent"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"waitForThenClick": ".ccConsent .cookieButton.all"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optOut": [
|
|
20
|
+
{
|
|
21
|
+
"if": {
|
|
22
|
+
"visible": ".ccConsent .cookieTextHolderExtended .cookieSettings"
|
|
23
|
+
},
|
|
24
|
+
"then": [
|
|
25
|
+
{
|
|
26
|
+
"click": ".ccConsent .cookieTextHolderExtended .cookieSettings"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"else": [
|
|
30
|
+
{
|
|
31
|
+
"waitForThenClick": ".ccConsent .cookieTextHolder .cookieSettings"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"waitForVisible": ".ccConsent .cookie_settings_row .cookieButton:not(.all)"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"comment": "a checked switch means the category is disabled",
|
|
40
|
+
"click": ".ccConsent input.cookieswitch:not(:checked)",
|
|
41
|
+
"all": true,
|
|
42
|
+
"optional": true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"click": ".ccConsent .cookie_settings_row .cookieButton:not(.all)"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"test": [
|
|
49
|
+
{
|
|
50
|
+
"wait": 1000
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"cookieContains": "analytics_storage%22%3A%22disable"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cloudcms-cookie-alert-notice",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"prehideSelectors": ["#cookieAlert.cookie-alert-overlay"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{ "exists": "#cookieAlert.cookie-alert-overlay #cookieAccept" },
|
|
7
|
+
{ "exists": "#cookieAlert #saveCookieSettings", "negated": true }
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [{ "visible": "#cookieAlert.cookie-alert-overlay.show" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#cookieAlert #cookieAccept" }],
|
|
11
|
+
"optOut": [{ "hide": "#cookieAlert.cookie-alert-overlay" }]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cloudcms-cookie-alert",
|
|
3
|
+
"prehideSelectors": ["#cookieAlert.cookie-alert-overlay"],
|
|
4
|
+
"detectCmp": [{ "exists": "#cookieAlert.cookie-alert-overlay #saveCookieSettings" }],
|
|
5
|
+
"detectPopup": [{ "visible": "#cookieAlert.cookie-alert-overlay.show" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": "#cookieAlert #cookieAccept" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{ "waitForThenClick": "#cookieAlert #changeCookieSettings" },
|
|
9
|
+
{ "click": "#cookieAlert .cookie-category-switcher:checked:not([data-category=\"necessary\"])", "all": true, "optional": true },
|
|
10
|
+
{ "waitForThenClick": "#cookieAlert #saveCookieSettings" }
|
|
11
|
+
],
|
|
12
|
+
"test": [{ "cookieContains": "%22marketing%22:false" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "code3-cookies-consent",
|
|
3
|
+
"vendorUrl": "https://code3.ca/",
|
|
4
|
+
"prehideSelectors": ["#cookiesConsentBanner"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookiesConsentBanner"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookiesParametersModal"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookiesConsentBanner"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookiesConsentBanner .accept-all-cookies"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"if": {
|
|
26
|
+
"visible": "#cookiesConsentBanner .refuse-all-cookies"
|
|
27
|
+
},
|
|
28
|
+
"then": [
|
|
29
|
+
{
|
|
30
|
+
"click": "#cookiesConsentBanner .refuse-all-cookies"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"else": [
|
|
34
|
+
{
|
|
35
|
+
"click": "#cookiesParametersModal .refuse-all-cookies"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"test": [
|
|
41
|
+
{
|
|
42
|
+
"cookieContains": "cookiesConsentDone=true"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"cookieContains": "%22performanceCookies%22:false"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -49,10 +49,15 @@
|
|
|
49
49
|
"click": ".cmp-pref-link"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"
|
|
52
|
+
"waitForVisible": ".cmp-body .cmp-save-btn"
|
|
53
53
|
},
|
|
54
54
|
{
|
|
55
|
-
"
|
|
55
|
+
"comment": "absent when the only category is the read-only essential one",
|
|
56
|
+
"click": ".cmp-body [id*=rejectAll]",
|
|
57
|
+
"optional": true
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"click": ".cmp-body .cmp-save-btn"
|
|
56
61
|
}
|
|
57
62
|
]
|
|
58
63
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookie-button-basic",
|
|
3
|
+
"prehideSelectors": [".cookie-container:has(#cookie-button-basic)"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": ".cookie-container #cookie-button-basic"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": ".cookie-container.visible #cookie-button-basic"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"if": {
|
|
17
|
+
"exists": ".cookie-container #cookie-button"
|
|
18
|
+
},
|
|
19
|
+
"then": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".cookie-container #cookie-button"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"else": [
|
|
25
|
+
{
|
|
26
|
+
"click": ".cookie-container #statistical-cookies-switch:not(:checked)",
|
|
27
|
+
"optional": true
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"waitForThenClick": ".cookie-container #cookie-button-selected"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"optOut": [
|
|
36
|
+
{
|
|
37
|
+
"waitForThenClick": ".cookie-container #cookie-button-basic"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"test": [
|
|
41
|
+
{
|
|
42
|
+
"waitForVisible": ".cookie-container.visible #cookie-button-basic",
|
|
43
|
+
"check": "none",
|
|
44
|
+
"timeout": 2000
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookie-use-notice",
|
|
3
|
+
"prehideSelectors": [".cookie-use-notice"],
|
|
4
|
+
"detectCmp": [{ "exists": ".cookie-use-notice #decline-cookie" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".cookie-use-notice #decline-cookie" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": ".cookie-use-notice #accept-cookie" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{ "waitForThenClick": ".cookie-use-notice #decline-cookie" },
|
|
9
|
+
{ "waitForVisible": ".cookie-use-notice", "check": "none", "timeout": 2000 }
|
|
10
|
+
],
|
|
11
|
+
"test": [{ "cookieContains": "-cookie=deny" }]
|
|
12
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookieinfo-zamknij",
|
|
3
|
+
"vendorUrl": "https://unknown",
|
|
4
|
+
"prehideSelectors": [".JSWrapper:has(#cookieInfoZamknij)"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookieInfoZamknij"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#cookieInfoZamknij"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#cookieInfoZamknij"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#cookieInfoZamknij"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "js_on=1"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookiesbanner-preference",
|
|
3
|
+
"prehideSelectors": ["#cookiesBanner:has(#cookiesBannerPreference)"],
|
|
4
|
+
"detectCmp": [{ "exists": "#cookiesBanner #cookiesBannerPreference" }],
|
|
5
|
+
"detectPopup": [{ "visible": "#cookiesBanner:not(.cookiesBannerHide) #cookiesBannerBox" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": "#cookiesBannerInfos button[onclick^=\"submitCookies('all')\"]" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{ "waitForThenClick": "#cookiesBannerInfos button[onclick^='cookieSettingsShow']" },
|
|
9
|
+
{ "waitForVisible": "#cookiesBannerPreference" },
|
|
10
|
+
{ "click": "#cookiesBannerChoices input:checked:not(:disabled)", "all": true, "optional": true },
|
|
11
|
+
{ "waitForThenClick": "#cookiesBannerPreference button[onclick^='submitCookies()']" }
|
|
12
|
+
],
|
|
13
|
+
"test": [{ "waitFor": "#cookiesBanner.cookiesBannerHide" }, { "cookieContains": "\"tracking\":false" }]
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookiesck",
|
|
3
|
+
"vendorUrl": "https://www.joomlack.fr/en/joomla-extensions/cookies-ck",
|
|
4
|
+
"prehideSelectors": ["#cookiesck", "#cookiesck_overlay"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookiesck #cookiesck_decline"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#cookiesck"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#cookiesck_accept"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#cookiesck_decline"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"visible": "#cookiesck",
|
|
28
|
+
"check": "none"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookiesmodal-pl",
|
|
3
|
+
"prehideSelectors": [],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{ "exists": "#cookiesModal .modal-footer #cookiesModalAcceptSelected" },
|
|
6
|
+
{ "exists": "#cookiesModal input[name=\"cookies_google\"]" }
|
|
7
|
+
],
|
|
8
|
+
"detectPopup": [{ "visible": "#cookiesModal .modal-dialog" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "#cookiesModal #cookiesModalAcceptAll" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{
|
|
12
|
+
"if": { "exists": "#cookiesModal input[name=\"cookies_google\"]:checked" },
|
|
13
|
+
"then": [{ "click": "#cookiesModal input[name=\"cookies_google\"]" }]
|
|
14
|
+
},
|
|
15
|
+
{ "waitForThenClick": "#cookiesModal #cookiesModalAcceptSelected", "retry": 3, "retryInterval": 600 }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "cookieContains": "cookiePolicy=sessions" }, { "cookieContains": "cookiePolicy=sessions%2Cgoogle", "negated": true }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "creditunionsa",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?creditunionsa\\.com\\.au/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookie-banner-alerts > div:has(button[aria-label=\"Accept\"])"],
|
|
8
|
+
"detectCmp": [{ "exists": ".cookie-banner-alerts button[aria-label=\"Accept\"]" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".cookie-banner-alerts > div:has(button[aria-label=\"Accept\"])" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".cookie-banner-alerts button[aria-label=\"Accept\"]" }],
|
|
11
|
+
"optOut": [{ "hide": ".cookie-banner-alerts > div:has(button[aria-label=\"Accept\"])" }]
|
|
12
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cstudios",
|
|
3
|
+
"vendorUrl": "https://www.cstudios.pl/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(\\w+\\.)?cstudios\\.pl/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#CookiesWindow"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#CookiesWindow .rodo-window"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "#CookiesWindow .rodo-window"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#CookiesWindow .dnnSecondaryAction[onclick*=AcceptRODO]"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "#CookiesWindow"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": "#CookiesWindow",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dandomain",
|
|
3
|
+
"vendorUrl": "https://dandomain.dk/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": ["#CookiePolicy"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#CookiePolicy #cookie-policy-accept-button"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#CookiePolicy"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#CookiePolicy .cookie-policy-accept-all"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"comment": "some shops pre-check the toggles in a DOM-ready handler that may run after detection",
|
|
24
|
+
"wait": 500
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"comment": "the save button keeps the current toggles, so uncheck them first",
|
|
28
|
+
"click": "#CookiePolicy .cookie-policy-consents-area input[type=checkbox]:checked:not(:disabled)",
|
|
29
|
+
"all": true,
|
|
30
|
+
"optional": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"waitForThenClick": "#CookiePolicy #cookie-policy-accept-button"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"test": [
|
|
37
|
+
{
|
|
38
|
+
"cookieContains": "DDCookiePolicy-consent-tracking=false"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "datezone",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?datezone\\.com/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["[data-rum=\"cookie-consent\"]"],
|
|
7
|
+
"detectCmp": [{ "exists": "[data-rum=\"cookie-consent\"] [data-rum=\"cookie-consent-text\"]" }],
|
|
8
|
+
"detectPopup": [{ "visible": "[data-rum=\"cookie-consent\"]" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "[data-rum=\"cookie-consent\"] [data-rum=\"cookie-consent-text\"] + div > button:last-of-type" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{ "waitForThenClick": "[data-rum=\"cookie-consent\"] [data-rum=\"cookie-consent-text\"] + div > button:first-of-type" },
|
|
12
|
+
{ "waitFor": "[data-rum=\"cookie-consent\"] div.grid input[type=\"checkbox\"]" },
|
|
13
|
+
{
|
|
14
|
+
"click": "[data-rum=\"cookie-consent\"] div.grid:has(input[type=\"checkbox\"]:checked:not([disabled]))",
|
|
15
|
+
"all": true,
|
|
16
|
+
"optional": true
|
|
17
|
+
},
|
|
18
|
+
{ "waitForThenClick": "[data-rum=\"cookie-consent\"] div.grid ~ div > button:last-of-type" },
|
|
19
|
+
{ "waitForVisible": "[data-rum=\"cookie-consent\"]", "check": "none", "timeout": 3000 }
|
|
20
|
+
],
|
|
21
|
+
"test": [{ "cookieContains": "cookie_consent=necessary" }]
|
|
22
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "didomi",
|
|
3
|
+
"comment": "Bail on 'consent or pay' notices, where the disagree button costs money or leads to a subscription offer, and leave the choice to the user.",
|
|
3
4
|
"prehideSelectors": [
|
|
4
5
|
"#didomi-popup,.didomi-popup-container,.didomi-popup-notice,.didomi-consent-popup-preferences,#didomi-notice,.didomi-popup-backdrop,.didomi-screen-medium"
|
|
5
6
|
],
|
|
@@ -8,6 +9,10 @@
|
|
|
8
9
|
{
|
|
9
10
|
"visible": "#didomi-popup, #didomi-notice, .didomi-popup-notice, .didomi-notice-banner, #didomi-host:not([aria-hidden=\"true\"]):not(:empty)",
|
|
10
11
|
"check": "any"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"exists": "xpath///button[@id='didomi-notice-disagree-button'][contains(., '€') or contains(., '£') or contains(., '$') or contains(., 'uscri') or contains(., 'ubscri') or contains(., 'bonn') or contains(., 'bbon')]",
|
|
15
|
+
"negated": true
|
|
11
16
|
}
|
|
12
17
|
],
|
|
13
18
|
"optIn": [{ "waitForThenClick": "#didomi-notice-agree-button" }],
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dlibra",
|
|
3
|
+
"vendorUrl": "https://dlibra.psnc.pl/",
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": "script[src*=\"/style/dlibra/\"]"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"exists": ".cookies > p > button.cookies__button"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ".cookies > p > button.cookies__button"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ".cookies > p > button.cookies__button"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": ".cookies > p > button.cookies__button"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"cookieContains": "AcceptCookie=true"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "dnb",
|
|
3
|
+
"vendorUrl": "https://www.dnb.no/",
|
|
4
|
+
"prehideSelectors": ["#eufemia-portal-root .cookie-popup"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".cookie-popup #cookie-popup-strictlyNecessary"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".cookie-popup #cookie-popup-strictlyNecessary"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".cookie-popup #cookie-popup-acceptAll"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".cookie-popup #cookie-popup-strictlyNecessary"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "consentData=sn"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "doc24-ch",
|
|
3
|
+
"vendorUrl": "https://www.doc24.ch/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?doc24\\.ch/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".c-notice + .cursor-pointer"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".c-notice + .cursor-pointer"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".c-notice + .cursor-pointer"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".c-notice + .cursor-pointer"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "EU_COOKIES_CONSENT=true"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "e-file",
|
|
3
|
+
"vendorUrl": "https://www.e-file.pl/",
|
|
4
|
+
"prehideSelectors": ["#cookiemodal"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookiemodal #cookie-accepted-form"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#cookiemodal #cookie-change-desc"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#cookiemodal #cookie-accepted-all"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#cookiemodal #cookie-change-desc"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"waitForVisible": "#cookiemodal #cookie-accepted-form"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"click": "#cookiemodal .cookie-form input[type=checkbox]:checked:not(:disabled)",
|
|
29
|
+
"all": true,
|
|
30
|
+
"optional": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"click": "#cookiemodal #cookie-accepted-form"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"test": [
|
|
37
|
+
{
|
|
38
|
+
"cookieContains": "analytics_storage=false"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"cookieContains": "ad_storage=false"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|