@duckduckgo/autoconsent 16.52.0 → 16.53.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.md +1 -1
- package/CHANGELOG.md +63 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- 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/manifest.json +1 -1
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.standalone.js +1 -1
- package/package.json +2 -2
- package/rules/autoconsent/accurx.json +26 -0
- package/rules/autoconsent/aliexpress.json +37 -13
- package/rules/autoconsent/burpee-com.json +22 -10
- package/rules/autoconsent/ccm19.json +31 -0
- package/rules/autoconsent/channel4.json +5 -5
- package/rules/autoconsent/citizensadvice.json +43 -0
- package/rules/autoconsent/civic-cookie-control.json +9 -9
- package/rules/autoconsent/clasohlson.com.json +13 -0
- package/rules/autoconsent/cm-cookie-manager.json +20 -0
- package/rules/autoconsent/complianz-optin.json +11 -1
- package/rules/autoconsent/concept3d.json +19 -0
- package/rules/autoconsent/conextra.json +18 -0
- package/rules/autoconsent/cookie-script.json +23 -2
- package/rules/autoconsent/cookiecuttr.json +3 -2
- package/rules/autoconsent/craft-cookie-consent.json +65 -0
- package/rules/autoconsent/cz-eshop-cookies-consent.json +9 -0
- package/rules/autoconsent/depop.json +16 -14
- package/rules/autoconsent/dsgvo.json +8 -2
- package/rules/autoconsent/dwaalzin-nu.json +13 -0
- package/rules/autoconsent/elsevier.json +3 -3
- package/rules/autoconsent/eneba.json +66 -0
- package/rules/autoconsent/ensighten.json +2 -2
- package/rules/autoconsent/europa-eu.json +11 -7
- package/rules/autoconsent/finna.json +29 -0
- package/rules/autoconsent/head-fi.json +35 -0
- package/rules/autoconsent/istore-co-za.json +18 -0
- package/rules/autoconsent/kiwico.json +48 -0
- package/rules/autoconsent/meteored.json +40 -0
- package/rules/autoconsent/mobirise-cookies-alert-cosmetic.json +30 -0
- package/rules/autoconsent/mobirise-cookies-alert.json +34 -0
- package/rules/autoconsent/msg-cookie.json +9 -0
- package/rules/autoconsent/plentyshop.json +27 -0
- package/rules/autoconsent/posthog.json +35 -0
- package/rules/autoconsent/quantcast.json +11 -0
- package/rules/autoconsent/quick-cookie-consent.json +70 -0
- package/rules/autoconsent/schadefonds.json +15 -0
- package/rules/autoconsent/service2school.json +45 -0
- package/rules/autoconsent/sportmedizin-rheuma.json +17 -0
- package/rules/autoconsent/tracsis-delay-repay.json +13 -0
- package/rules/autoconsent/truendo.json +28 -0
- package/rules/autoconsent/truevault-polaris.json +8 -0
- package/rules/autoconsent/ubisoft-com.json +64 -0
- package/rules/autoconsent/volvocars-com.json +1 -1
- package/rules/autoconsent/wbd-legal-terms.json +28 -10
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/accurx.spec.ts +3 -0
- package/tests/aliexpress.spec.ts +5 -1
- package/tests/burpee-com.spec.ts +3 -0
- package/tests/ccm19.spec.ts +11 -0
- package/tests/channel4.spec.ts +7 -3
- package/tests/citizensadvice.spec.ts +3 -0
- package/tests/civic-cookie-control.spec.ts +9 -1
- package/tests/clasohlson.com.spec.ts +3 -0
- package/tests/cm-cookie-manager.spec.ts +11 -0
- package/tests/complianz-optin.spec.ts +5 -1
- package/tests/concept3d.spec.ts +8 -0
- package/tests/conextra.spec.ts +8 -0
- package/tests/cookie-script.spec.ts +8 -3
- package/tests/cookiecuttr.spec.ts +8 -1
- package/tests/craft-cookie-consent.spec.ts +9 -0
- package/tests/cz-eshop-cookies-consent.spec.ts +10 -0
- package/tests/depop.spec.ts +3 -1
- package/tests/dsgvo.spec.ts +8 -10
- package/tests/dwaalzin-nu.spec.ts +6 -0
- package/tests/elsevier.spec.ts +5 -1
- package/tests/eneba.spec.ts +3 -0
- package/tests/europa-eu.spec.ts +6 -1
- package/tests/finna.spec.ts +3 -0
- package/tests/head-fi.spec.ts +3 -0
- package/tests/istore-co-za.spec.ts +3 -0
- package/tests/kiwico.spec.ts +5 -0
- package/tests/meteored.spec.ts +9 -0
- package/tests/mobirise-cookies-alert-cosmetic.spec.ts +8 -0
- package/tests/mobirise-cookies-alert.spec.ts +3 -0
- package/tests/msg-cookie.spec.ts +10 -0
- package/tests/plentyshop.spec.ts +7 -0
- package/tests/posthog.spec.ts +3 -0
- package/tests/quantcast.spec.ts +2 -2
- package/tests/quick-cookie-consent.spec.ts +8 -0
- package/tests/schadefonds.spec.ts +3 -0
- package/tests/service2school.spec.ts +3 -0
- package/tests/sportmedizin-rheuma.spec.ts +3 -0
- package/tests/tracsis-delay-repay.spec.ts +6 -0
- package/tests/truendo.spec.ts +9 -0
- package/tests/ubisoft-com.spec.ts +12 -0
- package/tests/wbd-legal-terms.spec.ts +2 -0
- package/rules/autoconsent/sandhills.json +0 -26
- package/tests/sandhills.spec.ts +0 -8
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "truendo",
|
|
3
|
+
"prehideSelectors": ["#truendo_container .tru_cookie-dialog_wrapper"],
|
|
4
|
+
"detectCmp": [{ "exists": "#truendo_container .tru_cookie-dialog_wrapper" }],
|
|
5
|
+
"detectPopup": [{ "visible": "#truendo_container .tru_cookie-dialog_wrapper" }],
|
|
6
|
+
"optIn": [
|
|
7
|
+
{
|
|
8
|
+
"waitForThenClick": ".tru_cookie-dialog_wrapper [data-cy=banner-ack-btn], .tru_cookie-dialog_wrapper #tru_accept_btn, .tru_cookie-dialog_wrapper button.tru_cookie-dialog_ok:not(#tru_deselect_btn)"
|
|
9
|
+
}
|
|
10
|
+
],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{
|
|
13
|
+
"if": { "exists": ".tru_cookie-dialog_accept-only" },
|
|
14
|
+
"then": [{ "click": ".tru_cookie-dialog_accept-only .tru_cookie-dialog_message a[href='']" }],
|
|
15
|
+
"else": [
|
|
16
|
+
{
|
|
17
|
+
"click": ".tru_cookie-dialog_wrapper [data-cy=banner-options-btn], .tru_cookie-dialog_wrapper [data-cy=optionsBtn], .tru_cookie-dialog_wrapper #tru_options_btn"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
{ "waitForVisible": "#truendo_container [data-cy=action-button-necessary]", "timeout": 2000, "optional": true },
|
|
22
|
+
{
|
|
23
|
+
"if": { "visible": "#truendo_container [data-cy=action-button-necessary]" },
|
|
24
|
+
"then": [{ "click": "#truendo_container [data-cy=action-button-necessary]" }]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [{ "cookieContains": "%22marketing%22%3Afalse" }]
|
|
28
|
+
}
|
|
@@ -44,6 +44,14 @@
|
|
|
44
44
|
"all": true,
|
|
45
45
|
"optional": true
|
|
46
46
|
},
|
|
47
|
+
{
|
|
48
|
+
"click": [
|
|
49
|
+
"#polaris-css-lockdown-container",
|
|
50
|
+
".polaris-preferences-widget input[type=checkbox]:checked:not([disabled])"
|
|
51
|
+
],
|
|
52
|
+
"all": true,
|
|
53
|
+
"optional": true
|
|
54
|
+
},
|
|
47
55
|
{
|
|
48
56
|
"click": ["#polaris-css-lockdown-container", ".polaris-preferences-widget__save_button"]
|
|
49
57
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ubisoft.com",
|
|
3
|
+
"vendorUrl": "https://www.ubisoft.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?ubisoft\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#privacy_modal", "#footer_tc_privacy"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#privacy__modal__close, #footer_tc_privacy #privacy__links__center"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#privacy__modal__close, #footer_tc_privacy",
|
|
16
|
+
"check": "any"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"if": {
|
|
22
|
+
"exists": "#privacy__modal__accept"
|
|
23
|
+
},
|
|
24
|
+
"then": [
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": "#privacy__modal__accept"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"else": [
|
|
30
|
+
{
|
|
31
|
+
"waitForThenClick": "#footer_tc_privacy_button"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"optOut": [
|
|
37
|
+
{
|
|
38
|
+
"if": {
|
|
39
|
+
"exists": "#privacy__modal__close"
|
|
40
|
+
},
|
|
41
|
+
"then": [
|
|
42
|
+
{
|
|
43
|
+
"waitForThenClick": "#privacy__modal__close"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"else": [
|
|
47
|
+
{
|
|
48
|
+
"waitForThenClick": "#footer_tc_privacy #privacy__links__center"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"waitForThenClick": "#privacy_options #options_tc_privacy_button"
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"test": [
|
|
57
|
+
{
|
|
58
|
+
"cookieContains": "UBI_PRIVACY_POLICY_VIEWED=true"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"cookieContains": "UBI_PRIVACY_ADS_OPTOUT=true"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
@@ -1,32 +1,50 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wbd-legal-terms",
|
|
3
3
|
"vendorUrl": "https://www.wbd.com/",
|
|
4
|
-
"comment": "Terms-and-cookies notice with only an Agree button.
|
|
4
|
+
"comment": "Terms-and-cookies notice with only an Agree button. The <dialog> variant is modal, so hiding it with CSS leaves the page inert; close it without submitting the form instead. The MUI modal variant cannot be dismissed, so it is hidden.",
|
|
5
5
|
"cosmetic": true,
|
|
6
6
|
"minimumRuleStepVersion": 2,
|
|
7
7
|
"detectCmp": [
|
|
8
8
|
{
|
|
9
|
-
"exists": "dialog#ltp-dialog"
|
|
9
|
+
"exists": "dialog#ltp-dialog, [id=\"id/ltp\"]"
|
|
10
10
|
}
|
|
11
11
|
],
|
|
12
12
|
"detectPopup": [
|
|
13
13
|
{
|
|
14
|
-
"visible": "dialog#ltp-dialog[open]"
|
|
14
|
+
"visible": "dialog#ltp-dialog[open], [id=\"id/ltp/banner\"]",
|
|
15
|
+
"check": "any"
|
|
15
16
|
}
|
|
16
17
|
],
|
|
17
18
|
"optIn": [
|
|
18
19
|
{
|
|
19
|
-
"waitForThenClick": "#ltp-submit-btn"
|
|
20
|
+
"waitForThenClick": "#ltp-submit-btn, [id=\"id/ltp/banner/button\"]"
|
|
20
21
|
}
|
|
21
22
|
],
|
|
22
23
|
"optOut": [
|
|
23
24
|
{
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
"if": {
|
|
26
|
+
"exists": "dialog#ltp-dialog"
|
|
27
|
+
},
|
|
28
|
+
"then": [
|
|
29
|
+
{
|
|
30
|
+
"eval": "EVAL_WBD_LTP_CLOSE"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"removeClass": "is-NoScroll",
|
|
34
|
+
"selector": "body",
|
|
35
|
+
"optional": true
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"else": [
|
|
39
|
+
{
|
|
40
|
+
"hide": "[id=\"id/ltp\"]"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"addStyle": "overflow: auto !important",
|
|
44
|
+
"selector": "body",
|
|
45
|
+
"optional": true
|
|
46
|
+
}
|
|
47
|
+
]
|
|
30
48
|
}
|
|
31
49
|
]
|
|
32
50
|
}
|