@duckduckgo/autoconsent 16.49.0 → 16.51.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/release-labels.yml +2 -6
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +130 -0
- package/build.sh +2 -0
- package/data/labelled-button-texts.csv +36 -36
- package/dist/addon-firefox/background.bundle.js +4 -1
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +67 -46
- 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/background.bundle.js +4 -1
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +67 -46
- 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 +67 -46
- package/dist/autoconsent.esm.js +67 -46
- package/dist/autoconsent.playwright.js +68 -46
- package/dist/autoconsent.standalone.js +68 -47
- package/dist/heuristics.cjs.js +886 -0
- package/dist/heuristics.mjs +847 -0
- package/dist/types/eval-snippets.d.ts +2 -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/lib/eval-snippets.ts +4 -0
- package/lib/heuristic-classify.ts +136 -0
- package/lib/heuristic-patterns.ts +33 -16
- 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/amazon-hiring.json +16 -0
- package/rules/autoconsent/avada-cookie-consent.json +43 -0
- package/rules/autoconsent/avvio.json +22 -0
- package/rules/autoconsent/axeptio.json +22 -6
- package/rules/autoconsent/bdirect-booking-engine.json +33 -0
- package/rules/autoconsent/berelax.com.json +33 -0
- package/rules/autoconsent/bigcrunch.json +39 -0
- package/rules/autoconsent/bigid.json +59 -0
- package/rules/autoconsent/bluepark.json +31 -0
- package/rules/autoconsent/bricklink.json +33 -0
- package/rules/autoconsent/burpee-com.json +5 -1
- package/rules/autoconsent/bynder.json +33 -0
- package/rules/autoconsent/ceneo.json +9 -0
- package/rules/autoconsent/cinemaplus.json +9 -0
- package/rules/autoconsent/columbia-privacy-notice.json +32 -0
- package/rules/autoconsent/complianz-notice.json +1 -1
- package/rules/autoconsent/conjointly.json +43 -0
- 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/dhbbank.json +13 -0
- package/rules/autoconsent/duda-cookie-notification.json +41 -0
- package/rules/autoconsent/ee-consent-notice.json +40 -0
- package/rules/autoconsent/endocrine.org.json +35 -0
- package/rules/autoconsent/ezoic.json +2 -2
- package/rules/autoconsent/fera-cookies.json +67 -0
- 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/la7-cmp.json +30 -0
- package/rules/autoconsent/laravel-cookie-consent.json +45 -0
- package/rules/autoconsent/legislation-gov-uk.json +43 -0
- package/rules/autoconsent/lucrin.json +18 -0
- package/rules/autoconsent/mackeeper.json +34 -0
- package/rules/autoconsent/makitatools.json +41 -0
- package/rules/autoconsent/milestone-internet.json +32 -0
- package/rules/autoconsent/ndl-go-jp.json +35 -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/paypal-us.json +3 -3
- package/rules/autoconsent/paypal.json +5 -2
- package/rules/autoconsent/paytronix.json +30 -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/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/tempest-cookie-notice.json +9 -0
- package/rules/autoconsent/termsfeed.json +4 -4
- package/rules/autoconsent/texas-instruments.json +17 -0
- package/rules/autoconsent/thegrandyork.json +46 -0
- package/rules/autoconsent/thenounproject.json +61 -0
- 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/toyota.json +16 -5
- package/rules/autoconsent/tplink.json +57 -9
- package/rules/autoconsent/trust360.json +29 -0
- package/rules/autoconsent/uft-cookie-notice.json +15 -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/wbd-legal-terms.json +32 -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/amazon-hiring.spec.ts +3 -0
- package/tests/avada-cookie-consent.spec.ts +9 -0
- package/tests/avvio.spec.ts +8 -0
- package/tests/axeptio.spec.ts +11 -4
- package/tests/bdirect-booking-engine.spec.ts +9 -0
- package/tests/berelax.com.spec.ts +5 -0
- package/tests/bigcrunch.spec.ts +16 -0
- package/tests/bigid.spec.ts +8 -0
- package/tests/bluepark.spec.ts +8 -0
- package/tests/bricklink.spec.ts +3 -0
- package/tests/burpee-com.spec.ts +2 -0
- package/tests/bynder.spec.ts +3 -0
- package/tests/ceneo.spec.ts +3 -0
- package/tests/cinemaplus.spec.ts +8 -0
- package/tests/columbia-privacy-notice.spec.ts +8 -0
- package/tests/complianz-notice.spec.ts +7 -3
- package/tests/conjointly.spec.ts +3 -0
- 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/dhbbank.spec.ts +6 -0
- package/tests/duda-cookie-notification.spec.ts +8 -0
- package/tests/ee-consent-notice.spec.ts +9 -0
- package/tests/endocrine.org.spec.ts +3 -0
- package/tests/ezoic.spec.ts +1 -1
- package/tests/fera-cookies.spec.ts +6 -0
- 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/la7-cmp.spec.ts +6 -0
- package/tests/laravel-cookie-consent.spec.ts +10 -0
- package/tests/legislation-gov-uk.spec.ts +3 -0
- package/tests/lucrin.spec.ts +3 -0
- package/tests/mackeeper.spec.ts +3 -0
- package/tests/makitatools.spec.ts +5 -0
- package/tests/milestone-internet.spec.ts +8 -0
- package/tests/ndl-go-jp.spec.ts +8 -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/paypal-us.spec.ts +2 -3
- package/tests/paytronix.spec.ts +7 -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/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/tempest-cookie-notice.spec.ts +7 -0
- package/tests/termsfeed.spec.ts +4 -0
- package/tests/texas-instruments.spec.ts +3 -0
- package/tests/thegrandyork.spec.ts +3 -0
- package/tests/thenounproject.spec.ts +3 -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/uft-cookie-notice.spec.ts +3 -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/wbd-legal-terms.spec.ts +18 -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/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 +57 -6
- package/tsconfig.build.json +1 -1
- package/tsconfig.heuristics.json +10 -0
- package/rules/autoconsent/paypal-cookieprefs.json +0 -29
- package/tests/paypal-cookieprefs.spec.ts +0 -7
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "abcacupuncture1",
|
|
3
|
+
"vendorUrl": "https://abcacupuncture1.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?abcacupuncture1\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cky-overlay,.cky-consent-container"],
|
|
8
|
+
"detectCmp": [{ "any": [{ "exists": ".cky-consent-container" }, { "exists": ".fc-consent-root" }] }],
|
|
9
|
+
"detectPopup": [{ "any": [{ "visible": ".cky-consent-container" }, { "visible": ".fc-consent-root .fc-dialog-container" }] }],
|
|
10
|
+
"optIn": [
|
|
11
|
+
{ "click": ".fc-consent-root .fc-cta-consent", "optional": true },
|
|
12
|
+
{ "waitForThenClick": ".cky-consent-container [data-cky-tag=accept-button]", "timeout": 2000, "optional": true }
|
|
13
|
+
],
|
|
14
|
+
"optOut": [
|
|
15
|
+
{
|
|
16
|
+
"if": { "visible": ".cky-consent-container [data-cky-tag=reject-button]" },
|
|
17
|
+
"then": [{ "click": ".cky-consent-container [data-cky-tag=reject-button]" }]
|
|
18
|
+
},
|
|
19
|
+
{ "waitForVisible": ".fc-consent-root .fc-dialog-container", "timeout": 4000, "optional": true },
|
|
20
|
+
{
|
|
21
|
+
"if": { "visible": ".fc-consent-root .fc-dialog-container" },
|
|
22
|
+
"then": [
|
|
23
|
+
{ "click": ".fc-cta-do-not-consent,.fc-cta-manage-options" },
|
|
24
|
+
{ "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked", "all": true, "optional": true },
|
|
25
|
+
{ "click": ".fc-confirm-choices", "optional": true }
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"if": { "visible": ".cky-consent-container [data-cky-tag=reject-button]" },
|
|
30
|
+
"then": [{ "waitForThenClick": ".cky-consent-container [data-cky-tag=reject-button]" }]
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"test": [{ "cookieContains": "advertisement:no" }]
|
|
34
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "aceodds.com",
|
|
3
|
+
"runContext": { "urlPattern": "^https?://(www\\.)?aceodds\\.com/" },
|
|
4
|
+
"prehideSelectors": ["#cookie-consent-banner"],
|
|
5
|
+
"detectCmp": [{ "exists": "#cookie-consent-banner #cookie-consent-accept" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#cookie-consent-banner" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#cookie-consent-accept", "retry": 10, "retryInterval": 500 }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{ "waitForThenClick": "#cookie-consent-accept", "retry": 10, "retryInterval": 500 },
|
|
10
|
+
{ "waitForVisible": "#cookie-consent-banner", "check": "none" }
|
|
11
|
+
],
|
|
12
|
+
"test": [{ "cookieContains": "cookie-consent=1" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "allabout-japan",
|
|
3
|
+
"vendorUrl": "https://allabout-japan.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?allabout-japan\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookie-message"],
|
|
8
|
+
"detectCmp": [{ "exists": ".cookie-message .cookie-agree" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".cookie-message .cookie-agree" }],
|
|
10
|
+
"optIn": [
|
|
11
|
+
{
|
|
12
|
+
"waitForVisible": ".fc-consent-root .fc-dialog-container",
|
|
13
|
+
"timeout": 8000,
|
|
14
|
+
"optional": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"if": { "visible": ".fc-consent-root .fc-dialog-container" },
|
|
18
|
+
"then": [{ "click": ".fc-cta-consent" }]
|
|
19
|
+
},
|
|
20
|
+
{ "waitForThenClick": ".cookie-message .cookie-agree" }
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{ "hide": ".cookie-message" },
|
|
24
|
+
{
|
|
25
|
+
"waitForVisible": ".fc-consent-root .fc-dialog-container",
|
|
26
|
+
"timeout": 8000,
|
|
27
|
+
"optional": true
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"if": { "visible": ".fc-consent-root .fc-dialog-container" },
|
|
31
|
+
"then": [
|
|
32
|
+
{ "click": ".fc-cta-do-not-consent,.fc-cta-manage-options" },
|
|
33
|
+
{
|
|
34
|
+
"click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked",
|
|
35
|
+
"all": true,
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
{ "click": ".fc-confirm-choices", "optional": true }
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "amazon-hiring",
|
|
3
|
+
"vendorUrl": "https://hiring.amazon.com/",
|
|
4
|
+
"detectCmp": [{ "exists": "[data-test-id=\"consentModal\"] [data-test-id=\"consentBtn\"]" }],
|
|
5
|
+
"detectPopup": [{ "visible": "[data-test-id=\"consentModal\"] [data-test-id=\"consentBtn\"]" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": "[data-test-id=\"consentModal\"] [data-test-id=\"consentBtn\"]" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{ "click": "[data-test-id=\"consentModal\"] button[aria-label=\"Continue without accepting cookies\"]" },
|
|
9
|
+
{ "waitForVisible": "[data-test-id=\"consentModal\"] [data-test-id=\"consentBtn\"]", "check": "none", "timeout": 2000 },
|
|
10
|
+
{
|
|
11
|
+
"if": { "exists": "[data-test-id=\"consentModal\"] button[aria-label=\"Close cookie consent card popup\"]" },
|
|
12
|
+
"then": [{ "click": "[data-test-id=\"consentModal\"] button[aria-label=\"Close cookie consent card popup\"]" }]
|
|
13
|
+
},
|
|
14
|
+
{ "waitForVisible": "[data-test-id=\"consentModal\"]", "check": "none", "timeout": 2000 }
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "avada-cookie-consent",
|
|
3
|
+
"vendorUrl": "https://apps.shopify.com/avada-cookie-bar",
|
|
4
|
+
"prehideSelectors": [".Avada-CookiesBar__OuterWrapper .Avada-CookiesBar_Container"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".Avada-CookiesBar__OuterWrapper .Avada-CookiesBar_BtnDeny"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".Avada-CookiesBar__OuterWrapper .Avada-CookiesBar_BtnDeny",
|
|
13
|
+
"check": "any"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": ".Avada-CookiesBar__OuterWrapper .Avada-CookiesBar_BtnAgree"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": ".Avada-CookiesBar__OuterWrapper .Avada-CookiesBar_BtnDeny"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"any": [
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": ".Avada-CookiesBar__OuterWrapper .Avada-CookiesBar_Container",
|
|
29
|
+
"check": "none",
|
|
30
|
+
"timeout": 1000
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"waitForThenClick": ".Avada-CookiesBar-Preferences__PopUp .Avada-CookiesBar_BtnDeny"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"test": [
|
|
39
|
+
{
|
|
40
|
+
"cookieContains": "\"analytics\":false,\"marketing\":false"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "avvio",
|
|
3
|
+
"vendorUrl": "https://www.avvio.com/",
|
|
4
|
+
"prehideSelectors": ["#ACClayerBackground"],
|
|
5
|
+
"detectCmp": [{ "exists": "#ACClayerBackground #ACCsmallCookieLayer" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#ACCsmallCookieLayer, #ACCtabedCookieLayer", "check": "any" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#ACCsmallCookieLayer a[href*='consentGivenSmall']" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{
|
|
10
|
+
"if": { "visible": "#ACCsmallCookieLayer" },
|
|
11
|
+
"then": [{ "waitForThenClick": "#ACCsmallCookieLayer .kkACCButtonLearnMore" }]
|
|
12
|
+
},
|
|
13
|
+
{ "waitForVisible": "#ACCdetailsSaveButton" },
|
|
14
|
+
{
|
|
15
|
+
"if": { "exists": "#ACCtabedCookieLayer .kkACCSwitchLabel input:checked" },
|
|
16
|
+
"then": [{ "click": "#ACCtabedCookieLayer .kkACCSwitchLabel:has(input:checked)", "all": true }]
|
|
17
|
+
},
|
|
18
|
+
{ "click": "#ACCdetailsSaveButton" },
|
|
19
|
+
{ "waitForVisible": "#ACClayerBackground", "check": "none" }
|
|
20
|
+
],
|
|
21
|
+
"test": [{ "cookieContains": "=1000," }]
|
|
22
|
+
}
|
|
@@ -17,6 +17,9 @@
|
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
"visible": [".axeptio_mount .needsclick", ".axeptio_widget"]
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"cookieContains": "%22$$completed%22:false"
|
|
20
23
|
}
|
|
21
24
|
]
|
|
22
25
|
}
|
|
@@ -24,22 +27,35 @@
|
|
|
24
27
|
"optIn": [
|
|
25
28
|
{
|
|
26
29
|
"if": { "exists": ".axeptio_mount .needsclick" },
|
|
27
|
-
"then": [{ "
|
|
28
|
-
"else": [{ "
|
|
30
|
+
"then": [{ "waitForThenClick": [".axeptio_mount .needsclick", "button#axeptio_btn_acceptAll"] }],
|
|
31
|
+
"else": [{ "waitForThenClick": "button#axeptio_btn_acceptAll" }]
|
|
29
32
|
}
|
|
30
33
|
],
|
|
31
34
|
"optOut": [
|
|
32
35
|
{
|
|
33
36
|
"if": { "exists": ".axeptio_mount .needsclick" },
|
|
34
37
|
"then": [
|
|
35
|
-
{
|
|
38
|
+
{
|
|
39
|
+
"waitForVisible": [
|
|
40
|
+
".axeptio_mount .needsclick",
|
|
41
|
+
"button#axeptio_btn_dismiss,button.ax-discardButton,button#axeptio_btn_close"
|
|
42
|
+
]
|
|
43
|
+
},
|
|
36
44
|
{ "wait": 300 },
|
|
37
|
-
{
|
|
45
|
+
{
|
|
46
|
+
"if": { "exists": [".axeptio_mount .needsclick", "button#axeptio_btn_dismiss,button.ax-discardButton"] },
|
|
47
|
+
"then": [{ "click": [".axeptio_mount .needsclick", "button#axeptio_btn_dismiss,button.ax-discardButton"] }],
|
|
48
|
+
"else": [{ "click": [".axeptio_mount .needsclick", "button#axeptio_btn_close"] }]
|
|
49
|
+
}
|
|
38
50
|
],
|
|
39
51
|
"else": [
|
|
40
|
-
{ "waitForVisible": "button#axeptio_btn_dismiss,button.ax-discardButton" },
|
|
52
|
+
{ "waitForVisible": "button#axeptio_btn_dismiss,button.ax-discardButton,button#axeptio_btn_close" },
|
|
41
53
|
{ "wait": 300 },
|
|
42
|
-
{
|
|
54
|
+
{
|
|
55
|
+
"if": { "exists": "button#axeptio_btn_dismiss,button.ax-discardButton" },
|
|
56
|
+
"then": [{ "click": "button#axeptio_btn_dismiss,button.ax-discardButton" }],
|
|
57
|
+
"else": [{ "click": "button#axeptio_btn_close" }]
|
|
58
|
+
}
|
|
43
59
|
]
|
|
44
60
|
}
|
|
45
61
|
],
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bdirect-booking-engine",
|
|
3
|
+
"vendorUrl": "https://unknown",
|
|
4
|
+
"intermediate": false,
|
|
5
|
+
"prehideSelectors": ["#overlay-policy"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#overlay-policy #policy_pop_close .fa-times-circle"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#overlay-policy #policy_pop_close .fa-times-circle"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#overlay-policy #policy_pop_close",
|
|
19
|
+
"retry": 2
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#overlay-policy #policy_pop_close",
|
|
25
|
+
"retry": 2
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "showpopuppolicy=No"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "berelax.com",
|
|
3
|
+
"vendorUrl": "https://berelax.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://(www\\.)?berelax\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["section.cookie"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "section.cookie .cookie__container .cookie__close"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "section.cookie.show .cookie__container"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "section.cookie.show .cookie__container > .button"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "section.cookie.show .cookie__close"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": "section.cookie.show .cookie__container",
|
|
29
|
+
"check": "none",
|
|
30
|
+
"timeout": 2000
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bigcrunch",
|
|
3
|
+
"vendorUrl": "https://www.bigcrunch.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"main": true,
|
|
6
|
+
"frame": false
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#bc-cmp-host", "#bc-cmp-host-auto"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": ["#bc-cmp-host, #bc-cmp-host-auto", "#bc-cmp-banner"]
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ["#bc-cmp-host, #bc-cmp-host-auto", "#bc-cmp-banner-container:not([style*=\"display: none\"]) #bc-cmp-banner"]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ["#bc-cmp-host, #bc-cmp-host-auto", "#bc-cmp-banner [data-action=accept-all]"]
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": ["#bc-cmp-host, #bc-cmp-host-auto", "#bc-cmp-banner [data-action=reject-all]"]
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"waitForVisible": [
|
|
32
|
+
"#bc-cmp-host, #bc-cmp-host-auto",
|
|
33
|
+
"#bc-cmp-banner-container:not([style*=\"display: none\"]) #bc-cmp-banner"
|
|
34
|
+
],
|
|
35
|
+
"timeout": 2000,
|
|
36
|
+
"check": "none"
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bigid",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://bigid.com/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#bigidcmp-banner-widget"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "#bigidcmp-banner-widget"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ["#bigidcmp-banner-widget", "#cmp-accept-all"]
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ["#bigidcmp-banner-widget", "#cmp-accept-all"]
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"if": {
|
|
25
|
+
"exists": ["#bigidcmp-banner-widget", "#cmp-reject-all"]
|
|
26
|
+
},
|
|
27
|
+
"then": [
|
|
28
|
+
{
|
|
29
|
+
"waitForThenClick": ["#bigidcmp-banner-widget", "#cmp-reject-all"]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"else": [
|
|
33
|
+
{
|
|
34
|
+
"waitForThenClick": ["#bigidcmp-banner-widget", "#cmp-custom-permissions"]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"waitForVisible": ["#bigidcmp-banner-widget", "#cmp-submit"]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"comment": "aria-checked is always false; the knob position marks enabled toggles",
|
|
41
|
+
"click": ["#bigidcmp-banner-widget", "button[role=\"switch\"]:not([disabled]) > span[class*=\"translate-x-[1.1rem]\"]"],
|
|
42
|
+
"all": true,
|
|
43
|
+
"optional": true
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"waitForThenClick": ["#bigidcmp-banner-widget", "#cmp-submit"]
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"test": [
|
|
52
|
+
{
|
|
53
|
+
"cookieContains": "bigidcmp-consent-"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"cookieContains": "marketing=false"
|
|
57
|
+
}
|
|
58
|
+
]
|
|
59
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bluepark",
|
|
3
|
+
"prehideSelectors": ["#cookie_banner:has(#cookie_essential)"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": "#cookie_banner #cookie_buttons #cookie_essential"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": "#cookie_banner #cookie_essential"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"waitForThenClick": "#cookie_banner #cookie_accept"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optOut": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#cookie_banner #cookie_essential"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"test": [
|
|
25
|
+
{
|
|
26
|
+
"waitForVisible": "#cookie_banner",
|
|
27
|
+
"check": "none",
|
|
28
|
+
"timeout": 3000
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bricklink",
|
|
3
|
+
"vendorUrl": "https://www.bricklink.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://([a-z0-9-]+\\.)?bricklink\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".blp-necessary-cookies-banner"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".blp-necessary-cookies-banner"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".blp-necessary-cookies-banner"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".blp-necessary-cookies-banner__button"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".blp-necessary-cookies-banner__button"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "has-dismissed-necessary-cookies-banner=true"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "burpee.com",
|
|
3
|
+
"minimumRuleStepVersion": 2,
|
|
3
4
|
"prehideSelectors": [".cookie-modal", "#notice-cookie-block"],
|
|
4
5
|
"detectCmp": [{ "exists": "#notice-cookie-block" }],
|
|
5
6
|
"detectPopup": [{ "visible": "#html-body #notice-cookie-block" }],
|
|
@@ -16,7 +17,10 @@
|
|
|
16
17
|
{ "click": "#notice-cookie-block input:checked", "all": true },
|
|
17
18
|
{ "click": "#btn-cookie-save" }
|
|
18
19
|
],
|
|
19
|
-
"else": [
|
|
20
|
+
"else": [
|
|
21
|
+
{ "hide": "#html-body #notice-cookie-block, #notice-cookie" },
|
|
22
|
+
{ "removeClass": "cookie-notification-active", "selector": "body", "optional": true }
|
|
23
|
+
]
|
|
20
24
|
}
|
|
21
25
|
]
|
|
22
26
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bynder",
|
|
3
|
+
"vendorUrl": "https://www.bynder.com/",
|
|
4
|
+
"prehideSelectors": ["#cookieconsent"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookieconsent .cookiechoices .rejectcookies"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#cookieconsent .cookiechoices .rejectcookies"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#cookieconsent .cookiechoices .allcookies"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#cookieconsent .cookiechoices .rejectcookies"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "ANALYTICALCONSENT=0"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "MARKETINGCONSENT=0"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ceneo",
|
|
3
|
+
"prehideSelectors": ["#js_cookie-consent-banner"],
|
|
4
|
+
"detectCmp": [{ "exists": "#js_cookie-consent-banner .js_cookie-consent-necessary" }],
|
|
5
|
+
"detectPopup": [{ "visible": "#js_cookie-consent-banner .js_cookie-consent-necessary" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": "#js_cookie-consent-banner .js_cookie-consent-agree" }],
|
|
7
|
+
"optOut": [{ "waitForThenClick": "#js_cookie-consent-banner .js_cookie-consent-necessary" }],
|
|
8
|
+
"test": [{ "waitForVisible": "#js_cookie-consent-banner", "timeout": 1000, "check": "none" }]
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cinemaplus",
|
|
3
|
+
"prehideSelectors": ["section[role=\"alert\"]:has(button[aria-label=\"close cookie message\"])"],
|
|
4
|
+
"detectCmp": [{ "exists": "section[role=\"alert\"] button[aria-label=\"close cookie message\"]" }],
|
|
5
|
+
"detectPopup": [{ "visible": "section[role=\"alert\"] button[aria-label=\"close cookie message\"]" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": "section[role=\"alert\"] button.btn-primary" }],
|
|
7
|
+
"optOut": [{ "waitForThenClick": "section[role=\"alert\"] button[aria-label=\"close cookie message\"]" }],
|
|
8
|
+
"test": [{ "visible": "section[role=\"alert\"] button[aria-label=\"close cookie message\"]", "check": "none" }]
|
|
9
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "columbia-privacy-notice",
|
|
3
|
+
"vendorUrl": "https://cuit.columbia.edu/content/columbia-university-website-cookie-notice",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": ["#cu-privacy-notice"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#cu-privacy-notice .cu-privacy-notice-close"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#cu-privacy-notice"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#cu-privacy-notice .cu-privacy-notice-close"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"hide": "#cu-privacy-notice"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"test": [
|
|
27
|
+
{
|
|
28
|
+
"visible": "#cu-privacy-notice",
|
|
29
|
+
"check": "none"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{
|
|
14
14
|
"if": { "exists": ".cc-deny" },
|
|
15
15
|
"then": [{ "click": ".cc-deny" }],
|
|
16
|
-
"else": [{ "hide": "[aria-describedby=\"cookieconsent:desc\"]" }]
|
|
16
|
+
"else": [{ "hide": "[aria-describedby=\"cookieconsent:desc\"]" }, { "hide": ".cc-blockingScreen", "optional": true }]
|
|
17
17
|
}
|
|
18
18
|
]
|
|
19
19
|
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "conjointly",
|
|
3
|
+
"vendorUrl": "https://conjointly.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https://(www\\.)?conjointly\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookie-prompt-container"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".cookie-prompt-container #custom-cookie-banner-container"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".cookie-prompt-container #custom-cookie-banner-container"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".cookie-prompt-container .confirm-all-cookies"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"if": {
|
|
26
|
+
"exists": ".cookie-prompt-container #analytic-cookie:checked"
|
|
27
|
+
},
|
|
28
|
+
"then": [
|
|
29
|
+
{
|
|
30
|
+
"click": ".cookie-prompt-container #analytic-cookie"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"waitForThenClick": ".cookie-prompt-container .confirm-cookies"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"test": [
|
|
39
|
+
{
|
|
40
|
+
"cookieContains": "cookie_policy=false"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|