@duckduckgo/autoconsent 12.6.0 → 12.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 +19 -0
- package/dist/addon-firefox/background.bundle.js +0 -1
- package/dist/addon-firefox/content.bundle.js +7 -5
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/rules.json +76 -174
- package/dist/addon-mv3/background.bundle.js +0 -1
- package/dist/addon-mv3/content.bundle.js +7 -5
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/rules.json +76 -174
- package/dist/autoconsent.cjs.js +5 -3
- package/dist/autoconsent.esm.js +5 -3
- package/dist/autoconsent.extra.cjs.js +7 -5
- package/dist/autoconsent.extra.esm.js +7 -5
- package/dist/autoconsent.playwright.js +83 -179
- package/lib/cmps/sourcepoint-frame.ts +11 -3
- package/lib/eval-snippets.ts +0 -1
- package/lib/filterlist-engine.ts +2 -2
- package/package.json +1 -1
- package/rules/autoconsent/aa.json +0 -6
- package/rules/autoconsent/affinity-serif-com.json +3 -17
- package/rules/autoconsent/consent-manager.json +36 -0
- package/rules/autoconsent/dpgmedia-nl.json +6 -6
- package/rules/autoconsent/ef-ccpa.json +29 -0
- package/rules/filterlist.txt +79 -418
- package/rules/rules.json +76 -174
- package/tests/aa.spec.ts +3 -1
- package/tests/admiral.spec.ts +1 -9
- package/tests/adroll.spec.ts +0 -2
- package/tests/aquasana-com.spec.ts +1 -5
- package/tests/consent-manager.spec.ts +3 -0
- package/tests/ef-ccpa.spec.ts +3 -0
- package/rules/autoconsent/192.json +0 -15
- package/rules/autoconsent/1password-com.json +0 -9
- package/rules/autoconsent/agolde-com.json +0 -9
- package/rules/autoconsent/almacmp.json +0 -13
- package/rules/autoconsent/altium-com.json +0 -9
- package/tests/192.spec.ts +0 -5
- package/tests/1password-com.spec.ts +0 -3
- package/tests/agolde-com.spec.ts +0 -3
- package/tests/almacmp.spec.ts +0 -3
- package/tests/altium-com.spec.ts +0 -3
package/package.json
CHANGED
|
@@ -2,26 +2,12 @@
|
|
|
2
2
|
"name": "affinity.serif.com",
|
|
3
3
|
"detectCmp": [
|
|
4
4
|
{
|
|
5
|
-
"exists": ".c-cookie-
|
|
5
|
+
"exists": ".c-cookie-notice button[data-qa='allow-all-cookies']"
|
|
6
6
|
}
|
|
7
7
|
],
|
|
8
|
-
"detectPopup": [{ "visible": ".c-cookie-
|
|
8
|
+
"detectPopup": [{ "visible": ".c-cookie-notice" }],
|
|
9
9
|
"optIn": [{ "click": "button[data-qa=\"allow-all-cookies\"]" }],
|
|
10
|
-
"optOut": [
|
|
11
|
-
{
|
|
12
|
-
"click": "button[data-qa=\"manage-cookies\"]"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
"waitFor": ".c-cookie-banner ~ [role=\"dialog\"]"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"waitForThenClick": ".c-cookie-banner ~ [role=\"dialog\"] input[type=\"checkbox\"][value=\"true\"]",
|
|
19
|
-
"all": true
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"click": ".c-cookie-banner ~ [role=\"dialog\"] .c-modal__action button"
|
|
23
|
-
}
|
|
24
|
-
],
|
|
10
|
+
"optOut": [{ "click": "button[data-qa=\"reject-non-essentials\"]" }],
|
|
25
11
|
"test": [
|
|
26
12
|
{
|
|
27
13
|
"wait": 500
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "consent-manager",
|
|
3
|
+
"cosmetic": false,
|
|
4
|
+
"runContext": {
|
|
5
|
+
"main": true,
|
|
6
|
+
"frame": false,
|
|
7
|
+
"urlPattern": "^https://ouraring\\.com"
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": [],
|
|
10
|
+
"detectCmp": [
|
|
11
|
+
{
|
|
12
|
+
"exists": "[data-cy=\"consent-manager-banner\"]"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [
|
|
16
|
+
{
|
|
17
|
+
"visible": "[data-cy=\"consent-manager-banner\"]"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optIn": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "[data-cy=\"manage_cookies\"]"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "[data-cy=\"consent-manager-preferences-allow-all\"]"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"optOut": [
|
|
29
|
+
{
|
|
30
|
+
"waitForThenClick": "[data-cy=\"manage_cookies\"]"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"waitForThenClick": "[data-cy=\"consent-manager-preferences-deny-all\"]"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dpgmedia-nl",
|
|
3
|
-
"prehideSelectors": ["#pg-shadow-
|
|
3
|
+
"prehideSelectors": ["#pg-root-shadow-host"],
|
|
4
4
|
"detectCmp": [
|
|
5
5
|
{
|
|
6
|
-
"exists": "#pg-shadow-
|
|
6
|
+
"exists": "#pg-root-shadow-host"
|
|
7
7
|
}
|
|
8
8
|
],
|
|
9
9
|
"detectPopup": [
|
|
10
10
|
{
|
|
11
|
-
"visible": ["#pg-shadow-
|
|
11
|
+
"visible": ["#pg-root-shadow-host", "#pg-modal"]
|
|
12
12
|
}
|
|
13
13
|
],
|
|
14
14
|
"optIn": [
|
|
15
15
|
{
|
|
16
|
-
"waitForThenClick": ["#pg-shadow-
|
|
16
|
+
"waitForThenClick": ["#pg-root-shadow-host", "#pg-accept-btn"]
|
|
17
17
|
}
|
|
18
18
|
],
|
|
19
19
|
"optOut": [
|
|
20
20
|
{
|
|
21
|
-
"waitForThenClick": ["#pg-shadow-
|
|
21
|
+
"waitForThenClick": ["#pg-root-shadow-host", "#pg-configure-btn"]
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
|
-
"waitForThenClick": ["#pg-shadow-
|
|
24
|
+
"waitForThenClick": ["#pg-root-shadow-host", "#pg-reject-btn"]
|
|
25
25
|
}
|
|
26
26
|
]
|
|
27
27
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ef-ccpa",
|
|
3
|
+
"vendorUrl": "https://eforms.com/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https://(www\\.)?eforms\\.com"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#ef-ccpa"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#ef-ccpa"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "#ef-ccpa"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#ef-button-ccpa-agree"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": "#ef-button-ccpa-decline"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|