@duckduckgo/autoconsent 6.6.1 → 6.7.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 +15 -0
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +99 -0
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +99 -0
- package/dist/autoconsent.playwright.js +1 -1
- package/package.json +1 -1
- package/rules/autoconsent/ciaopeople-it.json +24 -0
- package/rules/autoconsent/csu-landtag-de.json +27 -0
- package/rules/autoconsent/roofingmegastore-co-uk.json +20 -0
- package/rules/rules.json +99 -0
- package/tests/ciaopeople-it.spec.ts +8 -0
- package/tests/csu-landtag-de.spec.ts +5 -0
- package/tests/roofingmegastore-co-uk.spec.ts +5 -0
package/package.json
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ciaopeople.it",
|
|
3
|
+
"prehideSelectors": ["#cp-gdpr-choices"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{ "exists": "#cp-gdpr-choices" }
|
|
6
|
+
],
|
|
7
|
+
"detectPopup": [
|
|
8
|
+
{ "visible": "#cp-gdpr-choices" }
|
|
9
|
+
],
|
|
10
|
+
"optIn": [
|
|
11
|
+
{ "waitForThenClick": ".gdpr-btm__right > button:nth-child(2)" }
|
|
12
|
+
],
|
|
13
|
+
"optOut": [
|
|
14
|
+
{ "waitForThenClick": ".gdpr-top-content > button" },
|
|
15
|
+
{ "waitFor": ".gdpr-top-back" },
|
|
16
|
+
{ "waitForThenClick": ".gdpr-btm__right > button:nth-child(1)" }
|
|
17
|
+
],
|
|
18
|
+
"test": [
|
|
19
|
+
{
|
|
20
|
+
"visible": "#cp-gdpr-choices",
|
|
21
|
+
"check": "none"
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "csu-landtag-de",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https://(www|)?\\.csu-landtag\\.de"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#cookie-disclaimer"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "#cookie-disclaimer"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#cookie-disclaimer"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"click": "#cookieall"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"click": "#cookiesel"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "roofingmegastore.co.uk",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https://(www\\.)?roofingmegastore\\.co\\.uk"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#m-cookienotice"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{ "exists": "#m-cookienotice" }
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{ "visible": "#m-cookienotice" }
|
|
12
|
+
],
|
|
13
|
+
"optIn": [
|
|
14
|
+
{ "click": "#accept-cookies" }
|
|
15
|
+
],
|
|
16
|
+
"optOut": [
|
|
17
|
+
{ "click": "#manage-cookies" },
|
|
18
|
+
{ "waitForThenClick": "#accept-selected" }
|
|
19
|
+
]
|
|
20
|
+
}
|
package/rules/rules.json
CHANGED
|
@@ -883,6 +883,44 @@
|
|
|
883
883
|
}
|
|
884
884
|
]
|
|
885
885
|
},
|
|
886
|
+
{
|
|
887
|
+
"name": "ciaopeople.it",
|
|
888
|
+
"prehideSelectors": [
|
|
889
|
+
"#cp-gdpr-choices"
|
|
890
|
+
],
|
|
891
|
+
"detectCmp": [
|
|
892
|
+
{
|
|
893
|
+
"exists": "#cp-gdpr-choices"
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
"detectPopup": [
|
|
897
|
+
{
|
|
898
|
+
"visible": "#cp-gdpr-choices"
|
|
899
|
+
}
|
|
900
|
+
],
|
|
901
|
+
"optIn": [
|
|
902
|
+
{
|
|
903
|
+
"waitForThenClick": ".gdpr-btm__right > button:nth-child(2)"
|
|
904
|
+
}
|
|
905
|
+
],
|
|
906
|
+
"optOut": [
|
|
907
|
+
{
|
|
908
|
+
"waitForThenClick": ".gdpr-top-content > button"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"waitFor": ".gdpr-top-back"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"waitForThenClick": ".gdpr-btm__right > button:nth-child(1)"
|
|
915
|
+
}
|
|
916
|
+
],
|
|
917
|
+
"test": [
|
|
918
|
+
{
|
|
919
|
+
"visible": "#cp-gdpr-choices",
|
|
920
|
+
"check": "none"
|
|
921
|
+
}
|
|
922
|
+
]
|
|
923
|
+
},
|
|
886
924
|
{
|
|
887
925
|
"vendorUrl": "https://www.civicuk.com/cookie-control/",
|
|
888
926
|
"name": "civic-cookie-control",
|
|
@@ -1661,6 +1699,35 @@
|
|
|
1661
1699
|
}
|
|
1662
1700
|
]
|
|
1663
1701
|
},
|
|
1702
|
+
{
|
|
1703
|
+
"name": "csu-landtag-de",
|
|
1704
|
+
"runContext": {
|
|
1705
|
+
"urlPattern": "^https://(www|)?\\.csu-landtag\\.de"
|
|
1706
|
+
},
|
|
1707
|
+
"prehideSelectors": [
|
|
1708
|
+
"#cookie-disclaimer"
|
|
1709
|
+
],
|
|
1710
|
+
"detectCmp": [
|
|
1711
|
+
{
|
|
1712
|
+
"exists": "#cookie-disclaimer"
|
|
1713
|
+
}
|
|
1714
|
+
],
|
|
1715
|
+
"detectPopup": [
|
|
1716
|
+
{
|
|
1717
|
+
"visible": "#cookie-disclaimer"
|
|
1718
|
+
}
|
|
1719
|
+
],
|
|
1720
|
+
"optIn": [
|
|
1721
|
+
{
|
|
1722
|
+
"click": "#cookieall"
|
|
1723
|
+
}
|
|
1724
|
+
],
|
|
1725
|
+
"optOut": [
|
|
1726
|
+
{
|
|
1727
|
+
"click": "#cookiesel"
|
|
1728
|
+
}
|
|
1729
|
+
]
|
|
1730
|
+
},
|
|
1664
1731
|
{
|
|
1665
1732
|
"name": "dailymotion-us",
|
|
1666
1733
|
"cosmetic": true,
|
|
@@ -3914,6 +3981,38 @@
|
|
|
3914
3981
|
}
|
|
3915
3982
|
]
|
|
3916
3983
|
},
|
|
3984
|
+
{
|
|
3985
|
+
"name": "roofingmegastore.co.uk",
|
|
3986
|
+
"runContext": {
|
|
3987
|
+
"urlPattern": "^https://(www\\.)?roofingmegastore\\.co\\.uk"
|
|
3988
|
+
},
|
|
3989
|
+
"prehideSelectors": [
|
|
3990
|
+
"#m-cookienotice"
|
|
3991
|
+
],
|
|
3992
|
+
"detectCmp": [
|
|
3993
|
+
{
|
|
3994
|
+
"exists": "#m-cookienotice"
|
|
3995
|
+
}
|
|
3996
|
+
],
|
|
3997
|
+
"detectPopup": [
|
|
3998
|
+
{
|
|
3999
|
+
"visible": "#m-cookienotice"
|
|
4000
|
+
}
|
|
4001
|
+
],
|
|
4002
|
+
"optIn": [
|
|
4003
|
+
{
|
|
4004
|
+
"click": "#accept-cookies"
|
|
4005
|
+
}
|
|
4006
|
+
],
|
|
4007
|
+
"optOut": [
|
|
4008
|
+
{
|
|
4009
|
+
"click": "#manage-cookies"
|
|
4010
|
+
},
|
|
4011
|
+
{
|
|
4012
|
+
"waitForThenClick": "#accept-selected"
|
|
4013
|
+
}
|
|
4014
|
+
]
|
|
4015
|
+
},
|
|
3917
4016
|
{
|
|
3918
4017
|
"name": "samsung.com",
|
|
3919
4018
|
"runContext": {
|