@duckduckgo/autoconsent 18.2.0 → 18.4.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 +122 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +92 -36
- 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/content.bundle.js +92 -36
- 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 +92 -36
- package/dist/autoconsent.esm.js +92 -36
- package/dist/autoconsent.playwright.js +92 -36
- package/dist/autoconsent.standalone.js +93 -37
- package/dist/heuristics.cjs.js +92 -38
- package/dist/heuristics.mjs +92 -37
- package/dist/types/heuristic-patterns.d.ts +0 -1
- package/lib/heuristic-literals.ts +39 -12
- package/lib/heuristic-negatives.ts +0 -9
- package/lib/heuristic-patterns.ts +54 -16
- package/package.json +1 -1
- package/rules/autoconsent/adaptivemedia.json +30 -0
- package/rules/autoconsent/adeac-jp.json +29 -0
- package/rules/autoconsent/agenziaentrate-geoportale.json +35 -0
- package/rules/autoconsent/alertnotification-alert-bar.json +27 -0
- package/rules/autoconsent/amasty-gdpr-hyva.json +6 -6
- 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/betheme.json +10 -0
- package/rules/autoconsent/biblia-online.pl.json +40 -0
- package/rules/autoconsent/bitauto.json +57 -0
- package/rules/autoconsent/blastingnews.json +36 -0
- package/rules/autoconsent/bn-org-pl.json +37 -0
- package/rules/autoconsent/bt-com-au.json +13 -0
- package/rules/autoconsent/calclife.net.json +43 -0
- package/rules/autoconsent/casino-guru.json +28 -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/code3-cookies-consent.json +48 -0
- package/rules/autoconsent/complianz-opt-out.json +7 -2
- package/rules/autoconsent/cookie-button-basic.json +47 -0
- package/rules/autoconsent/cookie-use-notice.json +12 -0
- package/rules/autoconsent/cookieinfo-zamknij.json +30 -0
- package/rules/autoconsent/cookiesbanner-preference.json +14 -0
- package/rules/autoconsent/cookiesck.json +31 -0
- package/rules/autoconsent/cookiesmodal-pl.json +18 -0
- package/rules/autoconsent/creditunionsa.json +12 -0
- package/rules/autoconsent/cstudios.json +35 -0
- package/rules/autoconsent/dandomain.json +41 -0
- package/rules/autoconsent/datezone.json +22 -0
- package/rules/autoconsent/didomi.json +5 -0
- package/rules/autoconsent/dlibra.json +32 -0
- package/rules/autoconsent/dnb.json +30 -0
- package/rules/autoconsent/doc24-ch.json +33 -0
- package/rules/autoconsent/e-file.json +44 -0
- package/rules/autoconsent/erli-pl.json +36 -0
- package/rules/autoconsent/ernesto.json +30 -0
- package/rules/autoconsent/eu-cookie-compliance-legacy.json +15 -0
- package/rules/autoconsent/fellow-pl.json +16 -0
- package/rules/autoconsent/fn-se.json +17 -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/icom-co-jp.json +34 -0
- package/rules/autoconsent/intermedia-cms-fsi.json +30 -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/lieder.net.json +13 -0
- package/rules/autoconsent/matspar-se.json +34 -0
- package/rules/autoconsent/menti-com.json +37 -0
- package/rules/autoconsent/mitrejsevejr.dk.json +13 -0
- package/rules/autoconsent/morgenlevering.no.json +46 -0
- package/rules/autoconsent/mos-cudzoziemcy-gov-pl.json +29 -0
- package/rules/autoconsent/multicalcolo.json +37 -0
- package/rules/autoconsent/nutri.se.json +40 -0
- package/rules/autoconsent/octoparse.json +33 -0
- package/rules/autoconsent/onecall-no.json +44 -0
- package/rules/autoconsent/oresundstag.json +40 -0
- package/rules/autoconsent/peppes.json +38 -0
- package/rules/autoconsent/planteportalen-no.json +32 -0
- package/rules/autoconsent/renaud-bray.json +44 -0
- package/rules/autoconsent/saos-org-pl.json +35 -0
- package/rules/autoconsent/shopgold.json +83 -0
- package/rules/autoconsent/shueisha-hpplus.json +27 -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/synergy-net-au.json +33 -0
- package/rules/autoconsent/teeshoppen.json +42 -0
- package/rules/autoconsent/tullys-jp.json +11 -0
- 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/autoconsent/worldbank.json +5 -5
- package/rules/autoconsent/wuerth.json +57 -0
- package/rules/autoconsent/ynjn.json +34 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/adaptivemedia.spec.ts +3 -0
- package/tests/adeac-jp.spec.ts +3 -0
- package/tests/agenziaentrate-geoportale.spec.ts +5 -0
- package/tests/alertnotification-alert-bar.spec.ts +11 -0
- package/tests/amasty-gdpr-hyva.spec.ts +1 -0
- 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/betheme.spec.ts +9 -0
- package/tests/biblia-online.pl.spec.ts +3 -0
- package/tests/bitauto.spec.ts +3 -0
- package/tests/blastingnews.spec.ts +3 -0
- package/tests/bn-org-pl.spec.ts +3 -0
- package/tests/bt-com-au.spec.ts +3 -0
- package/tests/calclife.net.spec.ts +3 -0
- package/tests/casino-guru.spec.ts +15 -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/code3-cookies-consent.spec.ts +8 -0
- package/tests/complianz-opt-out.spec.ts +13 -3
- package/tests/cookie-button-basic.spec.ts +9 -0
- package/tests/cookie-use-notice.spec.ts +6 -0
- package/tests/cookieinfo-zamknij.spec.ts +3 -0
- package/tests/cookiesbanner-preference.spec.ts +8 -0
- package/tests/cookiesck.spec.ts +5 -0
- package/tests/cookiesmodal-pl.spec.ts +3 -0
- package/tests/creditunionsa.spec.ts +3 -0
- package/tests/cstudios.spec.ts +3 -0
- package/tests/dandomain.spec.ts +18 -0
- package/tests/datezone.spec.ts +3 -0
- package/tests/didomi.spec.ts +9 -0
- package/tests/dlibra.spec.ts +8 -0
- package/tests/dnb.spec.ts +5 -0
- package/tests/doc24-ch.spec.ts +3 -0
- package/tests/e-file.spec.ts +9 -0
- package/tests/erli-pl.spec.ts +4 -0
- package/tests/ernesto.spec.ts +8 -0
- package/tests/eu-cookie-compliance-legacy.spec.ts +8 -0
- package/tests/fellow-pl.spec.ts +5 -0
- package/tests/fn-se.spec.ts +3 -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/icom-co-jp.spec.ts +3 -0
- package/tests/intermedia-cms-fsi.spec.ts +8 -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/lieder.net.spec.ts +3 -0
- package/tests/matspar-se.spec.ts +3 -0
- package/tests/menti-com.spec.ts +3 -0
- package/tests/mitrejsevejr.dk.spec.ts +3 -0
- package/tests/morgenlevering.no.spec.ts +3 -0
- package/tests/mos-cudzoziemcy-gov-pl.spec.ts +3 -0
- package/tests/multicalcolo.spec.ts +3 -0
- package/tests/nutri.se.spec.ts +3 -0
- package/tests/octoparse.spec.ts +6 -0
- package/tests/onecall-no.spec.ts +3 -0
- package/tests/oresundstag.spec.ts +3 -0
- package/tests/peppes.spec.ts +5 -0
- package/tests/planteportalen-no.spec.ts +3 -0
- package/tests/renaud-bray.spec.ts +5 -0
- package/tests/saos-org-pl.spec.ts +3 -0
- package/tests/shopgold.spec.ts +3 -0
- package/tests/shueisha-hpplus.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/synergy-net-au.spec.ts +8 -0
- package/tests/teeshoppen.spec.ts +7 -0
- package/tests/tullys-jp.spec.ts +3 -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/worldbank.spec.ts +1 -0
- package/tests/wuerth.spec.ts +8 -0
- package/tests/ynjn.spec.ts +3 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +82 -4
- 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
|
@@ -6,7 +6,6 @@ export type DetectPattern = RegExp | { pattern: RegExp; input: HeuristicInput };
|
|
|
6
6
|
export const patternOf = (p: DetectPattern): RegExp => (p instanceof RegExp ? p : p.pattern);
|
|
7
7
|
// detect patterns that context negatives refer to
|
|
8
8
|
export const BY_CONTINUING_PRIVACY = /(?:by continuing.{0,100}privacy)|(?:privacy.{0,100}by continuing)/gi;
|
|
9
|
-
export const ACCEPT_ALL = /accept all/gi;
|
|
10
9
|
export const USE_OF_COOKIES = /use of cookies/gi;
|
|
11
10
|
export const UTILISATION_DES_COOKIES = /utilisation.{0,100}des.{0,100}cookies/gi;
|
|
12
11
|
export const ACCEPTEZ_UTILISATION = /acceptez.{0,100}l.{0,100}utilisation/gi;
|
|
@@ -22,12 +21,23 @@ export const DE_SITE_USES_COOKIES = /\b(?:seite|site)\b.{0,100}\b(?:nutzt|benutz
|
|
|
22
21
|
// TODO: check for false positive detections per pattern
|
|
23
22
|
// these patterns are matched against popup-like elements or full document text to detect unknown cookie popups
|
|
24
23
|
export const DETECT_PATTERNS: DetectPattern[] = [
|
|
24
|
+
// no bare "accept all" / "reject all" labels in any language: page content with bulk actions has them too
|
|
25
25
|
/accept cookies/gi,
|
|
26
|
-
ACCEPT_ALL,
|
|
27
|
-
/reject all/gi,
|
|
28
26
|
/only necessary cookies/gi, // "only necessary" is probably too broad
|
|
29
27
|
/(?:by continuing.{0,100}cookie)|(?:cookie.{0,100}by continuing)/gi,
|
|
30
28
|
/\bby using (?:this|our) (?:web)?site\b.{0,100}cookie/gi,
|
|
29
|
+
// "By clicking 'Accept all', you agree to the storing of cookies …"
|
|
30
|
+
/\bby clicking\b.{0,80}?\byou (?:allow|accept|agree|consent)\w*\b.{0,100}?\b(?:cookies?|technologies)\b/gi,
|
|
31
|
+
// button labels count only with the cookie noun: bare "accept all" / "reject all" also label bulk actions in page content
|
|
32
|
+
/accept all cookies/gi,
|
|
33
|
+
/\breject non-(?:essential|necessary)\b/gi,
|
|
34
|
+
/\bwhich (?:types? of )?cookies (?:that )?you (?:accept|allow|want)\b/gi,
|
|
35
|
+
/\bstores? cookies on your (?:device|computer|browser)\b/gi,
|
|
36
|
+
/\byour consent to (?:collect|use|store|process|set)\b/gi,
|
|
37
|
+
/\byou agree to (?:our |the )?cookie use\b/gi,
|
|
38
|
+
/\bblocking some types of cookies\b/gi,
|
|
39
|
+
// consent management platform footers
|
|
40
|
+
/\bpowered by usercentrics\b|\b(?:realisiert mit|realized with) klaro\b/gi,
|
|
31
41
|
BY_CONTINUING_PRIVACY,
|
|
32
42
|
// up to two qualifiers are common: "optional", "essential", "analytics", "google analytics", "third party", ...
|
|
33
43
|
// singular too, but not "cookie-free"
|
|
@@ -97,17 +107,19 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
97
107
|
/stocker.{0,100}et.{0,100}ou.{0,100}accéder/gi,
|
|
98
108
|
/consentement.{0,100}à.{0,100}tout.{0,100}moment/gi,
|
|
99
109
|
/votre.{0,100}consentement/gi,
|
|
100
|
-
/accepter.{0,100}tout/gi,
|
|
101
110
|
UTILISATION_DES_COOKIES,
|
|
102
111
|
/cookies.{0,100}ou.{0,100}technologies/gi,
|
|
103
112
|
ACCEPTEZ_UTILISATION,
|
|
104
113
|
/continuer sans accepter/gi,
|
|
105
|
-
/tout refuser/gi,
|
|
106
114
|
/(?:refuser|rejeter) tous les cookies/gi,
|
|
107
115
|
// not "je refuse d'…" in a headline
|
|
108
116
|
/je refuse(?! d['’e])/gi,
|
|
109
117
|
/refuser et continuer/gi,
|
|
110
|
-
|
|
118
|
+
/\ben cliquant sur\b.{0,80}?\bvous (?:acceptez|consentez)\b.{0,60}?\b(?:cookies|traceurs)\b/gi,
|
|
119
|
+
/\bvous consentez\b.{0,60}\bcookies\b/gi,
|
|
120
|
+
/\baccepter ou refuser (?:\S+ ){0,3}cookies\b/gi,
|
|
121
|
+
/\bles cookies nous (?:sont|permettent|aident)\b/gi,
|
|
122
|
+
/\btraceurs (?:optionnels|publicitaires|non essentiels)\b/gi,
|
|
111
123
|
/seulement nécessaires/gi,
|
|
112
124
|
/je désactive les finalités non essentielles/gi,
|
|
113
125
|
/cookies essentiels uniquement/gi,
|
|
@@ -117,7 +129,8 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
117
129
|
/\bconsentez à l.utilisation (?:de |des )?cookies\b|\bdépôt (?:de|des) cookies\b/gi,
|
|
118
130
|
/\bles cookies nous permettent\b|\bnos partenaires et nous(?:-mêmes)?\b/gi,
|
|
119
131
|
/\baccepter (?:&|et) fermer\b/gi,
|
|
120
|
-
|
|
132
|
+
// up to two qualifiers, as in English: "nous utilisons nos propres cookies", "nous utilisons des cookies tiers"
|
|
133
|
+
/\b(?:on utilise|nous utilisons)(?: \S+){0,2} cookies\b/gi,
|
|
121
134
|
/\ben (?:naviguant|poursuivant)\b.{0,100}cookies/gi,
|
|
122
135
|
/(?:en continuant.{0,100}cookie)|(?:cookie.{0,100}en continuant)/gi,
|
|
123
136
|
/\ben (?:naviguant|poursuivant|continuant)\b.{0,100}confidentialité/gi,
|
|
@@ -135,7 +148,6 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
135
148
|
/und.{0,100}ähnliche.{0,100}technologien/gi,
|
|
136
149
|
/cookies.{0,100}wir.{0,100}verwenden/gi,
|
|
137
150
|
|
|
138
|
-
/alles?.{0,100}ablehnen/gi,
|
|
139
151
|
/(?:nur|nicht).{0,100}(?:zusätzliche|essenzielle|funktionale|notwendige|erforderliche).{0,100}(?:cookies|akzeptieren|erlauben|ablehnen)/gi,
|
|
140
152
|
/weiter.{0,100}(?:ohne|mit).{0,100}(?:einwilligung|zustimmung|cookies)/gi,
|
|
141
153
|
/(?:cookies|einwilligung).{0,100}ablehnen/gi,
|
|
@@ -148,7 +160,7 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
148
160
|
/\b(?:werden|wird) (?:\S+ ){0,3}cookies (?:verwendet|eingesetzt|gesetzt|genutzt)\b/gi,
|
|
149
161
|
/\bcookies? zum einsatz\b|\beinsatz von cookies\b/gi,
|
|
150
162
|
/\beinverstanden\b.{0,60}\bcookies\b|\bcookies\b.{0,80}\beinverstanden\b/gi,
|
|
151
|
-
/\b(?:alle|alles) (?:cookies
|
|
163
|
+
/\b(?:alle|alles) (?:cookies|optionalen \S+) (?:akzeptieren|zulassen|erlauben|zustimmen)\b/gi,
|
|
152
164
|
/\bzustimmen und weiter\b|\bweiter,? ohne zu (?:akzeptieren|zustimmen)\b/gi,
|
|
153
165
|
/\b(?:einwilligung|zustimmung) (?:zu|zur|in die) (?:\S+ )?cookies\b|\bcookie-(?:zustimmung|einwilligung)\b/gi,
|
|
154
166
|
/\btracking-technologien\b/gi,
|
|
@@ -166,24 +178,39 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
166
178
|
/\b(?:analyse|statistik)-?cookies\b/gi,
|
|
167
179
|
/\b(?:marketing|tracking)-?cookies\b/gi,
|
|
168
180
|
/\bcookies oder (?:andere|ähnliche)/gi,
|
|
181
|
+
// "Wenn Sie auf „Alle akzeptieren“ klicken, stimmen Sie …", "Durch Klicken auf „Alle akzeptieren“ gestatten Sie …"
|
|
182
|
+
/\b(?:indem sie auf|wenn sie auf|durch (?:das )?klicken auf)\b.{0,80}?\b(?:stimmen sie|gestatten sie|willigen sie|erklären sie sich)\b/gi,
|
|
183
|
+
/\bbenötigen wir (?:ihre|deine) (?:einwilligung|zustimmung)\b/gi,
|
|
184
|
+
{
|
|
185
|
+
pattern:
|
|
186
|
+
/\b(?:einwilligung|zustimmung)\b.{0,60}\b(?:jederzeit|widerrufen)\b|\bmit (?:ihrer|deiner) (?:einwilligung|zustimmung)\b/gi,
|
|
187
|
+
input: 'popup',
|
|
188
|
+
},
|
|
189
|
+
/\bwelche cookies sie (?:zulassen|akzeptieren)\b/gi,
|
|
190
|
+
/\bcookies?\b.{0,60}\bauf (?:ihrem|deinem) (?:gerät|endgerät)\b/gi,
|
|
191
|
+
/\bin form von cookies\b|\bblockierung bestimmter arten von cookies\b/gi,
|
|
192
|
+
/\b(?:notwendige|essenzielle|funktionale) cookies\b/gi,
|
|
193
|
+
// innerText can put every word on its own line
|
|
194
|
+
/\bwir\s+(?:verwenden|nutzen|setzen)\s+cookies\b/gi,
|
|
195
|
+
/\bzwecken und anbietern\b/gi,
|
|
196
|
+
/\bweiter ohne akzeptanz\b/gi,
|
|
169
197
|
|
|
170
198
|
// NL
|
|
171
199
|
GEBRUIK_VAN_COOKIES,
|
|
172
200
|
/(?:we|wij).{0,100}gebruiken.{0,100}cookies.{0,100}om/gi,
|
|
173
201
|
/cookies.{0,100}en.{0,100}vergelijkbare/gi,
|
|
174
202
|
|
|
175
|
-
/
|
|
203
|
+
/cookies.{0,100}(?:afwijzen|weigeren|verwerpen)/gi,
|
|
176
204
|
/alleen.{0,100}noodzakelijke?\b/gi,
|
|
177
205
|
/cookies weigeren/gi,
|
|
178
|
-
/weiger.{0,100}
|
|
206
|
+
/weiger.{0,100}cookies/gi,
|
|
179
207
|
/doorgaan zonder (?:te accepteren|akkoord te gaan)/gi,
|
|
180
208
|
/alleen.{0,100}(?:optionele|functionele|functioneel|noodzakelijke|essentiële|standaard).{0,100}cookies/gi,
|
|
181
|
-
/wijs alles af/gi,
|
|
182
209
|
/\b(?:op te slaan en\/of te (?:raadplegen|openen|lezen)|opslaan en\/of (?:openen|raadplegen|lezen)|slaan informatie\b.{0,60}\bop en\/of)\b/gi,
|
|
183
210
|
/\bonze partners vragen om (?:jouw|uw|je) toestemming\b/gi,
|
|
184
211
|
/\bwij en onze (?:\d+ )?partners\b/gi,
|
|
185
212
|
/\b(?:gebruiken|gebruikt|plaatsen|plaatst)\b(?: \S+){0,3} cookies\b/gi,
|
|
186
|
-
/\baccepteer
|
|
213
|
+
/\baccepteer alle cookies\b/gi,
|
|
187
214
|
// Dutch words only: "tracking cookies" and "marketing cookies" are also English prose and footer links
|
|
188
215
|
/\b(?:analytische|functionele|essentiële|noodzakelijke) cookies\b/gi,
|
|
189
216
|
/(?:te blijven gebruiken.{0,100}cookie)|(?:cookie.{0,100}te blijven gebruiken)/gi,
|
|
@@ -192,6 +219,9 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
192
219
|
/\bgebruiken (?:we|wij) cookies\b/gi,
|
|
193
220
|
/\bplaatsen van\b.{0,50}cookies/gi,
|
|
194
221
|
/\bte blijven gebruiken\b.{0,100}privacy/gi,
|
|
222
|
+
/\bdoor op\b.{0,60}?\bte klikken\b.{0,40}?\bga(?:at)? (?:u|je) akkoord\b/gi,
|
|
223
|
+
/\balle cookies accepteren\b/gi,
|
|
224
|
+
/\btoestemming voor (?:\S+ ){0,3}cookies\b/gi,
|
|
195
225
|
|
|
196
226
|
// Spanish (ES)
|
|
197
227
|
/(si|al) contin[úu]a[sr]?( navegando)?.{0,100} cookie/gi,
|
|
@@ -212,12 +242,17 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
212
242
|
/\b(?:almacenar|almacenamos) y\/o (?:acceder|accedemos)\b/gi,
|
|
213
243
|
/\bnuestros socios solicitan su consentimiento\b/gi,
|
|
214
244
|
/\b(?:tanto nosotros como|nosotros y) nuestros (?:\d+ )?socios\b/gi,
|
|
215
|
-
/\
|
|
245
|
+
/\bcontinuar sin aceptar\b|\bsolo las necesarias\b/gi,
|
|
216
246
|
/\bacept\w* (?:\S+ ){0,3}uso de (?:las )?cookies\b/gi,
|
|
217
247
|
/\bcookies (?:técnicas|analíticas|propias|de terceros|opcionales|necesarias)\b/gi,
|
|
218
248
|
/\blas cookies nos (?:ayudan|permiten)\b/gi,
|
|
219
249
|
/\b(?:instalamos|empleamos)\b(?: \S+){0,4} cookies\b/gi,
|
|
220
250
|
/\bacept(?:a|ar|as)? (?:el uso de |las )?(?:\S+ )?cookies\b|\bnecesitamos usar cookies\b/gi,
|
|
251
|
+
/\bal hacer clic en\b.{0,80}?\bcookies\b/gi,
|
|
252
|
+
/\b(?:aceptar|rechazar) todas las cookies\b/gi,
|
|
253
|
+
/\bestrictamente necesarias\b/gi,
|
|
254
|
+
/\balmacenar o acceder a (?:la )?información\b/gi,
|
|
255
|
+
/\btecnolog[ií]as de seguimiento\b/gi,
|
|
221
256
|
|
|
222
257
|
// Polish (PL)
|
|
223
258
|
// examples:
|
|
@@ -293,7 +328,6 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
293
328
|
/\bcookies? (?:tecnici|di profilazione|di terze parti|analitici|statistici|di marketing)\b/gi,
|
|
294
329
|
/\b(?:acconsent|accett)\w*\b.{0,40}\b(?:uso|utilizzo|installazione)\b.{0,15}\bcookies?\b/gi,
|
|
295
330
|
/\b(?:continuando|proseguendo)(?: la| nella)? navigazione\b.{0,80}\b(?:accett|acconsent)\w*/gi,
|
|
296
|
-
/\b(?:accetta|accetto|accettare|rifiuta|rifiuto|rifiutare)(?: tutti| tutto)\b/gi,
|
|
297
331
|
/\b(?:continua|prosegui|chiudi) senza accettare\b/gi,
|
|
298
332
|
/\brifiuta e abbonati\b/gi,
|
|
299
333
|
/\bconsenso (?:all.(?:uso|utilizzo) (?:dei |di )?)?cookies?\b/gi,
|
|
@@ -304,6 +338,11 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
304
338
|
/\butilizz\w*\b.{0,30}cookie/gi,
|
|
305
339
|
/\b(?:questo|il nostro) sito\b.{0,100}cookie/gi,
|
|
306
340
|
/\bcookie\b.{0,30}\btecnologie (?:simili|analoghe)\b/gi,
|
|
341
|
+
/\bcliccando su\b.{0,80}?\bcookie/gi,
|
|
342
|
+
/\b(?:accetta|rifiuta) tutti i cookie/gi,
|
|
343
|
+
// TCF: "noi e i nostri partner archiviamo …", "… potremmo utilizzare dati di localizzazione", not "partner commerciali"
|
|
344
|
+
/\bnoi e i nostri (?:\d+ )?partner (?:archivia\w*|memorizz\w*|potremmo|trattiamo)\b/gi,
|
|
345
|
+
/\bcookies? (?:essenziali|necessari)\b/gi,
|
|
307
346
|
|
|
308
347
|
// Swedish (SV)
|
|
309
348
|
// e.g. "vi använder cookies", "vi använder spårningstekniker såsom cookies", "webbplatsen använder kakor"
|
|
@@ -317,7 +356,6 @@ export const DETECT_PATTERNS: DetectPattern[] = [
|
|
|
317
356
|
/\b(?:godkänn|accepter|tillåt)\S* (?:\S+ ){0,4}(?:cookies|kakor)\b|\b(?:cookies|kakor) (?:som )?du tillåter\b/gi,
|
|
318
357
|
// a button or "… nödvändiga kakor", not "endast nödvändiga resurser"
|
|
319
358
|
/\b(?:endast|bara|enbart) nödvändiga(?: (?:cookies|kakor))?(?![ \t]*[\wåäö])/gi,
|
|
320
|
-
/\bavvisa alla\b/gi,
|
|
321
359
|
// TCF wording
|
|
322
360
|
/\blagra och\/eller (?:få åtkomst till|komma åt) information\b/gi,
|
|
323
361
|
/\b(?:dess|våra) partners?\b.{0,100}\b(?:cookies|kakor)\b/gi,
|
package/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adaptivemedia",
|
|
3
|
+
"vendorUrl": "https://www.adaptivemedia.se/",
|
|
4
|
+
"prehideSelectors": [".bg-modal:has(.preferences-modal)"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".bg-modal .preferences-modal .content button.btn-ghost.is-neutral"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".bg-modal .preferences-modal"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".preferences-modal .content button.btn-primary"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".preferences-modal .content button.btn-ghost.is-neutral"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "cookie_consent_v2_0_marketing_third_party=0"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adeac-jp",
|
|
3
|
+
"vendorUrl": "https://adeac.jp/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?adeac\\.jp/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [".overlay-footer"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": ".overlay-footer .btn-area-footer"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ".overlay-footer"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".overlay-footer .overlay_button button"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": ".overlay-footer"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "agenziaentrate-geoportale",
|
|
3
|
+
"vendorUrl": "https://geoportale.cartografia.agenziaentrate.gov.it/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://geoportale\\.cartografia\\.agenziaentrate\\.gov\\.it/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#cookiebar"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#cookiebar .cookiebar-confirm[data-accept=cookiebar]"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "#cookiebar"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#cookiebar .cookiebar-confirm[data-accept=cookiebar]"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "#cookiebar"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": "#cookiebar",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "alertnotification-alert-bar",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"prehideSelectors": [
|
|
5
|
+
".alert-bar[data-alert-api$=\"api/alertnotification\"]:is(.alert-bar--notification, .alert-bar--cookie-message, #alert-COOKIES)"
|
|
6
|
+
],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": ".alert-bar[data-alert-api$=\"api/alertnotification\"]:is(.alert-bar--notification, .alert-bar--cookie-message, #alert-COOKIES)"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ".alert-bar[data-alert-api$=\"api/alertnotification\"]:is(.alert-bar--notification, .alert-bar--cookie-message, #alert-COOKIES)"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ".alert-bar[data-alert-api$=\"api/alertnotification\"]:is(.alert-bar--notification, .alert-bar--cookie-message, #alert-COOKIES) :is(.alert-bar__close, .alert-bar__button)"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"hide": ".alert-bar[data-alert-api$=\"api/alertnotification\"]:is(.alert-bar--notification, .alert-bar--cookie-message, #alert-COOKIES)"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
],
|
|
11
11
|
"detectPopup": [
|
|
12
12
|
{
|
|
13
|
-
"visible": "#am-cookie-bar >
|
|
13
|
+
"visible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"exists": "#am-cookie-bar[style*=\"translateY(100%)\"]",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"waitForThenClick": "#am-cookie-bar [x-ref=\"am-cookie-bar\"] :is([data-dispatch-action=\"cookiebar-action-accept\"], .ambar-btn-decline)"
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
|
-
"waitForVisible": "#am-cookie-bar >
|
|
40
|
+
"waitForVisible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]",
|
|
41
41
|
"check": "none",
|
|
42
42
|
"timeout": 3000,
|
|
43
43
|
"optional": true
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"if": {
|
|
47
|
-
"visible": "#am-cookie-bar >
|
|
47
|
+
"visible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]"
|
|
48
48
|
},
|
|
49
49
|
"then": [
|
|
50
50
|
{
|
|
@@ -95,14 +95,14 @@
|
|
|
95
95
|
"optional": true
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
"waitForVisible": "#am-cookie-bar >
|
|
98
|
+
"waitForVisible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]",
|
|
99
99
|
"check": "none",
|
|
100
100
|
"timeout": 1000,
|
|
101
101
|
"optional": true
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"if": {
|
|
105
|
-
"visible": "#am-cookie-bar >
|
|
105
|
+
"visible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]"
|
|
106
106
|
},
|
|
107
107
|
"then": [
|
|
108
108
|
{
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"exists": "#am-cookie-bar[style*=\"translateY(100%)\"]"
|
|
122
122
|
},
|
|
123
123
|
{
|
|
124
|
-
"waitForVisible": "#am-cookie-bar >
|
|
124
|
+
"waitForVisible": "#am-cookie-bar > [x-bind^=\"overlay\"], #am-cookie-bar [data-dialog-ref-name=\"am-cookie-bar\"]",
|
|
125
125
|
"check": "none",
|
|
126
126
|
"timeout": 5000
|
|
127
127
|
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "amasty-gdpr-sidebar",
|
|
3
|
+
"vendorUrl": "https://amasty.com/gdpr-for-magento-2.html",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": [],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{
|
|
8
|
+
"exists": ".amgdprcookie-modal-container #amgdprcookie-form-sidebar"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"exists": ".amgdprcookie-bar-container",
|
|
12
|
+
"negated": true
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [
|
|
16
|
+
{
|
|
17
|
+
"visible": ".amgdprcookie-modal-container._show"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optIn": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".amgdprcookie-modal-container._show [data-amgdprcookie-js=\"allow\"]:not([disabled])",
|
|
23
|
+
"timeout": 10000
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"optOut": [
|
|
27
|
+
{
|
|
28
|
+
"if": {
|
|
29
|
+
"visible": ".amgdprcookie-modal-container._show [data-amgdprcookie-js=\"decline\"]"
|
|
30
|
+
},
|
|
31
|
+
"then": [
|
|
32
|
+
{
|
|
33
|
+
"waitForThenClick": ".amgdprcookie-modal-container._show [data-amgdprcookie-js=\"decline\"]:not([disabled])",
|
|
34
|
+
"timeout": 10000,
|
|
35
|
+
"retry": 5,
|
|
36
|
+
"retryInterval": 1000
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"else": [
|
|
40
|
+
{
|
|
41
|
+
"click": ".amgdprcookie-modal-container._show input.amgdprcookie-input:checked:not([disabled])",
|
|
42
|
+
"all": true,
|
|
43
|
+
"optional": true
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"waitForThenClick": ".amgdprcookie-modal-container._show [data-amgdprcookie-js=\"accept\"]:not([disabled])",
|
|
47
|
+
"timeout": 10000,
|
|
48
|
+
"retry": 5,
|
|
49
|
+
"retryInterval": 1000
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"test": [
|
|
55
|
+
{
|
|
56
|
+
"waitForVisible": ".amgdprcookie-modal-container._show",
|
|
57
|
+
"check": "none",
|
|
58
|
+
"timeout": 5000
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "arena.pl",
|
|
3
|
+
"vendorUrl": "https://arena.pl/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?arena\\.pl/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [{ "exists": ".c-mp > .c-mp-n" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".c-mp > .c-mp-n" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".c-mp > .c-mp-n .cn-ok > .cn-btn-primary" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": ".c-mp > .c-mp-n .cn-buttons > .cm-btn-secondary" },
|
|
13
|
+
{ "waitForThenClick": ".c-mp .cm-klaro .cm-footer-buttons .cn-buttons > .cm-btn-secondary:first-child" }
|
|
14
|
+
],
|
|
15
|
+
"test": [{ "cookieContains": "%22google-ads%22%3Afalse" }]
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bannercookie-dashboard",
|
|
3
|
+
"vendorUrl": "https://www.arredamento.it/",
|
|
4
|
+
"prehideSelectors": [".bannerCookie:has(#decline-text)"],
|
|
5
|
+
"detectCmp": [{ "exists": ".bannerCookie #decline-text[onclick^=\"declineAllCookies\"]" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".bannerCookie #decline-text[onclick^=\"declineAllCookies\"]" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ".bannerCookie #acceptAllBtn" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": ".bannerCookie #decline-text[onclick^=\"declineAllCookies\"]" }],
|
|
9
|
+
"test": [{ "cookieContains": "||adv" }]
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "betheme",
|
|
3
|
+
"vendorUrl": "https://muffingroup.com/betheme/",
|
|
4
|
+
"prehideSelectors": ["#mfn-consent-mode"],
|
|
5
|
+
"detectCmp": [{ "exists": "#mfn-consent-mode #consent_deny" }],
|
|
6
|
+
"detectPopup": [{ "visible": "body.mfn-cookies-open #mfn-consent-mode .mfn-cookies-popup" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#mfn-consent-mode #consent_allow" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": "#mfn-consent-mode #consent_deny" }],
|
|
9
|
+
"test": [{ "cookieContains": "%22analytics_storage%22%3A%22denied%22" }]
|
|
10
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "biblia-online.pl",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://biblia-online.pl/"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": true,
|
|
7
|
+
"runContext": {
|
|
8
|
+
"main": true,
|
|
9
|
+
"frame": false,
|
|
10
|
+
"urlPattern": "^https?://(\\w+\\.)?biblia-online\\.pl/"
|
|
11
|
+
},
|
|
12
|
+
"prehideSelectors": [".cookies-box"],
|
|
13
|
+
"detectCmp": [
|
|
14
|
+
{
|
|
15
|
+
"exists": ".cookies-box #btn-accept-cookies"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"detectPopup": [
|
|
19
|
+
{
|
|
20
|
+
"visible": ".cookies-box"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optIn": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".cookies-box #btn-accept-cookies"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"optOut": [
|
|
29
|
+
{
|
|
30
|
+
"comment": "notice only offers an accept button",
|
|
31
|
+
"hide": ".cookies-box"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"test": [
|
|
35
|
+
{
|
|
36
|
+
"visible": ".cookies-box",
|
|
37
|
+
"check": "none"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bitauto",
|
|
3
|
+
"vendorUrl": "https://www.bitauto.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?bitauto\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".authorize"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".authorize .lnk-disagree"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".authorize .lnk-disagree"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".authorize .lnk-agree"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".authorize .lnk-disagree"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": ".fc-consent-root .fc-dialog-container",
|
|
29
|
+
"timeout": 4000,
|
|
30
|
+
"optional": true
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"if": {
|
|
34
|
+
"visible": ".fc-consent-root .fc-dialog-container"
|
|
35
|
+
},
|
|
36
|
+
"then": [
|
|
37
|
+
{
|
|
38
|
+
"click": ".fc-cta-do-not-consent,.fc-cta-manage-options"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked",
|
|
42
|
+
"all": true,
|
|
43
|
+
"optional": true
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"click": ".fc-confirm-choices",
|
|
47
|
+
"optional": true
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"test": [
|
|
53
|
+
{
|
|
54
|
+
"cookieContains": "save_open_time=ok"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "blastingnews",
|
|
3
|
+
"vendorUrl": "https://www.blastingnews.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?blastingnews\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-content.box-cookie-wrapper"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookie-content.box-cookie-wrapper #btn-cookie-reject-all"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookie-content.box-cookie-wrapper #btn-cookie-reject-all"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookie-content #btn-cookie-accept"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cookie-content #btn-cookie-reject-all"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"wait": 500
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"cookieContains": "_bn_mfc=-1"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bn-org-pl",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://([a-z0-9-]+\\.)?bn\\.org\\.pl/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#cookies"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "#cookies .alert [data-dismiss=alert]"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#cookies .alert"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "#cookies .alert [data-dismiss=alert]"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#cookies .alert [data-dismiss=alert]"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"waitForVisible": "#cookies .alert",
|
|
28
|
+
"check": "none",
|
|
29
|
+
"timeout": 2000
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"test": [
|
|
33
|
+
{
|
|
34
|
+
"cookieContains": "cookies=ok"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bt-com-au",
|
|
3
|
+
"vendorUrl": "https://www.bt.com.au/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?bt\\.com\\.au/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#js-cookie-alert #cookie"],
|
|
8
|
+
"detectCmp": [{ "exists": "#js-cookie-alert #cookie" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#js-cookie-alert.show #cookie" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#js-cookie-alert #cookie button.closeAlert" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": "#js-cookie-alert #cookie button.closeAlert" }],
|
|
12
|
+
"test": [{ "waitForVisible": "#js-cookie-alert #cookie", "check": "none", "timeout": 1000 }]
|
|
13
|
+
}
|