@duckduckgo/autoconsent 17.0.0 → 17.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +106 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +15 -3
- 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 +15 -3
- 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 +15 -3
- package/dist/autoconsent.esm.js +15 -3
- package/dist/autoconsent.playwright.js +15 -3
- package/dist/autoconsent.standalone.js +16 -4
- package/dist/heuristics.cjs.js +15 -3
- package/dist/heuristics.mjs +15 -3
- package/lib/heuristic-patterns.ts +18 -2
- package/package.json +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/autoscout24.json +34 -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/bigcommerce-consent-manager.json +3 -2
- 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/cookie-info-banner.json +33 -0
- package/rules/autoconsent/cookie-pref-form.json +48 -0
- package/rules/autoconsent/doktorabc.json +44 -0
- package/rules/autoconsent/dola.json +35 -0
- package/rules/autoconsent/dolphinfitness.json +17 -0
- package/rules/autoconsent/econda-pp2.json +33 -0
- package/rules/autoconsent/ekd-de.json +32 -0
- package/rules/autoconsent/endeavorhealth.json +31 -0
- package/rules/autoconsent/ensighten.json +3 -3
- package/rules/autoconsent/etracker.json +35 -0
- package/rules/autoconsent/fepblue-org.json +13 -0
- package/rules/autoconsent/foto-erhardt.json +35 -0
- package/rules/autoconsent/fpl-com.json +34 -0
- package/rules/autoconsent/fuqer.json +11 -0
- package/rules/autoconsent/futoncompany.json +18 -0
- package/rules/autoconsent/greatschools.json +13 -0
- package/rules/autoconsent/hamradio-com.json +13 -0
- package/rules/autoconsent/hubspot.json +7 -1
- package/rules/autoconsent/ibkr.json +16 -0
- package/rules/autoconsent/in2cookiemodal.json +65 -0
- package/rules/autoconsent/islington-council.json +16 -0
- package/rules/autoconsent/jetpens.json +44 -0
- package/rules/autoconsent/jurahilfe-de.json +23 -0
- package/rules/autoconsent/justwatch-com.json +3 -2
- package/rules/autoconsent/kanopy.json +88 -0
- package/rules/autoconsent/klimatabelle.com.json +13 -0
- package/rules/autoconsent/kuendigung.org.json +14 -0
- package/rules/autoconsent/mainlinemenswear.json +39 -0
- package/rules/autoconsent/moebel-de-group.json +20 -0
- package/rules/autoconsent/money-co-uk.json +21 -0
- package/rules/autoconsent/myjobquote.json +19 -0
- package/rules/autoconsent/ncsoft-cookie-toast.json +30 -0
- package/rules/autoconsent/northwell-edu.json +29 -0
- package/rules/autoconsent/nts-org-uk.json +20 -0
- package/rules/autoconsent/nuxt-cookie-manager.json +22 -0
- package/rules/autoconsent/nyu-langone.json +30 -0
- package/rules/autoconsent/ofsted-reports-cosmetic.json +13 -0
- package/rules/autoconsent/om.json +3 -3
- package/rules/autoconsent/optum-legal-banner.json +10 -0
- package/rules/autoconsent/optum.json +35 -0
- package/rules/autoconsent/pandectes.json +1 -2
- package/rules/autoconsent/pcloud.json +18 -0
- package/rules/autoconsent/pcspecialist.json +13 -0
- package/rules/autoconsent/planned-parenthood.json +17 -0
- package/rules/autoconsent/plumrocket-cookie-consent.json +22 -0
- package/rules/autoconsent/pornhub-compact-cookie-banner.json +1 -1
- package/rules/autoconsent/pornhub.json +1 -1
- package/rules/autoconsent/react-cookie-consent.json +34 -0
- package/rules/autoconsent/reviewsolicitors.json +41 -0
- package/rules/autoconsent/ring.json +1 -1
- package/rules/autoconsent/rittal.json +33 -0
- package/rules/autoconsent/sankei-digital.json +37 -0
- package/rules/autoconsent/scotland-police-uk.json +13 -0
- package/rules/autoconsent/shimano-bike.json +29 -0
- package/rules/autoconsent/shoezone.json +35 -0
- package/rules/autoconsent/sitepark-sitekit.json +27 -0
- package/rules/autoconsent/texas-gov.json +22 -0
- package/rules/autoconsent/tiresize.com.json +17 -0
- package/rules/autoconsent/tplink.json +50 -10
- package/rules/autoconsent/tradecalculator.json +49 -0
- package/rules/autoconsent/trillian.json +10 -0
- package/rules/autoconsent/tyreseeker.json +44 -0
- package/rules/autoconsent/uhcprovider.json +13 -0
- package/rules/autoconsent/unicity.json +22 -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/vgn-de.json +53 -0
- package/rules/autoconsent/watchfinder.json +16 -0
- package/rules/autoconsent/westminster.ac.uk.json +46 -0
- package/rules/autoconsent/yourspares.json +39 -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/autoscout24.spec.ts +14 -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/bigcommerce-consent-manager.spec.ts +1 -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/cookie-info-banner.spec.ts +8 -0
- package/tests/cookie-pref-form.spec.ts +8 -0
- package/tests/doktorabc.spec.ts +3 -0
- package/tests/dola.spec.ts +5 -0
- package/tests/dolphinfitness.spec.ts +3 -0
- package/tests/econda-pp2.spec.ts +3 -0
- package/tests/ekd-de.spec.ts +5 -0
- package/tests/endeavorhealth.spec.ts +3 -0
- package/tests/ensighten.spec.ts +7 -1
- package/tests/etracker.spec.ts +8 -0
- package/tests/fepblue-org.spec.ts +3 -0
- package/tests/foto-erhardt.spec.ts +3 -0
- package/tests/fpl-com.spec.ts +3 -0
- package/tests/fuqer.spec.ts +3 -0
- package/tests/futoncompany.spec.ts +3 -0
- package/tests/greatschools.spec.ts +3 -0
- package/tests/hamradio-com.spec.ts +3 -0
- package/tests/hubspot.spec.ts +6 -1
- package/tests/ibkr.spec.ts +18 -0
- package/tests/in2cookiemodal.spec.ts +13 -0
- package/tests/islington-council.spec.ts +8 -0
- package/tests/jetpens.spec.ts +5 -0
- package/tests/jurahilfe-de.spec.ts +3 -0
- package/tests/kanopy.spec.ts +5 -0
- package/tests/klimatabelle.com.spec.ts +3 -0
- package/tests/kuendigung.org.spec.ts +3 -0
- package/tests/mainlinemenswear.spec.ts +3 -0
- package/tests/moebel-de-group.spec.ts +9 -0
- package/tests/money-co-uk.spec.ts +3 -0
- package/tests/myjobquote.spec.ts +5 -0
- package/tests/ncsoft-cookie-toast.spec.ts +6 -0
- package/tests/northwell-edu.spec.ts +3 -0
- package/tests/nts-org-uk.spec.ts +3 -0
- package/tests/nuxt-cookie-manager.spec.ts +11 -0
- package/tests/nyu-langone.spec.ts +3 -0
- package/tests/ofsted-reports-cosmetic.spec.ts +3 -0
- package/tests/om.spec.ts +3 -1
- package/tests/optum-legal-banner.spec.ts +9 -0
- package/tests/optum.spec.ts +6 -0
- package/tests/pandectes.spec.ts +6 -0
- package/tests/pcloud.spec.ts +5 -0
- package/tests/pcspecialist.spec.ts +12 -0
- package/tests/planned-parenthood.spec.ts +3 -0
- package/tests/plumrocket-cookie-consent.spec.ts +3 -0
- package/tests/pornhub.spec.ts +1 -1
- package/tests/react-cookie-consent.spec.ts +3 -0
- package/tests/reviewsolicitors.spec.ts +3 -0
- package/tests/rittal.spec.ts +6 -0
- package/tests/sankei-digital.spec.ts +9 -0
- package/tests/scotland-police-uk.spec.ts +6 -0
- package/tests/shimano-bike.spec.ts +6 -0
- package/tests/shoezone.spec.ts +3 -0
- package/tests/sitepark-sitekit.spec.ts +9 -0
- package/tests/texas-gov.spec.ts +3 -0
- package/tests/tiresize.com.spec.ts +3 -0
- package/tests/tplink.spec.ts +1 -1
- package/tests/tradecalculator.spec.ts +3 -0
- package/tests/trillian.spec.ts +15 -0
- package/tests/tyreseeker.spec.ts +3 -0
- package/tests/uhcprovider.spec.ts +3 -0
- package/tests/unicity.spec.ts +9 -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/vgn-de.spec.ts +3 -0
- package/tests/watchfinder.spec.ts +3 -0
- package/tests/westminster.ac.uk.spec.ts +3 -0
- package/tests/yourspares.spec.ts +3 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +34 -4
- package/rules/generated/auto_CH_moebel24.ch_fck.json +0 -40
- package/rules/generated/auto_DE_moebel.de_yf1.json +0 -40
- package/rules/generated/auto_DE_nanu-nana.de_7my.json +0 -40
- package/rules/generated/auto_GB_partscentre.co.uk_s70.json +0 -40
- package/rules/generated/auto_NO_pcsx2.net_grl.json +0 -40
- package/rules/generated/auto_US_interactivebrokers.com_0.json +0 -28
- package/tests/generated/auto_CH_moebel24.ch_fck.spec.ts +0 -2
- package/tests/generated/auto_DE_moebel.de_yf1.spec.ts +0 -2
- package/tests/generated/auto_DE_nanu-nana.de_7my.spec.ts +0 -2
- package/tests/generated/auto_GB_partscentre.co.uk_s70.spec.ts +0 -6
- package/tests/generated/auto_NO_pcsx2.net_grl.spec.ts +0 -2
- package/tests/generated/auto_US_interactivebrokers.com_0.spec.ts +0 -3
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "reviewsolicitors.co.uk",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?reviewsolicitors\\.co\\.uk/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#cookiePopUp", "#manageCookieSettingsPopUp"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "#cookiePopUp[data-control=cookies]"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#cookiePopUp"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "#accept-all-cookies-button"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#cookiePopUp [data-bs-target='#manageCookieSettingsPopUp']"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"waitForVisible": "#decline-cookies-button"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"wait": 500
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"click": "#decline-cookies-button"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"test": [
|
|
37
|
+
{
|
|
38
|
+
"cookieContains": "cookie_consents="
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rittal",
|
|
3
|
+
"vendorUrl": "https://www.rittal.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?rittal\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookie-overlay"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".cookie-overlay .cookie-consent .cc-controls"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".cookie-overlay .cookie-consent .cc-controls"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".cookie-consent .cc-controls .custom-button.--primary"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".cookie-consent .cc-controls .custom-button.--secondary-option + .custom-button.--secondary-option"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "rittalCC=1"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sankei-digital",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://www.sankei-digital.co.jp/"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": false,
|
|
7
|
+
"runContext": {
|
|
8
|
+
"main": true,
|
|
9
|
+
"frame": false
|
|
10
|
+
},
|
|
11
|
+
"prehideSelectors": ["#consent-wrapper"],
|
|
12
|
+
"detectCmp": [
|
|
13
|
+
{
|
|
14
|
+
"exists": "#consent-wrapper > .button-container > button.close"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"detectPopup": [
|
|
18
|
+
{
|
|
19
|
+
"visible": "#consent-wrapper > .button-container > button.close"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optIn": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#consent-wrapper > .button-container > button.close"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"optOut": [
|
|
28
|
+
{
|
|
29
|
+
"waitForThenClick": "#consent-wrapper > .button-container > button.close"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"test": [
|
|
33
|
+
{
|
|
34
|
+
"cookieContains": "cookie_consent_status="
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "scotland-police-uk",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?scotland\\.police\\.uk/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#panelAsk"],
|
|
8
|
+
"detectCmp": [{ "exists": "#panelAsk #btnAcceptAllCookies" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#panelAsk #btnAcceptAllCookies" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#panelAsk #btnAcceptAllCookies" }],
|
|
11
|
+
"optOut": [{ "hide": "#panelAsk" }],
|
|
12
|
+
"test": [{ "visible": "#panelAsk", "check": "none" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shimano-bike",
|
|
3
|
+
"vendorUrl": "https://bike.shimano.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://bike\\.shimano\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [".cmp-cookies-notification"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": ".cmp-cookies-notification .cmp-cookies-notification__btn-cookie-accept"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ".cmp-cookies-notification"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".cmp-cookies-notification .cmp-cookies-notification__btn-cookie-accept"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": ".cmp-cookies-notification"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shoezone",
|
|
3
|
+
"vendorUrl": "https://www.shoezone.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?shoezone\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#pnlCookieAcceptance"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#pnlCookieAcceptance #divCookiesManage"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "#pnlCookieAcceptance"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#divCookiesAllow"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "#pnlCookieAcceptance"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": "#pnlCookieAcceptance",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sitepark-sitekit",
|
|
3
|
+
"vendorUrl": "https://www.sitepark.com/",
|
|
4
|
+
"prehideSelectors": [".SP-CookieUsageNotification"],
|
|
5
|
+
"detectCmp": [{ "exists": ".SP-CookieUsageNotification" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".SP-CookieUsageNotification" }],
|
|
7
|
+
"optIn": [
|
|
8
|
+
{ "waitFor": ".SP-CookieUsageNotification[data-sp-cookie-usage-notification-bootstrapped]", "timeout": 5000, "optional": true },
|
|
9
|
+
{ "waitForThenClick": ".SP-CookieUsageNotification__ok", "retry": 5, "retryInterval": 500 }
|
|
10
|
+
],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{
|
|
13
|
+
"if": {
|
|
14
|
+
"exists": "xpath///button[contains(@class,'SP-CookieUsageNotification__ok')][normalize-space(.)='OK' or normalize-space(.)='Ok' or normalize-space(.)='Okay']"
|
|
15
|
+
},
|
|
16
|
+
"then": [
|
|
17
|
+
{
|
|
18
|
+
"waitFor": ".SP-CookieUsageNotification[data-sp-cookie-usage-notification-bootstrapped]",
|
|
19
|
+
"timeout": 5000,
|
|
20
|
+
"optional": true
|
|
21
|
+
},
|
|
22
|
+
{ "waitForThenClick": ".SP-CookieUsageNotification__ok", "retry": 5, "retryInterval": 500 }
|
|
23
|
+
],
|
|
24
|
+
"else": [{ "hide": ".SP-CookieUsageNotification" }]
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "texas.gov",
|
|
3
|
+
"runContext": { "urlPattern": "^https?://(www\\.)?texas\\.gov/" },
|
|
4
|
+
"prehideSelectors": ["[data-testid=\"cookies-banner\"]"],
|
|
5
|
+
"detectCmp": [{ "exists": "[data-testid=\"cookies-banner\"] .cookies-banner__close-icon-wrapper" }],
|
|
6
|
+
"detectPopup": [{ "visible": "[data-testid=\"cookies-banner\"] .cookies-banner__description", "check": "any" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"if": { "visible": "[data-testid=\"desktop-close-button\"]" },
|
|
10
|
+
"then": [{ "click": "[data-testid=\"desktop-close-button\"]" }],
|
|
11
|
+
"else": [{ "click": "[data-testid=\"cookies-banner\"] .d-none-desktop .cookies-banner__close-icon-wrapper" }]
|
|
12
|
+
},
|
|
13
|
+
{ "waitForVisible": "[data-testid=\"cookies-banner\"]", "check": "none" }
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"if": { "visible": "[data-testid=\"desktop-close-button\"]" },
|
|
18
|
+
"then": [{ "click": "[data-testid=\"desktop-close-button\"]" }],
|
|
19
|
+
"else": [{ "click": "[data-testid=\"cookies-banner\"] .d-none-desktop .cookies-banner__close-icon-wrapper" }]
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tiresize.com",
|
|
3
|
+
"vendorUrl": "https://tiresize.com/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?tiresize\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#CookieNotice"],
|
|
9
|
+
"detectCmp": [{ "exists": "#CookieNotice > div[onclick]" }],
|
|
10
|
+
"detectPopup": [{ "visible": "#CookieNotice" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": "#CookieNotice > div[onclick]" }],
|
|
12
|
+
"optOut": [
|
|
13
|
+
{ "waitForThenClick": "#CookieNotice > div[onclick]" },
|
|
14
|
+
{ "waitForVisible": "#CookieNotice", "check": "none", "timeout": 2000 }
|
|
15
|
+
],
|
|
16
|
+
"test": [{ "cookieContains": "Notice=yes" }]
|
|
17
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"prehideSelectors": [".tp-dialog.cookie-dialog", ".tp-cookie-banner"],
|
|
6
6
|
"detectCmp": [
|
|
7
7
|
{
|
|
8
|
-
"exists": ".tp-dialog.cookie-dialog, :not(.tp-cookie-banner-tpl) > .tp-cookie-banner .show-cookie-dialog"
|
|
8
|
+
"exists": ".tp-dialog.cookie-dialog, :not(.tp-cookie-banner-tpl) > .tp-cookie-banner .show-cookie-dialog, #tp-cookie-banner > .tp-cookie-banner + .el-dialog__wrapper"
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"detectPopup": [
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"visible": ":not(.tp-cookie-banner-tpl) > .tp-cookie-banner .show-cookie-dialog"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"visible": "#tp-cookie-banner > .tp-cookie-banner .tp-cookie-button-box"
|
|
19
22
|
}
|
|
20
23
|
]
|
|
21
24
|
}
|
|
@@ -32,7 +35,19 @@
|
|
|
32
35
|
],
|
|
33
36
|
"else": [
|
|
34
37
|
{
|
|
35
|
-
"
|
|
38
|
+
"if": {
|
|
39
|
+
"exists": "#tp-cookie-banner > .el-dialog__wrapper"
|
|
40
|
+
},
|
|
41
|
+
"then": [
|
|
42
|
+
{
|
|
43
|
+
"waitForThenClick": "#tp-cookie-banner > .tp-cookie-banner .tp-cookie-button-box .el-button--primary"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"else": [
|
|
47
|
+
{
|
|
48
|
+
"waitForThenClick": ".tp-dialog-box .tp-cookie-accept-all"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
36
51
|
}
|
|
37
52
|
]
|
|
38
53
|
}
|
|
@@ -49,32 +64,57 @@
|
|
|
49
64
|
]
|
|
50
65
|
},
|
|
51
66
|
{
|
|
52
|
-
"
|
|
67
|
+
"if": {
|
|
68
|
+
"visible": "#tp-cookie-banner > .tp-cookie-banner .tp-cookie-button-box .el-button--default"
|
|
69
|
+
},
|
|
70
|
+
"then": [
|
|
71
|
+
{
|
|
72
|
+
"click": "#tp-cookie-banner > .tp-cookie-banner .tp-cookie-button-box .el-button--default"
|
|
73
|
+
}
|
|
74
|
+
]
|
|
53
75
|
},
|
|
54
76
|
{
|
|
55
77
|
"if": {
|
|
56
|
-
"exists": "
|
|
78
|
+
"exists": "#tp-cookie-banner > .el-dialog__wrapper"
|
|
57
79
|
},
|
|
58
80
|
"then": [
|
|
59
81
|
{
|
|
60
|
-
"
|
|
82
|
+
"waitForVisible": "#tp-cookie-banner > .el-dialog__wrapper .el-dialog__footer"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"waitForThenClick": "#tp-cookie-banner > .el-dialog__wrapper .el-dialog__footer button.is-plain:first-child"
|
|
61
86
|
}
|
|
62
87
|
],
|
|
63
88
|
"else": [
|
|
64
89
|
{
|
|
65
|
-
"
|
|
66
|
-
"all": true,
|
|
67
|
-
"optional": true
|
|
90
|
+
"waitForVisible": ".tp-dialog.cookie-dialog .tp-dialog-box"
|
|
68
91
|
},
|
|
69
92
|
{
|
|
70
|
-
"
|
|
93
|
+
"if": {
|
|
94
|
+
"exists": ".tp-dialog-box .tp-cookie-opt-out"
|
|
95
|
+
},
|
|
96
|
+
"then": [
|
|
97
|
+
{
|
|
98
|
+
"waitForThenClick": ".tp-dialog-box .tp-cookie-opt-out"
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"else": [
|
|
102
|
+
{
|
|
103
|
+
"click": ".tp-dialog-box .checkbox.clickable.checked",
|
|
104
|
+
"all": true,
|
|
105
|
+
"optional": true
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"waitForThenClick": ".tp-dialog-box .tp-cookie-save"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
71
111
|
}
|
|
72
112
|
]
|
|
73
113
|
}
|
|
74
114
|
],
|
|
75
115
|
"test": [
|
|
76
116
|
{
|
|
77
|
-
"cookieContains": "
|
|
117
|
+
"cookieContains": "_privacy_base=1"
|
|
78
118
|
},
|
|
79
119
|
{
|
|
80
120
|
"negated": true,
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tradecalculator.co.uk",
|
|
3
|
+
"vendorUrl": "https://tradecalculator.co.uk/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?tradecalculator\\.co\\.uk/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "div[role=dialog][aria-labelledby=privacy-notice-title]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "div[role=dialog][aria-labelledby=privacy-notice-title]"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "div[aria-labelledby=privacy-notice-title] button:not([role=switch]):first-child"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"if": {
|
|
26
|
+
"exists": "div[aria-labelledby=privacy-notice-title] button[role=switch][aria-checked=true]"
|
|
27
|
+
},
|
|
28
|
+
"then": [
|
|
29
|
+
{
|
|
30
|
+
"click": "div[aria-labelledby=privacy-notice-title] button[role=switch][aria-checked=true]"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"waitFor": "div[aria-labelledby=privacy-notice-title] button[role=switch][aria-checked=false]",
|
|
34
|
+
"timeout": 1000
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"waitForThenClick": "div[aria-labelledby=privacy-notice-title] button:not([role=switch]):last-child"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"test": [
|
|
43
|
+
{
|
|
44
|
+
"waitForVisible": "div[role=dialog][aria-labelledby=privacy-notice-title]",
|
|
45
|
+
"check": "none",
|
|
46
|
+
"timeout": 1000
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "trillian",
|
|
3
|
+
"vendorUrl": "https://www.ouh.nhs.uk/",
|
|
4
|
+
"prehideSelectors": [".trillian-cookie-consent-banner"],
|
|
5
|
+
"detectCmp": [{ "exists": ".trillian-cookie-consent-banner .tpc2-reject-all" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".trillian-cookie-consent-banner" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ".trillian-cookie-consent-banner .tpc2-accept-all" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": ".trillian-cookie-consent-banner .tpc2-reject-all" }],
|
|
9
|
+
"test": [{ "cookieContains": "t_privacy_confirmed=true" }]
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tyreseeker",
|
|
3
|
+
"vendorUrl": "https://www.tyreseeker.co.uk/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": [],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#cookieBanner #manage[data-bs-target='#cookieModalSettings']"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#cookieBanner .modal-content"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#cookieBanner #confirm"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": "#cookieBanner #manage"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"waitForVisible": "#cookieModalSettings form button[type=submit]"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"wait": 500
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"click": "#cookieModalSettings form input[type=checkbox]:checked",
|
|
33
|
+
"all": true,
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"click": "#cookieModalSettings form button[type=submit]"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"waitForVisible": "#cookieModalSettings .modal-content",
|
|
41
|
+
"check": "none"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "uhcprovider",
|
|
3
|
+
"vendorUrl": "https://www.uhcprovider.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?uhc(provider|dental)\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".toasterAlert .toaster"],
|
|
8
|
+
"detectCmp": [{ "exists": ".toasterAlert .toaster-content a[href*='/npp/OSPP-']" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".toasterAlert .toaster" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".toasterAlert .toaster-close" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": ".toasterAlert .toaster-close" }],
|
|
12
|
+
"test": [{ "waitForVisible": ".toasterAlert .toaster", "check": "none", "timeout": 2000 }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "unicity",
|
|
3
|
+
"vendorUrl": "https://www.unicitysolutions.co.uk/",
|
|
4
|
+
"prehideSelectors": ["#cookieControlWrapper"],
|
|
5
|
+
"detectCmp": [{ "exists": "#cookieControlWrapper #cookieControlBannerManage" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#cookieControlWrapper #cookieControlBanner" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#cookieControlBannerContent a[onclick*=unicityCookiesAcceptAll]" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{
|
|
10
|
+
"if": { "exists": "#cookieControlBannerContent a[onclick*=unicityCookiesRejectAll]" },
|
|
11
|
+
"then": [{ "click": "#cookieControlBannerContent a[onclick*=unicityCookiesRejectAll]" }],
|
|
12
|
+
"else": [
|
|
13
|
+
{ "click": "#cookieControlBannerContent a[onclick*=unicityCookiesManage]" },
|
|
14
|
+
{ "waitForVisible": "#cookieControlBannerManage" },
|
|
15
|
+
{ "click": "#cookieControlBannerManage input[type=checkbox]:checked:not(:disabled)", "all": true, "optional": true },
|
|
16
|
+
{ "click": "#cookieControlBannerManage a[onclick*=unicityCookiesSave]" }
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
{ "waitForVisible": "#cookieControlWrapper", "check": "none", "timeout": 2000, "optional": true }
|
|
20
|
+
],
|
|
21
|
+
"test": [{ "cookieContains": "uni_cookies=0,0,0,0" }]
|
|
22
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "united-online",
|
|
3
|
+
"vendorUrl": "https://www.juno.com/",
|
|
4
|
+
"prehideSelectors": ["#cookieDisclaimer.cookieDisc", "#cpra_banner_wrapper"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookieDisclaimer a[onclick*=\"handleUSPrivacyAction('reject')\"], #cpra_banner_wrapper #cpra_btn_reject, #userConsentForAdsPopup #allowButton, #gdprPopup #consent_dialog_allow"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"any": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#cookieDisclaimer, #cpra_banner_wrapper, #userConsentForAdsPopup",
|
|
15
|
+
"check": "any"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"exists": "#gdprPopup-popup.ui-popup-active"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optIn": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cookieDisclaimer a[onclick*=\"handleUSPrivacyAction('accept')\"], #cpra_banner_wrapper #cpra_btn_accept"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"optOut": [
|
|
29
|
+
{
|
|
30
|
+
"if": {
|
|
31
|
+
"visible": "#cookieDisclaimer, #cpra_banner_wrapper",
|
|
32
|
+
"check": "any"
|
|
33
|
+
},
|
|
34
|
+
"then": [
|
|
35
|
+
{
|
|
36
|
+
"waitForThenClick": "#cookieDisclaimer a[onclick*=\"handleUSPrivacyAction('reject')\"], #cpra_banner_wrapper #cpra_btn_reject"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"if": {
|
|
42
|
+
"visible": "#userConsentForAdsPopup"
|
|
43
|
+
},
|
|
44
|
+
"then": [
|
|
45
|
+
{
|
|
46
|
+
"hide": "#userConsentForAdsPopup"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"if": {
|
|
52
|
+
"exists": "#gdprPopup-popup.ui-popup-active"
|
|
53
|
+
},
|
|
54
|
+
"then": [
|
|
55
|
+
{
|
|
56
|
+
"click": "#gdprPopup a[data-rel=\"back\"]"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
],
|
|
61
|
+
"test": [
|
|
62
|
+
{
|
|
63
|
+
"cookieContains": "usprivacy=1YYN"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "unitedutilities",
|
|
3
|
+
"vendorUrl": "https://www.unitedutilities.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"main": true,
|
|
6
|
+
"frame": false,
|
|
7
|
+
"urlPattern": "^https?://(www\\.)?unitedutilities\\.com/"
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": [".js-cookie-preferences"],
|
|
10
|
+
"detectCmp": [
|
|
11
|
+
{
|
|
12
|
+
"exists": ".js-cookie-preferences .js-manage-cta"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [
|
|
16
|
+
{
|
|
17
|
+
"visible": ".js-cookie-preferences.is-active"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optIn": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".js-cookie-preferences .js-accept-all-cta"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": ".js-cookie-preferences .js-manage-cta"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"waitForVisible": ".js-cookie-preferences .js-manage-panel button[type=submit]"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"click": "label[for=performace-no]",
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"click": "label[for=targeted-advertising-no]",
|
|
38
|
+
"optional": true
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"click": ".js-cookie-preferences .js-manage-panel button[type=submit]"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"test": [
|
|
45
|
+
{
|
|
46
|
+
"cookieContains": "advertisingCookies=false"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"cookieContains": "performanceAnalyticsCookies=false"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "uttings.co.uk",
|
|
3
|
+
"vendorUrl": "https://www.uttings.co.uk/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?uttings\\.co\\.uk/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-notice", "#cookie-blur"],
|
|
8
|
+
"detectCmp": [{ "exists": "#cookie-notice #cookie_notice_manage" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#cookie-notice #cookie_notice_manage" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#cookie-notice #cookie_notice_accept" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": "#cookie-notice #cookie_notice_manage" },
|
|
13
|
+
{ "waitForVisible": ["#colorbox iframe.cboxIframe", "#cookie_notice_save"], "timeout": 10000 },
|
|
14
|
+
{
|
|
15
|
+
"click": ["#colorbox iframe.cboxIframe", ".cookie-field input[type=checkbox]:checked:not(:disabled)"],
|
|
16
|
+
"all": true,
|
|
17
|
+
"optional": true
|
|
18
|
+
},
|
|
19
|
+
{ "waitForThenClick": ["#colorbox iframe.cboxIframe", "#cookie_notice_save"], "timeout": 10000, "retry": 5, "retryInterval": 1000 }
|
|
20
|
+
],
|
|
21
|
+
"test": [{ "cookieContains": "COOKIES_ADVERTISING=0" }]
|
|
22
|
+
}
|