@duckduckgo/autoconsent 16.52.0 → 16.54.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/AGENTS.md +1 -1
- package/CHANGELOG.md +111 -0
- package/data/coverage.json +3302 -2383
- package/dist/addon-firefox/compact-rules.json +1 -1
- 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/manifest.json +1 -1
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.standalone.js +1 -1
- package/package.json +2 -2
- package/rules/autoconsent/accurx.json +26 -0
- package/rules/autoconsent/admetricspro.json +53 -0
- package/rules/autoconsent/aliexpress.json +37 -13
- package/rules/autoconsent/bigid.json +29 -13
- package/rules/autoconsent/bnes-cc.json +27 -0
- package/rules/autoconsent/burpee-com.json +22 -10
- package/rules/autoconsent/c-banner-allow-cookies.json +17 -0
- package/rules/autoconsent/ccm19.json +31 -0
- package/rules/autoconsent/channel4.json +5 -5
- package/rules/autoconsent/citizensadvice.json +43 -0
- package/rules/autoconsent/civic-cookie-control.json +9 -9
- package/rules/autoconsent/clasohlson.com.json +13 -0
- package/rules/autoconsent/cm-cookie-manager.json +20 -0
- package/rules/autoconsent/complianz-optin.json +11 -1
- package/rules/autoconsent/concept3d.json +19 -0
- package/rules/autoconsent/conextra.json +18 -0
- package/rules/autoconsent/cookie-script.json +23 -2
- package/rules/autoconsent/cookiecuttr.json +3 -2
- package/rules/autoconsent/costco-travel.json +44 -0
- package/rules/autoconsent/craft-cookie-consent.json +65 -0
- package/rules/autoconsent/cz-eshop-cookies-consent.json +9 -0
- package/rules/autoconsent/depop.json +16 -14
- package/rules/autoconsent/dsgvo.json +8 -2
- package/rules/autoconsent/dwaalzin-nu.json +13 -0
- package/rules/autoconsent/eastlink.json +66 -0
- package/rules/autoconsent/elsevier.json +3 -3
- package/rules/autoconsent/eneba.json +66 -0
- package/rules/autoconsent/ensighten.json +2 -2
- package/rules/autoconsent/eset.json +57 -0
- package/rules/autoconsent/europa-eu.json +11 -7
- package/rules/autoconsent/figma.json +37 -0
- package/rules/autoconsent/finna.json +29 -0
- package/rules/autoconsent/gla.ac.uk.json +45 -0
- package/rules/autoconsent/head-fi.json +35 -0
- package/rules/autoconsent/istore-co-za.json +18 -0
- package/rules/autoconsent/kiwico.json +48 -0
- package/rules/autoconsent/klaxit-cookie-consent.json +9 -0
- package/rules/autoconsent/kwik-fit.json +16 -0
- package/rules/autoconsent/malaysiaairlines.com.json +42 -0
- package/rules/autoconsent/meridiancu.json +15 -0
- package/rules/autoconsent/meteored.json +40 -0
- package/rules/autoconsent/mobirise-cookies-alert-cosmetic.json +30 -0
- package/rules/autoconsent/mobirise-cookies-alert.json +34 -0
- package/rules/autoconsent/msg-cookie.json +9 -0
- package/rules/autoconsent/nestpensions.json +14 -0
- package/rules/autoconsent/nhs-jobs.json +11 -0
- package/rules/autoconsent/occ-gdpr.json +17 -0
- package/rules/autoconsent/piwik-pro.json +83 -0
- package/rules/autoconsent/plentyshop.json +27 -0
- package/rules/autoconsent/posthog.json +35 -0
- package/rules/autoconsent/quantcast.json +11 -0
- package/rules/autoconsent/quick-cookie-consent.json +70 -0
- package/rules/autoconsent/savills.json +44 -0
- package/rules/autoconsent/schadefonds.json +15 -0
- package/rules/autoconsent/scottish-government-design-system.json +14 -0
- package/rules/autoconsent/service2school.json +45 -0
- package/rules/autoconsent/smallpdf.json +44 -0
- package/rules/autoconsent/somerset-council.json +16 -0
- package/rules/autoconsent/sportmedizin-rheuma.json +17 -0
- package/rules/autoconsent/stepstone-ccm.json +19 -0
- package/rules/autoconsent/teacherspensions.co.uk.json +46 -0
- package/rules/autoconsent/thenude.json +108 -0
- package/rules/autoconsent/tna-cookie-banner.json +43 -0
- package/rules/autoconsent/toyota.json +14 -0
- package/rules/autoconsent/tracsis-delay-repay.json +13 -0
- package/rules/autoconsent/truendo.json +28 -0
- package/rules/autoconsent/truevault-polaris.json +8 -0
- package/rules/autoconsent/tti-cookie-popup.json +72 -0
- package/rules/autoconsent/u-cookie-consent.json +9 -0
- package/rules/autoconsent/ubisoft-com.json +64 -0
- package/rules/autoconsent/volvocars-com.json +1 -1
- package/rules/autoconsent/wbd-legal-terms.json +28 -10
- package/rules/autoconsent/what3words.json +53 -0
- package/rules/autoconsent/whitepages-gpc-banner.json +14 -0
- package/rules/autoconsent/wp-cookie-notice.json +1 -1
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/accurx.spec.ts +3 -0
- package/tests/admetricspro.spec.ts +21 -0
- package/tests/aliexpress.spec.ts +5 -1
- package/tests/bigid.spec.ts +6 -0
- package/tests/bnes-cc.spec.ts +3 -0
- package/tests/burpee-com.spec.ts +3 -0
- package/tests/c-banner-allow-cookies.spec.ts +3 -0
- package/tests/ccm19.spec.ts +11 -0
- package/tests/channel4.spec.ts +7 -3
- package/tests/citizensadvice.spec.ts +3 -0
- package/tests/civic-cookie-control.spec.ts +9 -1
- package/tests/clasohlson.com.spec.ts +3 -0
- package/tests/cm-cookie-manager.spec.ts +11 -0
- package/tests/complianz-optin.spec.ts +5 -1
- package/tests/concept3d.spec.ts +8 -0
- package/tests/conextra.spec.ts +8 -0
- package/tests/cookie-script.spec.ts +8 -3
- package/tests/cookiecuttr.spec.ts +8 -1
- package/tests/costco-travel.spec.ts +5 -0
- package/tests/craft-cookie-consent.spec.ts +9 -0
- package/tests/cz-eshop-cookies-consent.spec.ts +10 -0
- package/tests/depop.spec.ts +3 -1
- package/tests/dsgvo.spec.ts +8 -10
- package/tests/dwaalzin-nu.spec.ts +6 -0
- package/tests/eastlink.spec.ts +3 -0
- package/tests/elsevier.spec.ts +5 -1
- package/tests/eneba.spec.ts +3 -0
- package/tests/eset.spec.ts +9 -0
- package/tests/europa-eu.spec.ts +6 -1
- package/tests/figma.spec.ts +5 -0
- package/tests/finna.spec.ts +3 -0
- package/tests/gla.ac.uk.spec.ts +6 -0
- package/tests/head-fi.spec.ts +3 -0
- package/tests/istore-co-za.spec.ts +3 -0
- package/tests/kiwico.spec.ts +5 -0
- package/tests/klaxit-cookie-consent.spec.ts +7 -0
- package/tests/kwik-fit.spec.ts +3 -0
- package/tests/malaysiaairlines.com.spec.ts +3 -0
- package/tests/meridiancu.spec.ts +3 -0
- package/tests/meteored.spec.ts +9 -0
- package/tests/mobirise-cookies-alert-cosmetic.spec.ts +8 -0
- package/tests/mobirise-cookies-alert.spec.ts +3 -0
- package/tests/msg-cookie.spec.ts +10 -0
- package/tests/nestpensions.spec.ts +3 -0
- package/tests/nhs-jobs.spec.ts +5 -0
- package/tests/occ-gdpr.spec.ts +3 -0
- package/tests/piwik-pro.spec.ts +10 -0
- package/tests/plentyshop.spec.ts +7 -0
- package/tests/posthog.spec.ts +3 -0
- package/tests/quantcast.spec.ts +2 -2
- package/tests/quick-cookie-consent.spec.ts +8 -0
- package/tests/savills.spec.ts +3 -0
- package/tests/schadefonds.spec.ts +3 -0
- package/tests/scottish-government-design-system.spec.ts +8 -0
- package/tests/service2school.spec.ts +3 -0
- package/tests/smallpdf.spec.ts +5 -0
- package/tests/somerset-council.spec.ts +8 -0
- package/tests/sportmedizin-rheuma.spec.ts +3 -0
- package/tests/stepstone-ccm.spec.ts +8 -0
- package/tests/teacherspensions.co.uk.spec.ts +3 -0
- package/tests/thenude.spec.ts +3 -0
- package/tests/tna-cookie-banner.spec.ts +8 -0
- package/tests/tracsis-delay-repay.spec.ts +6 -0
- package/tests/truendo.spec.ts +9 -0
- package/tests/tti-cookie-popup.spec.ts +8 -0
- package/tests/u-cookie-consent.spec.ts +9 -0
- package/tests/ubisoft-com.spec.ts +12 -0
- package/tests/wbd-legal-terms.spec.ts +2 -0
- package/tests/what3words.spec.ts +3 -0
- package/tests/whitepages-gpc-banner.spec.ts +4 -0
- package/tests/wp-cookie-notice.spec.ts +4 -1
- package/rules/autoconsent/sandhills.json +0 -26
- package/tests/sandhills.spec.ts +0 -8
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kiwico",
|
|
3
|
+
"vendorUrl": "https://www.kiwico.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"main": true,
|
|
6
|
+
"frame": false,
|
|
7
|
+
"urlPattern": "^https?://(www\\.)?kiwico\\.com/"
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": ["#ccpa-request-consent"],
|
|
10
|
+
"detectCmp": [
|
|
11
|
+
{
|
|
12
|
+
"exists": "#ccpa-request-consent .settings button"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [
|
|
16
|
+
{
|
|
17
|
+
"visible": "#ccpa-request-consent.ccpa-banner--visible .settings button"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optIn": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#ccpa-request-consent .accept button"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": "#ccpa-request-consent .settings button"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"waitForThenClick": ".ReactModal__Content:has(.toggle-grid) .modal__footer button.button--vibrant--filled"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"waitForVisible": ".ReactModal__Content:has(.toggle-grid)",
|
|
34
|
+
"check": "none",
|
|
35
|
+
"timeout": 3000
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"waitForThenClick": "#ccpa-request-consent button.close"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"test": [
|
|
42
|
+
{
|
|
43
|
+
"waitForVisible": "#ccpa-request-consent",
|
|
44
|
+
"check": "none",
|
|
45
|
+
"timeout": 3000
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "klaxit-cookie-consent",
|
|
3
|
+
"prehideSelectors": [".cc-container.cc-noselect"],
|
|
4
|
+
"detectCmp": [{ "exists": ".cc-container .cc-box .cc-section-landing .cc-btn-reject" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".cc-container.displayed .cc-section-landing" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": ".cc-container .cc-section-landing .cc-btn-accept-all" }],
|
|
7
|
+
"optOut": [{ "waitForThenClick": ".cc-container .cc-section-landing .cc-btn-reject" }],
|
|
8
|
+
"test": [{ "cookieContains": "cookie_consent={\"status\":\"rejected\"" }]
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kwik-fit",
|
|
3
|
+
"vendorUrl": "https://www.kwik-fit.com/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": [".cookie-settings-message", ".cookie-settings-background"],
|
|
6
|
+
"detectCmp": [{ "exists": ".cookie-settings-message #frmCookiesBanner" }],
|
|
7
|
+
"detectPopup": [{ "visible": ".cookie-settings-message .cookie-settings-message-close-link" }],
|
|
8
|
+
"optIn": [{ "waitForThenClick": ".cookie-settings-message .cookie-settings-message-close-link" }],
|
|
9
|
+
"optOut": [
|
|
10
|
+
{ "waitForThenClick": ".cookie-settings-message .cookie-settings-manage" },
|
|
11
|
+
{ "waitForVisible": "#frmCookiesBanner" },
|
|
12
|
+
{ "click": "#frmCookiesBanner input[type=checkbox]:checked", "all": true, "optional": true },
|
|
13
|
+
{ "waitForThenClick": ".cookie-settings-message .cookie-settings-message-save-link" },
|
|
14
|
+
{ "waitForVisible": ".cookie-settings-message", "check": "none" }
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "malaysiaairlines.com",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://www.malaysiaairlines.com/"
|
|
5
|
+
},
|
|
6
|
+
"runContext": {
|
|
7
|
+
"urlPattern": "^https?://(\\w+\\.)?malaysiaairlines\\.com/"
|
|
8
|
+
},
|
|
9
|
+
"cosmetic": false,
|
|
10
|
+
"prehideSelectors": [],
|
|
11
|
+
"detectCmp": [
|
|
12
|
+
{
|
|
13
|
+
"exists": ".cookies-notification-wrapper .cookie-accept-all-cta"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"detectPopup": [
|
|
17
|
+
{
|
|
18
|
+
"visible": ".cookies-notification-wrapper .cookie-accept-all-cta"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optIn": [
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": ".cookies-notification-wrapper .cookie-accept-all-cta button"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"optOut": [
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": ".cookies-notification-wrapper .customise-cookies-cta button"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"waitForVisible": ".cookies-notification-wrapper .cookie-details-section"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"click": ".cookies-notification-wrapper .cookie-details-section input[type=checkbox]:checked:not(:disabled)",
|
|
35
|
+
"all": true,
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"waitForThenClick": ".cookies-notification-wrapper .cookies-notification-bottom div:not(.hideCookiesPreferenceBtn) > button"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "meridiancu",
|
|
3
|
+
"vendorUrl": "https://www.meridiancu.ca/",
|
|
4
|
+
"prehideSelectors": ["#cookies-disclaimer-modal"],
|
|
5
|
+
"detectCmp": [{ "exists": "#cookies-disclaimer-modal #cookies-disclaimer-modal-settings" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#cookies-disclaimer-modal #cookies-disclaimer-modal-accept" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#cookies-disclaimer-modal-accept" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{ "waitForThenClick": "#cookies-disclaimer-modal-settings" },
|
|
10
|
+
{ "waitForVisible": "#cookies-settings-modal-header" },
|
|
11
|
+
{ "click": "#cookies-settings-modal-statistics-switch:checked", "optional": true },
|
|
12
|
+
{ "waitForThenClick": "#cookies-settings-modal-confirm" }
|
|
13
|
+
],
|
|
14
|
+
"test": [{ "cookieContains": "\"googleAnalytics\":false" }]
|
|
15
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "meteored",
|
|
3
|
+
"vendorUrl": "https://www.meteored.com/",
|
|
4
|
+
"prehideSelectors": [".cmp_gdpr .fondo-cmp"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".cmp_gdpr #btn-gdpr-accept"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".cmp_gdpr #btn-gdpr-accept"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".cmp_gdpr #btn-gdpr-accept"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".cmp_gdpr #btn-gdpr-configure"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".cmp_gdpr .bt-final.footer button.bt-izq-m",
|
|
26
|
+
"retry": 5,
|
|
27
|
+
"retryInterval": 500
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"test": [
|
|
31
|
+
{
|
|
32
|
+
"waitForVisible": ".cmp_gdpr .fondo-cmp",
|
|
33
|
+
"timeout": 1000,
|
|
34
|
+
"check": "none"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"cookieContains": "cmp-cl=AA"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mobirise-cookies-alert-cosmetic",
|
|
3
|
+
"vendorUrl": "https://mobirise.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": ["#cookiesdirective"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#cookiesdirective"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"exists": "#cookiesdirective #explicitreject",
|
|
12
|
+
"negated": true
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [
|
|
16
|
+
{
|
|
17
|
+
"visible": "#cookiesdirective"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optIn": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#cookiesdirective #explicitsubmit, #cookiesdirective #impliedsubmit"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"hide": "#cookiesdirective"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mobirise-cookies-alert",
|
|
3
|
+
"vendorUrl": "https://mobirise.com/",
|
|
4
|
+
"prehideSelectors": ["#cookiesdirective"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookiesdirective #explicitreject"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#cookiesdirective"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#cookiesdirective #explicitsubmit"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#cookiesdirective #explicitreject",
|
|
23
|
+
"retry": 3,
|
|
24
|
+
"retryInterval": 1500
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"waitForVisible": "#cookiesdirective",
|
|
30
|
+
"check": "none",
|
|
31
|
+
"timeout": 4000
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "msg-cookie",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"prehideSelectors": ["#msg-cookie:has(#hide-msg-cookie)"],
|
|
5
|
+
"detectCmp": [{ "exists": "#msg-cookie #hide-msg-cookie" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#msg-cookie #hide-msg-cookie" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#msg-cookie #hide-msg-cookie" }],
|
|
8
|
+
"optOut": [{ "hide": "#msg-cookie" }]
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nestpensions",
|
|
3
|
+
"vendorUrl": "https://www.nestpensions.org.uk/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?nestpensions\\.org\\.uk/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [".cookie-policy-wrapper .cookie-policy-content"],
|
|
9
|
+
"detectCmp": [{ "exists": ".cookie-policy-wrapper #declineCookies" }],
|
|
10
|
+
"detectPopup": [{ "visible": ".cookie-policy-wrapper .cookie-policy-content" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": ".cookie-policy-wrapper #acceptCookies" }],
|
|
12
|
+
"optOut": [{ "waitForThenClick": ".cookie-policy-wrapper #declineCookies" }],
|
|
13
|
+
"test": [{ "cookieContains": "cookies_policy=analyticsCookies%3Doff%26functionalityCookies%3Doff" }]
|
|
14
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nhs-jobs",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?jobs\\.nhs\\.uk/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#cookie-banner"],
|
|
7
|
+
"detectCmp": [{ "exists": "#cookie-banner #reject-cookies" }],
|
|
8
|
+
"detectPopup": [{ "visible": "#cookie-banner #reject-cookies" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "#cookie-banner #accept-cookies" }],
|
|
10
|
+
"optOut": [{ "waitForThenClick": "#cookie-banner #reject-cookies" }]
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "occ-gdpr",
|
|
3
|
+
"prehideSelectors": [".js-occ-gdrp-modal"],
|
|
4
|
+
"detectCmp": [{ "exists": ".js-occ-gdrp-modal .js-occ-gdrp-modal__btn-modal-gdpr-settings" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".js-occ-gdrp-modal.is-visible .js-occ-gdrp-modal__btn-modal-gdpr-settings" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": ".js-occ-gdrp-modal .js-occ-gdrp-modal__btn-modal-gdpr" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{ "waitForThenClick": ".js-occ-gdrp-modal .js-occ-gdrp-modal__btn-modal-gdpr-settings:not(.settings-active)" },
|
|
9
|
+
{ "waitForVisible": ".js-occ-gdrp-modal .js-occ-gdrp-modal__btn-modal-gdpr-settings.settings-active" },
|
|
10
|
+
{
|
|
11
|
+
"if": { "exists": ".js-occ-gdrp-modal .js-cookie-category:checked" },
|
|
12
|
+
"then": [{ "click": ".js-occ-gdrp-modal .js-cookie-category:checked", "all": true }]
|
|
13
|
+
},
|
|
14
|
+
{ "click": ".js-occ-gdrp-modal .js-occ-gdrp-modal__btn-modal-gdpr-settings.settings-active" }
|
|
15
|
+
],
|
|
16
|
+
"test": [{ "cookieContains": "occ_gdpr_settings" }]
|
|
17
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "piwik-pro",
|
|
3
|
+
"vendorUrl": "https://piwik.pro/consent-manager/",
|
|
4
|
+
"prehideSelectors": ["#PiwikPROConsentForm-container", ".PiwikPROConsentForm-overlay"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#PiwikPROConsentForm-container"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#PiwikPROConsentForm-container"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#PiwikPROConsentForm-agree-to-all, #PiwikPROConsentForm-agree"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"if": {
|
|
23
|
+
"visible": "#PiwikPROConsentForm-reject-all"
|
|
24
|
+
},
|
|
25
|
+
"then": [
|
|
26
|
+
{
|
|
27
|
+
"click": "#PiwikPROConsentForm-reject-all"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"else": [
|
|
31
|
+
{
|
|
32
|
+
"waitForThenClick": "#PiwikPROConsentForm-toggle-details"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"waitForVisible": "#PiwikPROConsentForm-consents",
|
|
36
|
+
"timeout": 2000
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"if": {
|
|
40
|
+
"visible": "#PiwikPROConsentForm-reject-all"
|
|
41
|
+
},
|
|
42
|
+
"then": [
|
|
43
|
+
{
|
|
44
|
+
"click": "#PiwikPROConsentForm-reject-all"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"else": [
|
|
48
|
+
{
|
|
49
|
+
"comment": "untick any pre-selected optional purposes",
|
|
50
|
+
"click": "button.PiwikPROConsentForm-consent-checkbox[aria-checked=true]:not([aria-required=true]), input.PiwikPROConsentForm-consent-checkbox:checked:not(:disabled)",
|
|
51
|
+
"all": true,
|
|
52
|
+
"optional": true
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"if": {
|
|
56
|
+
"visible": "#PiwikPROConsentForm-save"
|
|
57
|
+
},
|
|
58
|
+
"then": [
|
|
59
|
+
{
|
|
60
|
+
"click": "#PiwikPROConsentForm-save"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"else": [
|
|
64
|
+
{
|
|
65
|
+
"comment": "the details toggle turns into the save button once expanded",
|
|
66
|
+
"click": "#PiwikPROConsentForm-toggle-details"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"test": [
|
|
76
|
+
{
|
|
77
|
+
"cookieContains": "ppms_privacy_"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"cookieContains": "%22status%22:0"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "plentyshop",
|
|
3
|
+
"vendorUrl": "https://www.plentymarkets.com/",
|
|
4
|
+
"prehideSelectors": ["[data-cookie-bar]"],
|
|
5
|
+
"detectCmp": [{ "exists": "[data-cookie-bar] [data-cb=\"acceptAll\"]" }],
|
|
6
|
+
"detectPopup": [
|
|
7
|
+
{
|
|
8
|
+
"visible": "[data-cookie-bar] [data-cb=\"declineAll\"],[data-cookie-bar] [data-cb=\"saveNecessary\"]",
|
|
9
|
+
"check": "any"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"optIn": [{ "waitForThenClick": "[data-cookie-bar] [data-cb=\"acceptAll\"]" }],
|
|
13
|
+
"optOut": [
|
|
14
|
+
{
|
|
15
|
+
"if": { "exists": "[data-cookie-bar] [data-cb=\"declineAll\"]" },
|
|
16
|
+
"then": [{ "waitForThenClick": "[data-cookie-bar] [data-cb=\"declineAll\"]" }],
|
|
17
|
+
"else": [{ "waitForThenClick": "[data-cookie-bar] [data-cb=\"saveNecessary\"]" }]
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"test": [
|
|
21
|
+
{
|
|
22
|
+
"visible": "[data-cookie-bar] [data-cb=\"declineAll\"],[data-cookie-bar] [data-cb=\"saveNecessary\"]",
|
|
23
|
+
"check": "none"
|
|
24
|
+
},
|
|
25
|
+
{ "cookieContains": "plenty-shop-cookie=" }
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "posthog",
|
|
3
|
+
"vendorUrl": "https://posthog.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?posthog\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]//button[@data-radix-toast-announce-alt='Close']"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]//button[@data-radix-toast-announce-alt='Close']"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"waitForVisible": "xpath///li[contains(@class, 'ToastRoot')][contains(., 'cookie banner')]",
|
|
31
|
+
"check": "none",
|
|
32
|
+
"timeout": 2000
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -19,6 +19,17 @@
|
|
|
19
19
|
"exists": "#qc-cmp2-usp"
|
|
20
20
|
},
|
|
21
21
|
"then": [
|
|
22
|
+
{
|
|
23
|
+
"waitFor": "#qc-cmp2-usp .qc-cmp2-list-item-header,#qc-cmp2-usp .qc-cmp2-toggle-switch",
|
|
24
|
+
"timeout": 2000,
|
|
25
|
+
"optional": true
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"comment": "some sites render the opt-out list collapsed, without toggles until it's expanded",
|
|
29
|
+
"click": "#qc-cmp2-usp .qc-cmp2-list-item:not(:has(.qc-cmp2-toggle-switch)) > .qc-cmp2-list-item-header",
|
|
30
|
+
"all": true,
|
|
31
|
+
"optional": true
|
|
32
|
+
},
|
|
22
33
|
{
|
|
23
34
|
"waitFor": "#qc-cmp2-usp .qc-cmp2-toggle-switch",
|
|
24
35
|
"timeout": 2000,
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "quick-cookie-consent",
|
|
3
|
+
"vendorUrl": "https://privacypolicies.com/cookie-consent/",
|
|
4
|
+
"prehideSelectors": [".cookieconsent-popup:has(.ui-icon-wrench)"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".cookieconsent-popup .cookieconsent-button-wrap button:has(.ui-icon-wrench)"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".cookieconsent-popup .cookieconsent-button-wrap button:has(.ui-icon-wrench)"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".cookieconsent-popup .cookieconsent-button-wrap button:has(.ui-icon-close)"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".cookieconsent-popup .cookieconsent-button-wrap button:has(.ui-icon-wrench)"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"waitForVisible": ".cookieconsent-edit-settings .cookieconsent-level-changer"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"if": {
|
|
29
|
+
"exists": ".cookieconsent-level-changer > a:nth-of-type(2).activated"
|
|
30
|
+
},
|
|
31
|
+
"then": [
|
|
32
|
+
{
|
|
33
|
+
"click": ".cookieconsent-level-changer > a:first-of-type"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"if": {
|
|
39
|
+
"exists": ".cookieconsent-edit-settings .cookieconsent-dialog-close-btn"
|
|
40
|
+
},
|
|
41
|
+
"then": [
|
|
42
|
+
{
|
|
43
|
+
"click": ".cookieconsent-edit-settings .cookieconsent-dialog-close-btn"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"else": [
|
|
47
|
+
{
|
|
48
|
+
"click": ".cookieconsent-edit-settings .cookieconsent-dialog-close"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"test": [
|
|
54
|
+
{
|
|
55
|
+
"cookieContains": "cookie_consent_level="
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"cookieContains": "cookie_consent_level=tracking",
|
|
59
|
+
"negated": true
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"cookieContains": "cookie_consent_level=targeting",
|
|
63
|
+
"negated": true
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"cookieContains": "cookie_consent_level=functional",
|
|
67
|
+
"negated": true
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "savills",
|
|
3
|
+
"vendorUrl": "https://www.savills.com/",
|
|
4
|
+
"prehideSelectors": [".sv-cookie-management__banner"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".sv-cookie-management__banner"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".sv-cookie-management__banner.sv--visible"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".sv-cookie-management__banner .sv-button"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".sv-cookie-management__banner .sv-manage-cookies"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"waitForVisible": ".sv-cookie-management__modal--visible"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"if": { "exists": "#functional-cookies:checked" },
|
|
29
|
+
"then": [{ "click": "label[for='functional-cookies']" }]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"if": { "exists": "#tracking-cookies:checked" },
|
|
33
|
+
"then": [{ "click": "label[for='tracking-cookies']" }]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"click": ".sv-cookie-management__modal--visible .sv-save-close"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"test": [
|
|
40
|
+
{
|
|
41
|
+
"cookieContains": "\"tracking\":false"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "schadefonds",
|
|
3
|
+
"vendorUrl": "https://www.schadefonds.nl/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?schadefonds\\.nl/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cc-window[aria-describedby=\"cookieconsent:desc\"]"],
|
|
8
|
+
"detectCmp": [{ "exists": ".cc-window.cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".cc-window.cc-type-info[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".cc-window[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitFor": "body.cookie-overlay", "timeout": 2000, "optional": true },
|
|
13
|
+
{ "waitForThenClick": ".cc-window[aria-describedby=\"cookieconsent:desc\"] .cc-dismiss" }
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "scottish-government-design-system",
|
|
3
|
+
"vendorUrl": "https://designsystem.gov.scot/",
|
|
4
|
+
"prehideSelectors": ["[data-module=\"ds-cookie-notification\"]"],
|
|
5
|
+
"detectCmp": [{ "exists": "[data-module=\"ds-cookie-notification\"] .js-accept-essential-cookies" }],
|
|
6
|
+
"detectPopup": [{ "visible": "[data-module=\"ds-cookie-notification\"] .js-accept-essential-cookies" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "[data-module=\"ds-cookie-notification\"] .js-accept-all-cookies" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": "[data-module=\"ds-cookie-notification\"] .js-accept-essential-cookies" }],
|
|
9
|
+
"test": [
|
|
10
|
+
{
|
|
11
|
+
"cookieContains": "cookiePermissions=eyJuZWNlc3NhcnkiOnRydWUsInByZWZlcmVuY2VzIjpmYWxzZSwic3RhdGlzdGljcyI6ZmFsc2UsImNhbXBhaWducyI6ZmFsc2UsIm1hcmtldGluZyI6ZmFsc2V9"
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "service2school",
|
|
3
|
+
"vendorUrl": "https://service2school.org/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?service2school\\.org/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookie-banner-mount-point", "#hs-eu-cookie-confirmation"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".cookie-banner-mount-point section[aria-label='Cookie banner'] button.accept"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"cookieContains": "__hs_opt_out=",
|
|
14
|
+
"negated": true
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"detectPopup": [
|
|
18
|
+
{
|
|
19
|
+
"visible": ".cookie-banner-mount-point section[aria-label='Cookie banner']"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optIn": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": ".cookie-banner-mount-point button.accept"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": "#hs-eu-confirmation-button",
|
|
28
|
+
"timeout": 5000
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"optOut": [
|
|
32
|
+
{
|
|
33
|
+
"hide": ".cookie-banner-mount-point"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"waitForThenClick": "#hs-eu-decline-button",
|
|
37
|
+
"timeout": 5000
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"test": [
|
|
41
|
+
{
|
|
42
|
+
"cookieContains": "__hs_opt_out=yes"
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|