@duckduckgo/autoconsent 16.58.0 → 16.60.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/.agents/lib/regional-testing/harness.mjs +4 -172
- package/.agents/skills/oxylabs-testing/SKILL.md +4 -4
- package/.agents/skills/oxylabs-testing/scripts/oxylabs.mjs +17 -164
- package/.agents/skills/oxylabs-testing/scripts/oxylabs.test.mjs +6 -3
- package/.agents/skills/verify-pr/SKILL.md +1 -1
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +176 -0
- package/Jenkinsfile +36 -1
- package/dist/addon-firefox/background.bundle.js +22 -1
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +253 -93
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/popup.bundle.js +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 +22 -1
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +253 -93
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/popup.bundle.js +1 -1
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +253 -93
- package/dist/autoconsent.esm.js +253 -93
- package/dist/autoconsent.playwright.js +253 -93
- package/dist/autoconsent.standalone.js +254 -94
- package/dist/heuristics.cjs.js +29 -3
- package/dist/heuristics.mjs +28 -3
- package/dist/types/cmps/onetrust.d.ts +1 -0
- package/dist/types/eval-snippets.d.ts +3 -0
- package/dist/types/heuristic-classify.d.ts +1 -0
- package/dist/types/heuristics.d.ts +10 -1
- package/lib/cmps/onetrust.ts +15 -0
- package/lib/eval-snippets.ts +21 -0
- package/lib/heuristic-classify.ts +6 -0
- package/lib/heuristic-patterns.ts +26 -1
- package/lib/heuristics.ts +256 -104
- package/package.json +4 -6
- package/playwright/isolated-world.mjs +217 -0
- package/playwright/oxylabs.mjs +196 -0
- package/playwright/runner.ts +183 -39
- package/playwright.config.ts +4 -1
- package/rules/autoconsent/123inkt.json +9 -0
- package/rules/autoconsent/aeolservice.json +39 -0
- package/rules/autoconsent/amazon-music.json +13 -0
- package/rules/autoconsent/animatetimes.json +34 -0
- package/rules/autoconsent/annunci69.json +19 -0
- package/rules/autoconsent/arbeidsplassen-nav-no.json +33 -0
- package/rules/autoconsent/asahi-interactive.json +30 -0
- package/rules/autoconsent/att.json +36 -0
- package/rules/autoconsent/auctionet.json +39 -0
- package/rules/autoconsent/autodoc.json +18 -0
- package/rules/autoconsent/avada-privacy-bar-cosmetic.json +28 -0
- package/rules/autoconsent/avada-privacy-bar.json +70 -0
- package/rules/autoconsent/axesor.json +13 -0
- package/rules/autoconsent/bbc.com-orb-cosmetic.json +34 -0
- package/rules/autoconsent/bbc.com.json +8 -5
- package/rules/autoconsent/blitzrechner.json +16 -0
- package/rules/autoconsent/bokadirekt.se.json +50 -0
- package/rules/autoconsent/bouvet-cookiepanel.json +29 -0
- package/rules/autoconsent/brainsum-cookieconsent.json +25 -0
- package/rules/autoconsent/bwr-cookie.json +13 -0
- package/rules/autoconsent/capitalone-ca.json +13 -0
- package/rules/autoconsent/carpetaciudadana.json +51 -0
- package/rules/autoconsent/cf-gdpr-cookie-consent.json +23 -0
- package/rules/autoconsent/chatgpt.json +3 -3
- package/rules/autoconsent/cksmodal.json +9 -0
- package/rules/autoconsent/consent-studio.json +41 -0
- package/rules/autoconsent/cookie-popup-cookieno.json +29 -0
- package/rules/autoconsent/cookie-popup-cookieok.json +25 -0
- package/rules/autoconsent/cookielegit.json +21 -0
- package/rules/autoconsent/cookieman.json +23 -4
- package/rules/autoconsent/cookieprompter.json +21 -0
- package/rules/autoconsent/cookiereports.json +10 -0
- package/rules/autoconsent/cookietractor.json +37 -0
- package/rules/autoconsent/danskebank.json +17 -0
- package/rules/autoconsent/de-volksbank.json +14 -0
- package/rules/autoconsent/dintel.json +13 -0
- package/rules/autoconsent/dpgmedia-nl.json +20 -8
- package/rules/autoconsent/e-grip.json +63 -0
- package/rules/autoconsent/eccmm.json +30 -0
- package/rules/autoconsent/england-nhs-uk.json +18 -0
- package/rules/autoconsent/eon.pl.json +18 -0
- package/rules/autoconsent/erdee-media.json +24 -0
- package/rules/autoconsent/eroticiracconti-it.json +13 -0
- package/rules/autoconsent/ersatzteile-24.json +49 -0
- package/rules/autoconsent/escorteintime.json +15 -0
- package/rules/autoconsent/gays-cruising.json +18 -0
- package/rules/autoconsent/gov-pl-cookies-info.json +28 -0
- package/rules/autoconsent/gravito.json +23 -16
- package/rules/autoconsent/grupa-pracuj.json +73 -0
- package/rules/autoconsent/grupa-rmf.json +21 -0
- package/rules/autoconsent/gsb-cookiebanner-selection.json +12 -0
- package/rules/autoconsent/gwo.json +53 -0
- package/rules/autoconsent/hacon-next-gen.json +41 -0
- package/rules/autoconsent/hsbc-au.json +35 -0
- package/rules/autoconsent/ign-es.json +35 -0
- package/rules/autoconsent/impress-co-jp.json +10 -0
- package/rules/autoconsent/ing-de.json +31 -0
- package/rules/autoconsent/interia.json +1 -4
- package/rules/autoconsent/intesasanpaolo.json +37 -0
- package/rules/autoconsent/iworks-footer-notice.json +19 -0
- package/rules/autoconsent/jobindex.json +40 -0
- package/rules/autoconsent/juzaphoto.json +13 -0
- package/rules/autoconsent/kaspersky-cookies-notification.json +9 -0
- package/rules/autoconsent/lantmateriet.json +13 -0
- package/rules/autoconsent/leukhuis-nl.json +35 -0
- package/rules/autoconsent/lg-cookiecontrol.json +16 -0
- package/rules/autoconsent/libris.nl.json +19 -0
- package/rules/autoconsent/lineagrafica-reject.json +32 -0
- package/rules/autoconsent/mainichi.json +39 -0
- package/rules/autoconsent/mango.json +56 -0
- package/rules/autoconsent/matemaks.json +29 -0
- package/rules/autoconsent/merito.pl.json +44 -0
- package/rules/autoconsent/minitool.json +31 -0
- package/rules/autoconsent/miteco.json +41 -0
- package/rules/autoconsent/mobile-de.json +13 -0
- package/rules/autoconsent/mq-edu-au.json +26 -0
- package/rules/autoconsent/nederlandseloterij.json +35 -0
- package/rules/autoconsent/nordea.json +21 -0
- package/rules/autoconsent/nordnet.json +33 -0
- package/rules/autoconsent/nowaera.json +44 -0
- package/rules/autoconsent/ok.json +4 -12
- package/rules/autoconsent/olvg.json +45 -0
- package/rules/autoconsent/onlineradiobox.json +35 -0
- package/rules/autoconsent/optyczne-pl.json +28 -0
- package/rules/autoconsent/orbys.json +35 -0
- package/rules/autoconsent/payfip.json +36 -0
- package/rules/autoconsent/pdf24.json +48 -0
- package/rules/autoconsent/pe-cookies.json +30 -0
- package/rules/autoconsent/pekao24.json +33 -0
- package/rules/autoconsent/pensionsmyndigheten.json +13 -0
- package/rules/autoconsent/praca-pl.json +17 -0
- package/rules/autoconsent/pro-euclp-cookies-box.json +31 -0
- package/rules/autoconsent/pubfactory.json +45 -0
- package/rules/autoconsent/puesc-gov-pl.json +37 -0
- package/rules/autoconsent/rambler.json +30 -0
- package/rules/autoconsent/rejestr-io.json +36 -0
- package/rules/autoconsent/remove-cookie-notice.json +18 -0
- package/rules/autoconsent/rijksoverheid-notification-bar.json +34 -0
- package/rules/autoconsent/route-inn.json +13 -0
- package/rules/autoconsent/schumacher.com.json +53 -0
- package/rules/autoconsent/sedlak-gdpr-cookie.json +10 -0
- package/rules/autoconsent/seniorweb.json +42 -0
- package/rules/autoconsent/shouldianswer.json +14 -0
- package/rules/autoconsent/shueisha-gigaviewer.json +10 -0
- package/rules/autoconsent/sitevision.json +18 -1
- package/rules/autoconsent/skatteverket-se.json +33 -0
- package/rules/autoconsent/smile-insurances.json +13 -0
- package/rules/autoconsent/snb.ch.json +18 -0
- package/rules/autoconsent/sujetdebac.fr.json +10 -0
- package/rules/autoconsent/svt.se.json +7 -7
- package/rules/autoconsent/swisscom-ecare.json +31 -0
- package/rules/autoconsent/telegram-im.json +36 -0
- package/rules/autoconsent/temu.json +12 -16
- package/rules/autoconsent/thecode.json +21 -0
- package/rules/autoconsent/thomsonlocal.com.json +10 -0
- package/rules/autoconsent/todostuslibros.json +51 -0
- package/rules/autoconsent/turkishairlines.com.json +33 -0
- package/rules/autoconsent/uk-parliament.json +19 -0
- package/rules/autoconsent/usherbrooke.json +16 -0
- package/rules/autoconsent/vdg-cookies.json +36 -0
- package/rules/autoconsent/warszawa19115.pl.json +52 -0
- package/rules/autoconsent/wirtualna-polska.json +41 -0
- package/rules/autoconsent/wojsko-polskie-pl.json +28 -0
- package/rules/autoconsent/xenforo-cookie-consent.json +62 -0
- package/rules/autoconsent/xtb.json +18 -0
- package/rules/autoconsent/zorginstituut-cookiewarning.json +33 -0
- package/rules/autoconsent/zurich-cookies-notification-banner.json +17 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/123inkt.spec.ts +5 -0
- package/tests/aeolservice.spec.ts +5 -0
- package/tests/amazon-music.spec.ts +9 -0
- package/tests/animatetimes.spec.ts +3 -0
- package/tests/annunci69.spec.ts +5 -0
- package/tests/arbeidsplassen-nav-no.spec.ts +3 -0
- package/tests/asahi-interactive.spec.ts +6 -0
- package/tests/att.spec.ts +3 -0
- package/tests/auctionet.spec.ts +3 -0
- package/tests/autodoc.spec.ts +8 -0
- package/tests/avada-privacy-bar-cosmetic.spec.ts +3 -0
- package/tests/avada-privacy-bar.spec.ts +12 -0
- package/tests/axesor.spec.ts +3 -0
- package/tests/bbc.com-orb-cosmetic.spec.ts +8 -0
- package/tests/bbc.com.spec.ts +11 -9
- package/tests/blitzrechner.spec.ts +3 -0
- package/tests/bokadirekt.se.spec.ts +3 -0
- package/tests/bouvet-cookiepanel.spec.ts +9 -0
- package/tests/brainsum-cookieconsent.spec.ts +9 -0
- package/tests/bwr-cookie.spec.ts +3 -0
- package/tests/capitalone-ca.spec.ts +3 -0
- package/tests/carpetaciudadana.spec.ts +6 -0
- package/tests/cf-gdpr-cookie-consent.spec.ts +3 -0
- package/tests/chatgpt.spec.ts +3 -1
- package/tests/cksmodal.spec.ts +3 -0
- package/tests/consent-studio.spec.ts +15 -0
- package/tests/cookie-popup-cookieno.spec.ts +8 -0
- package/tests/cookie-popup-cookieok.spec.ts +9 -0
- package/tests/cookiebot.spec.ts +1 -0
- package/tests/cookielegit.spec.ts +3 -0
- package/tests/cookieman.spec.ts +1 -0
- package/tests/cookieprompter.spec.ts +9 -0
- package/tests/cookiereports.spec.ts +13 -0
- package/tests/cookietractor.spec.ts +12 -0
- package/tests/danskebank.spec.ts +12 -0
- package/tests/de-volksbank.spec.ts +5 -0
- package/tests/dintel.spec.ts +10 -0
- package/tests/dpgmedia-nl.spec.ts +15 -1
- package/tests/e-grip.spec.ts +8 -0
- package/tests/eccmm.spec.ts +6 -0
- package/tests/england-nhs-uk.spec.ts +3 -0
- package/tests/eon.pl.spec.ts +3 -0
- package/tests/erdee-media.spec.ts +3 -0
- package/tests/eroticiracconti-it.spec.ts +3 -0
- package/tests/ersatzteile-24.spec.ts +6 -0
- package/tests/escorteintime.spec.ts +3 -0
- package/tests/gays-cruising.spec.ts +3 -0
- package/tests/gov-pl-cookies-info.spec.ts +3 -0
- package/tests/gravito.spec.ts +7 -1
- package/tests/grupa-pracuj.spec.ts +8 -0
- package/tests/grupa-rmf.spec.ts +5 -0
- package/tests/gsb-cookiebanner-selection.spec.ts +7 -0
- package/tests/gwo.spec.ts +6 -0
- package/tests/hacon-next-gen.spec.ts +6 -0
- package/tests/hsbc-au.spec.ts +6 -0
- package/tests/ign-es.spec.ts +3 -0
- package/tests/impress-co-jp.spec.ts +8 -0
- package/tests/ing-de.spec.ts +3 -0
- package/tests/interia.spec.ts +1 -1
- package/tests/intesasanpaolo.spec.ts +3 -0
- package/tests/iworks-footer-notice.spec.ts +3 -0
- package/tests/jobindex.spec.ts +3 -0
- package/tests/juzaphoto.spec.ts +7 -0
- package/tests/kaspersky-cookies-notification.spec.ts +8 -0
- package/tests/lantmateriet.spec.ts +3 -0
- package/tests/leukhuis-nl.spec.ts +3 -0
- package/tests/lg-cookiecontrol.spec.ts +10 -0
- package/tests/libris.nl.spec.ts +3 -0
- package/tests/lineagrafica-reject.spec.ts +8 -0
- package/tests/mainichi.spec.ts +10 -0
- package/tests/mango.spec.ts +3 -0
- package/tests/matemaks.spec.ts +3 -0
- package/tests/merito.pl.spec.ts +3 -0
- package/tests/minitool.spec.ts +8 -0
- package/tests/miteco.spec.ts +8 -0
- package/tests/mobile-de.spec.ts +3 -0
- package/tests/mq-edu-au.spec.ts +3 -0
- package/tests/nederlandseloterij.spec.ts +9 -0
- package/tests/nordea.spec.ts +6 -0
- package/tests/nordnet.spec.ts +8 -0
- package/tests/nowaera.spec.ts +3 -0
- package/tests/olvg.spec.ts +6 -0
- package/tests/onlineradiobox.spec.ts +5 -0
- package/tests/optyczne-pl.spec.ts +3 -0
- package/tests/orbys.spec.ts +3 -0
- package/tests/payfip.spec.ts +3 -0
- package/tests/pdf24.spec.ts +3 -0
- package/tests/pe-cookies.spec.ts +6 -0
- package/tests/pekao24.spec.ts +3 -0
- package/tests/pensionsmyndigheten.spec.ts +3 -0
- package/tests/praca-pl.spec.ts +3 -0
- package/tests/pro-euclp-cookies-box.spec.ts +8 -0
- package/tests/pubfactory.spec.ts +10 -0
- package/tests/puesc-gov-pl.spec.ts +3 -0
- package/tests/rambler.spec.ts +3 -0
- package/tests/rejestr-io.spec.ts +3 -0
- package/tests/remove-cookie-notice.spec.ts +3 -0
- package/tests/rijksoverheid-notification-bar.spec.ts +3 -0
- package/tests/route-inn.spec.ts +3 -0
- package/tests/schumacher.com.spec.ts +6 -0
- package/tests/sedlak-gdpr-cookie.spec.ts +6 -0
- package/tests/seniorweb.spec.ts +3 -0
- package/tests/shouldianswer.spec.ts +8 -0
- package/tests/shueisha-gigaviewer.spec.ts +3 -0
- package/tests/sitevision-cookie-consent.spec.ts +1 -0
- package/tests/sitevision.spec.ts +7 -0
- package/tests/skatteverket-se.spec.ts +3 -0
- package/tests/smile-insurances.spec.ts +6 -0
- package/tests/snb.ch.spec.ts +3 -0
- package/tests/sujetdebac.fr.spec.ts +3 -0
- package/tests/svt.se.spec.ts +1 -3
- package/tests/swisscom-ecare.spec.ts +7 -0
- package/tests/telegram-im.spec.ts +6 -0
- package/tests/temu.spec.ts +3 -1
- package/tests/thecode.spec.ts +3 -0
- package/tests/thomsonlocal.com.spec.ts +3 -0
- package/tests/todostuslibros.spec.ts +3 -0
- package/tests/turkishairlines.com.spec.ts +3 -0
- package/tests/uk-parliament.spec.ts +8 -0
- package/tests/usherbrooke.spec.ts +6 -0
- package/tests/vdg-cookies.spec.ts +8 -0
- package/tests/warszawa19115.pl.spec.ts +3 -0
- package/tests/wirtualna-polska.spec.ts +8 -0
- package/tests/wojsko-polskie-pl.spec.ts +3 -0
- package/tests/xenforo-cookie-consent.spec.ts +6 -0
- package/tests/xtb.spec.ts +3 -0
- package/tests/zorginstituut-cookiewarning.spec.ts +10 -0
- package/tests/zurich-cookies-notification-banner.spec.ts +3 -0
- package/tests-wtr/heuristics/get-potential-popups.test.ts +330 -9
- package/tests-wtr/heuristics/heuristics-utils.test.ts +98 -0
- package/rules/autoconsent/twitter.json +0 -34
- package/rules/generated/auto_CH_autodoc.de_krd.json +0 -40
- package/rules/generated/auto_CH_svtplay.se_d39.json +0 -40
- package/rules/generated/auto_GB_parliamentlive.tv_r3v.json +0 -28
- package/rules/generated/auto_NL_asnbank.nl_e28.json +0 -40
- package/rules/generated/auto_NL_eurojackpot.nederlandseloterij.nl_7hr.json +0 -40
- package/rules/generated/auto_NL_lotto.nederlandseloterij.nl_7c8.json +0 -40
- package/rules/generated/auto_NL_nederlandseloterij.nl_b60.json +0 -40
- package/rules/generated/auto_NL_staatsloterij.nederlandseloterij.nl_197.json +0 -40
- package/rules/generated/auto_NO_arronet.se_vo5.json +0 -40
- package/rules/generated/auto_NO_liseberg.se_qy4.json +0 -40
- package/rules/generated/auto_NO_nordnet.se_2en.json +0 -40
- package/rules/generated/auto_NO_regeringen.se_uhv.json +0 -40
- package/rules/generated/auto_NO_svtplay.se_ujn.json +0 -40
- package/rules/generated/auto_NO_uu.se_eea.json +0 -40
- package/tests/generated/auto_CH_autodoc.de_krd.spec.ts +0 -2
- package/tests/generated/auto_CH_svtplay.se_d39.spec.ts +0 -2
- package/tests/generated/auto_GB_parliamentlive.tv_r3v.spec.ts +0 -6
- package/tests/generated/auto_NL_asnbank.nl_e28.spec.ts +0 -6
- package/tests/generated/auto_NL_eurojackpot.nederlandseloterij.nl_7hr.spec.ts +0 -6
- package/tests/generated/auto_NL_lotto.nederlandseloterij.nl_7c8.spec.ts +0 -6
- package/tests/generated/auto_NL_nederlandseloterij.nl_b60.spec.ts +0 -6
- package/tests/generated/auto_NL_staatsloterij.nederlandseloterij.nl_197.spec.ts +0 -6
- package/tests/generated/auto_NO_arronet.se_vo5.spec.ts +0 -2
- package/tests/generated/auto_NO_liseberg.se_qy4.spec.ts +0 -2
- package/tests/generated/auto_NO_nordnet.se_2en.spec.ts +0 -2
- package/tests/generated/auto_NO_regeringen.se_uhv.spec.ts +0 -6
- package/tests/generated/auto_NO_svtplay.se_ujn.spec.ts +0 -2
- package/tests/generated/auto_NO_uu.se_eea.spec.ts +0 -2
- package/tests/twitter.spec.ts +0 -10
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
const urls = ['https://www.cnn.co.jp/', 'https://japan.cnet.com/', 'https://japan.zdnet.com/', 'https://aiasahi.jp/'];
|
|
4
|
+
|
|
5
|
+
generateCMPTests('asahi-interactive', urls, { mobile: true });
|
|
6
|
+
generateCMPTests('asahi-interactive', urls, { mobile: false });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('avada-privacy-bar', [
|
|
4
|
+
'https://www.levigo.de/',
|
|
5
|
+
// No reject button, consent checkboxes only
|
|
6
|
+
'https://www.bai.org/',
|
|
7
|
+
]);
|
|
8
|
+
|
|
9
|
+
// The page reloads after the reject click, so the self-test never runs
|
|
10
|
+
generateCMPTests('avada-privacy-bar', ['https://www.ccscollect.co.uk/', 'https://comcavi.it/'], {
|
|
11
|
+
testSelfTest: false,
|
|
12
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
// Outside the UK, bbc.com shows the "orb" banner without a reject button next to the Sourcepoint dialog.
|
|
4
|
+
// Sourcepoint-frame handles that dialog in its own iframe, so two autoconsentDone messages are expected.
|
|
5
|
+
generateCMPTests('bbc.com-orb-cosmetic', ['https://www.bbc.com/', 'https://www.bbc.com/news'], {
|
|
6
|
+
skipRegions: ['US', 'GB'],
|
|
7
|
+
expectedRuns: 2,
|
|
8
|
+
});
|
package/tests/bbc.com.spec.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import generateCMPTests from '../playwright/runner';
|
|
2
2
|
|
|
3
|
-
//
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
'
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
]
|
|
3
|
+
// bbc.com/sport, bbc.co.uk/ and bbc.co.uk/news show the current banner, the rest show the legacy "orb" banner with a reject button.
|
|
4
|
+
// Outside the UK, Sourcepoint-frame also completes in its own iframe on bbc.com, so up to two autoconsentDone messages are expected.
|
|
5
|
+
generateCMPTests('bbc.com', ['https://www.bbc.com/sport/formula1', 'https://www.bbc.com/weather', 'https://www.bbc.co.uk/iplayer'], {
|
|
6
|
+
skipRegions: ['US'],
|
|
7
|
+
expectedRuns: 2,
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
// Outside the UK, these URLs redirect to bbc.com and show the orb banner without a reject button (bbc.com-orb-cosmetic).
|
|
11
|
+
generateCMPTests('bbc.com', ['https://www.bbc.co.uk/', 'https://www.bbc.co.uk/news', 'https://www.bbc.co.uk/sounds'], {
|
|
12
|
+
onlyRegions: ['GB'],
|
|
13
|
+
});
|
package/tests/chatgpt.spec.ts
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('consent-studio', [
|
|
4
|
+
'https://www.eur.nl/',
|
|
5
|
+
'https://www.crunch.co.uk/',
|
|
6
|
+
'https://www.christenunie.nl/',
|
|
7
|
+
'https://www.moooi.com/',
|
|
8
|
+
'https://www.dentonet.pl/',
|
|
9
|
+
'https://www.budgetcam.nl/',
|
|
10
|
+
'https://www.jeanscentre.nl/',
|
|
11
|
+
'https://www.eddierockets.ie/',
|
|
12
|
+
'https://www.msmode.nl/',
|
|
13
|
+
'https://www.nji.nl/',
|
|
14
|
+
'https://www.mondiaen.nl/',
|
|
15
|
+
]);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('cookie-popup-cookieok', [
|
|
4
|
+
'https://speisekartenweb.de/',
|
|
5
|
+
'https://schuhhaus-sieling.de/',
|
|
6
|
+
'https://www.reiten-weltweit.de/',
|
|
7
|
+
'https://www.digitprint.ch/',
|
|
8
|
+
'https://www.topreflex.de/',
|
|
9
|
+
]);
|
package/tests/cookiebot.spec.ts
CHANGED
package/tests/cookieman.spec.ts
CHANGED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('cookiereports', [
|
|
4
|
+
'https://www.obsbygg.no/',
|
|
5
|
+
'https://www.coop.no/',
|
|
6
|
+
'https://www.visa.co.uk/',
|
|
7
|
+
'https://www.carefreedental.com/',
|
|
8
|
+
]);
|
|
9
|
+
|
|
10
|
+
// reject is the first banner button on these sites, and they show no banner to US visitors
|
|
11
|
+
generateCMPTests('cookiereports', ['https://www.storesupply.com/', 'https://www.jumeirah.com/en'], {
|
|
12
|
+
skipRegions: ['US'],
|
|
13
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('cookietractor', [
|
|
4
|
+
'https://www.matteboken.se/',
|
|
5
|
+
'https://www.pluggakuten.se/',
|
|
6
|
+
'https://www.folkuniversitetet.se/',
|
|
7
|
+
'https://www.lansfast.se/',
|
|
8
|
+
'https://www.rodakorset.se/',
|
|
9
|
+
'https://www.visitstockholm.se/',
|
|
10
|
+
'https://www.regeringen.se/',
|
|
11
|
+
'https://www.liseberg.se/',
|
|
12
|
+
]);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('danskebank', [
|
|
4
|
+
'https://danskebank.com/',
|
|
5
|
+
'https://danskebank.dk/',
|
|
6
|
+
'https://danskebank.se/',
|
|
7
|
+
'https://danskebank.no/',
|
|
8
|
+
'https://danskebank.fi/',
|
|
9
|
+
'https://danskeci.com/',
|
|
10
|
+
'https://danica.dk/',
|
|
11
|
+
'https://danskebank.co.uk/',
|
|
12
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('dintel', [
|
|
4
|
+
'https://mptmd.sede.gob.es/',
|
|
5
|
+
'https://mpr.sede.gob.es/',
|
|
6
|
+
'https://igualdad.sede.gob.es/',
|
|
7
|
+
'https://cultura.sede.gob.es/',
|
|
8
|
+
'https://mivau.sede.gob.es/',
|
|
9
|
+
'https://ciencia.sede.gob.es/',
|
|
10
|
+
]);
|
|
@@ -1,3 +1,17 @@
|
|
|
1
1
|
import generateCMPTests from '../playwright/runner';
|
|
2
2
|
|
|
3
|
-
generateCMPTests(
|
|
3
|
+
generateCMPTests(
|
|
4
|
+
'dpgmedia-nl',
|
|
5
|
+
[
|
|
6
|
+
'https://www.rtl.nl/',
|
|
7
|
+
'https://www.ad.nl/',
|
|
8
|
+
'https://www.volkskrant.nl/',
|
|
9
|
+
'https://www.parool.nl/',
|
|
10
|
+
'https://www.trouw.nl/',
|
|
11
|
+
'https://www.nu.nl/',
|
|
12
|
+
'https://www.autoweek.nl/',
|
|
13
|
+
'https://tweakers.net/',
|
|
14
|
+
'https://www.hln.be/',
|
|
15
|
+
],
|
|
16
|
+
{},
|
|
17
|
+
);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('e-grip', ['https://www.bunnig.nl/', 'https://www.dle.nl/']);
|
|
4
|
+
|
|
5
|
+
// older script version: saving the choice reloads the page before the self-test runs
|
|
6
|
+
generateCMPTests('e-grip', ['https://www.deslegte.com/', 'https://www.boeken.com/'], {
|
|
7
|
+
testSelfTest: false,
|
|
8
|
+
});
|
package/tests/gravito.spec.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
1
|
import generateCMPTests from '../playwright/runner';
|
|
2
2
|
|
|
3
|
-
generateCMPTests('gravito', [
|
|
3
|
+
generateCMPTests('gravito', [
|
|
4
|
+
'https://www.gp.se/',
|
|
5
|
+
'https://www.hitta.se/',
|
|
6
|
+
'https://www.suomi24.fi/',
|
|
7
|
+
'https://www.foreca.fi/',
|
|
8
|
+
'https://www.veikkaus.fi/',
|
|
9
|
+
]);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('grupa-pracuj', ['https://www.pracuj.pl/', 'https://pracodawcy.pracuj.pl/']);
|
|
4
|
+
|
|
5
|
+
// these sites reload the page after saving consent (or store it without the cp_* cookies), so the self-test cannot run
|
|
6
|
+
generateCMPTests('grupa-pracuj', ['https://zarobki.pracuj.pl/', 'https://grupapracuj.pl/', 'https://theprotocol.it/'], {
|
|
7
|
+
testSelfTest: false,
|
|
8
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
// The site reloads the page after consent is saved, so the self-test runs on a fresh page.
|
|
4
|
+
generateCMPTests('gwo', ['https://gwo.pl/', 'https://akademia.gwo.pl/', 'https://multimedia.gwo.pl/'], {
|
|
5
|
+
testSelfTest: false,
|
|
6
|
+
});
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
const urls = ['https://www.rejseplanen.dk/', 'https://noevog-in1.verkehrsauskunft.at/'];
|
|
4
|
+
|
|
5
|
+
generateCMPTests('hacon-next-gen', urls, { mobile: true });
|
|
6
|
+
generateCMPTests('hacon-next-gen', urls, { mobile: false });
|
package/tests/interia.spec.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
const urls = ['https://www.juzaphoto.com/home.php?l=it', 'https://www.juzaphoto.com/home.php?l=en'];
|
|
4
|
+
|
|
5
|
+
// the site reloads the page after a choice is made, so the self-test cannot run on the original page
|
|
6
|
+
generateCMPTests('juzaphoto', urls, { mobile: true, testSelfTest: false });
|
|
7
|
+
generateCMPTests('juzaphoto', urls, { mobile: false, testSelfTest: false });
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('kaspersky-cookies-notification', [
|
|
4
|
+
'https://www.kaspersky.com/blog/kaspersky-esim-store/53634/',
|
|
5
|
+
'https://usa.kaspersky.com/blog/',
|
|
6
|
+
'https://threatpost.com/',
|
|
7
|
+
'https://securelist.ru/',
|
|
8
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('lg-cookiecontrol', [
|
|
4
|
+
'https://richtlijnen.nhg.org/',
|
|
5
|
+
'https://www.henw.org/',
|
|
6
|
+
'https://www.kunstmuseum.nl/nl',
|
|
7
|
+
'https://iisg.amsterdam/nl',
|
|
8
|
+
'https://www.amstelring.nl/',
|
|
9
|
+
'https://www.universiteitenvannederland.nl/',
|
|
10
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('mainichi', ['https://mainichi.jp/'], {
|
|
4
|
+
onlyRegions: ['JP', 'US'],
|
|
5
|
+
});
|
|
6
|
+
|
|
7
|
+
generateCMPTests('mainichi', ['https://mainichi.jp/'], {
|
|
8
|
+
onlyRegions: ['JP', 'US'],
|
|
9
|
+
mobile: true,
|
|
10
|
+
});
|