@duckduckgo/autoconsent 14.94.0 → 14.95.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/data/coverage.json +1424 -1485
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/manifest.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/rules.json +1 -1
- package/package.json +1 -1
- package/rules/autoconsent/aws-amazon.json +23 -13
- package/rules/autoconsent/didomi.json +1 -1
- package/rules/autoconsent/yachtclubgames.json +35 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/didomi.spec.ts +1 -2
- package/tests/yachtclubgames.spec.ts +9 -0
package/package.json
CHANGED
|
@@ -3,21 +3,31 @@
|
|
|
3
3
|
"prehideSelectors": ["#awsccc-cb-content", "#awsccc-cs-container", "#awsccc-cs-modalOverlay", "#awsccc-cs-container-inner"],
|
|
4
4
|
"detectCmp": [{ "exists": "#awsccc-cb-content" }],
|
|
5
5
|
"detectPopup": [{ "visible": "#awsccc-cb-content" }],
|
|
6
|
-
"optIn": [{ "click": "button[data-id=awsccc-cb-btn-accept" }],
|
|
6
|
+
"optIn": [{ "click": "button[data-id=awsccc-cb-btn-accept]" }],
|
|
7
7
|
"optOut": [
|
|
8
8
|
{
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
9
|
+
"if": { "exists": "button[data-id=awsccc-cb-btn-decline]" },
|
|
10
|
+
"then": [
|
|
11
|
+
{
|
|
12
|
+
"click": "button[data-id=awsccc-cb-btn-decline]"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"else": [
|
|
16
|
+
{
|
|
17
|
+
"click": "button[data-id=awsccc-cb-btn-customize]"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"waitFor": "input[aria-checked]"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"click": "input[aria-checked=true]",
|
|
24
|
+
"all": true,
|
|
25
|
+
"optional": true
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"click": "button[data-id=awsccc-cs-btn-save]"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
21
31
|
}
|
|
22
32
|
]
|
|
23
33
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"detectCmp": [{ "exists": "#didomi-host" }],
|
|
7
7
|
"detectPopup": [
|
|
8
8
|
{
|
|
9
|
-
"visible": "#didomi-popup, #didomi-notice, .didomi-popup-notice, .didomi-notice-banner, #didomi-host:not(:empty)",
|
|
9
|
+
"visible": "#didomi-popup, #didomi-notice, .didomi-popup-notice, .didomi-notice-banner, #didomi-host:not([aria-hidden=\"true\"]):not(:empty)",
|
|
10
10
|
"check": "any"
|
|
11
11
|
}
|
|
12
12
|
],
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "yachtclubgames.com",
|
|
3
|
+
"vendorUrl": "https://www.yachtclubgames.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?yachtclubgames\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["div.cookie.flex.flex-wrap"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "div.cookie.flex.flex-wrap"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "div.cookie.flex.flex-wrap"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "xpath///div[contains(@class,'cookie')]//button[normalize-space()='Accept']"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "xpath///div[contains(@class,'cookie')]//button[normalize-space()='Deny']"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"waitForVisible": "div.cookie.flex.flex-wrap",
|
|
31
|
+
"timeout": 1000,
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|