@duckduckgo/autoconsent 16.61.0 → 16.63.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/.node-version +1 -1
- package/CHANGELOG.md +118 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +14 -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/content.bundle.js +14 -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.cjs.js +14 -1
- package/dist/autoconsent.esm.js +14 -1
- package/dist/autoconsent.playwright.js +14 -1
- package/dist/autoconsent.standalone.js +15 -2
- package/dist/heuristics.cjs.js +14 -1
- package/dist/heuristics.mjs +14 -1
- package/lib/heuristic-patterns.ts +17 -1
- package/package.json +2 -2
- package/rules/autoconsent/acos-cms.json +14 -0
- package/rules/autoconsent/adnuntius.json +31 -0
- package/rules/autoconsent/adstate.json +32 -0
- package/rules/autoconsent/appconsent-legacy.json +22 -1
- package/rules/autoconsent/aslroma1-it.json +36 -0
- package/rules/autoconsent/bancaditalia.json +29 -0
- package/rules/autoconsent/banknorwegian.json +19 -0
- package/rules/autoconsent/batteriexperten-com.json +34 -0
- package/rules/autoconsent/beetle-tracking.json +22 -0
- package/rules/autoconsent/bold-cookie-consent.json +64 -0
- package/rules/autoconsent/bosch-dock-privacy-settings.json +10 -0
- package/rules/autoconsent/bullionbypost.json +113 -0
- package/rules/autoconsent/buonmedico.json +32 -0
- package/rules/autoconsent/casier-judiciaire-justice-gouv-fr.json +40 -0
- package/rules/autoconsent/civilservicejobs-service-gov-uk.json +38 -0
- package/rules/autoconsent/ckies.json +1 -1
- package/rules/autoconsent/coki61.json +29 -0
- package/rules/autoconsent/compricer.json +19 -0
- package/rules/autoconsent/concordia-ch.json +13 -0
- package/rules/autoconsent/consentaur.json +30 -0
- package/rules/autoconsent/consentmagic.json +62 -0
- package/rules/autoconsent/cookie-notice-checkboxes.json +28 -0
- package/rules/autoconsent/cookie-script.json +8 -6
- package/rules/autoconsent/cookiesinfo-closecookies.json +9 -0
- package/rules/autoconsent/dack365.json +35 -0
- package/rules/autoconsent/ecoprivacy.json +42 -0
- package/rules/autoconsent/emr-ch.json +16 -0
- package/rules/autoconsent/eu-cookie-law-popup.json +33 -0
- package/rules/autoconsent/evozen.fr.json +27 -0
- package/rules/autoconsent/fascicolosanitario-lombardia.json +14 -0
- package/rules/autoconsent/fideuram.json +13 -0
- package/rules/autoconsent/finsweet.json +15 -4
- package/rules/autoconsent/fondoest.it.json +16 -0
- package/rules/autoconsent/fonts-google-com.json +24 -0
- package/rules/autoconsent/fundingchoices.json +12 -2
- package/rules/autoconsent/giustizia-it.json +40 -0
- package/rules/autoconsent/gnoccaforum.json +12 -0
- package/rules/autoconsent/hyrabostad.json +21 -0
- package/rules/autoconsent/idoctors.it.json +21 -0
- package/rules/autoconsent/ihavecookies.json +20 -0
- package/rules/autoconsent/iisvaldagno.json +35 -0
- package/rules/autoconsent/incomit.json +30 -0
- package/rules/autoconsent/ing-de.json +1 -1
- package/rules/autoconsent/insided.json +15 -0
- package/rules/autoconsent/io.no.json +36 -0
- package/rules/autoconsent/jollyroom.json +47 -0
- package/rules/autoconsent/kartverket.json +46 -0
- package/rules/autoconsent/klp-cookie-banner.json +32 -0
- package/rules/autoconsent/krieger-consent-form.json +12 -0
- package/rules/autoconsent/kulturit-ccm.json +11 -0
- package/rules/autoconsent/lexbase-se.json +35 -0
- package/rules/autoconsent/luxmed.json +33 -0
- package/rules/autoconsent/massaggiamilano.json +15 -0
- package/rules/autoconsent/mercedes-benz-cmm.json +55 -0
- package/rules/autoconsent/meta-cookie-dialog.json +37 -0
- package/rules/autoconsent/mittanbud.json +33 -0
- package/rules/autoconsent/nojazz.json +25 -0
- package/rules/autoconsent/octopusenergy-it.json +24 -0
- package/rules/autoconsent/opencmp.json +70 -0
- package/rules/autoconsent/pharmasave.json +13 -0
- package/rules/autoconsent/poki.json +37 -0
- package/rules/autoconsent/polisen-se.json +26 -0
- package/rules/autoconsent/praktikertjanst.json +16 -0
- package/rules/autoconsent/qtip-jgrowl-cookies.json +31 -0
- package/rules/autoconsent/refurbed.json +40 -0
- package/rules/autoconsent/rinkabyror-se.json +29 -0
- package/rules/autoconsent/romeo.json +47 -0
- package/rules/autoconsent/sfanytime.json +47 -0
- package/rules/autoconsent/smartweb.json +18 -0
- package/rules/autoconsent/sourcepoint-top.json +6 -6
- package/rules/autoconsent/stockholm-stad.json +42 -0
- package/rules/autoconsent/stright.json +19 -1
- package/rules/autoconsent/stripchat.com.json +26 -5
- package/rules/autoconsent/trustarc-newcm.json +4 -4
- package/rules/autoconsent/tvp.json +27 -0
- package/rules/autoconsent/umcg.json +16 -0
- package/rules/autoconsent/unive.it.json +62 -0
- package/rules/autoconsent/urvaerket.json +33 -0
- package/rules/autoconsent/vergelijkgroep.json +37 -0
- package/rules/autoconsent/volvocars-com.json +23 -2
- package/rules/autoconsent/vue-cookie-accept-decline.json +42 -0
- package/rules/autoconsent/widiba.json +16 -0
- package/rules/autoconsent/wimc-gtm-consent.json +31 -0
- package/rules/autoconsent/xlbygg.se.json +44 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/acos-cms.spec.ts +9 -0
- package/tests/adnuntius.spec.ts +8 -0
- package/tests/adstate.spec.ts +7 -0
- package/tests/appconsent-legacy.spec.ts +1 -1
- package/tests/aslroma1-it.spec.ts +3 -0
- package/tests/bancaditalia.spec.ts +15 -0
- package/tests/banknorwegian.spec.ts +13 -0
- package/tests/batteriexperten-com.spec.ts +10 -0
- package/tests/beetle-tracking.spec.ts +3 -0
- package/tests/bold-cookie-consent.spec.ts +14 -0
- package/tests/bosch-dock-privacy-settings.spec.ts +8 -0
- package/tests/bullionbypost.spec.ts +17 -0
- package/tests/buonmedico.spec.ts +3 -0
- package/tests/casier-judiciaire-justice-gouv-fr.spec.ts +3 -0
- package/tests/civilservicejobs-service-gov-uk.spec.ts +3 -0
- package/tests/coki61.spec.ts +3 -0
- package/tests/compricer.spec.ts +3 -0
- package/tests/concordia-ch.spec.ts +3 -0
- package/tests/consentaur.spec.ts +6 -0
- package/tests/consentmagic.spec.ts +10 -0
- package/tests/cookie-notice-checkboxes.spec.ts +13 -0
- package/tests/cookie-script.spec.ts +4 -0
- package/tests/cookiesinfo-closecookies.spec.ts +8 -0
- package/tests/dack365.spec.ts +3 -0
- package/tests/ecoprivacy.spec.ts +8 -0
- package/tests/emr-ch.spec.ts +3 -0
- package/tests/eu-cookie-law-popup.spec.ts +8 -0
- package/tests/evozen.fr.spec.ts +3 -0
- package/tests/fascicolosanitario-lombardia.spec.ts +3 -0
- package/tests/fideuram.spec.ts +3 -0
- package/tests/finsweet.spec.ts +5 -1
- package/tests/fondoest.it.spec.ts +6 -0
- package/tests/fonts-google-com.spec.ts +5 -0
- package/tests/fundingchoices.spec.ts +7 -1
- package/tests/giustizia-it.spec.ts +15 -0
- package/tests/gnoccaforum.spec.ts +3 -0
- package/tests/hyrabostad.spec.ts +3 -0
- package/tests/idoctors.it.spec.ts +3 -0
- package/tests/ihavecookies.spec.ts +3 -0
- package/tests/iisvaldagno.spec.ts +3 -0
- package/tests/incomit.spec.ts +8 -0
- package/tests/insided.spec.ts +9 -0
- package/tests/io.no.spec.ts +3 -0
- package/tests/jollyroom.spec.ts +9 -0
- package/tests/kartverket.spec.ts +3 -0
- package/tests/klp-cookie-banner.spec.ts +5 -0
- package/tests/krieger-consent-form.spec.ts +3 -0
- package/tests/kulturit-ccm.spec.ts +3 -0
- package/tests/lexbase-se.spec.ts +5 -0
- package/tests/luxmed.spec.ts +3 -0
- package/tests/massaggiamilano.spec.ts +3 -0
- package/tests/mercedes-benz-cmm.spec.ts +12 -0
- package/tests/meta-cookie-dialog.spec.ts +14 -0
- package/tests/mittanbud.spec.ts +3 -0
- package/tests/nojazz.spec.ts +7 -0
- package/tests/octopusenergy-it.spec.ts +3 -0
- package/tests/opencmp.spec.ts +22 -0
- package/tests/pharmasave.spec.ts +3 -0
- package/tests/poki.spec.ts +6 -0
- package/tests/polisen-se.spec.ts +3 -0
- package/tests/praktikertjanst.spec.ts +3 -0
- package/tests/qtip-jgrowl-cookies.spec.ts +9 -0
- package/tests/refurbed.spec.ts +10 -0
- package/tests/rinkabyror-se.spec.ts +3 -0
- package/tests/romeo.spec.ts +3 -0
- package/tests/sfanytime.spec.ts +3 -0
- package/tests/smartweb.spec.ts +17 -0
- package/tests/stockholm-stad.spec.ts +7 -0
- package/tests/stright.spec.ts +11 -0
- package/tests/stripchat.com.spec.ts +4 -1
- package/tests/trustarc-newcm.spec.ts +9 -5
- package/tests/tvp.spec.ts +3 -0
- package/tests/umcg.spec.ts +3 -0
- package/tests/unive.it.spec.ts +3 -0
- package/tests/urvaerket.spec.ts +13 -0
- package/tests/vergelijkgroep.spec.ts +3 -0
- package/tests/volvocars-com.spec.ts +1 -1
- package/tests/vue-cookie-accept-decline.spec.ts +8 -0
- package/tests/widiba.spec.ts +3 -0
- package/tests/wimc-gtm-consent.spec.ts +3 -0
- package/tests/xlbygg.se.spec.ts +3 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +49 -0
package/dist/heuristics.cjs.js
CHANGED
|
@@ -346,7 +346,15 @@ var REJECT_PATTERNS_DANISH = [
|
|
|
346
346
|
// "nej tak" (no thanks)
|
|
347
347
|
/^nej(,?\s+tak)?$/is
|
|
348
348
|
];
|
|
349
|
-
var REJECT_PATTERNS_CATALAN = [
|
|
349
|
+
var REJECT_PATTERNS_CATALAN = [
|
|
350
|
+
/(^|\s)rebutj/is,
|
|
351
|
+
"no accepto",
|
|
352
|
+
"no, gr\xE0cies",
|
|
353
|
+
// accept/allow/use (only) necessary / essential / technical / functional
|
|
354
|
+
/^\s*(acceptar?|accepto|permetre|utilitzar|usar)?\s*(només|sols|únicament)?\s*(les\s+|els\s+)?(galetes\s+|cookies?\s+)?(estrictament\s+)?(necess[aà]ri\w*|essencial\w*|tècni\w*|funcional\w*|imprescindibles)\s*$/is,
|
|
355
|
+
// continue without accepting
|
|
356
|
+
/^continuar sense acceptar/is
|
|
357
|
+
];
|
|
350
358
|
var REJECT_PATTERNS_GALICIAN = [/(^|\s)rexeitar/is];
|
|
351
359
|
var REJECT_PATTERNS_BASQUE = [/(^|\s)(baztertu|ukatu)/is];
|
|
352
360
|
var REJECT_PATTERNS_PORTUGUESE = [/^aceitar apenas cookies essenciais\.$/];
|
|
@@ -504,6 +512,9 @@ var SETTINGS_PATTERNS = [
|
|
|
504
512
|
"configura-les",
|
|
505
513
|
"personalitza",
|
|
506
514
|
"veure prefer\xE8ncies",
|
|
515
|
+
/^(configuració|personalitzar|preferències|més opcions)$/,
|
|
516
|
+
/^(configuració|preferències|opcions)( de( les)?)? (galetes|cookies?)$/is,
|
|
517
|
+
/^(gestiona|gestionar|configura|configurar|personalitza|personalitzar|veure|establir|administrar)( les)?( meves)? (preferències|galetes|cookies?|opcions)$/is,
|
|
507
518
|
// Galician (GL)
|
|
508
519
|
"xestionar preferencias",
|
|
509
520
|
// Basque (EU)
|
|
@@ -777,6 +788,8 @@ var ACKNOWLEDGE_PATTERNS = [
|
|
|
777
788
|
"seguir",
|
|
778
789
|
"vale",
|
|
779
790
|
"\xA1vamos!",
|
|
791
|
+
// Catalan (CA)
|
|
792
|
+
/^(ho )?(entenc|entès|entesos)[ !.]*$/s,
|
|
780
793
|
// Polish (PL)
|
|
781
794
|
"kontynuuj",
|
|
782
795
|
"ok, zrozumia\u0142em",
|
package/dist/heuristics.mjs
CHANGED
|
@@ -307,7 +307,15 @@ var REJECT_PATTERNS_DANISH = [
|
|
|
307
307
|
// "nej tak" (no thanks)
|
|
308
308
|
/^nej(,?\s+tak)?$/is
|
|
309
309
|
];
|
|
310
|
-
var REJECT_PATTERNS_CATALAN = [
|
|
310
|
+
var REJECT_PATTERNS_CATALAN = [
|
|
311
|
+
/(^|\s)rebutj/is,
|
|
312
|
+
"no accepto",
|
|
313
|
+
"no, gr\xE0cies",
|
|
314
|
+
// accept/allow/use (only) necessary / essential / technical / functional
|
|
315
|
+
/^\s*(acceptar?|accepto|permetre|utilitzar|usar)?\s*(només|sols|únicament)?\s*(les\s+|els\s+)?(galetes\s+|cookies?\s+)?(estrictament\s+)?(necess[aà]ri\w*|essencial\w*|tècni\w*|funcional\w*|imprescindibles)\s*$/is,
|
|
316
|
+
// continue without accepting
|
|
317
|
+
/^continuar sense acceptar/is
|
|
318
|
+
];
|
|
311
319
|
var REJECT_PATTERNS_GALICIAN = [/(^|\s)rexeitar/is];
|
|
312
320
|
var REJECT_PATTERNS_BASQUE = [/(^|\s)(baztertu|ukatu)/is];
|
|
313
321
|
var REJECT_PATTERNS_PORTUGUESE = [/^aceitar apenas cookies essenciais\.$/];
|
|
@@ -465,6 +473,9 @@ var SETTINGS_PATTERNS = [
|
|
|
465
473
|
"configura-les",
|
|
466
474
|
"personalitza",
|
|
467
475
|
"veure prefer\xE8ncies",
|
|
476
|
+
/^(configuració|personalitzar|preferències|més opcions)$/,
|
|
477
|
+
/^(configuració|preferències|opcions)( de( les)?)? (galetes|cookies?)$/is,
|
|
478
|
+
/^(gestiona|gestionar|configura|configurar|personalitza|personalitzar|veure|establir|administrar)( les)?( meves)? (preferències|galetes|cookies?|opcions)$/is,
|
|
468
479
|
// Galician (GL)
|
|
469
480
|
"xestionar preferencias",
|
|
470
481
|
// Basque (EU)
|
|
@@ -738,6 +749,8 @@ var ACKNOWLEDGE_PATTERNS = [
|
|
|
738
749
|
"seguir",
|
|
739
750
|
"vale",
|
|
740
751
|
"\xA1vamos!",
|
|
752
|
+
// Catalan (CA)
|
|
753
|
+
/^(ho )?(entenc|entès|entesos)[ !.]*$/s,
|
|
741
754
|
// Polish (PL)
|
|
742
755
|
"kontynuuj",
|
|
743
756
|
"ok, zrozumia\u0142em",
|
|
@@ -373,7 +373,17 @@ const REJECT_PATTERNS_DANISH = [
|
|
|
373
373
|
/^nej(,?\s+tak)?$/is,
|
|
374
374
|
];
|
|
375
375
|
|
|
376
|
-
const REJECT_PATTERNS_CATALAN = [
|
|
376
|
+
const REJECT_PATTERNS_CATALAN = [
|
|
377
|
+
/(^|\s)rebutj/is,
|
|
378
|
+
'no accepto',
|
|
379
|
+
'no, gràcies',
|
|
380
|
+
|
|
381
|
+
// accept/allow/use (only) necessary / essential / technical / functional
|
|
382
|
+
/^\s*(acceptar?|accepto|permetre|utilitzar|usar)?\s*(només|sols|únicament)?\s*(les\s+|els\s+)?(galetes\s+|cookies?\s+)?(estrictament\s+)?(necess[aà]ri\w*|essencial\w*|tècni\w*|funcional\w*|imprescindibles)\s*$/is,
|
|
383
|
+
|
|
384
|
+
// continue without accepting
|
|
385
|
+
/^continuar sense acceptar/is,
|
|
386
|
+
];
|
|
377
387
|
|
|
378
388
|
const REJECT_PATTERNS_GALICIAN = [/(^|\s)rexeitar/is];
|
|
379
389
|
|
|
@@ -561,6 +571,9 @@ export const SETTINGS_PATTERNS = [
|
|
|
561
571
|
'configura-les',
|
|
562
572
|
'personalitza',
|
|
563
573
|
'veure preferències',
|
|
574
|
+
/^(configuració|personalitzar|preferències|més opcions)$/,
|
|
575
|
+
/^(configuració|preferències|opcions)( de( les)?)? (galetes|cookies?)$/is,
|
|
576
|
+
/^(gestiona|gestionar|configura|configurar|personalitza|personalitzar|veure|establir|administrar)( les)?( meves)? (preferències|galetes|cookies?|opcions)$/is,
|
|
564
577
|
|
|
565
578
|
// Galician (GL)
|
|
566
579
|
'xestionar preferencias',
|
|
@@ -873,6 +886,9 @@ export const ACKNOWLEDGE_PATTERNS = [
|
|
|
873
886
|
'vale',
|
|
874
887
|
'¡vamos!',
|
|
875
888
|
|
|
889
|
+
// Catalan (CA)
|
|
890
|
+
/^(ho )?(entenc|entès|entesos)[ !.]*$/s,
|
|
891
|
+
|
|
876
892
|
// Polish (PL)
|
|
877
893
|
'kontynuuj',
|
|
878
894
|
'ok, zrozumiałem',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duckduckgo/autoconsent",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.63.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"types": "./dist/types/web.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"markdown-it": "^15.0.2",
|
|
74
74
|
"mocha": "^12.0.3",
|
|
75
75
|
"prettier": "3.9.10",
|
|
76
|
-
"randexp": "^0.
|
|
76
|
+
"randexp": "^0.6.1",
|
|
77
77
|
"sinon": "^22.0.0",
|
|
78
78
|
"tldts-experimental": "^7.4.3",
|
|
79
79
|
"ts-json-schema-generator": "^2.3.0",
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "acos-cms",
|
|
3
|
+
"vendorUrl": "https://www.acos.no/",
|
|
4
|
+
"intermediate": false,
|
|
5
|
+
"prehideSelectors": [".bc-content-modal:has([class*=\"_cookieFooter_\"])"],
|
|
6
|
+
"detectCmp": [{ "exists": ".bc-content-modal [class*=\"_cookieFooter_\"]" }],
|
|
7
|
+
"detectPopup": [{ "visible": ".bc-content-modal [class*=\"_cookieFooter_\"]" }],
|
|
8
|
+
"optIn": [{ "waitForThenClick": ".bc-content-modal [class*=\"_cookieFooter_\"] button:last-child" }],
|
|
9
|
+
"optOut": [
|
|
10
|
+
{ "waitForThenClick": ".bc-content-modal [class*=\"_cookieFooter_\"] button:first-child" },
|
|
11
|
+
{ "waitForVisible": ".bc-content-modal [class*=\"_cookieFooter_\"]", "check": "none" }
|
|
12
|
+
],
|
|
13
|
+
"test": [{ "cookieContains": "%222%22%3Afalse" }]
|
|
14
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adnuntius",
|
|
3
|
+
"vendorUrl": "https://adnuntius.com/",
|
|
4
|
+
"prehideSelectors": [".adn-window.adn-message"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".adn-window.adn-message .adn-footer button[onclick*='saveAll(false)']"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".adn-window.adn-message"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".adn-window.adn-message .adn-footer button[onclick*='saveAll(true)']"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".adn-window.adn-message .adn-footer button[onclick*='saveAll(false)']"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"visible": ".adn-window.adn-message",
|
|
28
|
+
"check": "none"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "adstate",
|
|
3
|
+
"vendorUrl": "https://adstate.com/",
|
|
4
|
+
"prehideSelectors": ["adstate-settings-component"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ["adstate-settings-component app-wrapper", "#cookie-pop-up-only-necessary"]
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ["adstate-settings-component app-wrapper", "app-cookie-pop-up"]
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ["adstate-settings-component app-wrapper", "#cookie-pop-up-accept-all"]
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ["adstate-settings-component app-wrapper", "#cookie-pop-up-only-necessary"]
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"waitForVisible": ["adstate-settings-component app-wrapper", "app-cookie-pop-up"],
|
|
28
|
+
"check": "none",
|
|
29
|
+
"timeout": 2000
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -18,7 +18,28 @@
|
|
|
18
18
|
],
|
|
19
19
|
"optOut": [
|
|
20
20
|
{
|
|
21
|
-
"
|
|
21
|
+
"waitFor": ["iframe[srcdoc*='frame-root']", ".button__skip, .button__openPrivacyCenter"]
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"if": {
|
|
25
|
+
"exists": ["iframe[srcdoc*='frame-root']", ".button__skip"]
|
|
26
|
+
},
|
|
27
|
+
"then": [
|
|
28
|
+
{
|
|
29
|
+
"click": ["iframe[srcdoc*='frame-root']", ".button__skip"]
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"else": [
|
|
33
|
+
{
|
|
34
|
+
"click": ["iframe[srcdoc*='frame-root']", ".button__openPrivacyCenter"]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"waitForThenClick": ["iframe[srcdoc*='frame-root']", ".button__refuseAll"]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"waitForThenClick": ["iframe[srcdoc*='frame-root']", ".button__save"]
|
|
41
|
+
}
|
|
42
|
+
]
|
|
22
43
|
}
|
|
23
44
|
],
|
|
24
45
|
"test": [
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "aslroma1-it",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?aslroma1\\.it/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#cookiePolicy"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "#cookiePolicy #cookiebar-btn"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#cookiePolicy"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "#cookiePolicy #cookiebar-btn"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#cookiePolicy #cookiebar-btn"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"waitForVisible": "#cookiePolicy",
|
|
28
|
+
"check": "none"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"test": [
|
|
32
|
+
{
|
|
33
|
+
"cookieContains": "cookie policy accepted="
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bancaditalia",
|
|
3
|
+
"prehideSelectors": ["#banner-privacy"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": "#banner-privacy #cb-RejectAll"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": "#banner-privacy"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"waitForThenClick": "#banner-privacy #cb-AcceptAll"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optOut": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#banner-privacy #cb-RejectAll"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"test": [
|
|
25
|
+
{
|
|
26
|
+
"cookieContains": "cookiepolicy=1-"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "banknorwegian",
|
|
3
|
+
"_metadata": { "vendorUrl": "https://www.banknorwegian.no/" },
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?banknorwegian\\.(no|se|dk|fi|de|es)/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".MuiDialog-root:has([data-uit=\"accept-all\"], [data-uit=\"store-changes\"])"],
|
|
8
|
+
"detectCmp": [{ "exists": "[role=\"dialog\"] #approveAllCookies[data-uit=\"accept-all\"]" }],
|
|
9
|
+
"detectPopup": [{ "visible": "[role=\"dialog\"] [data-uit=\"show-details\"]" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#approveAllCookies[data-uit=\"accept-all\"]" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": "[role=\"dialog\"] [data-uit=\"show-details\"]" },
|
|
13
|
+
{ "waitForVisible": "[role=\"dialog\"] [data-uit=\"store-changes\"]" },
|
|
14
|
+
{ "click": "[role=\"dialog\"] input[role=\"switch\"]:checked", "all": true, "optional": true },
|
|
15
|
+
{ "click": "[role=\"dialog\"] [data-uit=\"store-changes\"]" },
|
|
16
|
+
{ "waitForVisible": "[role=\"dialog\"] [data-uit=\"store-changes\"]", "check": "none", "timeout": 3000, "optional": true }
|
|
17
|
+
],
|
|
18
|
+
"test": [{ "visible": "[role=\"dialog\"] [data-uit=\"accept-all\"], [role=\"dialog\"] [data-uit=\"store-changes\"]", "check": "none" }]
|
|
19
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "batteriexperten.com",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?(batteriexperten\\.com|teknikdelar\\.se|teknikkdeler\\.no|teknikdele\\.dk|tekniikkaosat\\.fi)/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".cookie-alert"],
|
|
7
|
+
"detectCmp": [{ "exists": ".cookie-alert .inner-cookie-alert .consent-actions" }],
|
|
8
|
+
"detectPopup": [{ "visible": ".cookie-alert .inner-cookie-alert .consent-actions" }],
|
|
9
|
+
"optIn": [
|
|
10
|
+
{
|
|
11
|
+
"if": { "exists": ".cookie-alert-v2" },
|
|
12
|
+
"then": [{ "waitForThenClick": ".cookie-alert-v2 .consent-actions button:first-of-type" }],
|
|
13
|
+
"else": [{ "waitForThenClick": ".cookie-alert .consent-actions button:not(.btn-outline-light)" }]
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optOut": [
|
|
17
|
+
{
|
|
18
|
+
"if": { "exists": ".cookie-alert-v2" },
|
|
19
|
+
"then": [{ "waitForThenClick": ".cookie-alert-v2 .consent-actions button:nth-of-type(2)" }],
|
|
20
|
+
"else": [
|
|
21
|
+
{ "waitForThenClick": ".cookie-alert .consent-actions button.btn-outline-light" },
|
|
22
|
+
{ "waitForVisible": ".cookie-alert .consent-settings" },
|
|
23
|
+
{
|
|
24
|
+
"click": ".cookie-alert .consent-settings input[type=\"checkbox\"]:not([disabled]):checked",
|
|
25
|
+
"all": true,
|
|
26
|
+
"optional": true
|
|
27
|
+
},
|
|
28
|
+
{ "waitForThenClick": ".cookie-alert .consent-settings button[type=\"submit\"]" }
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{ "waitForVisible": ".cookie-alert .inner-cookie-alert .consent-actions", "check": "none" }
|
|
32
|
+
],
|
|
33
|
+
"test": [{ "cookieContains": "__consent=1" }]
|
|
34
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "beetle-tracking",
|
|
3
|
+
"vendorUrl": "https://beetle-tracking.com/",
|
|
4
|
+
"prehideSelectors": ["beetle-tracking-consent-modal"],
|
|
5
|
+
"detectCmp": [{ "exists": ["beetle-tracking-consent-modal", ".consent"] }],
|
|
6
|
+
"detectPopup": [{ "visible": ["beetle-tracking-consent-modal", ".consent__dialog-wrapper"] }],
|
|
7
|
+
"optIn": [
|
|
8
|
+
{
|
|
9
|
+
"waitForThenClick": ["beetle-tracking-consent-modal", ".consent__button-accept-all"],
|
|
10
|
+
"retry": 10,
|
|
11
|
+
"retryInterval": 500
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optOut": [
|
|
15
|
+
{
|
|
16
|
+
"waitForThenClick": ["beetle-tracking-consent-modal", ".consent__button-decline-all"],
|
|
17
|
+
"retry": 10,
|
|
18
|
+
"retryInterval": 500
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"test": [{ "cookieContains": "\"bt_marketing\":false" }]
|
|
22
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bold-cookie-consent",
|
|
3
|
+
"vendorUrl": "https://www.bold.com/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": ["#cookie-consent-banner", "#ccpa-consent-banner"],
|
|
6
|
+
"detectCmp": [{ "exists": "#cookie-consent-banner [data-id=\"cookie-consent-banner-modal\"]" }],
|
|
7
|
+
"detectPopup": [
|
|
8
|
+
{
|
|
9
|
+
"if": { "visible": "#ccpa-consent-banner" },
|
|
10
|
+
"then": [{ "visible": "#ccpa-consent-banner" }],
|
|
11
|
+
"else": [
|
|
12
|
+
{ "visible": "#cookie-consent-banner" },
|
|
13
|
+
{ "visible": "#cookie-consent-banner .banner-gdpr, #cookie-consent-banner #gdpr-modal", "check": "any" }
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"if": { "visible": "#ccpa-consent-banner" },
|
|
20
|
+
"then": [{ "click": "#ccpa-consent-banner [data-id=\"btn-close-ccpa\"]" }],
|
|
21
|
+
"else": [{ "click": "#cookie-consent-banner [data-id=\"btn-accept-ccokies\"]" }]
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"if": { "visible": "#ccpa-consent-banner" },
|
|
27
|
+
"then": [
|
|
28
|
+
{ "click": "#ccpa-consent-banner [data-id=\"btn-close-ccpa\"]" },
|
|
29
|
+
{ "waitForVisible": "#ccpa-consent-banner", "check": "none", "timeout": 3000, "optional": true }
|
|
30
|
+
],
|
|
31
|
+
"else": [
|
|
32
|
+
{
|
|
33
|
+
"if": {
|
|
34
|
+
"visible": "#cookie-consent-banner [data-id=\"btnGdprRejectAll\"], #cookie-consent-banner [data-id=\"btn-contd-without-accpting\"]",
|
|
35
|
+
"check": "any"
|
|
36
|
+
},
|
|
37
|
+
"then": [
|
|
38
|
+
{
|
|
39
|
+
"click": "#cookie-consent-banner [data-id=\"btnGdprRejectAll\"], #cookie-consent-banner [data-id=\"btn-contd-without-accpting\"]"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"else": [
|
|
43
|
+
{ "click": "#cookie-consent-banner [data-id=\"pre-banner-btn\"]" },
|
|
44
|
+
{ "waitForVisible": "#cookie-consent-banner [data-id=\"cookie-consent-banner-modal\"]" },
|
|
45
|
+
{
|
|
46
|
+
"click": "#cookie-consent-banner [data-id=\"cookie-consent-banner-modal\"] input[type=\"checkbox\"]:checked:not(:disabled)",
|
|
47
|
+
"all": true,
|
|
48
|
+
"optional": true
|
|
49
|
+
},
|
|
50
|
+
{ "click": "#cookie-consent-banner [data-id=\"btn-save-preference\"]" }
|
|
51
|
+
]
|
|
52
|
+
},
|
|
53
|
+
{ "waitForVisible": "#cookie-consent-banner", "check": "none", "timeout": 3000, "optional": true }
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"test": [
|
|
58
|
+
{
|
|
59
|
+
"if": { "exists": "#ccpa-consent-banner" },
|
|
60
|
+
"then": [{ "visible": "#ccpa-consent-banner", "check": "none" }],
|
|
61
|
+
"else": [{ "visible": "#cookie-consent-banner", "check": "none" }]
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bosch-dock-privacy-settings",
|
|
3
|
+
"vendorUrl": "https://www.bosch.com/",
|
|
4
|
+
"prehideSelectors": ["dock-privacy-settings"],
|
|
5
|
+
"detectCmp": [{ "exists": "dock-privacy-settings" }],
|
|
6
|
+
"detectPopup": [{ "visible": ["dock-privacy-settings", "#decline-all-modal-dialog button"] }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ["dock-privacy-settings", "#save-all-modal-dialog button"] }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": ["dock-privacy-settings", "#decline-all-modal-dialog button"] }],
|
|
9
|
+
"test": [{ "waitForVisible": ["dock-privacy-settings", "#decline-all-modal-dialog button"], "timeout": 1000, "check": "none" }]
|
|
10
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bullionbypost",
|
|
3
|
+
"vendorUrl": "https://www.bullionbypost.com/",
|
|
4
|
+
"prehideSelectors": [],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".cookie-banner #accept_all"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookies_modal #third_party_cookies_toggle"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".cookie-banner #accept_all"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".cookie-banner #accept_all",
|
|
21
|
+
"retry": 4,
|
|
22
|
+
"retryInterval": 1000
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"if": {
|
|
28
|
+
"exists": "#third_party_cookies_toggle:checked"
|
|
29
|
+
},
|
|
30
|
+
"then": [
|
|
31
|
+
{
|
|
32
|
+
"click": "#third_party_cookies_toggle"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"waitForThenClick": "#cookies_modal #save_button"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"if": {
|
|
41
|
+
"exists": ".cookie-banner:not(.d-none) #accept_all"
|
|
42
|
+
},
|
|
43
|
+
"then": [
|
|
44
|
+
{
|
|
45
|
+
"wait": 1000
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"click": "#cookies_modal #save_button"
|
|
49
|
+
}
|
|
50
|
+
]
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"if": {
|
|
54
|
+
"exists": ".cookie-banner:not(.d-none) #accept_all"
|
|
55
|
+
},
|
|
56
|
+
"then": [
|
|
57
|
+
{
|
|
58
|
+
"wait": 1000
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"click": "#cookies_modal #save_button"
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"if": {
|
|
67
|
+
"exists": ".cookie-banner:not(.d-none) #accept_all"
|
|
68
|
+
},
|
|
69
|
+
"then": [
|
|
70
|
+
{
|
|
71
|
+
"wait": 1000
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"click": "#cookies_modal #save_button"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"if": {
|
|
80
|
+
"exists": ".cookie-banner:not(.d-none) #accept_all"
|
|
81
|
+
},
|
|
82
|
+
"then": [
|
|
83
|
+
{
|
|
84
|
+
"wait": 1000
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"click": "#cookies_modal #save_button"
|
|
88
|
+
}
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"if": {
|
|
93
|
+
"exists": ".cookie-banner:not(.d-none) #accept_all"
|
|
94
|
+
},
|
|
95
|
+
"then": [
|
|
96
|
+
{
|
|
97
|
+
"wait": 1000
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"click": "#cookies_modal #save_button"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
"test": [
|
|
106
|
+
{
|
|
107
|
+
"cookieContains": "third_party_cookies_accepted=False"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"cookieContains": "cookie_banner_hidden=True"
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "buonmedico",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?buonmedico\\.it/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".cookieHolder"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": ".cookieHolder .cookie-link"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": ".cookieHolder .cookie-link"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": ".cookieHolder .cookie-link"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": ".cookieHolder .cookie-link"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"cookieContains": "GeneralCookieState=cookiestate"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "casier-judiciaire-justice-gouv-fr",
|
|
3
|
+
"vendorUrl": "https://casier-judiciaire.justice.gouv.fr/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://casier-judiciaire\\.justice\\.gouv\\.fr/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie_banner #myModal"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookie_banner #myModal #popupCross"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookie_banner #myModal"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#myModal #popupCross"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#myModal #popupCross"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": "#cookie_banner #myModal",
|
|
29
|
+
"check": "none",
|
|
30
|
+
"timeout": 2000,
|
|
31
|
+
"optional": true
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"test": [
|
|
35
|
+
{
|
|
36
|
+
"visible": "#cookie_banner #myModal",
|
|
37
|
+
"check": "none"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|