@duckduckgo/autoconsent 18.3.0 → 18.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/.github/workflows/ddg-release.yml +3 -1
- package/CHANGELOG.md +72 -0
- package/ci/asana-create-platform-release-tasks.js +9 -2
- package/ci/asana-update-tasks.js +17 -3
- package/ci/create-pr-template.js +1 -1
- 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/amasty-gdpr-sidebar.json +61 -0
- package/rules/autoconsent/arena-pl.json +16 -0
- package/rules/autoconsent/bannercookie-dashboard.json +10 -0
- package/rules/autoconsent/blastingnews.json +36 -0
- package/rules/autoconsent/bn-org-pl.json +37 -0
- package/rules/autoconsent/ccconsent-holder.json +56 -0
- package/rules/autoconsent/cloudcms-cookie-alert-notice.json +12 -0
- package/rules/autoconsent/cloudcms-cookie-alert.json +13 -0
- package/rules/autoconsent/cookie-button-basic.json +47 -0
- package/rules/autoconsent/cookiesck.json +31 -0
- package/rules/autoconsent/didomi.json +5 -0
- package/rules/autoconsent/doc24-ch.json +33 -0
- package/rules/autoconsent/ernesto.json +30 -0
- package/rules/autoconsent/eu-cookie-compliance-legacy.json +15 -0
- package/rules/autoconsent/fora-se.json +13 -0
- package/rules/autoconsent/fusedeck.json +38 -0
- package/rules/autoconsent/gjerrigknark.json +38 -0
- package/rules/autoconsent/hemsol.se.json +22 -0
- package/rules/autoconsent/historiskatlas.dk.json +35 -0
- package/rules/autoconsent/hmi-basen-dk.json +27 -0
- package/rules/autoconsent/jobbland.json +17 -0
- package/rules/autoconsent/kadokawa-ascii.json +34 -0
- package/rules/autoconsent/kglakademi.json +37 -0
- package/rules/autoconsent/kredittbanken.json +14 -0
- package/rules/autoconsent/matspar-se.json +34 -0
- package/rules/autoconsent/mitrejsevejr.dk.json +13 -0
- package/rules/autoconsent/morgenlevering.no.json +46 -0
- package/rules/autoconsent/multicalcolo.json +37 -0
- package/rules/autoconsent/nutri.se.json +40 -0
- package/rules/autoconsent/onecall-no.json +44 -0
- package/rules/autoconsent/peppes.json +38 -0
- package/rules/autoconsent/planteportalen-no.json +32 -0
- package/rules/autoconsent/sian-it.json +35 -0
- package/rules/autoconsent/skisport.json +22 -0
- package/rules/autoconsent/skogforsk.json +9 -0
- package/rules/autoconsent/skovborghogh-cookies.json +17 -0
- package/rules/autoconsent/sportstiming.json +37 -0
- package/rules/autoconsent/squarespace-cookie-banner.json +3 -3
- package/rules/autoconsent/vardgivarguiden.json +45 -0
- package/rules/autoconsent/wbd-consent-modal.json +54 -0
- package/rules/autoconsent/welcome-city-yokohama.json +75 -0
- package/rules/autoconsent/wordpress-wordads.json +20 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/amasty-gdpr-sidebar.spec.ts +16 -0
- package/tests/arena-pl.spec.ts +3 -0
- package/tests/bannercookie-dashboard.spec.ts +3 -0
- package/tests/blastingnews.spec.ts +3 -0
- package/tests/bn-org-pl.spec.ts +3 -0
- package/tests/ccconsent-holder.spec.ts +11 -0
- package/tests/cloudcms-cookie-alert-notice.spec.ts +10 -0
- package/tests/cloudcms-cookie-alert.spec.ts +6 -0
- package/tests/cookie-button-basic.spec.ts +9 -0
- package/tests/cookiesck.spec.ts +5 -0
- package/tests/didomi.spec.ts +9 -0
- package/tests/doc24-ch.spec.ts +3 -0
- package/tests/ernesto.spec.ts +8 -0
- package/tests/eu-cookie-compliance-legacy.spec.ts +8 -0
- package/tests/fora-se.spec.ts +3 -0
- package/tests/fusedeck.spec.ts +9 -0
- package/tests/gjerrigknark.spec.ts +6 -0
- package/tests/hemsol.se.spec.ts +3 -0
- package/tests/historiskatlas.dk.spec.ts +3 -0
- package/tests/hmi-basen-dk.spec.ts +5 -0
- package/tests/jobbland.spec.ts +5 -0
- package/tests/kadokawa-ascii.spec.ts +5 -0
- package/tests/kglakademi.spec.ts +3 -0
- package/tests/kredittbanken.spec.ts +3 -0
- package/tests/matspar-se.spec.ts +3 -0
- package/tests/mitrejsevejr.dk.spec.ts +3 -0
- package/tests/morgenlevering.no.spec.ts +3 -0
- package/tests/multicalcolo.spec.ts +3 -0
- package/tests/nutri.se.spec.ts +3 -0
- package/tests/onecall-no.spec.ts +3 -0
- package/tests/peppes.spec.ts +5 -0
- package/tests/planteportalen-no.spec.ts +3 -0
- package/tests/sian-it.spec.ts +3 -0
- package/tests/skisport.spec.ts +9 -0
- package/tests/skogforsk.spec.ts +3 -0
- package/tests/skovborghogh-cookies.spec.ts +9 -0
- package/tests/sportstiming.spec.ts +8 -0
- package/tests/squarespace-cookie-banner.spec.ts +1 -0
- package/tests/vardgivarguiden.spec.ts +3 -0
- package/tests/wbd-consent-modal.spec.ts +6 -0
- package/tests/welcome-city-yokohama.spec.ts +3 -0
- package/tests/wordpress-wordads.spec.ts +9 -0
- package/tests-wtr/rules/cmp-test-urls.json +0 -1
- package/rules/autoconsent/delta-com.json +0 -12
- package/rules/generated/auto_CH_fhgr.ch_9nr.json +0 -40
- package/tests/delta.spec.ts +0 -3
- package/tests/generated/auto_CH_fhgr.ch_9nr.spec.ts +0 -2
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('amasty-gdpr-sidebar', [
|
|
4
|
+
// Save selection button only
|
|
5
|
+
'https://www.jarbo.se/',
|
|
6
|
+
'https://www.badgematic.de/',
|
|
7
|
+
'https://www.dekaartendrukkerij.nl/',
|
|
8
|
+
'https://www.caterite.co.uk/',
|
|
9
|
+
// Decline button
|
|
10
|
+
'https://www.kedo.de/',
|
|
11
|
+
'https://proedinc.com/',
|
|
12
|
+
'https://millermedicalsupplies.com/',
|
|
13
|
+
// Customized templates with a decline button
|
|
14
|
+
'https://www.monnaiedeparis.fr/',
|
|
15
|
+
'https://aminoexpert.com/',
|
|
16
|
+
]);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('ccconsent-holder', [
|
|
4
|
+
'https://www.hemfint.se/',
|
|
5
|
+
'https://www.skapamer.se/',
|
|
6
|
+
'https://www.hjemfint.no/',
|
|
7
|
+
'https://www.prisklok.no/',
|
|
8
|
+
'https://www.skapemer.no/',
|
|
9
|
+
'https://www.ellahobby.de/',
|
|
10
|
+
'https://freddyhaus.de/',
|
|
11
|
+
]);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('cloudcms-cookie-alert-notice', [
|
|
4
|
+
'https://pgedystrybucja.pl/',
|
|
5
|
+
'https://pge-obrot.pl/',
|
|
6
|
+
// acknowledge-style button text
|
|
7
|
+
'https://pgegiek.pl/',
|
|
8
|
+
// no cookie mode attribute on html
|
|
9
|
+
'https://fjp.org.pl/',
|
|
10
|
+
]);
|
package/tests/didomi.spec.ts
CHANGED
|
@@ -34,3 +34,12 @@ generateCMPTests('didomi', ['https://en.as.com/', 'https://cadenaser.com/'], {
|
|
|
34
34
|
testSelfTest: true,
|
|
35
35
|
onlyRegions: ['US'],
|
|
36
36
|
});
|
|
37
|
+
|
|
38
|
+
// "Consent or pay" notices where the disagree button is a paid or subscription option: the rule must leave them to the user.
|
|
39
|
+
generateCMPTests('didomi', ['https://www.elconfidencial.com/', 'https://www.20minutes.fr/', 'https://www.publico.es/'], {
|
|
40
|
+
expectPopupOpen: false,
|
|
41
|
+
testOptIn: false,
|
|
42
|
+
testOptOut: false,
|
|
43
|
+
testSelfTest: false,
|
|
44
|
+
onlyRegions: ['FR'],
|
|
45
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import generateCMPTests from '../playwright/runner';
|
|
2
|
+
|
|
3
|
+
generateCMPTests('skovborghogh-cookies', [
|
|
4
|
+
'https://silvergroup.dk/georg-jensen-paper-weight-paper-knife-wagtail-485-turquoise.html',
|
|
5
|
+
'https://lommelygteshop.dk/',
|
|
6
|
+
'https://frinatur.se/',
|
|
7
|
+
'https://dunstan.dk/',
|
|
8
|
+
'https://startist.dk/',
|
|
9
|
+
]);
|
|
@@ -2591,7 +2591,6 @@
|
|
|
2591
2591
|
["clustrmaps.com", "https://www.clustrmaps.com/"],
|
|
2592
2592
|
["csu-landtag-de", "https://csu-landtag.de/"],
|
|
2593
2593
|
["dailymotion.com", "https://www.dailymotion.com/"],
|
|
2594
|
-
["delta.com", "https://www.delta.com/"],
|
|
2595
2594
|
["depop", "https://depop.com/"],
|
|
2596
2595
|
[
|
|
2597
2596
|
"dji",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "delta.com",
|
|
3
|
-
"runContext": {
|
|
4
|
-
"urlPattern": "^https://www\\.delta\\.com/"
|
|
5
|
-
},
|
|
6
|
-
"cosmetic": true,
|
|
7
|
-
"prehideSelectors": ["ngc-cookie-banner"],
|
|
8
|
-
"detectCmp": [{ "exists": "div.cookie-footer-container" }],
|
|
9
|
-
"detectPopup": [{ "visible": "div.cookie-footer-container" }],
|
|
10
|
-
"optIn": [{ "click": " button.cookie-close-icon" }],
|
|
11
|
-
"optOut": [{ "hide": "div.cookie-footer-container" }]
|
|
12
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "auto_CH_fhgr.ch_9nr",
|
|
3
|
-
"cosmetic": false,
|
|
4
|
-
"_metadata": {
|
|
5
|
-
"vendorUrl": "http://www.fhgr.ch/"
|
|
6
|
-
},
|
|
7
|
-
"runContext": {
|
|
8
|
-
"main": true,
|
|
9
|
-
"frame": false,
|
|
10
|
-
"urlPattern": "^https?://(www\\.)?fhgr\\.ch/"
|
|
11
|
-
},
|
|
12
|
-
"prehideSelectors": [],
|
|
13
|
-
"detectCmp": [
|
|
14
|
-
{
|
|
15
|
-
"exists": "body > div > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(5):not([id]) > button:nth-child(1)#fd-unCheckAll"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"detectPopup": [
|
|
19
|
-
{
|
|
20
|
-
"visible": "body > div > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(5):not([id]) > button:nth-child(1)#fd-unCheckAll"
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"optIn": [],
|
|
24
|
-
"optOut": [
|
|
25
|
-
{
|
|
26
|
-
"wait": 500
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
"waitForThenClick": "body > div > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(5):not([id]) > button:nth-child(1)#fd-unCheckAll",
|
|
30
|
-
"comment": "Alle ablehnen"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"test": [
|
|
34
|
-
{
|
|
35
|
-
"waitForVisible": "body > div > div:not([id]) > div:not([id]) > div:not([id]) > div:nth-child(5):not([id]) > button:nth-child(1)#fd-unCheckAll",
|
|
36
|
-
"timeout": 1000,
|
|
37
|
-
"check": "none"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
package/tests/delta.spec.ts
DELETED