@duckduckgo/autoconsent 16.63.0 → 17.1.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 +98 -0
- package/dist/addon-firefox/background.bundle.js +1 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +177 -38
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/popup.bundle.js +1 -0
- package/dist/addon-firefox/rule-index.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +1 -0
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +177 -38
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/popup.bundle.js +1 -0
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +177 -38
- package/dist/autoconsent.esm.js +177 -38
- package/dist/autoconsent.playwright.js +180 -38
- package/dist/autoconsent.standalone.js +178 -39
- package/dist/heuristics.cjs.js +15 -3
- package/dist/heuristics.mjs +15 -3
- package/dist/types/heuristics.d.ts +12 -3
- package/dist/types/types.d.ts +12 -1
- package/lib/cmps/base.ts +5 -1
- package/lib/heuristic-patterns.ts +18 -2
- package/lib/heuristics.ts +240 -45
- package/lib/types.ts +16 -1
- package/lib/utils.ts +1 -0
- package/package.json +1 -1
- package/readme.md +1 -1
- package/rules/autoconsent/1pmobile.json +44 -0
- package/rules/autoconsent/amasty-gdpr-hyva.json +131 -0
- package/rules/autoconsent/amazonforum.json +86 -0
- package/rules/autoconsent/asrock.json +44 -0
- package/rules/autoconsent/babylist.json +23 -0
- package/rules/autoconsent/babylonbee.json +36 -0
- package/rules/autoconsent/bathnes-cookie-banner.json +31 -0
- package/rules/autoconsent/chairish.json +17 -0
- package/rules/autoconsent/chemicalbook.json +13 -0
- package/rules/autoconsent/chimnie-co-uk.json +21 -0
- package/rules/autoconsent/complianz-optin.json +5 -3
- package/rules/autoconsent/consentmo.json +5 -2
- package/rules/autoconsent/cookie-pref-form.json +48 -0
- package/rules/autoconsent/cookie-script.json +34 -15
- package/rules/autoconsent/endeavorhealth.json +31 -0
- package/rules/autoconsent/ensighten.json +3 -3
- package/rules/autoconsent/epaas.json +18 -1
- package/rules/autoconsent/fepblue-org.json +13 -0
- package/rules/autoconsent/fnsp-cookieconsent.json +30 -0
- package/rules/autoconsent/fod-fujitv.json +13 -0
- package/rules/autoconsent/fpl-com.json +34 -0
- package/rules/autoconsent/fuqer.json +11 -0
- package/rules/autoconsent/greatschools.json +13 -0
- package/rules/autoconsent/hamradio-com.json +13 -0
- package/rules/autoconsent/hkdir.json +33 -0
- package/rules/autoconsent/hubspot.json +7 -1
- package/rules/autoconsent/ibkr.json +16 -0
- package/rules/autoconsent/jetpens.json +44 -0
- package/rules/autoconsent/jokul-cookie-consent.json +28 -0
- package/rules/autoconsent/kanopy.json +88 -0
- package/rules/autoconsent/lego.json +27 -5
- package/rules/autoconsent/mainlinemenswear.json +39 -0
- package/rules/autoconsent/mars-cookies-prompt.json +20 -0
- package/rules/autoconsent/money-co-uk.json +21 -0
- package/rules/autoconsent/myjobquote.json +19 -0
- package/rules/autoconsent/niedziela-pl.json +35 -0
- package/rules/autoconsent/nikkeibp.json +10 -0
- package/rules/autoconsent/northwell-edu.json +29 -0
- package/rules/autoconsent/nts-org-uk.json +20 -0
- package/rules/autoconsent/nyu-langone.json +30 -0
- package/rules/autoconsent/ofsted-reports-cosmetic.json +13 -0
- package/rules/autoconsent/onecom-cookie-banner.json +25 -0
- package/rules/autoconsent/optum-legal-banner.json +10 -0
- package/rules/autoconsent/optum.json +35 -0
- package/rules/autoconsent/oslosportslager.no.json +34 -0
- package/rules/autoconsent/planned-parenthood.json +17 -0
- package/rules/autoconsent/plex.tv.json +52 -0
- package/rules/autoconsent/pornhub-compact-cookie-banner.json +1 -1
- package/rules/autoconsent/pornhub.json +1 -1
- package/rules/autoconsent/radio-canada.json +28 -0
- package/rules/autoconsent/regjeringen.no.json +13 -0
- package/rules/autoconsent/reviewsolicitors.json +41 -0
- package/rules/autoconsent/ring.json +1 -1
- package/rules/autoconsent/roll20.json +50 -0
- package/rules/autoconsent/sankei-digital.json +37 -0
- package/rules/autoconsent/sirdata.json +8 -3
- package/rules/autoconsent/site-notifications-cookie-usage.json +25 -0
- package/rules/autoconsent/sparebank1-optin.json +10 -0
- package/rules/autoconsent/texas-gov.json +22 -0
- package/rules/autoconsent/tiresize.com.json +17 -0
- package/rules/autoconsent/tri-table.json +6 -2
- package/rules/autoconsent/trillian.json +10 -0
- package/rules/autoconsent/tyreseeker.json +44 -0
- package/rules/autoconsent/uhcprovider.json +13 -0
- package/rules/autoconsent/united-online.json +66 -0
- package/rules/autoconsent/unitedutilities.json +52 -0
- package/rules/autoconsent/uttings.co.uk.json +22 -0
- package/rules/autoconsent/vinnova-se.json +50 -0
- package/rules/autoconsent/vortex-consent.json +33 -0
- package/rules/autoconsent/watchfinder.json +16 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/1pmobile.spec.ts +5 -0
- package/tests/amasty-gdpr-hyva.spec.ts +17 -0
- package/tests/amazonforum.spec.ts +9 -0
- package/tests/asrock.spec.ts +3 -0
- package/tests/babylist.spec.ts +3 -0
- package/tests/babylonbee.spec.ts +6 -0
- package/tests/bathnes-cookie-banner.spec.ts +3 -0
- package/tests/chairish.spec.ts +3 -0
- package/tests/chemicalbook.spec.ts +5 -0
- package/tests/chimnie-co-uk.spec.ts +3 -0
- package/tests/complianz-optin.spec.ts +2 -0
- package/tests/consentmo.spec.ts +2 -0
- package/tests/cookie-pref-form.spec.ts +8 -0
- package/tests/cookie-script.spec.ts +5 -0
- package/tests/endeavorhealth.spec.ts +3 -0
- package/tests/ensighten.spec.ts +7 -1
- package/tests/epaas.spec.ts +3 -0
- package/tests/fepblue-org.spec.ts +3 -0
- package/tests/fnsp-cookieconsent.spec.ts +9 -0
- package/tests/fod-fujitv.spec.ts +3 -0
- package/tests/fpl-com.spec.ts +3 -0
- package/tests/fuqer.spec.ts +3 -0
- package/tests/greatschools.spec.ts +3 -0
- package/tests/hamradio-com.spec.ts +3 -0
- package/tests/hkdir.spec.ts +10 -0
- package/tests/hubspot.spec.ts +6 -1
- package/tests/ibkr.spec.ts +18 -0
- package/tests/jetpens.spec.ts +5 -0
- package/tests/jokul-cookie-consent.spec.ts +3 -0
- package/tests/kanopy.spec.ts +5 -0
- package/tests/mainlinemenswear.spec.ts +3 -0
- package/tests/mars-cookies-prompt.spec.ts +3 -0
- package/tests/money-co-uk.spec.ts +3 -0
- package/tests/myjobquote.spec.ts +5 -0
- package/tests/niedziela-pl.spec.ts +3 -0
- package/tests/nikkeibp.spec.ts +8 -0
- package/tests/northwell-edu.spec.ts +3 -0
- package/tests/nts-org-uk.spec.ts +3 -0
- package/tests/nyu-langone.spec.ts +3 -0
- package/tests/ofsted-reports-cosmetic.spec.ts +3 -0
- package/tests/onecom-cookie-banner.spec.ts +5 -0
- package/tests/optum-legal-banner.spec.ts +9 -0
- package/tests/optum.spec.ts +6 -0
- package/tests/oslosportslager.no.spec.ts +3 -0
- package/tests/planned-parenthood.spec.ts +3 -0
- package/tests/plex.tv.spec.ts +5 -0
- package/tests/pornhub.spec.ts +1 -1
- package/tests/radio-canada.spec.ts +15 -0
- package/tests/regjeringen.no.spec.ts +3 -0
- package/tests/reviewsolicitors.spec.ts +3 -0
- package/tests/roll20.spec.ts +3 -0
- package/tests/sankei-digital.spec.ts +9 -0
- package/tests/sirdata.spec.ts +13 -1
- package/tests/site-notifications-cookie-usage.spec.ts +3 -0
- package/tests/sparebank1-optin.spec.ts +8 -0
- package/tests/texas-gov.spec.ts +3 -0
- package/tests/tiresize.com.spec.ts +3 -0
- package/tests/tri-table.spec.ts +1 -1
- package/tests/trillian.spec.ts +15 -0
- package/tests/tyreseeker.spec.ts +3 -0
- package/tests/uhcprovider.spec.ts +3 -0
- package/tests/united-online.spec.ts +4 -0
- package/tests/unitedutilities.spec.ts +11 -0
- package/tests/uttings.co.uk.spec.ts +3 -0
- package/tests/vinnova-se.spec.ts +6 -0
- package/tests/vortex-consent.spec.ts +18 -0
- package/tests/watchfinder.spec.ts +3 -0
- package/tests-wtr/heuristics/get-actionable-popups.ts +41 -7
- package/tests-wtr/heuristics/get-potential-popups.test.ts +235 -4
- package/tests-wtr/heuristics/heuristic-cmp.ts +16 -1
- package/tests-wtr/heuristics/heuristics-utils.test.ts +34 -4
- package/rules/generated/auto_CA_plex.tv_ee4.json +0 -40
- package/rules/generated/auto_CA_support.plex.tv_gn3.json +0 -40
- package/rules/generated/auto_US_interactivebrokers.com_0.json +0 -28
- package/tests/generated/auto_CA_plex.tv_ee4.spec.ts +0 -2
- package/tests/generated/auto_CA_support.plex.tv_gn3.spec.ts +0 -6
- package/tests/generated/auto_US_interactivebrokers.com_0.spec.ts +0 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fepblue.org",
|
|
3
|
+
"vendorUrl": "https://www.fepblue.org/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?fepblue\\.org/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".c-cookie-notice.js-cookie-bar"],
|
|
8
|
+
"detectCmp": [{ "exists": ".c-cookie-notice.js-cookie-bar .c-cookie-notice__button" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".c-cookie-notice.js-cookie-bar.show .c-cookie-notice__button" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".c-cookie-notice.js-cookie-bar .c-cookie-notice__button" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": ".c-cookie-notice.js-cookie-bar .c-cookie-notice__button" }],
|
|
12
|
+
"test": [{ "waitForVisible": ".c-cookie-notice.js-cookie-bar .c-cookie-notice__button", "check": "none", "timeout": 2000 }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fnsp-cookieconsent",
|
|
3
|
+
"vendorUrl": "https://www.helse-bergen.no/",
|
|
4
|
+
"prehideSelectors": ["[class*=\"_cookieconsent-banner--open_\"]"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "[class*=\"_cookieconsent-banner_\"] [class*=\"_cookieconsent__button-container_\"]"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "[class*=\"_cookieconsent-banner--open_\"] [class*=\"_cookieconsent--initial_\"]"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "[class*=\"_cookieconsent--initial_\"] [class*=\"_cookieconsent__button-container_\"] > button:nth-child(1)"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "[class*=\"_cookieconsent--initial_\"] [class*=\"_cookieconsent__button-container_\"] > button:nth-child(2)"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "%22analyticsConsent%22%3Afalse%2C%22thirdPartyConsent%22%3Afalse%2C%22surveyConsent%22%3Afalse"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fod-fujitv",
|
|
3
|
+
"vendorUrl": "https://fod.fujitv.co.jp/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://fod\\.fujitv\\.co\\.jp/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookieCheckContainer"],
|
|
8
|
+
"detectCmp": [{ "visible": ".cookieCheckContainer .closeBtn" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".cookieCheckContainer" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".cookieCheckContainer .closeBtn" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": ".cookieCheckContainer .closeBtn" }],
|
|
12
|
+
"test": [{ "cookieContains": "ACP=1" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fpl-com",
|
|
3
|
+
"vendorUrl": "https://www.fpl.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?(fpl|fplhome)\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#nee_fpl_cookie_policy_banner"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#nee_fpl_cookie_policy_banner"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#nee_fpl_cookie_policy_banner"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#fpl_cookie_policy_banner_close"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#fpl_cookie_policy_banner_close"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"visible": "#nee_fpl_cookie_policy_banner",
|
|
31
|
+
"check": "none"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fuqer",
|
|
3
|
+
"vendorUrl": "https://www.fuqer.com/",
|
|
4
|
+
"runContext": { "urlPattern": "^https?://(\\w+\\.)?fuqer\\.com/" },
|
|
5
|
+
"prehideSelectors": [".cookies-block"],
|
|
6
|
+
"detectCmp": [{ "exists": ".cookies-block button" }],
|
|
7
|
+
"detectPopup": [{ "visible": ".cookies-block button" }],
|
|
8
|
+
"optIn": [{ "waitForThenClick": ".cookies-block button", "retry": 10, "retryInterval": 500 }],
|
|
9
|
+
"optOut": [{ "waitForThenClick": ".cookies-block button", "retry": 10, "retryInterval": 500 }],
|
|
10
|
+
"test": [{ "cookieContains": "fuqer-allow-cookies=1" }]
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "greatschools",
|
|
3
|
+
"vendorUrl": "https://www.greatschools.org/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?greatschools\\.org/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#privacy-banner"],
|
|
8
|
+
"detectCmp": [{ "exists": "#privacy-banner #privacy-banner-close" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#privacy-banner" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#privacy-banner #privacy-banner-close" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": "#privacy-banner #privacy-banner-close" }],
|
|
12
|
+
"test": [{ "cookieContains": "gs_privacy_accepted=true" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hamradio.com",
|
|
3
|
+
"vendorUrl": "https://www.hamradio.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?hamradio\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [".cookie-banner"],
|
|
9
|
+
"detectCmp": [{ "exists": ".cookie-banner .closeme" }],
|
|
10
|
+
"detectPopup": [{ "visible": ".cookie-banner" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": ".cookie-banner .closeme" }],
|
|
12
|
+
"optOut": [{ "hide": ".cookie-banner" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hkdir",
|
|
3
|
+
"vendorUrl": "https://hkdir.no/",
|
|
4
|
+
"prehideSelectors": [".hkd-cookie-banner"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".hkd-cookie-banner .hkd-cookie-banner-button-group"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"exists": "next-route-announcer"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".hkd-cookie-banner"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".hkd-cookie-banner-button-group > button:nth-of-type(1)"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".hkd-cookie-banner-button-group > button:nth-of-type(2)"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "cookie-consent=essential"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -3,5 +3,11 @@
|
|
|
3
3
|
"detectCmp": [{ "exists": "#hs-eu-cookie-confirmation" }],
|
|
4
4
|
"detectPopup": [{ "visible": "#hs-eu-cookie-confirmation" }],
|
|
5
5
|
"optIn": [{ "click": "#hs-eu-confirmation-button" }],
|
|
6
|
-
"optOut": [
|
|
6
|
+
"optOut": [
|
|
7
|
+
{
|
|
8
|
+
"if": { "exists": "#hs-eu-decline-button" },
|
|
9
|
+
"then": [{ "click": "#hs-eu-decline-button" }],
|
|
10
|
+
"else": [{ "visible": "#hs-eu-close-button" }, { "click": "#hs-eu-close-button" }]
|
|
11
|
+
}
|
|
12
|
+
]
|
|
7
13
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ibkr",
|
|
3
|
+
"vendorUrl": "https://www.interactivebrokers.com/",
|
|
4
|
+
"prehideSelectors": ["#cookie-modal"],
|
|
5
|
+
"detectCmp": [{ "exists": "#cookie-modal #gdpr-customize-settings" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#cookie-modal" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#cookie-modal #btn_accept_cookies" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{
|
|
10
|
+
"if": { "visible": "#cookie-modal #gdpr-reject-all" },
|
|
11
|
+
"then": [{ "click": "#cookie-modal #gdpr-reject-all" }],
|
|
12
|
+
"else": [{ "click": "#cookie-modal #gdpr-customize-settings" }, { "waitForThenClick": "#cookie-modal #gdpr-save-settings" }]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"test": [{ "cookieContains": "IB_PRIV_PREFS=1%7C1%7C1" }]
|
|
16
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jetpens",
|
|
3
|
+
"vendorUrl": "https://www.jetpens.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?jetpens\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cp-wrapper"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cp-wrapper #cp-small"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cp-wrapper"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cp-small button[onclick*='setConsentAll']"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cp-small button[onclick*='cp-large']"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": "#cp-large"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"click": "#cp-large input[type=checkbox]:checked:not([disabled])",
|
|
32
|
+
"all": true,
|
|
33
|
+
"optional": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"click": "#cp-large form > input[type=button]:not([onclick*='setConsentAll'])"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"waitForVisible": "#cp-wrapper",
|
|
40
|
+
"check": "none",
|
|
41
|
+
"timeout": 2000
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jokul-cookie-consent",
|
|
3
|
+
"vendorUrl": "https://jokul.fremtind.no/",
|
|
4
|
+
"prehideSelectors": [],
|
|
5
|
+
"detectCmp": [{ "exists": "[data-testid=\"jkl-cookie-consent-godta\"]" }],
|
|
6
|
+
"detectPopup": [{ "visible": "[data-testid=\"jkl-cookie-consent-godta\"]" }],
|
|
7
|
+
"optIn": [
|
|
8
|
+
{
|
|
9
|
+
"if": { "exists": "[data-testid=\"jkl-cookie-consent-godta-alle\"]" },
|
|
10
|
+
"then": [{ "waitForThenClick": "[data-testid=\"jkl-cookie-consent-godta-alle\"]" }],
|
|
11
|
+
"else": [{ "waitForThenClick": "[data-testid=\"jkl-cookie-consent-godta\"]" }]
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optOut": [
|
|
15
|
+
{
|
|
16
|
+
"if": { "exists": "[data-testid=\"jkl-cookie-consent-nekt\"]" },
|
|
17
|
+
"then": [{ "waitForThenClick": "[data-testid=\"jkl-cookie-consent-nekt\"]" }],
|
|
18
|
+
"else": [
|
|
19
|
+
{
|
|
20
|
+
"if": { "exists": "[id^=\"jkl-cookie-modal\"] input[type=\"checkbox\"]:checked" },
|
|
21
|
+
"then": [{ "click": "[id^=\"jkl-cookie-modal\"] input[type=\"checkbox\"]:checked", "all": true }]
|
|
22
|
+
},
|
|
23
|
+
{ "waitForThenClick": "[data-testid=\"jkl-cookie-consent-godta\"]" }
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [{ "cookieContains": "\"statistics\":\"denied\"" }]
|
|
28
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kanopy",
|
|
3
|
+
"vendorUrl": "https://www.kanopy.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?kanopy\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".content-container.gdpr-banner, .content-container.non-gdpr-banner"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".content-container.gdpr-banner, .content-container.non-gdpr-banner"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"if": {
|
|
21
|
+
"exists": ".gdpr-banner .allow-all-button"
|
|
22
|
+
},
|
|
23
|
+
"then": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".gdpr-banner .allow-all-button"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"else": [
|
|
29
|
+
{
|
|
30
|
+
"waitForThenClick": ".non-gdpr-banner .close-button"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"optOut": [
|
|
36
|
+
{
|
|
37
|
+
"if": {
|
|
38
|
+
"exists": ".gdpr-banner .customize-button"
|
|
39
|
+
},
|
|
40
|
+
"then": [
|
|
41
|
+
{
|
|
42
|
+
"waitForThenClick": ".gdpr-banner .customize-button"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"else": [
|
|
46
|
+
{
|
|
47
|
+
"waitForThenClick": ".non-gdpr-banner .privacy-text-content button"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"waitForVisible": "[role=dialog] .confirm-choices"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"if": {
|
|
56
|
+
"exists": "[role=dialog] input.toggle-switch[aria-labelledby=performance]:checked"
|
|
57
|
+
},
|
|
58
|
+
"then": [
|
|
59
|
+
{
|
|
60
|
+
"click": "[role=dialog] input.toggle-switch[aria-labelledby=performance]:checked"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"if": {
|
|
66
|
+
"exists": "[role=dialog] input.toggle-switch[aria-labelledby=research]:checked"
|
|
67
|
+
},
|
|
68
|
+
"then": [
|
|
69
|
+
{
|
|
70
|
+
"click": "[role=dialog] input.toggle-switch[aria-labelledby=research]:checked"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"if": {
|
|
76
|
+
"exists": "[role=dialog] input.toggle-switch[aria-labelledby=remarketing]:checked"
|
|
77
|
+
},
|
|
78
|
+
"then": [
|
|
79
|
+
{
|
|
80
|
+
"click": "[role=dialog] input.toggle-switch[aria-labelledby=remarketing]:checked"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"click": "[role=dialog] .confirm-choices"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
}
|
|
@@ -4,23 +4,45 @@
|
|
|
4
4
|
"urlPattern": "^https?://(www\\.)?lego\\.com/"
|
|
5
5
|
},
|
|
6
6
|
"prehideSelectors": ["[class*=\"ConsentModal_consent-modal__modal-overlay\"]"],
|
|
7
|
-
"detectCmp": [
|
|
8
|
-
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"any": [{ "exists": "[data-test=\"cookie-necessary-button\"]" }, { "exists": "[data-test=\"age-gate-overlay\"]" }]
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"comment": "the consent modal is only usable after the visitor leaves the site selector gate",
|
|
15
|
+
"any": [{ "visible": "[data-test=\"cookie-necessary-button\"]" }, { "visible": "[data-test=\"age-gate-overlay\"]" }]
|
|
16
|
+
}
|
|
17
|
+
],
|
|
9
18
|
"optOut": [
|
|
19
|
+
{
|
|
20
|
+
"comment": "without AGE_GATE the modal is briefly shown, then replaced by the site selector gate and re-rendered after it",
|
|
21
|
+
"any": [{ "cookieContains": "AGE_GATE=" }, { "waitForVisible": "[data-test=\"age-gate-overlay\"]", "timeout": 3000 }],
|
|
22
|
+
"optional": true
|
|
23
|
+
},
|
|
24
|
+
{ "waitForVisible": "[data-test=\"age-gate-overlay\"]", "check": "none", "timeout": 120000 },
|
|
10
25
|
{ "waitForThenClick": "[data-test=\"cookie-necessary-button\"]" },
|
|
11
26
|
{
|
|
12
|
-
"any": [{ "cookieContains": "AGE_GATE=" }, { "waitForVisible": "[data-test=\"age-gate-overlay\"]", "timeout":
|
|
27
|
+
"any": [{ "cookieContains": "AGE_GATE=" }, { "waitForVisible": "[data-test=\"age-gate-overlay\"]", "timeout": 3000 }],
|
|
13
28
|
"optional": true
|
|
14
29
|
},
|
|
15
30
|
{
|
|
16
31
|
"if": { "visible": "[data-test=\"age-gate-overlay\"]" },
|
|
17
32
|
"then": [
|
|
18
|
-
{ "waitForVisible": "[data-test=\"age-gate-overlay\"]", "check": "none", "timeout":
|
|
33
|
+
{ "waitForVisible": "[data-test=\"age-gate-overlay\"]", "check": "none", "timeout": 120000 },
|
|
19
34
|
{ "waitForThenClick": "[data-test=\"cookie-necessary-button\"]", "timeout": 5000 }
|
|
20
35
|
],
|
|
21
36
|
"optional": true
|
|
22
37
|
}
|
|
23
38
|
],
|
|
24
|
-
"optIn": [
|
|
39
|
+
"optIn": [
|
|
40
|
+
{
|
|
41
|
+
"any": [{ "cookieContains": "AGE_GATE=" }, { "waitForVisible": "[data-test=\"age-gate-overlay\"]", "timeout": 3000 }],
|
|
42
|
+
"optional": true
|
|
43
|
+
},
|
|
44
|
+
{ "waitForVisible": "[data-test=\"age-gate-overlay\"]", "check": "none", "timeout": 120000 },
|
|
45
|
+
{ "waitForThenClick": "[data-test=\"cookie-accept-all\"]" }
|
|
46
|
+
],
|
|
25
47
|
"test": [{ "cookieContains": "%22key%22%3A%22analytics%22%2C%22value%22%3Afalse" }]
|
|
26
48
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mainlinemenswear",
|
|
3
|
+
"vendorUrl": "https://www.mainlinemenswear.co.uk/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://(www\\.)?mainlinemenswear\\.co\\.uk/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".c-cookie-modal"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".c-cookie-modal #cookieModal"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".c-cookie-modal #cookieModal"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".c-cookie-modal__buttons--container button[aria-label=\"Accept All Cookies\"]"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".c-cookie-modal__buttons--container button[aria-label=\"Settings\"]"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": ".c-cookie-modal__options"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"click": ".c-cookie-modal__options input[role=\"switch\"]:checked:not([disabled])",
|
|
32
|
+
"all": true,
|
|
33
|
+
"optional": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"waitForThenClick": ".c-cookie-modal__buttons--container button[aria-label=\"Save Cookie Settings\"]"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mars-cookies-prompt",
|
|
3
|
+
"prehideSelectors": [".cookies-prompt__banner"],
|
|
4
|
+
"detectCmp": [{ "exists": ".cookies-prompt__wrapper .cookies-prompt__banner" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".cookies-prompt__wrapper .cookies-prompt__banner" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": ".cookies-prompt__banner .cookies-prompt__actions-btn_danger" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"if": { "exists": ".cookies-prompt__banner_preview" },
|
|
10
|
+
"then": [{ "click": ".cookies-prompt__banner_preview .cookies-prompt__actions-btn.btn-secondary" }]
|
|
11
|
+
},
|
|
12
|
+
{ "waitForVisible": ".cookies-prompt__actions-wrap_details" },
|
|
13
|
+
{
|
|
14
|
+
"if": { "exists": ".cookies-prompt__banner_details .switch input:checked:not([disabled])" },
|
|
15
|
+
"then": [{ "click": ".cookies-prompt__banner_details .switch input:checked:not([disabled])", "all": true }]
|
|
16
|
+
},
|
|
17
|
+
{ "click": ".cookies-prompt__actions-wrap_details .cookies-prompt__actions-btn.btn-secondary" }
|
|
18
|
+
],
|
|
19
|
+
"test": [{ "cookieContains": "cookies_consent=" }]
|
|
20
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "money.co.uk",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"main": true,
|
|
5
|
+
"frame": false,
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?money\\.co\\.uk/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#cookie-banner-wrapper"],
|
|
9
|
+
"detectCmp": [{ "exists": "#cookie-banner-wrapper #cookie_banner_save" }],
|
|
10
|
+
"detectPopup": [{ "visible": "#cookie-banner-wrapper #cookie_banner_save" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": "#cookie-banner-wrapper #cookie_banner_accept" }],
|
|
12
|
+
"optOut": [
|
|
13
|
+
{
|
|
14
|
+
"click": "#cookie-banner-wrapper input[type=checkbox]:checked:not(:disabled)",
|
|
15
|
+
"all": true,
|
|
16
|
+
"optional": true
|
|
17
|
+
},
|
|
18
|
+
{ "waitForThenClick": "#cookie-banner-wrapper #cookie_banner_save" }
|
|
19
|
+
],
|
|
20
|
+
"test": [{ "cookieContains": "\"marketing\":false" }]
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "myjobquote",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://www.myjobquote.co.uk/"
|
|
5
|
+
},
|
|
6
|
+
"runContext": {
|
|
7
|
+
"urlPattern": "^https?://(www\\.)?myjobquote\\.co\\.uk/"
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": [".cookie-new-bg"],
|
|
10
|
+
"detectCmp": [{ "exists": "#cookie-popup-short" }],
|
|
11
|
+
"detectPopup": [{ "visible": "#cookie-popup-short" }],
|
|
12
|
+
"optIn": [{ "waitForThenClick": "#cookie-popup-short .accept-all" }],
|
|
13
|
+
"optOut": [
|
|
14
|
+
{ "waitForThenClick": "#cookie-popup-short .manage-cookies" },
|
|
15
|
+
{ "waitForVisible": "#cookie-popup-detailed .save-settings" },
|
|
16
|
+
{ "click": "#cookie-popup-detailed input.cookie-toggle:checked", "all": true, "optional": true },
|
|
17
|
+
{ "click": "#cookie-popup-detailed .save-settings" }
|
|
18
|
+
]
|
|
19
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "niedziela-pl",
|
|
3
|
+
"vendorUrl": "https://niedziela.pl/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://([\\w-]+\\.)?niedziela\\.pl/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [".cookies:has(.closecookies)"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": ".cookies .closecookies"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ".cookies .closecookies"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".cookies .closecookies"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": ".cookies:has(.closecookies)"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": ".cookies .closecookies",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nikkeibp",
|
|
3
|
+
"vendorUrl": "https://www.nikkeibp.co.jp/",
|
|
4
|
+
"prehideSelectors": [".bpPrivacy"],
|
|
5
|
+
"detectCmp": [{ "exists": ".bpPrivacy .bpPrivacy_button-close" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".bpPrivacy .bpPrivacy_button-close" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ".bpPrivacy .bpPrivacy_button-close" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": ".bpPrivacy .bpPrivacy_button-close" }],
|
|
9
|
+
"test": [{ "waitForVisible": ".bpPrivacy", "timeout": 1000, "check": "none" }]
|
|
10
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "northwell.edu",
|
|
3
|
+
"vendorUrl": "https://www.northwell.edu/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(\\w+\\.)?northwell\\.edu/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["nwhlit-gdpr-banner"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": ["nwhlit-gdpr-banner", ".nwhlit-gdpr-banner"]
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ["nwhlit-gdpr-banner", ".nwhlit-gdpr-banner"]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "nwhlit-gdpr-banner .nwh_footer_banner--button button"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "nwhlit-gdpr-banner"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nts-org-uk",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?nts\\.org\\.uk/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".cookie-control"],
|
|
7
|
+
"detectCmp": [{ "exists": ".cookie-control [data-cc-capture] button[name=\"save\"]" }],
|
|
8
|
+
"detectPopup": [{ "visible": ".cookie-control .cc-capture__message" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": ".cookie-control [data-cc-set-recommended]" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{ "waitForThenClick": ".cookie-control [data-expandable-trigger]" },
|
|
12
|
+
{ "waitForVisible": ".cookie-control [data-cc-capture] button[name=\"save\"]", "timeout": 2000 },
|
|
13
|
+
{
|
|
14
|
+
"if": { "exists": ".cookie-control input[name=\"cookie_control_optin_level[]\"]:checked" },
|
|
15
|
+
"then": [{ "click": ".cookie-control input[name=\"cookie_control_optin_level[]\"]:checked", "all": true }]
|
|
16
|
+
},
|
|
17
|
+
{ "click": ".cookie-control [data-cc-capture] button[name=\"save\"]" }
|
|
18
|
+
],
|
|
19
|
+
"test": [{ "cookieContains": "cookie_control_optin_level=0" }]
|
|
20
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nyu-langone",
|
|
3
|
+
"vendorUrl": "https://nyulangone.org/",
|
|
4
|
+
"prehideSelectors": ["#privacy-banner.nyuuninav--privacy-banner"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".nyuuninav--privacy-banner .nyuuninav--privacy-banner__accept-button"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".nyuuninav--privacy-banner:not(.nyuuninav--privacy-banner--hide)"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".nyuuninav--privacy-banner__accept-button"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".nyuuninav--privacy-banner__accept-button"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "privacy_banner="
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|