@duckduckgo/autoconsent 18.0.0 → 18.1.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/.github/workflows/ddg-release.yml +6 -3
- package/CHANGELOG.md +23 -0
- package/dist/addon-firefox/background.bundle.js +2 -1
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +6 -8
- 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/background.bundle.js +2 -1
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +6 -8
- 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.cjs.js +6 -8
- package/dist/autoconsent.esm.js +6 -8
- package/dist/autoconsent.playwright.js +6 -8
- package/dist/autoconsent.standalone.js +7 -9
- package/dist/types/cmps/tiktok.d.ts +0 -2
- package/dist/types/eval-snippets.d.ts +1 -0
- package/lib/cmps/evidon.ts +5 -4
- package/lib/cmps/tiktok.ts +0 -5
- package/lib/eval-snippets.ts +1 -0
- package/package.json +1 -1
- package/rules/autoconsent/hmgroup-turbocookie.json +18 -0
- package/rules/autoconsent/hmrc-tracking-consent.json +40 -0
- package/rules/autoconsent/meta-cookie-dialog-v2.json +40 -0
- package/rules/autoconsent/reverb-gdpr-nag.json +18 -0
- package/rules/autoconsent/reverb.json +24 -0
- package/rules/autoconsent/zoho.json +23 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/evidon.spec.ts +2 -1
- package/tests/hmgroup-turbocookie.spec.ts +7 -0
- package/tests/hmrc-tracking-consent.spec.ts +7 -0
- package/tests/meta-cookie-dialog-v2.spec.ts +10 -0
- package/tests/reverb.spec.ts +7 -0
- package/tests/tiktok.spec.ts +2 -2
- package/tests/zoho.spec.ts +5 -0
- package/rules/generated/auto_GB_capcut.com_0.json +0 -28
- package/tests/generated/auto_GB_capcut.com_0.spec.ts +0 -2
package/tests/evidon.spec.ts
CHANGED
|
@@ -4,7 +4,8 @@ generateCMPTests(
|
|
|
4
4
|
'Evidon',
|
|
5
5
|
[
|
|
6
6
|
'https://www.crunchyroll.com/',
|
|
7
|
-
'https://www.
|
|
7
|
+
'https://www.computershare.com/',
|
|
8
|
+
'https://www.motorola.com/', // barrier layout in the EU and UK
|
|
8
9
|
],
|
|
9
10
|
{
|
|
10
11
|
testOptIn: false,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('hmrc-tracking-consent', [
|
|
4
|
+
'https://www.tax.service.gov.uk/guidance/apply-to-pay-ni-contributions-abroad/start/about-this-form',
|
|
5
|
+
'https://www.tax.service.gov.uk/estimate-paye-take-home-pay/your-pay',
|
|
6
|
+
'https://www.tax.service.gov.uk/ask-hmrc/chat/self-assessment',
|
|
7
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('meta-cookie-dialog-v2', ['https://www.meta.com/'], {
|
|
4
|
+
skipRegions: ['US'],
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
generateCMPTests('meta-cookie-dialog-v2', ['https://www.meta.com/'], {
|
|
8
|
+
mobile: true,
|
|
9
|
+
skipRegions: ['US'],
|
|
10
|
+
});
|
package/tests/tiktok.spec.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import generateCMPTests from '../playwright/runner';
|
|
2
2
|
|
|
3
|
-
generateCMPTests('tiktok.com', ['https://tiktok.com/'], {
|
|
3
|
+
generateCMPTests('tiktok.com', ['https://tiktok.com/', 'https://www.capcut.com/'], {
|
|
4
4
|
skipRegions: ['US'],
|
|
5
5
|
});
|
|
6
6
|
|
|
7
|
-
generateCMPTests('tiktok.com', ['https://tiktok.com/'], {
|
|
7
|
+
generateCMPTests('tiktok.com', ['https://tiktok.com/', 'https://www.capcut.com/'], {
|
|
8
8
|
skipRegions: ['US'],
|
|
9
9
|
mobile: true,
|
|
10
10
|
});
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_GB_capcut.com_0",
|
|
3
|
-
"vendorUrl": "https://www.capcut.com/",
|
|
4
|
-
"cosmetic": false,
|
|
5
|
-
"runContext": {
|
|
6
|
-
"main": true,
|
|
7
|
-
"frame": false,
|
|
8
|
-
"urlPattern": "^https?://(www\\.)?capcut\\.com/"
|
|
9
|
-
},
|
|
10
|
-
"prehideSelectors": [],
|
|
11
|
-
"detectCmp": [
|
|
12
|
-
{
|
|
13
|
-
"exists": "body:not([id]) > div#root > div:nth-child(3):not([id]) > div:nth-child(3):not([id]) > button:nth-child(1):not([id])"
|
|
14
|
-
}
|
|
15
|
-
],
|
|
16
|
-
"detectPopup": [
|
|
17
|
-
{
|
|
18
|
-
"visible": "body:not([id]) > div#root > div:nth-child(3):not([id]) > div:nth-child(3):not([id]) > button:nth-child(1):not([id])"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"optIn": [],
|
|
22
|
-
"optOut": [
|
|
23
|
-
{
|
|
24
|
-
"waitForThenClick": "body:not([id]) > div#root > div:nth-child(3):not([id]) > div:nth-child(3):not([id]) > button:nth-child(1):not([id])",
|
|
25
|
-
"comment": "Decline all"
|
|
26
|
-
}
|
|
27
|
-
]
|
|
28
|
-
}
|