@duckduckgo/autoconsent 16.50.0 → 16.52.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/skills/optimize-button-patterns/SKILL.md +4 -4
- package/.github/workflows/ddg-release.yml +2 -2
- package/AGENTS.md +2 -1
- package/CHANGELOG.md +120 -0
- package/build.sh +2 -0
- package/data/labelled-button-texts.csv +36 -36
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +52 -42
- 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 +52 -42
- 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 +52 -42
- package/dist/autoconsent.esm.js +52 -42
- package/dist/autoconsent.playwright.js +53 -42
- package/dist/autoconsent.standalone.js +53 -43
- package/dist/heuristics.cjs.js +886 -0
- package/dist/heuristics.mjs +847 -0
- package/dist/types/heuristic-classify.d.ts +16 -0
- package/dist/types/heuristics.d.ts +2 -9
- package/dist/types/types.d.ts +3 -5
- package/docs/rule-syntax.md +1 -1
- package/lib/dom-actions.ts +5 -1
- package/lib/heuristic-classify.ts +136 -0
- package/lib/heuristic-patterns.ts +18 -14
- package/lib/heuristics.ts +3 -124
- package/lib/types.ts +3 -5
- package/lib/web.ts +1 -1
- package/package.json +7 -2
- package/playwright/content.ts +5 -0
- package/readme.md +12 -0
- package/rules/autoconsent/abcacupuncture1.json +34 -0
- package/rules/autoconsent/aceodds.json +13 -0
- package/rules/autoconsent/allabout-japan.json +42 -0
- package/rules/autoconsent/avvio.json +22 -0
- package/rules/autoconsent/axeptio.json +5 -2
- package/rules/autoconsent/bdirect-booking-engine.json +33 -0
- package/rules/autoconsent/berelax.com.json +33 -0
- package/rules/autoconsent/bigid.json +59 -0
- package/rules/autoconsent/bluepark.json +31 -0
- package/rules/autoconsent/burpee-com.json +5 -1
- package/rules/autoconsent/bynder.json +33 -0
- package/rules/autoconsent/cinemaplus.json +9 -0
- package/rules/autoconsent/columbia-privacy-notice.json +32 -0
- package/rules/autoconsent/community.screwfix.com.json +23 -0
- package/rules/autoconsent/complianz-notice.json +1 -1
- package/rules/autoconsent/cookieconsent2-legacy.json +44 -0
- package/rules/autoconsent/cookiesjsr.json +27 -0
- package/rules/autoconsent/copaamerica.json +29 -0
- package/rules/autoconsent/cornerstone-brands.json +51 -0
- package/rules/autoconsent/darkounity.com.json +35 -0
- package/rules/autoconsent/duda-cookie-notification.json +41 -0
- package/rules/autoconsent/endocrine.org.json +35 -0
- package/rules/autoconsent/ezoic.json +2 -2
- package/rules/autoconsent/fis-data-exchange.json +13 -0
- package/rules/autoconsent/getproven.json +33 -0
- package/rules/autoconsent/givedirectly.json +36 -0
- package/rules/autoconsent/godaddy-website-builder-cosmetic.json +13 -0
- package/rules/autoconsent/godaddy-website-builder.json +9 -0
- package/rules/autoconsent/guesty.json +31 -0
- package/rules/autoconsent/gundam-base-entry.json +40 -0
- package/rules/autoconsent/hearst-us.json +1 -1
- package/rules/autoconsent/indy-systems.json +26 -0
- package/rules/autoconsent/ing-nl.json +54 -0
- package/rules/autoconsent/iubenda.json +25 -3
- package/rules/autoconsent/la-becanerie.json +13 -0
- package/rules/autoconsent/lta.json +22 -0
- package/rules/autoconsent/lucrin.json +18 -0
- package/rules/autoconsent/makitatools.json +41 -0
- package/rules/autoconsent/milestone-internet.json +32 -0
- package/rules/autoconsent/mizuno-com.json +13 -0
- package/rules/autoconsent/nhm-ac-uk.json +29 -0
- package/rules/autoconsent/npo-ccm.json +42 -0
- package/rules/autoconsent/opalcollection-com.json +12 -0
- package/rules/autoconsent/orw-cookie-banner.json +42 -0
- package/rules/autoconsent/osf-io.json +29 -0
- package/rules/autoconsent/palace-company.json +13 -0
- package/rules/autoconsent/paytronix.json +30 -0
- package/rules/autoconsent/pigu.json +35 -0
- package/rules/autoconsent/pitt-edu.json +12 -0
- package/rules/autoconsent/pizzapilgrims.co.uk.json +49 -0
- package/rules/autoconsent/podimo.json +73 -0
- package/rules/autoconsent/publicmobile.json +16 -0
- package/rules/autoconsent/quantcast.json +85 -34
- package/rules/autoconsent/rakshaos.json +45 -0
- package/rules/autoconsent/rutjes.json +13 -0
- package/rules/autoconsent/saturdaysnyc.json +33 -0
- package/rules/autoconsent/serpstat-com.json +13 -0
- package/rules/autoconsent/shopquarters.json +41 -0
- package/rules/autoconsent/shopware.json +71 -0
- package/rules/autoconsent/simpleview-cookie-banner.json +27 -0
- package/rules/autoconsent/solvhealth-com.json +12 -0
- package/rules/autoconsent/spermidinelife-us.json +29 -0
- package/rules/autoconsent/squarespace-cookie-banner.json +1 -1
- package/rules/autoconsent/squarespace-cookie-notice.json +29 -0
- package/rules/autoconsent/store2000-fr.json +17 -0
- package/rules/autoconsent/tealium.json +10 -4
- package/rules/autoconsent/tempest-cookie-notice.json +9 -0
- package/rules/autoconsent/termsfeed.json +4 -4
- package/rules/autoconsent/therealest.json +42 -0
- package/rules/autoconsent/tineye.json +35 -0
- package/rules/autoconsent/tk-aerztefuehrer.de.json +18 -0
- package/rules/autoconsent/tplink.json +57 -9
- package/rules/autoconsent/trust360.json +29 -0
- package/rules/autoconsent/up-cookie-consent.json +53 -0
- package/rules/autoconsent/uw-madison-cookieconsent.json +10 -0
- package/rules/autoconsent/vowels.json +13 -0
- package/rules/autoconsent/web-rewind.com.json +21 -0
- package/rules/autoconsent/wildling-com.json +29 -0
- package/rules/autoconsent/worldbank.json +30 -0
- package/rules/autoconsent/yuntrack.json +50 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/scripts/benchmark-button-classification.ts +18 -3
- package/scripts/button-text-benchmark.ts +5 -5
- package/tests/abcacupuncture1.spec.ts +3 -0
- package/tests/aceodds.spec.ts +3 -0
- package/tests/allabout-japan.spec.ts +3 -0
- package/tests/avvio.spec.ts +8 -0
- package/tests/axeptio.spec.ts +3 -0
- package/tests/bdirect-booking-engine.spec.ts +9 -0
- package/tests/berelax.com.spec.ts +5 -0
- package/tests/bigid.spec.ts +8 -0
- package/tests/bluepark.spec.ts +8 -0
- package/tests/burpee-com.spec.ts +2 -0
- package/tests/bynder.spec.ts +3 -0
- package/tests/cinemaplus.spec.ts +8 -0
- package/tests/columbia-privacy-notice.spec.ts +8 -0
- package/tests/community.screwfix.com.spec.ts +5 -0
- package/tests/complianz-notice.spec.ts +7 -3
- package/tests/cookieconsent2-legacy.spec.ts +8 -0
- package/tests/cookiesjsr.spec.ts +9 -0
- package/tests/copaamerica.spec.ts +3 -0
- package/tests/cornerstone-brands.spec.ts +8 -0
- package/tests/darkounity.com.spec.ts +6 -0
- package/tests/duda-cookie-notification.spec.ts +8 -0
- package/tests/endocrine.org.spec.ts +3 -0
- package/tests/ezoic.spec.ts +1 -1
- package/tests/fis-data-exchange.spec.ts +9 -0
- package/tests/getproven.spec.ts +5 -0
- package/tests/givedirectly.spec.ts +3 -0
- package/tests/godaddy-website-builder-cosmetic.spec.ts +7 -0
- package/tests/godaddy-website-builder.spec.ts +8 -0
- package/tests/guesty.spec.ts +7 -0
- package/tests/gundam-base-entry.spec.ts +3 -0
- package/tests/hearst-us.spec.ts +1 -0
- package/tests/indy-systems.spec.ts +8 -0
- package/tests/ing-nl.spec.ts +6 -0
- package/tests/iubenda.spec.ts +5 -0
- package/tests/la-becanerie.spec.ts +3 -0
- package/tests/lta.spec.ts +7 -0
- package/tests/lucrin.spec.ts +3 -0
- package/tests/makitatools.spec.ts +5 -0
- package/tests/milestone-internet.spec.ts +8 -0
- package/tests/mizuno-com.spec.ts +7 -0
- package/tests/nhm-ac-uk.spec.ts +3 -0
- package/tests/npo-ccm.spec.ts +17 -0
- package/tests/opalcollection-com.spec.ts +3 -0
- package/tests/orw-cookie-banner.spec.ts +5 -0
- package/tests/osf-io.spec.ts +3 -0
- package/tests/palace-company.spec.ts +8 -0
- package/tests/paytronix.spec.ts +7 -0
- package/tests/pigu.spec.ts +3 -0
- package/tests/pitt-edu.spec.ts +3 -0
- package/tests/pizzapilgrims.co.uk.spec.ts +3 -0
- package/tests/podimo.spec.ts +3 -0
- package/tests/publicmobile.spec.ts +3 -0
- package/tests/quantcast.spec.ts +15 -7
- package/tests/rakshaos.spec.ts +9 -0
- package/tests/rutjes.spec.ts +3 -0
- package/tests/saturdaysnyc.spec.ts +3 -0
- package/tests/serpstat-com.spec.ts +3 -0
- package/tests/shopquarters.spec.ts +5 -0
- package/tests/shopware.spec.ts +8 -0
- package/tests/simpleview-cookie-banner.spec.ts +10 -0
- package/tests/solvhealth-com.spec.ts +10 -0
- package/tests/spermidinelife-us.spec.ts +3 -0
- package/tests/squarespace-cookie-notice.spec.ts +9 -0
- package/tests/store2000-fr.spec.ts +5 -0
- package/tests/tealium.spec.ts +3 -0
- package/tests/tempest-cookie-notice.spec.ts +7 -0
- package/tests/termsfeed.spec.ts +4 -0
- package/tests/therealest.spec.ts +6 -0
- package/tests/tineye.spec.ts +3 -0
- package/tests/tk-aerztefuehrer.de.spec.ts +6 -0
- package/tests/tplink.spec.ts +11 -1
- package/tests/trust360.spec.ts +8 -0
- package/tests/up-cookie-consent.spec.ts +9 -0
- package/tests/uw-madison-cookieconsent.spec.ts +7 -0
- package/tests/vowels.spec.ts +3 -0
- package/tests/web-rewind.com.spec.ts +5 -0
- package/tests/wildling-com.spec.ts +3 -0
- package/tests/worldbank.spec.ts +7 -0
- package/tests/yuntrack.spec.ts +6 -0
- package/tests-wtr/dom-actions/dom-actions.click.ts +18 -0
- package/tests-wtr/heuristics/button-classification-accuracy.test.ts +9 -5
- package/tests-wtr/heuristics/get-potential-popups.test.ts +28 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +2 -6
- package/tsconfig.build.json +1 -1
- package/tsconfig.heuristics.json +10 -0
- package/Dockerfile +0 -9
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fis-data-exchange",
|
|
3
|
+
"vendorUrl": "https://www.fisglobal.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://services\\.dataexchange\\.fiscloudservices\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".dx-cookie-banner:has(.dx-cookie-banner-close)"],
|
|
8
|
+
"detectCmp": [{ "exists": ".dx-cookie-banner .dx-cookie-banner-close" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".dx-cookie-banner .dx-cookie-banner-close" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".dx-cookie-banner .dx-cookie-banner-close" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": ".dx-cookie-banner .dx-cookie-banner-close" }],
|
|
12
|
+
"test": [{ "cookieContains": "CookiePolicy=OK" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "getproven",
|
|
3
|
+
"vendorUrl": "https://www.getproven.com/",
|
|
4
|
+
"comment": "Privacy consent modal on GetProven perk portals with only an 'I Agree' button, so it is hidden instead.",
|
|
5
|
+
"cosmetic": true,
|
|
6
|
+
"minimumRuleStepVersion": 2,
|
|
7
|
+
"prehideSelectors": [".cdk-global-overlay-wrapper:has(pf-confirm-mat-modal a[href*='getproven.com/privacy'])"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "pf-confirm-mat-modal a[href*='getproven.com/privacy']"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "pf-confirm-mat-modal a[href*='getproven.com/privacy']"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "pf-confirm-mat-modal .actions button"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"hide": ".cdk-global-overlay-wrapper:has(pf-confirm-mat-modal a[href*='getproven.com/privacy'])"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"removeClass": "cdk-global-scrollblock",
|
|
29
|
+
"selector": "html",
|
|
30
|
+
"optional": true
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "givedirectly",
|
|
3
|
+
"vendorUrl": "https://www.givedirectly.org/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?givedirectly\\.org/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".push-banner-consent"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".push-banner-consent"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".push-banner-consent"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".push-banner-consent button.close",
|
|
21
|
+
"retry": 3
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": ".push-banner-consent button.close",
|
|
27
|
+
"retry": 3
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"test": [
|
|
31
|
+
{
|
|
32
|
+
"waitForVisible": ".push-banner-consent",
|
|
33
|
+
"check": "none"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "godaddy-website-builder-cosmetic",
|
|
3
|
+
"vendorUrl": "https://www.godaddy.com/websites/website-builder",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": ["[data-aid=FOOTER_COOKIE_BANNER_RENDERED]"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{ "exists": "[data-aid=FOOTER_COOKIE_BANNER_RENDERED]" },
|
|
8
|
+
{ "exists": "[data-aid=FOOTER_COOKIE_BANNER_RENDERED] [data-aid=FOOTER_COOKIE_DECLINE_RENDERED]", "negated": true }
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [{ "visible": "[data-aid=FOOTER_COOKIE_BANNER_RENDERED][style*=transform]" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": "[data-aid=FOOTER_COOKIE_BANNER_RENDERED] [data-aid=FOOTER_COOKIE_CLOSE_RENDERED]" }],
|
|
12
|
+
"optOut": [{ "hide": "[data-aid=FOOTER_COOKIE_BANNER_RENDERED]" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "godaddy-website-builder",
|
|
3
|
+
"vendorUrl": "https://www.godaddy.com/websites/website-builder",
|
|
4
|
+
"prehideSelectors": ["[data-aid=FOOTER_COOKIE_BANNER_RENDERED]"],
|
|
5
|
+
"detectCmp": [{ "exists": "[data-aid=FOOTER_COOKIE_BANNER_RENDERED] [data-aid=FOOTER_COOKIE_DECLINE_RENDERED]" }],
|
|
6
|
+
"detectPopup": [{ "visible": "[data-aid=FOOTER_COOKIE_BANNER_RENDERED][style*=transform]" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "[data-aid=FOOTER_COOKIE_BANNER_RENDERED] [data-aid=FOOTER_COOKIE_CLOSE_RENDERED]" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": "[data-aid=FOOTER_COOKIE_BANNER_RENDERED] [data-aid=FOOTER_COOKIE_DECLINE_RENDERED]" }]
|
|
9
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "guesty",
|
|
3
|
+
"vendorUrl": "https://www.guesty.com/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": ["#guesty-be-root .cookies__block"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#guesty-be-root"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#guesty-be-root .cookies__block"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#guesty-be-root .cookies__block .cookies__btn--accept"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": "#guesty-be-root .cookies__block .cookies__btn--decline"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"test": [
|
|
27
|
+
{
|
|
28
|
+
"cookieContains": "cookiePolicyAccepted=0"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gundam-base-entry",
|
|
3
|
+
"vendorUrl": "https://www.gundam-base-entry.net/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://(www\\.)?gundam-base-entry\\.net/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["div.fixed.inset-0.drop-shadow-2xl"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "div.fixed.inset-0.drop-shadow-2xl button[aria-haspopup=\"dialog\"]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "div.fixed.inset-0.drop-shadow-2xl button[aria-haspopup=\"dialog\"]"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "div.fixed.inset-0.drop-shadow-2xl button.text-lg"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "div.fixed.inset-0.drop-shadow-2xl button[aria-haspopup=\"dialog\"]"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": "div[role=\"dialog\"] button[type=\"submit\"]"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"waitForVisible": "div.fixed.inset-0.drop-shadow-2xl",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"test": [
|
|
36
|
+
{
|
|
37
|
+
"cookieContains": "cookieConsent=true"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"runContext": {
|
|
6
6
|
"main": true,
|
|
7
7
|
"frame": false,
|
|
8
|
-
"urlPattern": "^https://(www\\.)?(menshealth|womenshealthmag|cosmopolitan|esquire|elle|elledecor|harpersbazaar|goodhousekeeping|popularmechanics|caranddriver|delish|veranda|roadandtrack|bestproducts|countryliving|housebeautiful|bicycling|biography|pitchfork|prevention|runnersworld|thepioneerwoman|townandcountrymag)\\.com/"
|
|
8
|
+
"urlPattern": "^https://(www\\.)?(menshealth|womenshealthmag|cosmopolitan|esquire|elle|elledecor|harpersbazaar|goodhousekeeping|popularmechanics|caranddriver|delish|veranda|roadandtrack|bestproducts|countryliving|housebeautiful|bicycling|biography|pitchfork|prevention|runnersworld|thepioneerwoman|townandcountrymag|seventeen|oprahdaily|womansday|redbookmag|autoweek)\\.com/"
|
|
9
9
|
},
|
|
10
10
|
"prehideSelectors": ["div[role=\"dialog\"][aria-label^=\"Privacy Disclosure\"]"],
|
|
11
11
|
"detectCmp": [
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "indy-systems",
|
|
3
|
+
"vendorUrl": "https://indy.systems/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": [".q-notifications .q-notification:has(a[href=\"/cookie-policy\"])"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": ".q-notifications .q-notification a[href=\"/cookie-policy\"]"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": ".q-notifications .q-notification:has(a[href=\"/cookie-policy\"])"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": ".q-notifications .q-notification:has(a[href=\"/cookie-policy\"]) .q-notification__actions button"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"hide": ".q-notifications .q-notification:has(a[href=\"/cookie-policy\"])"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ing-nl",
|
|
3
|
+
"vendorUrl": "https://www.ing.nl/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://([a-z0-9-]+\\.)?ing\\.nl/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ["ing-app-open-page", "#cookieDialog", "ing-feat-cookie-dialog-nl"]
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": [
|
|
16
|
+
"ing-app-open-page",
|
|
17
|
+
"#cookieDialog",
|
|
18
|
+
"ing-feat-cookie-dialog-nl",
|
|
19
|
+
"ing-feat-global-cookie-preference",
|
|
20
|
+
"cookie-preference-main",
|
|
21
|
+
"[data-testid=reject]"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optIn": [
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": [
|
|
28
|
+
"ing-app-open-page",
|
|
29
|
+
"#cookieDialog",
|
|
30
|
+
"ing-feat-cookie-dialog-nl",
|
|
31
|
+
"ing-feat-global-cookie-preference",
|
|
32
|
+
"cookie-preference-main",
|
|
33
|
+
"[data-testid=accept]"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"optOut": [
|
|
38
|
+
{
|
|
39
|
+
"waitForThenClick": [
|
|
40
|
+
"ing-app-open-page",
|
|
41
|
+
"#cookieDialog",
|
|
42
|
+
"ing-feat-cookie-dialog-nl",
|
|
43
|
+
"ing-feat-global-cookie-preference",
|
|
44
|
+
"cookie-preference-main",
|
|
45
|
+
"[data-testid=reject]"
|
|
46
|
+
]
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"test": [
|
|
50
|
+
{
|
|
51
|
+
"cookieContains": "COOKIE_PREF=ANL_0|PSN_0|PRTN_0"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
"name": "iubenda",
|
|
3
3
|
"prehideSelectors": ["#iubenda-cs-banner"],
|
|
4
4
|
"detectCmp": [{ "exists": "#iubenda-cs-banner" }],
|
|
5
|
-
"detectPopup": [
|
|
5
|
+
"detectPopup": [
|
|
6
|
+
{
|
|
7
|
+
"any": [{ "visible": ".iubenda-cs-accept-btn" }, { "visible": "#iubenda-cs-banner .iubenda-ccpa-opt-out" }]
|
|
8
|
+
}
|
|
9
|
+
],
|
|
6
10
|
"optIn": [{ "waitForThenClick": ".iubenda-cs-accept-btn" }],
|
|
7
11
|
"optOut": [
|
|
8
12
|
{
|
|
@@ -22,10 +26,28 @@
|
|
|
22
26
|
"waitForThenClick": "#iubFooterBtn"
|
|
23
27
|
}
|
|
24
28
|
],
|
|
25
|
-
"else": [
|
|
29
|
+
"else": [
|
|
30
|
+
{
|
|
31
|
+
"if": { "exists": "#iubenda-cs-banner .iubenda-ccpa-opt-out" },
|
|
32
|
+
"then": [
|
|
33
|
+
{
|
|
34
|
+
"click": "#iubenda-cs-banner .iubenda-ccpa-opt-out"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"waitForThenClick": "#iubenda-alert .iubenda-button-confirm"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"waitForThenClick": "#iubenda-cs-banner .iubenda-cs-close-btn",
|
|
41
|
+
"timeout": 2000,
|
|
42
|
+
"optional": true
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"else": [{ "hide": "#iubenda-cs-banner" }]
|
|
46
|
+
}
|
|
47
|
+
]
|
|
26
48
|
}
|
|
27
49
|
]
|
|
28
50
|
}
|
|
29
51
|
],
|
|
30
|
-
"test": [{ "eval": "EVAL_IUBENDA_1" }]
|
|
52
|
+
"test": [{ "any": [{ "eval": "EVAL_IUBENDA_1" }, { "cookieContains": "uspString%22%3A%221YY-" }] }]
|
|
31
53
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "la-becanerie",
|
|
3
|
+
"vendorUrl": "https://www.la-becanerie.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://(www\\.)?la-becanerie\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookieconsent .cc_banner-wrapper"],
|
|
8
|
+
"detectCmp": [{ "exists": ".cookieconsent .cc_banner-wrapper [onclick*='refuseAllCookiesPreferences']" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".cookieconsent .cc_banner" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".cc_banner [onclick*='acceptAllCookiesPreferences']" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": ".cc_banner [onclick*='refuseAllCookiesPreferences']" }],
|
|
12
|
+
"test": [{ "cookieContains": "_cprefs=%7B%22stats%22%3A1%2C%22fct%22%3A1%2C%22mkt%22%3A1%7D" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lta",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://www.lta.org.uk/"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": false,
|
|
7
|
+
"runContext": {
|
|
8
|
+
"main": true,
|
|
9
|
+
"frame": false
|
|
10
|
+
},
|
|
11
|
+
"prehideSelectors": ["#lta-cookies-banner"],
|
|
12
|
+
"detectCmp": [{ "exists": "#lta-cookies-banner" }],
|
|
13
|
+
"detectPopup": [{ "visible": "#lta-cookies-banner" }],
|
|
14
|
+
"optIn": [{ "waitForThenClick": "#lta-cookies-button" }],
|
|
15
|
+
"optOut": [
|
|
16
|
+
{ "waitForThenClick": "#js-lta-cookie-modal-trigger" },
|
|
17
|
+
{ "waitForVisible": "#lta-cookies-modal" },
|
|
18
|
+
{ "click": "#lta-cookies-form input[type=radio][id^=decline-]", "all": true, "optional": true },
|
|
19
|
+
{ "click": "#js-lta-cookie-modal-set" }
|
|
20
|
+
],
|
|
21
|
+
"test": [{ "cookieContains": "%22perf%22:false" }]
|
|
22
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "lucrin",
|
|
3
|
+
"vendorUrl": "https://www.lucrin.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?lucrin\\.(com|com\\.au|co\\.uk|ca|ch|de|es|fr|it)/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["div:has(> #notice-cookie-block)", "[data-dialog-ref-name=\"cookie-text-popup\"]"],
|
|
8
|
+
"detectCmp": [{ "exists": "#notice-cookie-block #btn-manage-cookie" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#notice-cookie-block" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#notice-cookie-block #btn-cookie-allow" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": "#notice-cookie-block #btn-manage-cookie" },
|
|
13
|
+
{ "waitForVisible": "#btn-manage-cookie-save-preferences" },
|
|
14
|
+
{ "click": "#cookie-text-popup input[type=\"checkbox\"]:checked", "all": true, "optional": true },
|
|
15
|
+
{ "waitForThenClick": "#btn-manage-cookie-save-preferences" }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "cookieContains": "%22marketing%22%3Afalse%2C%22analytic%22%3Afalse" }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "makitatools",
|
|
3
|
+
"vendorUrl": "https://www.makitatools.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://(www\\.)?makitatools\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".makita-footer-warning"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".makita-footer-warning"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".makita-footer-warning"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".makita-footer-warning a[data-post*='allowcookie=true']"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".makita-footer-warning .js-makita-modal[data-src*='privacysettings']"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": ".about-cookies a[data-post*='allowcookie=false']"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"waitForVisible": ".makita-footer-warning",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"test": [
|
|
36
|
+
{
|
|
37
|
+
"visible": ".makita-footer-warning",
|
|
38
|
+
"check": "none"
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "milestone-internet",
|
|
3
|
+
"vendorUrl": "https://www.milestoneinternet.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": ["#msCookieBanner"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#msCookieBanner.msCookieBanner"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#msCookieBanner.msCookieBanner"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#msCookieBanner button"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"hide": "#msCookieBanner"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"removeClass": "pushItDown",
|
|
27
|
+
"selector": ".pushItDown",
|
|
28
|
+
"optional": true
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"minimumRuleStepVersion": 2
|
|
32
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mizuno.com",
|
|
3
|
+
"vendorUrl": "https://emea.mizuno.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?mizuno\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#consent-tracking"],
|
|
8
|
+
"detectCmp": [{ "exists": "#consent-tracking .btn-necessary" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#consent-tracking" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#consent-tracking .btn-all" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": "#consent-tracking .btn-necessary" }],
|
|
12
|
+
"test": [{ "cookieContains": "\"marketingCookie\":false" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "nhm.ac.uk",
|
|
3
|
+
"vendorUrl": "https://www.nhm.ac.uk/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(\\w+\\.)?nhm\\.ac\\.uk/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["[data-show-cookie-banner=\"true\"]", "[data-show-cookie-banner-overlay=\"true\"]"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "[data-show-cookie-banner=\"true\"]"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "[data-show-cookie-banner=\"true\"]"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "[data-show-cookie-banner=\"true\"] form button[type=\"submit\"]"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "[data-show-cookie-banner=\"true\"], [data-show-cookie-banner-overlay=\"true\"]"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "npo-ccm",
|
|
3
|
+
"vendorUrl": "https://www.npo.nl/",
|
|
4
|
+
"prehideSelectors": ["ccm-notification"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ["ccm-notification", "#ccm_notification .ccm_btn--save"]
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ["ccm-notification", "#ccm_notification"]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ["ccm-notification", "#ccm_notification .ccm_btn--accept-all"]
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"if": {
|
|
23
|
+
"exists": ["ccm-notification", "#ccm_notification .ccm_btn--deny-all"]
|
|
24
|
+
},
|
|
25
|
+
"then": [
|
|
26
|
+
{
|
|
27
|
+
"click": ["ccm-notification", "#ccm_notification .ccm_btn--deny-all"]
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"else": [
|
|
31
|
+
{
|
|
32
|
+
"click": ["ccm-notification", "#ccm_notification input[type='radio'][value='false']"],
|
|
33
|
+
"all": true,
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"waitForThenClick": ["ccm-notification", "#ccm_notification .ccm_btn--save:not(.ccm_btn_disabled)"]
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "opalcollection-com",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https://(www\\.)?opalcollection\\.com/"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": true,
|
|
7
|
+
"prehideSelectors": [".cookie-popup"],
|
|
8
|
+
"detectCmp": [{ "visible": ".cookie-popup .cookie-popup__button" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".cookie-popup" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".cookie-popup .cookie-popup__button" }],
|
|
11
|
+
"optOut": [{ "hide": ".cookie-popup" }]
|
|
12
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "orw-cookie-banner",
|
|
3
|
+
"comment": "Shopify theme cookie drawer with only an Accept button; it blurs the page via body classes, so hide it and remove them.",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"minimumRuleStepVersion": 2,
|
|
6
|
+
"prehideSelectors": ["#CookieBanner.cookie-banner.drawer"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "#CookieBanner.cookie-banner.drawer"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#CookieBanner.cookie-banner.drawer.opened"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "#CookieBanner.cookie-banner .accept"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"hide": "#CookieBanner.cookie-banner.drawer"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"removeClass": "cookie-not-accepted",
|
|
28
|
+
"selector": "body",
|
|
29
|
+
"optional": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"removeClass": "drawer-opt",
|
|
33
|
+
"selector": "body",
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"removeClass": "show-overlay",
|
|
38
|
+
"selector": "body",
|
|
39
|
+
"optional": true
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "osf.io",
|
|
3
|
+
"vendorUrl": "https://osf.io/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(\\w+\\.)?osf\\.io/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["osf-cookie-consent-banner"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "osf-cookie-consent-banner p-message"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "osf-cookie-consent-banner p-message"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "osf-cookie-consent-banner p-message button"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "osf-cookie-consent-banner"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "palace-company",
|
|
3
|
+
"vendorUrl": "https://www.palaceresorts.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https://(www\\.)?(moonpalace|palaceresorts|leblancsparesorts|baglionihotels)\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#cookie-consent", "#cookie-consent ~ .banner-shadow"],
|
|
9
|
+
"detectCmp": [{ "exists": "#cookie-consent .cc-window[aria-describedby=\"cookieconsent:desc\"]" }],
|
|
10
|
+
"detectPopup": [{ "visible": "#cookie-consent .cc-window[aria-describedby=\"cookieconsent:desc\"]" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": "#cookie-consent .cc-window .cc-dismiss" }],
|
|
12
|
+
"optOut": [{ "hide": "#cookie-consent, #cookie-consent ~ .banner-shadow" }]
|
|
13
|
+
}
|