@duckduckgo/autoconsent 16.50.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/AGENTS.md +1 -1
- package/CHANGELOG.md +89 -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 +48 -41
- 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 +48 -41
- 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 +48 -41
- package/dist/autoconsent.esm.js +48 -41
- package/dist/autoconsent.playwright.js +49 -41
- package/dist/autoconsent.standalone.js +49 -42
- 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/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/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/lucrin.json +18 -0
- package/rules/autoconsent/makitatools.json +41 -0
- package/rules/autoconsent/milestone-internet.json +32 -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/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/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/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/lucrin.spec.ts +3 -0
- package/tests/makitatools.spec.ts +5 -0
- package/tests/milestone-internet.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/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/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/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
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "podimo",
|
|
3
|
+
"vendorUrl": "https://podimo.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?podimo\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "[data-testid=cookie-consent-bar-desktop], [data-testid=cookie-consent-bar-mobile]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "[data-testid=cookie-consent-bar-desktop], [data-testid=cookie-consent-bar-mobile]",
|
|
16
|
+
"check": "any"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"if": {
|
|
22
|
+
"visible": "[data-testid=accept-all-cookies-button-desktop]"
|
|
23
|
+
},
|
|
24
|
+
"then": [
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": "[data-testid=accept-all-cookies-button-desktop]"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"else": [
|
|
30
|
+
{
|
|
31
|
+
"waitForThenClick": "[data-testid=accept-all-cookies-button-mobile]"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"optOut": [
|
|
37
|
+
{
|
|
38
|
+
"if": {
|
|
39
|
+
"visible": "[data-testid=manage-cookies-button-desktop]"
|
|
40
|
+
},
|
|
41
|
+
"then": [
|
|
42
|
+
{
|
|
43
|
+
"waitForThenClick": "[data-testid=manage-cookies-button-desktop]"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"else": [
|
|
47
|
+
{
|
|
48
|
+
"waitForThenClick": "[data-testid=manage-cookies-button-mobile]"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"waitForVisible": "[data-testid=cookie-consent-modal]"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"click": "[data-testid=cookie-consent-modal] input[type=checkbox]:checked",
|
|
57
|
+
"all": true,
|
|
58
|
+
"optional": true
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"waitForThenClick": "[data-testid=cookie-consent-save-button]"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"test": [
|
|
65
|
+
{
|
|
66
|
+
"cookieContains": "pmo_c_acc=true"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"cookieContains": "pmo_c_mark=true",
|
|
70
|
+
"negated": true
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "publicmobile",
|
|
3
|
+
"runContext": { "urlPattern": "^https?://(www\\.)?publicmobile\\.ca/" },
|
|
4
|
+
"prehideSelectors": ["[data-testid=\"cookie-consent-sticky-footer\"]"],
|
|
5
|
+
"detectCmp": [{ "exists": "[data-testid=\"cookie-consent-sticky-footer\"]" }],
|
|
6
|
+
"detectPopup": [{ "visible": "[data-testid=\"cookie-consent-sticky-footer\"][aria-hidden=\"false\"]" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "[data-testid=\"cookie-consent-sticky-footer\"] button[aria-label]:nth-child(2)" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{ "waitForThenClick": "[data-testid=\"cookie-consent-sticky-footer\"] button[aria-label]:first-child" },
|
|
10
|
+
{ "waitForVisible": "[data-testid=\"_cookie_modal_test\"]" },
|
|
11
|
+
{ "click": "[data-testid=\"_cookie_modal_test\"] label:has(input[type=\"checkbox\"]:checked)", "all": true, "optional": true },
|
|
12
|
+
{ "waitForThenClick": "[data-testid=\"_cookie_modal_test\"] button[aria-label=\"button-pmui\"]" },
|
|
13
|
+
{ "waitForVisible": "[data-testid=\"cookie-consent-sticky-footer\"][aria-hidden=\"false\"]", "check": "none", "timeout": 3000 }
|
|
14
|
+
],
|
|
15
|
+
"test": [{ "cookieContains": "\"analytics_storage\":\"denied\"" }]
|
|
16
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rakshaos",
|
|
3
|
+
"cosmetic": false,
|
|
4
|
+
"minimumRuleStepVersion": 2,
|
|
5
|
+
"prehideSelectors": ["#raksha-consent-banner", "#raksha-consent-overlay"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": "#raksha-consent-banner"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#raksha-consent-banner"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#raksha-accept"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"if": {
|
|
24
|
+
"exists": "#raksha-decline"
|
|
25
|
+
},
|
|
26
|
+
"then": [
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": "#raksha-decline"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"else": [
|
|
32
|
+
{
|
|
33
|
+
"waitForThenClick": "#raksha-manage"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"waitForThenClick": "#raksha-btn-reject"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"addStyle": "display: none !important",
|
|
40
|
+
"selector": "#raksha-consent-banner"
|
|
41
|
+
}
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
]
|
|
45
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rutjes",
|
|
3
|
+
"vendorUrl": "https://www.rutjespaardenboxen.nl/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?rutjes(paardenboxen\\.nl|pferdeboxen\\.de)/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookiebanner"],
|
|
8
|
+
"detectCmp": [{ "exists": "script[src*='consent.cookiebot.com/uc.js']" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#cookiebanner #DeclineAll" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#cookiebanner #AcceptAll" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": "#cookiebanner #DeclineAll" }],
|
|
12
|
+
"test": [{ "wait": 500 }, { "cookieContains": "statistics:false%2Cmarketing:false" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "saturdaysnyc",
|
|
3
|
+
"vendorUrl": "https://www.saturdaysnyc.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?saturdaysnyc\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#popup-notice"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#popup-notice .popup__close"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#popup-notice"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#popup-notice .popup__actions a"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#popup-notice .popup__close"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "saturdaysnyc-notice=1"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "serpstat-com",
|
|
3
|
+
"vendorUrl": "https://serpstat.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https://(\\w+\\.)?serpstat\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [".cookie-consent[data-cookieconsent], .gdpr-tab"],
|
|
9
|
+
"detectCmp": [{ "exists": ".cookie-consent[data-cookieconsent], .gdpr-tab #gdpr_tab_content" }],
|
|
10
|
+
"detectPopup": [{ "visible": ".cookie-consent[data-cookieconsent], .gdpr-tab #gdpr_tab_content" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": "button[data-acceptcookies], #gdpr_tab_content .gdpr_form button[type=submit]" }],
|
|
12
|
+
"optOut": [{ "hide": ".cookie-consent[data-cookieconsent], .gdpr-tab" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shopquarters",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?shopquarters\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#shopify-pc__banner"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "aside[x-data=\"cookieConsent\"]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#shopify-pc__banner, aside[x-data=\"cookieConsent\"] > div.opacity-100",
|
|
16
|
+
"check": "any"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#shopify-pc__banner__btn-accept",
|
|
22
|
+
"timeout": 2000,
|
|
23
|
+
"optional": true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": "aside[x-data=\"cookieConsent\"] button[title=\"Accept\"]"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"optOut": [
|
|
30
|
+
{
|
|
31
|
+
"comment": "theme banner only offers Accept",
|
|
32
|
+
"hide": "aside[x-data=\"cookieConsent\"]"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"comment": "Shopify banner is shown only in some regions, together with the theme banner",
|
|
36
|
+
"waitForThenClick": "#shopify-pc__banner__btn-decline",
|
|
37
|
+
"timeout": 2000,
|
|
38
|
+
"optional": true
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shopware",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://www.shopware.com/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".cookie-permission-container[data-cookie-permission]"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": ".cookie-permission-container[data-cookie-permission] .js-cookie-configuration-button"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ".cookie-permission-container[data-cookie-permission]"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"if": {
|
|
20
|
+
"exists": ".cookie-permission-container .js-cookie-accept-all-button"
|
|
21
|
+
},
|
|
22
|
+
"then": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": ".cookie-permission-container .js-cookie-accept-all-button button"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"else": [
|
|
28
|
+
{
|
|
29
|
+
"waitForThenClick": ".cookie-permission-container .js-cookie-configuration-button button"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"waitForThenClick": ".js-offcanvas-cookie-accept-all"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"optOut": [
|
|
38
|
+
{
|
|
39
|
+
"if": {
|
|
40
|
+
"exists": ".cookie-permission-container .js-cookie-permission-button"
|
|
41
|
+
},
|
|
42
|
+
"then": [
|
|
43
|
+
{
|
|
44
|
+
"waitForThenClick": ".cookie-permission-container .js-cookie-permission-button button"
|
|
45
|
+
}
|
|
46
|
+
],
|
|
47
|
+
"else": [
|
|
48
|
+
{
|
|
49
|
+
"waitForThenClick": ".cookie-permission-container .js-cookie-configuration-button button"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"waitForThenClick": ".js-offcanvas-cookie-submit"
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"test": [
|
|
58
|
+
{
|
|
59
|
+
"waitForVisible": ".cookie-permission-container[data-cookie-permission]",
|
|
60
|
+
"timeout": 2000,
|
|
61
|
+
"check": "none"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"wait": 500,
|
|
65
|
+
"comment": "consent cookie is written asynchronously after saving"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"cookieContains": "cookie-preference=1"
|
|
69
|
+
}
|
|
70
|
+
]
|
|
71
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "simpleview-cookie-banner",
|
|
3
|
+
"vendorUrl": "https://www.simpleviewinc.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": [".contentRender_name_plugins_common_cookie_banner", ".contentRender_name_plugins_common_gdpr_banner"],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": ".contentRender_name_plugins_common_cookie_banner [data-sv-close-banner], .contentRender_name_plugins_common_gdpr_banner [data-sv-close-banner]"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [
|
|
12
|
+
{
|
|
13
|
+
"visible": ".contentRender_name_plugins_common_cookie_banner > :has([data-sv-close-banner]), .contentRender_name_plugins_common_gdpr_banner > :has([data-sv-close-banner])",
|
|
14
|
+
"check": "any"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ".contentRender_name_plugins_common_cookie_banner [data-sv-close-banner], .contentRender_name_plugins_common_gdpr_banner [data-sv-close-banner]"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"hide": ".contentRender_name_plugins_common_cookie_banner, .contentRender_name_plugins_common_gdpr_banner"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "solvhealth.com",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https://(www\\.)?solvhealth\\.com/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#cookiesModal"],
|
|
7
|
+
"detectCmp": [{ "exists": "#cookiesModal #cookiesModalCloseBtn" }],
|
|
8
|
+
"detectPopup": [{ "visible": "#cookiesModal" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "#cookiesModalCloseBtn" }],
|
|
10
|
+
"optOut": [{ "waitForThenClick": "#cookiesModalCloseBtn" }, { "waitForVisible": "#cookiesModal", "check": "none" }],
|
|
11
|
+
"test": [{ "visible": "#cookiesModal", "check": "none" }]
|
|
12
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "spermidinelife-us",
|
|
3
|
+
"vendorUrl": "https://spermidinelife.us/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https://(www\\.)?spermidinelife\\.us/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [".plug-gdpr-wrapper.js-gdpr-wrapper"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": ".plug-gdpr-wrapper.js-gdpr-wrapper .js-gdpr-button"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ".plug-gdpr-wrapper--show.js-gdpr-wrapper"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".plug-gdpr-wrapper.js-gdpr-wrapper .js-gdpr-button"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": ".plug-gdpr-wrapper.js-gdpr-wrapper"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"prehideSelectors": [".cookie-banner-mount-point"],
|
|
4
4
|
"detectCmp": [
|
|
5
5
|
{
|
|
6
|
-
"exists": ".cookie-banner-mount-point section[aria-label='Cookie banner']"
|
|
6
|
+
"exists": ".cookie-banner-mount-point section[aria-label='Cookie banner'] :is(button.decline, button.manage)"
|
|
7
7
|
}
|
|
8
8
|
],
|
|
9
9
|
"detectPopup": [
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "squarespace-cookie-notice",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"prehideSelectors": [".cookie-banner-mount-point"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".cookie-banner-mount-point section[aria-label='Cookie banner'] button.accept"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"exists": ".cookie-banner-mount-point section[aria-label='Cookie banner'] :is(button.decline, button.manage)",
|
|
11
|
+
"negated": true
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ".cookie-banner-mount-point section[aria-label='Cookie banner']"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".cookie-banner-mount-point button.accept"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": ".cookie-banner-mount-point"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "store2000.fr",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?store2000\\.fr/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["div.fixed.inset-0:has(.lucide-cookie)"],
|
|
7
|
+
"detectCmp": [{ "exists": "div.fixed.inset-0:has(.lucide-cookie)" }],
|
|
8
|
+
"detectPopup": [{ "visible": "div.fixed.inset-0:has(.lucide-cookie)" }],
|
|
9
|
+
"optIn": [
|
|
10
|
+
{ "waitForThenClick": "xpath///div[contains(@class, 'inset-0')]//button[contains(., 'Accepter tous')]" },
|
|
11
|
+
{ "hide": "div.fixed.inset-0:has(.lucide-cookie)" }
|
|
12
|
+
],
|
|
13
|
+
"optOut": [
|
|
14
|
+
{ "waitForThenClick": "xpath///div[contains(@class, 'inset-0')]//button[contains(., 'Refuser tous')]" },
|
|
15
|
+
{ "hide": "div.fixed.inset-0:has(.lucide-cookie)" }
|
|
16
|
+
]
|
|
17
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tempest-cookie-notice",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"prehideSelectors": ["div[data-cookie-consent]:has(> button[data-cookie-consent-close])"],
|
|
5
|
+
"detectCmp": [{ "exists": "div[data-cookie-consent] > button[data-cookie-consent-close]" }],
|
|
6
|
+
"detectPopup": [{ "visible": "div[data-cookie-consent]:has(> button[data-cookie-consent-close])" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "div[data-cookie-consent] > button[data-cookie-consent-close]" }],
|
|
8
|
+
"optOut": [{ "hide": "div[data-cookie-consent]:has(> button[data-cookie-consent-close])" }]
|
|
9
|
+
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "termsfeed",
|
|
3
3
|
"vendorUrl": "https://termsfeed.com",
|
|
4
|
-
"comment": "v4.x.x",
|
|
5
|
-
"prehideSelectors": [".termsfeed-com---nb"],
|
|
4
|
+
"comment": "v4.x.x, also distributed by freeprivacypolicy.com",
|
|
5
|
+
"prehideSelectors": [".termsfeed-com---nb", ".freeprivacypolicy-com---nb"],
|
|
6
6
|
"detectCmp": [
|
|
7
7
|
{
|
|
8
|
-
"exists": ".termsfeed-com---nb"
|
|
8
|
+
"exists": ".termsfeed-com---nb,.freeprivacypolicy-com---nb"
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"detectPopup": [
|
|
12
12
|
{
|
|
13
|
-
"visible": ".termsfeed-com---nb"
|
|
13
|
+
"visible": ".termsfeed-com---nb,.freeprivacypolicy-com---nb"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
16
|
"optIn": [
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "therealest",
|
|
3
|
+
"vendorUrl": "https://therealest.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://([a-z0-9-]+\\.)?therealest\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["[role=dialog][aria-labelledby=cookie-banner-title]"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "[role=dialog][aria-labelledby=cookie-banner-title]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "[role=dialog][aria-labelledby=cookie-banner-title]"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "xpath///div[@role='dialog'][@aria-labelledby='cookie-banner-title']//button[normalize-space()='Accept all']"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "xpath///div[@role='dialog'][@aria-labelledby='cookie-banner-title']//button[normalize-space()='Manage preferences']"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": "xpath///div[@role='dialog'][.//input[@id='consent-toggle-analytics']]//button[normalize-space()='Reject all']"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"waitFor": "#consent-toggle-analytics:not(:checked)"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"waitForThenClick": "xpath///div[@role='dialog'][.//input[@id='consent-toggle-analytics']]//button[normalize-space()='Save preferences']"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"test": [
|
|
38
|
+
{
|
|
39
|
+
"cookieContains": "%22analytics%22%3Afalse"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tineye",
|
|
3
|
+
"vendorUrl": "https://tineye.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https://(www\\.)?tineye\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["[data-test=\"cookie-banner\"]"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "[data-test=\"cookie-banner\"]"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "[data-test=\"cookie-banner\"]"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "[data-test=\"cookie-banner\"] button"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "[data-test=\"cookie-banner\"]"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": "[data-test=\"cookie-banner\"]",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tk-aerztefuehrer.de",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://www.tk-aerztefuehrer.de/"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": false,
|
|
7
|
+
"runContext": {
|
|
8
|
+
"main": true,
|
|
9
|
+
"frame": false,
|
|
10
|
+
"urlPattern": "^https?://(www\\.)?tk-aerztefuehrer\\.de/"
|
|
11
|
+
},
|
|
12
|
+
"prehideSelectors": ["#tkConsentmanager"],
|
|
13
|
+
"detectCmp": [{ "exists": "#tkConsentmanager" }],
|
|
14
|
+
"detectPopup": [{ "visible": "#tkConsentmanager" }],
|
|
15
|
+
"optIn": [{ "waitForThenClick": "#tkConsentmanager .g-consentmanager__confirm-all" }],
|
|
16
|
+
"optOut": [{ "waitForThenClick": "#tkConsentmanager .g-consentmanager__confirm-selection" }],
|
|
17
|
+
"test": [{ "cookieContains": "tkConsentWirtschaftlicherWerbeeinsatz=0" }]
|
|
18
|
+
}
|
|
@@ -2,35 +2,83 @@
|
|
|
2
2
|
"name": "tplink",
|
|
3
3
|
"vendorUrl": "https://www.tp-link.com",
|
|
4
4
|
"cosmetic": false,
|
|
5
|
-
"prehideSelectors": [".tp-dialog.cookie-dialog"],
|
|
5
|
+
"prehideSelectors": [".tp-dialog.cookie-dialog", ".tp-cookie-banner"],
|
|
6
6
|
"detectCmp": [
|
|
7
7
|
{
|
|
8
|
-
"exists": ".tp-dialog.cookie-dialog"
|
|
8
|
+
"exists": ".tp-dialog.cookie-dialog, :not(.tp-cookie-banner-tpl) > .tp-cookie-banner .show-cookie-dialog"
|
|
9
9
|
}
|
|
10
10
|
],
|
|
11
11
|
"detectPopup": [
|
|
12
12
|
{
|
|
13
|
-
"
|
|
13
|
+
"any": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".tp-dialog.cookie-dialog button"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"visible": ":not(.tp-cookie-banner-tpl) > .tp-cookie-banner .show-cookie-dialog"
|
|
19
|
+
}
|
|
20
|
+
]
|
|
14
21
|
}
|
|
15
22
|
],
|
|
16
23
|
"optIn": [
|
|
17
24
|
{
|
|
18
|
-
"
|
|
25
|
+
"if": {
|
|
26
|
+
"visible": ":not(.tp-cookie-banner-tpl) > .tp-cookie-banner .tp-cookie-accept-all"
|
|
27
|
+
},
|
|
28
|
+
"then": [
|
|
29
|
+
{
|
|
30
|
+
"click": ":not(.tp-cookie-banner-tpl) > .tp-cookie-banner .tp-cookie-accept-all"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"else": [
|
|
34
|
+
{
|
|
35
|
+
"waitForThenClick": ".tp-dialog-box .tp-cookie-accept-all"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
19
38
|
}
|
|
20
39
|
],
|
|
21
40
|
"optOut": [
|
|
22
41
|
{
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
42
|
+
"if": {
|
|
43
|
+
"visible": ":not(.tp-cookie-banner-tpl) > .tp-cookie-banner .show-cookie-dialog"
|
|
44
|
+
},
|
|
45
|
+
"then": [
|
|
46
|
+
{
|
|
47
|
+
"click": ":not(.tp-cookie-banner-tpl) > .tp-cookie-banner .show-cookie-dialog"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
26
50
|
},
|
|
27
51
|
{
|
|
28
|
-
"
|
|
52
|
+
"waitForVisible": ".tp-dialog.cookie-dialog .tp-dialog-box"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"if": {
|
|
56
|
+
"exists": ".tp-dialog-box .tp-cookie-opt-out"
|
|
57
|
+
},
|
|
58
|
+
"then": [
|
|
59
|
+
{
|
|
60
|
+
"waitForThenClick": ".tp-dialog-box .tp-cookie-opt-out"
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"else": [
|
|
64
|
+
{
|
|
65
|
+
"click": ".tp-dialog-box .checkbox.clickable.checked",
|
|
66
|
+
"all": true,
|
|
67
|
+
"optional": true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"waitForThenClick": ".tp-dialog-box .tp-cookie-save"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
29
73
|
}
|
|
30
74
|
],
|
|
31
75
|
"test": [
|
|
32
76
|
{
|
|
33
|
-
"cookieContains": "
|
|
77
|
+
"cookieContains": "_privacy_banner=1"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"negated": true,
|
|
81
|
+
"cookieContains": "_privacy_marketing=1"
|
|
34
82
|
}
|
|
35
83
|
]
|
|
36
84
|
}
|