@duckduckgo/autoconsent 3.0.4 → 4.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/.eslintrc +21 -0
- package/.github/ISSUE_TEMPLATE/broken-site-issue.md +29 -0
- package/.github/dependabot.yml +6 -0
- package/.github/workflows/checks.yml +19 -0
- package/.prettierrc +4 -0
- package/CHANGELOG.md +65 -0
- package/Jenkinsfile +4 -4
- package/api.md +10 -1
- package/dist/addon-firefox/background.bundle.js +312 -1
- package/dist/addon-firefox/content.bundle.js +1912 -1
- package/dist/addon-firefox/manifest.json +2 -2
- package/dist/addon-firefox/rules.json +183 -42
- package/dist/addon-mv3/background.bundle.js +312 -1
- package/dist/addon-mv3/content.bundle.js +1912 -1
- package/dist/addon-mv3/devtools/background.html +10 -0
- package/dist/addon-mv3/devtools/bulma.min.css +1 -0
- package/dist/addon-mv3/devtools/loader.js +2 -0
- package/dist/addon-mv3/devtools/panel.html +88 -0
- package/dist/addon-mv3/devtools/panel.js +148 -0
- package/dist/addon-mv3/devtools/panel.ts +145 -0
- package/dist/addon-mv3/manifest.json +5 -3
- package/dist/addon-mv3/popup.bundle.js +173 -1
- package/dist/addon-mv3/popup.html +14 -0
- package/dist/addon-mv3/rules.json +183 -42
- package/dist/autoconsent.cjs.js +1 -1
- package/dist/autoconsent.esm.js +1 -1
- package/dist/autoconsent.playwright.js +1 -1
- package/lib/cmps/airbnb.ts +4 -0
- package/lib/cmps/base.ts +8 -0
- package/lib/cmps/consentmanager.ts +4 -0
- package/lib/cmps/consentomatic.ts +1 -0
- package/lib/cmps/conversant.ts +4 -0
- package/lib/cmps/cookiebot.ts +4 -0
- package/lib/cmps/evidon.ts +4 -0
- package/lib/cmps/klaro.ts +4 -0
- package/lib/cmps/onetrust.ts +4 -0
- package/lib/cmps/sourcepoint-frame.ts +35 -7
- package/lib/cmps/tiktok.ts +4 -0
- package/lib/cmps/trustarc-frame.ts +4 -0
- package/lib/cmps/trustarc-top.ts +4 -0
- package/lib/cmps/uniconsent.ts +4 -0
- package/lib/consentomatic/index.ts +12 -12
- package/lib/consentomatic/tools.ts +13 -13
- package/lib/eval-handler.ts +2 -6
- package/lib/messages.ts +44 -13
- package/lib/random.ts +6 -0
- package/lib/rule-executors.ts +8 -3
- package/lib/rules.ts +2 -1
- package/lib/types.ts +27 -0
- package/lib/web.ts +127 -82
- package/package.json +11 -8
- package/playwright/runner.ts +1 -0
- package/rollup.config.js +18 -5
- package/rules/autoconsent/affinity-serif-com.json +1 -4
- package/rules/autoconsent/ausopen.json +2 -2
- package/rules/autoconsent/baden-wuerttemberg-de.json +1 -0
- package/rules/autoconsent/cc-banner.json +1 -0
- package/rules/autoconsent/complianz-notice.json +1 -0
- package/rules/autoconsent/cookie-notice.json +2 -1
- package/rules/autoconsent/cookiealert.json +48 -0
- package/rules/autoconsent/dsgvo.json +1 -0
- package/rules/autoconsent/eu-cookie-compliance.json +1 -1
- package/rules/autoconsent/eu-cookie-law.json +1 -0
- package/rules/autoconsent/ezoic.json +1 -0
- package/rules/autoconsent/generic-cosmetic.json +9 -0
- package/rules/autoconsent/indeed-com.json +9 -0
- package/rules/autoconsent/jquery-cookiebar.json +1 -0
- package/rules/autoconsent/marksandspencer.json +2 -2
- package/rules/autoconsent/notice-cookie.json +1 -0
- package/rules/autoconsent/osano.json +1 -0
- package/rules/autoconsent/pornhub.json +12 -0
- package/rules/autoconsent/uk-cookie-consent.json +1 -0
- package/rules/autoconsent/xnxx-com.json +9 -0
- package/rules/rules.json +183 -42
- package/tests/192.spec.ts +3 -3
- package/tests/adroll.spec.ts +7 -7
- package/tests/affinity-serif-com.spec.ts +1 -1
- package/tests/airbnb.spec.ts +3 -3
- package/tests/amazon.spec.ts +8 -8
- package/tests/arzt-auskunft.spec.ts +3 -3
- package/tests/ausopen.spec.ts +2 -2
- package/tests/aws.amazon.spec.ts +3 -3
- package/tests/axeptio.spec.ts +3 -3
- package/tests/baden-wuerttemberg.spec.ts +3 -3
- package/tests/borlabs.spec.ts +4 -4
- package/tests/bundesregierung.spec.ts +6 -6
- package/tests/ccbanner.spec.ts +4 -4
- package/tests/clickio.spec.ts +5 -5
- package/tests/complianz-banner.spec.ts +2 -2
- package/tests/complianz-categories.spec.ts +5 -5
- package/tests/complianz-notice.spec.ts +3 -3
- package/tests/complianz-optin.spec.ts +4 -4
- package/tests/consentmanager.spec.ts +8 -8
- package/tests/conversant.spec.ts +5 -5
- package/tests/cookie-notice.spec.ts +5 -3
- package/tests/cookiealert.spec.ts +9 -0
- package/tests/cookiebot.spec.ts +7 -11
- package/tests/cookieinformation.spec.ts +4 -5
- package/tests/cookielawinfo.spec.ts +3 -3
- package/tests/corona-in-zahlen.spec.ts +3 -3
- package/tests/dailymotion.spec.ts +5 -5
- package/tests/deepl.spec.ts +3 -3
- package/tests/didomi.spec.ts +8 -8
- package/tests/dmgmedia.spec.ts +7 -7
- package/tests/drupal.spec.ts +3 -3
- package/tests/dsgvo.spec.ts +4 -1
- package/tests/dunelm.spec.ts +3 -3
- package/tests/etsy.spec.ts +2 -2
- package/tests/eu-cookie-compliance-banner.spec.ts +2 -2
- package/tests/eu-cookie-law.spec.ts +2 -2
- package/tests/evidon.spec.ts +4 -6
- package/tests/ezoic.spec.ts +2 -3
- package/tests/facebook.spec.ts +5 -5
- package/tests/fundingchoices.spec.ts +5 -6
- package/tests/generic-cosmetic.spec.ts +11 -0
- package/tests/google.spec.ts +2 -2
- package/tests/gov-uk.spec.ts +4 -4
- package/tests/hl-co-uk.spec.ts +3 -3
- package/tests/hubspot.spec.ts +2 -2
- package/tests/indeed.spec.ts +7 -0
- package/tests/ionos.spec.ts +3 -3
- package/tests/iubenda.spec.ts +3 -3
- package/tests/johnlewis.spec.ts +3 -3
- package/tests/jquery-cookiebar.spec.ts +2 -2
- package/tests/klaro.spec.ts +5 -5
- package/tests/linkedin.spec.ts +2 -2
- package/tests/marksandspencer.spec.ts +2 -2
- package/tests/mediamarkt.spec.ts +3 -3
- package/tests/mediavine.spec.ts +3 -3
- package/tests/metoffice-gov-uk.spec.ts +3 -3
- package/tests/microsoft.spec.ts +4 -4
- package/tests/moneysavingexpert.spec.ts +3 -3
- package/tests/monzo-com.spec.ts +1 -1
- package/tests/moove.spec.ts +4 -10
- package/tests/national-lottery.spec.ts +3 -3
- package/tests/netflix.spec.ts +3 -3
- package/tests/nhs.spec.ts +3 -3
- package/tests/notice-cookie.spec.ts +2 -2
- package/tests/obi.spec.ts +3 -3
- package/tests/oil.spec.ts +6 -6
- package/tests/onetrust.spec.ts +24 -24
- package/tests/osano.spec.ts +1 -1
- package/tests/otto.spec.ts +3 -3
- package/tests/paypal.spec.ts +4 -4
- package/tests/pornhub.spec.ts +7 -0
- package/tests/primebox.spec.ts +2 -2
- package/tests/privacymanager.spec.ts +3 -3
- package/tests/pubtech.spec.ts +8 -9
- package/tests/quantcast.spec.ts +10 -10
- package/tests/reddit.spec.ts +3 -3
- package/tests/sibbo.spec.ts +9 -10
- package/tests/sirdata.spec.ts +2 -3
- package/tests/snigel.spec.ts +3 -3
- package/tests/sourcepoint.spec.ts +17 -17
- package/tests/springer.spec.ts +6 -6
- package/tests/steampowered.spec.ts +3 -3
- package/tests/tarteaucitron.spec.ts +4 -4
- package/tests/tealium.spec.ts +2 -2
- package/tests/termly.spec.ts +4 -4
- package/tests/testcmp.spec.ts +1 -1
- package/tests/thalia.spec.ts +3 -3
- package/tests/thefreedictionary.spec.ts +3 -3
- package/tests/tiktok.spec.ts +5 -5
- package/tests/trustarc.spec.ts +13 -15
- package/tests/twitter.spec.ts +7 -7
- package/tests/uk-cookie-consent.spec.ts +3 -3
- package/tests/uniconsent.spec.ts +4 -4
- package/tests/usercentrics-api.spec.ts +6 -5
- package/tests/usercentrics-button.spec.ts +2 -3
- package/tests/uswitch.spec.ts +3 -3
- package/tests/vodafone.spec.ts +3 -3
- package/tests/waitrose.spec.ts +3 -3
- package/tests/wetransfer.spec.ts +3 -3
- package/tests/wordpressgdpr.spec.ts +3 -3
- package/tests/wp-cookie-notice.spec.ts +3 -3
- package/tests/xing.spec.ts +4 -4
- package/tests/xnxx.spec.ts +8 -0
- package/tests/youtube-desktop.spec.ts +2 -4
- package/tests/youtube-mobile.spec.ts +3 -3
- package/tsconfig.json +2 -1
- package/.eslintrc.cjs +0 -14
- package/rules/autoconsent/motor-talk-de.json +0 -24
- package/tests/motor-talk.spec.ts +0 -7
package/tests/nhs.spec.ts
CHANGED
package/tests/obi.spec.ts
CHANGED
package/tests/oil.spec.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('com_oil', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
'https://www.farbtoner.com/',
|
|
5
|
+
'https://www.elektro4000.de/',
|
|
6
|
+
'http://edelholzverkauf.de/',
|
|
7
7
|
], {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
skipRegions: ['GB'],
|
|
9
|
+
testOptIn: false,
|
|
10
|
+
testSelfTest: false,
|
|
11
11
|
});
|
package/tests/onetrust.spec.ts
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('Onetrust', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
'https://stackoverflow.com/',
|
|
5
|
+
'https://www.zdf.de/',
|
|
6
|
+
"https://www.lovescout24.de/",
|
|
7
|
+
"https://www.okcupid.com/",
|
|
8
|
+
"https://doodle.com/",
|
|
9
9
|
]);
|
|
10
10
|
|
|
11
11
|
generateCMPTests('Onetrust', [
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
'https://mailchimp.com/',
|
|
13
|
+
"https://www.accenture.com/",
|
|
14
|
+
'https://www.zoom.us',
|
|
15
15
|
], {
|
|
16
|
-
|
|
16
|
+
testOptIn: false,
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
// opt-in is not necessary in the US on this sites
|
|
20
20
|
generateCMPTests('Onetrust', [
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
'https://mailchimp.com/',
|
|
22
|
+
"https://www.accenture.com/",
|
|
23
|
+
'https://www.zoom.us',
|
|
24
24
|
], {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
testOptIn: true,
|
|
26
|
+
testOptOut: false,
|
|
27
|
+
skipRegions: ['US'],
|
|
28
28
|
});
|
|
29
29
|
|
|
30
30
|
generateCMPTests('Onetrust', [
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
'https://arstechnica.com/',
|
|
32
|
+
'https://www.nvidia.com/',
|
|
33
|
+
"https://bitbucket.org/",
|
|
34
|
+
"https://www.atlassian.com/",
|
|
35
35
|
], {
|
|
36
|
-
|
|
36
|
+
skipRegions: ['US', 'GB']
|
|
37
37
|
});
|
|
38
38
|
|
|
39
39
|
generateCMPTests('Onetrust', [
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
"https://www.newyorker.com/",
|
|
41
|
+
"https://www.adobe.com/de/",
|
|
42
|
+
"https://about.gitlab.com",
|
|
43
43
|
], {
|
|
44
|
-
|
|
44
|
+
skipRegions: ['US']
|
|
45
45
|
});
|
package/tests/osano.spec.ts
CHANGED
package/tests/otto.spec.ts
CHANGED
package/tests/paypal.spec.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('paypal.com', [
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
'https://paypal.de',
|
|
5
|
+
'https://paypal.com'
|
|
6
6
|
],{
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
skipRegions: ["US"],
|
|
8
|
+
testSelfTest: false
|
|
9
9
|
});
|
package/tests/primebox.spec.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('PrimeBox CookieBar', [
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
'https://inpn.mnhn.fr/accueil/index',
|
|
5
|
+
'http://manunicast.seaes.manchester.ac.uk/',
|
|
6
6
|
], {}
|
|
7
7
|
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('privacymanager.io', [
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
'https://linuxhint.com/',
|
|
5
|
+
'https://www.immmo.at/',
|
|
6
6
|
], {
|
|
7
|
-
|
|
7
|
+
skipRegions: ['US']
|
|
8
8
|
});
|
package/tests/pubtech.spec.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('pubtech', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
'https://www.leccenews24.it/'
|
|
4
|
+
'https://www.liberoquotidiano.it/',
|
|
5
|
+
'https://www.telefonino.net/',
|
|
6
|
+
'https://www.fattoincasadabenedetta.it/',
|
|
7
|
+
'https://www.quotidianopiemontese.it/',
|
|
8
|
+
'https://www.iltelegrafolivorno.it/',
|
|
9
|
+
'https://www.agrigentooggi.it/',
|
|
10
|
+
'https://blog.cliomakeup.com/',
|
|
11
|
+
'https://www.leccenews24.it/'
|
|
13
12
|
]);
|
package/tests/quantcast.spec.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('quantcast', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
'https://www.cyclingnews.com/',
|
|
5
|
+
'https://www.techradar.com/',
|
|
6
|
+
"https://www.anandtech.com/",
|
|
7
|
+
"https://www.livescience.com",
|
|
8
|
+
"https://www.gamesradar.com",
|
|
9
9
|
], {
|
|
10
|
-
|
|
10
|
+
skipRegions: ["US", "GB", "FR"]
|
|
11
11
|
});
|
|
12
12
|
|
|
13
13
|
generateCMPTests('com_quantcast2', [
|
|
14
|
-
|
|
14
|
+
'https://www.fandom.com/',
|
|
15
15
|
], {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
testOptIn: false,
|
|
17
|
+
testSelfTest: false,
|
|
18
|
+
skipRegions: ["US"]
|
|
19
19
|
});
|
package/tests/reddit.spec.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('reddit.com', [
|
|
4
|
-
|
|
4
|
+
'https://www.reddit.com/r/AskReddit/',
|
|
5
5
|
],{
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
mobile: false,
|
|
7
|
+
skipRegions: ['US', 'DE', 'FR', 'GB'], // https://github.com/duckduckgo/autoconsent/issues/82
|
|
8
8
|
});
|
package/tests/sibbo.spec.ts
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('sibbo', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
'https://www.atresmedia.com/'
|
|
4
|
+
'https://www.europafm.com/',
|
|
5
|
+
'https://sibboventures.com/',
|
|
6
|
+
'https://www.estadiodeportivo.com/',
|
|
7
|
+
'https://www.atresmediapublicidad.com/',
|
|
8
|
+
'https://www.eitb.eus/',
|
|
9
|
+
'https://beteve.cat/',
|
|
10
|
+
'https://www.atresplayer.com/',
|
|
11
|
+
'https://www.antena3.com/',
|
|
12
|
+
'https://www.lasexta.com/',
|
|
14
13
|
]
|
|
15
14
|
);
|
package/tests/sirdata.spec.ts
CHANGED
package/tests/snigel.spec.ts
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('Sourcepoint-frame', [
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
'https://www.theguardian.com/',
|
|
5
|
+
'https://news.sky.com/',
|
|
6
6
|
]);
|
|
7
7
|
|
|
8
8
|
generateCMPTests('Sourcepoint-frame', [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
'https://www.insider.com/',
|
|
10
|
+
"https://www.techtarget.com/searchvirtualdesktop/",
|
|
11
|
+
// "https://www.csoonline.com/blogs", // settings button doesn't work
|
|
12
|
+
"https://www.independent.co.uk/",
|
|
13
|
+
"https://reitschuster.de/"
|
|
14
14
|
], {
|
|
15
|
-
|
|
15
|
+
skipRegions: ["US", "GB"],
|
|
16
16
|
});
|
|
17
17
|
|
|
18
18
|
generateCMPTests('Sourcepoint-frame', [
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
"https://www.sueddeutsche.de/",
|
|
20
|
+
"https://www.derstandard.at/",
|
|
21
|
+
"https://www.heise.de/",
|
|
22
|
+
'https://www.n-tv.de/',
|
|
23
23
|
], {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
skipRegions: ["US", "GB", "FR"],
|
|
25
|
+
expectPopupOpen: false,
|
|
26
|
+
testOptIn: false,
|
|
27
|
+
testOptOut: false,
|
|
28
|
+
testSelfTest: false,
|
|
29
29
|
})
|
package/tests/springer.spec.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('com_springer', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
'https://www.beobachter.ch/',
|
|
5
|
+
'https://www.blick.ch/',
|
|
6
|
+
'https://www.onet.pl/',
|
|
7
7
|
], {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
skipRegions: ['GB'],
|
|
9
|
+
testOptIn: false,
|
|
10
|
+
testSelfTest: false,
|
|
11
11
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('tarteaucitron.js', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
'https://planetside2.com',
|
|
5
|
+
'https://marseille.intercontinental.com/',
|
|
6
|
+
'https://www.powellflutes.com/en/',
|
|
7
|
+
'https://www.neweuropetours.eu/',
|
|
8
8
|
], {}
|
|
9
9
|
);
|
package/tests/tealium.spec.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('Tealium', [
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
// 'https://www.bahn.de/', // uses shadow DOM, see https://app.asana.com/0/1201844467387842/1202635343225979/f
|
|
5
|
+
'https://www.lufthansa.com/de/en/homepage',
|
|
6
6
|
]);
|
package/tests/termly.spec.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('Termly', [
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
'https://itsalovelylife.com/',
|
|
5
|
+
'https://www.iccsafe.org/',
|
|
6
6
|
], {});
|
|
7
7
|
|
|
8
8
|
generateCMPTests('Termly', [
|
|
9
|
-
|
|
9
|
+
'https://visualsbyimpulse.com/',
|
|
10
10
|
], {
|
|
11
|
-
|
|
11
|
+
skipRegions: ['DE']
|
|
12
12
|
});
|
package/tests/testcmp.spec.ts
CHANGED
package/tests/thalia.spec.ts
CHANGED
package/tests/tiktok.spec.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('tiktok.com', [
|
|
4
|
-
|
|
4
|
+
'https://tiktok.com/',
|
|
5
5
|
],{
|
|
6
|
-
|
|
6
|
+
skipRegions: ['US']
|
|
7
7
|
});
|
|
8
8
|
|
|
9
9
|
generateCMPTests('tiktok.com', [
|
|
10
|
-
|
|
10
|
+
'https://tiktok.com/',
|
|
11
11
|
],{
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
skipRegions: ['US'],
|
|
13
|
+
mobile: true,
|
|
14
14
|
});
|
package/tests/trustarc.spec.ts
CHANGED
|
@@ -1,28 +1,26 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('TrustArc-top', [
|
|
4
|
-
|
|
4
|
+
'https://www.samsung.com/uk/smartphones/all-smartphones/',
|
|
5
5
|
], {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
testOptOut: true,
|
|
7
|
+
testSelfTest: false,
|
|
8
|
+
skipRegions: ["US"]
|
|
9
9
|
});
|
|
10
10
|
|
|
11
11
|
generateCMPTests('TrustArc-top', [
|
|
12
|
-
|
|
12
|
+
'https://www.garmin.com/de-DE/',
|
|
13
13
|
], {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
testOptOut: true,
|
|
15
|
+
testSelfTest: false,
|
|
16
|
+
skipRegions: ["US"]
|
|
17
17
|
});
|
|
18
18
|
|
|
19
19
|
generateCMPTests('TrustArc-frame', [
|
|
20
|
-
|
|
21
|
-
'https://www.forbes.com/',
|
|
22
|
-
'https://www.starbucks.com/',
|
|
20
|
+
'https://www.wish.com/',
|
|
23
21
|
], {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
testOptOut: true,
|
|
23
|
+
testSelfTest: false,
|
|
24
|
+
testOptIn: false, // opt-in works, but is triggered by the top frame
|
|
25
|
+
skipRegions: ["US"]
|
|
28
26
|
});
|
package/tests/twitter.spec.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('twitter', [
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
'https://mobile.twitter.com/',
|
|
5
|
+
'https://twitter.com/',
|
|
6
6
|
], {
|
|
7
|
-
|
|
7
|
+
skipRegions: ['US']
|
|
8
8
|
});
|
|
9
9
|
|
|
10
10
|
generateCMPTests('twitter', [
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
'https://mobile.twitter.com/',
|
|
12
|
+
'https://twitter.com/',
|
|
13
13
|
], {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
skipRegions: ['US'],
|
|
15
|
+
mobile: true
|
|
16
16
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('UK Cookie Consent', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
'https://ondinebio.mystagingwebsite.com/',
|
|
5
|
+
'https://www.equinoxpub.com/home/',
|
|
6
|
+
'https://london.msg.com/',
|
|
7
7
|
], {});
|
package/tests/uniconsent.spec.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('Uniconsent', [
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
// 'https://sport-stimme.de/', // see https://github.com/duckduckgo/autoconsent/issues/81
|
|
5
|
+
'https://www.sharethrough.com/',
|
|
6
6
|
], {});
|
|
7
7
|
|
|
8
8
|
generateCMPTests('Uniconsent', [
|
|
9
|
-
|
|
9
|
+
'https://www.vivobarefoot.com/eu/',
|
|
10
10
|
], {
|
|
11
|
-
|
|
11
|
+
skipRegions: ['US']
|
|
12
12
|
});
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('usercentrics-api', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
'https://hornbach.de',
|
|
5
|
+
'https://dm.de',
|
|
6
|
+
'https://usercentrics.com/',
|
|
7
|
+
'https://shopbetreiber-blog.de/',
|
|
7
8
|
], {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
skipRegions: ["US", "GB", "FR"]
|
|
10
|
+
}
|
|
10
11
|
);
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import generateCMPTests from "../playwright/runner";
|
|
2
2
|
|
|
3
3
|
generateCMPTests('usercentrics-button', [
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
'https://shopbetreiber-blog.de/',
|
|
4
|
+
'https://www.commerzbank.de/',
|
|
5
|
+
'https://www.nkd.com/',
|
|
7
6
|
], {}
|
|
8
7
|
);
|
package/tests/uswitch.spec.ts
CHANGED
package/tests/vodafone.spec.ts
CHANGED