@duckduckgo/autoconsent 16.53.0 → 16.55.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 +60 -0
- package/data/coverage.json +3302 -2383
- package/dist/addon-firefox/compact-rules.json +1 -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/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/admetricspro.json +53 -0
- package/rules/autoconsent/bigid.json +29 -13
- package/rules/autoconsent/bnes-cc.json +27 -0
- package/rules/autoconsent/c-banner-allow-cookies.json +17 -0
- package/rules/autoconsent/costco-travel.json +44 -0
- package/rules/autoconsent/eastlink.json +66 -0
- package/rules/autoconsent/eset.json +57 -0
- package/rules/autoconsent/figma.json +37 -0
- package/rules/autoconsent/gla.ac.uk.json +45 -0
- package/rules/autoconsent/klaxit-cookie-consent.json +9 -0
- package/rules/autoconsent/kwik-fit.json +16 -0
- package/rules/autoconsent/malaysiaairlines.com.json +42 -0
- package/rules/autoconsent/meridiancu.json +15 -0
- package/rules/autoconsent/nestpensions.json +14 -0
- package/rules/autoconsent/nhs-jobs.json +11 -0
- package/rules/autoconsent/occ-gdpr.json +17 -0
- package/rules/autoconsent/piwik-pro.json +83 -0
- package/rules/autoconsent/pornhub.json +1 -1
- package/rules/autoconsent/savills.json +44 -0
- package/rules/autoconsent/scottish-government-design-system.json +14 -0
- package/rules/autoconsent/smallpdf.json +44 -0
- package/rules/autoconsent/somerset-council.json +16 -0
- package/rules/autoconsent/stepstone-ccm.json +19 -0
- package/rules/autoconsent/teacherspensions.co.uk.json +46 -0
- package/rules/autoconsent/thenude.json +108 -0
- package/rules/autoconsent/tna-cookie-banner.json +43 -0
- package/rules/autoconsent/toyota.json +14 -0
- package/rules/autoconsent/tti-cookie-popup.json +72 -0
- package/rules/autoconsent/u-cookie-consent.json +9 -0
- package/rules/autoconsent/what3words.json +53 -0
- package/rules/autoconsent/whitepages-gpc-banner.json +14 -0
- package/rules/autoconsent/wp-cookie-notice.json +1 -1
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/admetricspro.spec.ts +21 -0
- package/tests/bigid.spec.ts +6 -0
- package/tests/bnes-cc.spec.ts +3 -0
- package/tests/c-banner-allow-cookies.spec.ts +3 -0
- package/tests/costco-travel.spec.ts +5 -0
- package/tests/eastlink.spec.ts +3 -0
- package/tests/eset.spec.ts +9 -0
- package/tests/figma.spec.ts +5 -0
- package/tests/gla.ac.uk.spec.ts +6 -0
- package/tests/klaxit-cookie-consent.spec.ts +7 -0
- package/tests/kwik-fit.spec.ts +3 -0
- package/tests/malaysiaairlines.com.spec.ts +3 -0
- package/tests/meridiancu.spec.ts +3 -0
- package/tests/nestpensions.spec.ts +3 -0
- package/tests/nhs-jobs.spec.ts +5 -0
- package/tests/occ-gdpr.spec.ts +3 -0
- package/tests/piwik-pro.spec.ts +10 -0
- package/tests/pornhub.spec.ts +1 -1
- package/tests/savills.spec.ts +3 -0
- package/tests/scottish-government-design-system.spec.ts +8 -0
- package/tests/smallpdf.spec.ts +5 -0
- package/tests/somerset-council.spec.ts +8 -0
- package/tests/stepstone-ccm.spec.ts +8 -0
- package/tests/teacherspensions.co.uk.spec.ts +3 -0
- package/tests/thenude.spec.ts +3 -0
- package/tests/tna-cookie-banner.spec.ts +8 -0
- package/tests/tti-cookie-popup.spec.ts +8 -0
- package/tests/u-cookie-consent.spec.ts +9 -0
- package/tests/what3words.spec.ts +3 -0
- package/tests/whitepages-gpc-banner.spec.ts +4 -0
- package/tests/wp-cookie-notice.spec.ts +4 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
// US state privacy law flavor with consent toggles
|
|
4
|
+
generateCMPTests('admetricspro', ['https://biblehub.com/', 'https://tangorin.com/'], {
|
|
5
|
+
onlyRegions: ['US'],
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
// TCF flavor with a second "Reject All and Exit" layer
|
|
9
|
+
generateCMPTests(
|
|
10
|
+
'admetricspro',
|
|
11
|
+
[
|
|
12
|
+
'https://tangorin.com/',
|
|
13
|
+
'https://www.allfreecrochet.com/',
|
|
14
|
+
'https://www.behindthename.com/',
|
|
15
|
+
'https://www.helpteaching.com/',
|
|
16
|
+
'https://www.math-aids.com/',
|
|
17
|
+
],
|
|
18
|
+
{
|
|
19
|
+
onlyRegions: ['GB', 'DE'],
|
|
20
|
+
},
|
|
21
|
+
);
|
package/tests/bigid.spec.ts
CHANGED
|
@@ -6,3 +6,9 @@ generateCMPTests('bigid', [
|
|
|
6
6
|
'https://www.zs.com/',
|
|
7
7
|
'https://www.dexus.com/', // no reject button on the first layer
|
|
8
8
|
]);
|
|
9
|
+
|
|
10
|
+
// notice-only layout with just "Accept all" and a close icon; the site is only reachable from the US
|
|
11
|
+
generateCMPTests('bigid', ['https://www.meijer.com/'], {
|
|
12
|
+
onlyRegions: ['US'],
|
|
13
|
+
testSelfTest: false,
|
|
14
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('piwik-pro', [
|
|
4
|
+
'https://www.shawbrook.co.uk/',
|
|
5
|
+
'https://www.hella.com/',
|
|
6
|
+
'https://www.angelinipharma.com/',
|
|
7
|
+
'https://www.laurabiagiottiparfums.com/',
|
|
8
|
+
'https://www.volvofinans.se/',
|
|
9
|
+
'https://www.rivageinvestment.com/',
|
|
10
|
+
]);
|
package/tests/pornhub.spec.ts
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('scottish-government-design-system', [
|
|
4
|
+
'https://www.mygov.scot/',
|
|
5
|
+
'https://www.gov.scot/',
|
|
6
|
+
'https://www.socialsecurity.gov.scot/',
|
|
7
|
+
'https://www.landlordregistrationscotland.gov.uk/',
|
|
8
|
+
]);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('tna-cookie-banner', [
|
|
4
|
+
'https://www.nationalarchives.gov.uk/',
|
|
5
|
+
'https://caselaw.nationalarchives.gov.uk/',
|
|
6
|
+
'https://blog.nationalarchives.gov.uk/',
|
|
7
|
+
'https://design-system.nationalarchives.gov.uk/',
|
|
8
|
+
]);
|
|
@@ -3,7 +3,10 @@ import generateCMPTests from '../playwright/runner';
|
|
|
3
3
|
generateCMPTests(
|
|
4
4
|
'WP Cookie Notice for GDPR',
|
|
5
5
|
[
|
|
6
|
-
'https://
|
|
6
|
+
'https://zoner-inshop.cz/',
|
|
7
|
+
'https://fairplayforwomen.com/',
|
|
8
|
+
'https://icelandaurora.com/',
|
|
9
|
+
'https://meyer-koering.de/',
|
|
7
10
|
// 'https://nysba.org/', // cloudflare botwall
|
|
8
11
|
// 'https://www.independentsentinel.com/', // appears only on user iteraction
|
|
9
12
|
],
|