@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,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vgn.de",
|
|
3
|
+
"vendorUrl": "https://www.vgn.de/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?vgn\\.de/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".CookieBanner"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".CookieBanner #Cookie_Selected"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".CookieBanner:not(.out) #Cookie_Selected"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".CookieBanner #Cookie_All"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"if": {
|
|
26
|
+
"exists": ".CookieBanner input[type=checkbox]:checked"
|
|
27
|
+
},
|
|
28
|
+
"then": [
|
|
29
|
+
{
|
|
30
|
+
"click": ".CookieBanner input[type=checkbox]:checked",
|
|
31
|
+
"all": true
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"waitForThenClick": ".CookieBanner #Cookie_Selected"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"waitForVisible": ".CookieBanner:not(.out) #Cookie_Selected",
|
|
40
|
+
"check": "none",
|
|
41
|
+
"timeout": 2000
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"test": [
|
|
45
|
+
{
|
|
46
|
+
"cookieContains": "CookieConsent=required"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"cookieContains": "CookieConsent=required,",
|
|
50
|
+
"negated": true
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "watchfinder",
|
|
3
|
+
"vendorUrl": "https://www.watchfinder.co.uk/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": ["#cookie-notice:has(.btn-configure)"],
|
|
6
|
+
"detectCmp": [{ "exists": "#cookie-notice .btn-configure" }, { "exists": "#modal_cookie-consent" }],
|
|
7
|
+
"detectPopup": [{ "visible": "#cookie-notice .btn-configure" }],
|
|
8
|
+
"optIn": [{ "waitForThenClick": "#cookie-notice .btn-accept-all" }],
|
|
9
|
+
"optOut": [
|
|
10
|
+
{ "waitForThenClick": "#cookie-notice .btn-configure" },
|
|
11
|
+
{ "waitForVisible": "#modal_cookie-consent" },
|
|
12
|
+
{ "click": "#modal_cookie-consent input.cookie-toggle:checked:not(:disabled)", "all": true, "optional": true },
|
|
13
|
+
{ "waitForThenClick": ".cookie_preferences .modal-footer button.fill-primary" }
|
|
14
|
+
],
|
|
15
|
+
"test": [{ "cookieContains": "%22ConsentAnalytical%22%3Afalse" }, { "cookieContains": "%22ConsentAdvertising%22%3Afalse" }]
|
|
16
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "westminster.ac.uk",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?westminster\\.ac\\.uk/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".gdpr-popup"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": ".gdpr-popup #gdpr-popup__show-preferences"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ".gdpr-popup.gdpr-popup--show"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ".gdpr-popup__entry button[data-gdpr=button][value=accept]"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#gdpr-popup__show-preferences"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"waitForVisible": "#gdpr-popup__preferences button[data-gdpr=button][value=save]"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"click": "#gdpr-popup__preferences button[data-gdpr=switch][aria-checked=true]",
|
|
31
|
+
"all": true,
|
|
32
|
+
"optional": true
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"click": "#gdpr-popup__preferences button[data-gdpr=button][value=save]"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"test": [
|
|
39
|
+
{
|
|
40
|
+
"cookieContains": "%22interactedWith%22:true"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"cookieContains": "%22marketing%22:%22revoked%22"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "yourspares",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?yourspares\\.co\\.uk/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#colorbox.colorbox-cookie-consent", "#cboxOverlay.colorbox-cookie-consent"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "#cookie-consent form.cookie-consent"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#colorbox.colorbox-cookie-consent"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "#colorbox input.cookie-consent-accept-all"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitFor": "#colorbox input.cookie-consent-reject-all"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"click": "#colorbox input.cookie-consent-reject-all"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"waitForVisible": "#colorbox.colorbox-cookie-consent",
|
|
31
|
+
"check": "none"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"test": [
|
|
35
|
+
{
|
|
36
|
+
"cookieContains": "ConsentMarketing=False"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|