@duckduckgo/autoconsent 16.3.0 → 16.5.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 +33 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/devtools/panel.html +5 -0
- package/dist/addon-firefox/devtools/panel.ts +18 -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/devtools/panel.html +5 -0
- package/dist/addon-mv3/devtools/panel.js +12 -0
- package/dist/addon-mv3/devtools/panel.ts +18 -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 +1 -1
- package/rules/autoconsent/ketch.json +58 -19
- package/rules/autoconsent/msn.json +18 -0
- package/rules/autoconsent/pikpak.json +48 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/ketch.spec.ts +33 -19
- package/tests/msn.spec.ts +5 -0
- package/tests/pikpak.spec.ts +12 -0
package/tests/ketch.spec.ts
CHANGED
|
@@ -1,21 +1,35 @@
|
|
|
1
1
|
import generateCMPTests from '../playwright/runner';
|
|
2
2
|
|
|
3
|
-
generateCMPTests(
|
|
4
|
-
'
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
3
|
+
generateCMPTests(
|
|
4
|
+
'ketch',
|
|
5
|
+
[
|
|
6
|
+
'https://www.rover.com/nl/',
|
|
7
|
+
'https://purple.com/',
|
|
8
|
+
'https://www.ncsasports.org/',
|
|
9
|
+
'https://www.pret.co.uk/en-GB',
|
|
10
|
+
'https://www.greatpetcare.com/',
|
|
11
|
+
'https://www.smartsheet.com/',
|
|
12
|
+
'https://www.ketch.com/',
|
|
13
|
+
'https://www.forbes.com/',
|
|
14
|
+
'https://yumearth.com/products/variety-pack-30ct',
|
|
15
|
+
// Disclosure-only banner variant (US/CCPA): the standard banner ships with
|
|
16
|
+
// a single acknowledge button (e.g. "I understand"/"Learn more") and no
|
|
17
|
+
// reject option — consent is decided by Ketch's jurisdiction defaults.
|
|
18
|
+
'https://shift.com/state-of-browsing/',
|
|
19
|
+
'https://www.altec.com/',
|
|
20
|
+
'https://www.akro-mils.com/',
|
|
21
|
+
'https://www.ascensus.com/',
|
|
22
|
+
// Banner with "Manage Cookie Settings" + "Accept All Cookies" only (no
|
|
23
|
+
// direct reject); preferences modal has per-purpose toggles and a
|
|
24
|
+
// "Save Settings" button but no "Reject All".
|
|
25
|
+
'https://my.equifax.ca/login',
|
|
26
|
+
// 3-button banner where the direct reject (aria-label="Reject
|
|
27
|
+
// Optional Cookies") is #ketch-banner-button-secondary while
|
|
28
|
+
// #ketch-banner-button-tertiary is "Cookie Settings" — verifies we
|
|
29
|
+
// prefer the aria-label-based direct reject over id-position guesses.
|
|
30
|
+
'https://www.pbs.org/newshour/economy/tomatoes-become-latest-symbol-of-americas-affordability-squeeze',
|
|
31
|
+
],
|
|
32
|
+
{
|
|
33
|
+
onlyRegions: ['US', 'DE'],
|
|
34
|
+
},
|
|
35
|
+
);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('pikpak', [
|
|
4
|
+
'https://mypikpak.com/',
|
|
5
|
+
'https://mypikpak.com/en-US',
|
|
6
|
+
'https://mypikpak.net/',
|
|
7
|
+
'https://filepax.com/',
|
|
8
|
+
'https://filepax.net/',
|
|
9
|
+
'https://pikpakse.com/',
|
|
10
|
+
'https://pikpax.net/',
|
|
11
|
+
'https://pickpackapp.com/',
|
|
12
|
+
]);
|