@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
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "unive.it",
|
|
3
|
+
"vendorUrl": "https://www.unive.it/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?unive\\.it/"
|
|
6
|
+
},
|
|
7
|
+
"cosmetic": false,
|
|
8
|
+
"prehideSelectors": ["#cookieModal"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#cookieModal [onclick*=\"cookiesPolicy.selDefAndloadScript\"]"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"any": [
|
|
17
|
+
{
|
|
18
|
+
"visible": "#cookieModal [onclick*=\"cookiesPolicy.selDefAndloadScript\"]"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"cookieContains": "unive.it=1",
|
|
22
|
+
"negated": true
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"optIn": [
|
|
28
|
+
{
|
|
29
|
+
"waitForVisible": "#cookieModal [onclick*=\"cookiesPolicy.selAllAndloadScript\"]",
|
|
30
|
+
"timeout": 15000
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"waitForThenClick": "#cookieModal [onclick*=\"cookiesPolicy.selAllAndloadScript\"]",
|
|
34
|
+
"retry": 3,
|
|
35
|
+
"retryInterval": 500
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"optOut": [
|
|
39
|
+
{
|
|
40
|
+
"waitForVisible": "#cookieModal [onclick*=\"cookiesPolicy.selDefAndloadScript\"]",
|
|
41
|
+
"timeout": 15000
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"waitForThenClick": "#cookieModal [onclick*=\"cookiesPolicy.selDefAndloadScript\"]",
|
|
45
|
+
"retry": 3,
|
|
46
|
+
"retryInterval": 500
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"test": [
|
|
50
|
+
{
|
|
51
|
+
"cookieContains": "unive.it=1"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"cookieContains": "noiframe=checked",
|
|
55
|
+
"negated": true
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"cookieContains": "socialpix=checked",
|
|
59
|
+
"negated": true
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "urvaerket",
|
|
3
|
+
"vendorUrl": "https://www.urvaerket.dk/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?(urvaerket\\.dk|uret\\.se|urverket\\.no|laatukellot\\.fi|thewatchagency\\.com)/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["app-cookie-consent > .cookie-banner"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "app-cookie-consent .cookie-banner"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "app-cookie-consent .cookie-banner"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "app-cookie-consent .cookie-banner > div > button:nth-of-type(1)"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "app-cookie-consent .cookie-banner > div > button:nth-of-type(2)"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "%22analytics%22%3Afalse%2C%22marketing%22%3Afalse"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vergelijkgroep",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://vergelijkgroep.nl/"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": false,
|
|
7
|
+
"runContext": {
|
|
8
|
+
"main": true,
|
|
9
|
+
"frame": false
|
|
10
|
+
},
|
|
11
|
+
"prehideSelectors": ["#cookie_consent:has(#cookie_consent_details)"],
|
|
12
|
+
"detectCmp": [
|
|
13
|
+
{
|
|
14
|
+
"exists": "#cookie_consent #cookie_consent_details :is(#functional-cookie-accept, .functional-button)"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"detectPopup": [
|
|
18
|
+
{
|
|
19
|
+
"visible": "#cookie_consent #cookie_consent_summary"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optIn": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#cookie_consent_summary :is(#default-accept-button, #cookie-accept-button)"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"optOut": [
|
|
28
|
+
{
|
|
29
|
+
"waitForThenClick": "#cookie_consent_details :is(#functional-cookie-accept, .functional-button)"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"test": [
|
|
33
|
+
{
|
|
34
|
+
"cookieContains": "cookieconsent_status=accept_functional"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -28,7 +28,22 @@
|
|
|
28
28
|
"optOut": [
|
|
29
29
|
{ "wait": 500 },
|
|
30
30
|
{
|
|
31
|
-
"
|
|
31
|
+
"if": {
|
|
32
|
+
"exists": ["cookie-banner#cookie-banner-host", "#onetrust-reject-all-handler"]
|
|
33
|
+
},
|
|
34
|
+
"then": [
|
|
35
|
+
{
|
|
36
|
+
"waitForThenClick": ["cookie-banner#cookie-banner-host", "#onetrust-reject-all-handler"]
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"else": [
|
|
40
|
+
{
|
|
41
|
+
"waitForThenClick": ["cookie-banner#cookie-banner-host", "#onetrust-pc-btn-handler"]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"waitForThenClick": "#onetrust-pc-sdk .ot-pc-refuse-all-handler"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
32
47
|
},
|
|
33
48
|
{
|
|
34
49
|
"waitForVisible": ["cookie-banner#cookie-banner-host", "#dialog_cookie_consent"],
|
|
@@ -38,7 +53,13 @@
|
|
|
38
53
|
],
|
|
39
54
|
"test": [
|
|
40
55
|
{
|
|
41
|
-
"cookieContains": "
|
|
56
|
+
"cookieContains": "OptanonAlertBoxClosed"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"cookieContains": "C3%3A0"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"cookieContains": "C4%3A0"
|
|
42
63
|
}
|
|
43
64
|
]
|
|
44
65
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "vue-cookie-accept-decline",
|
|
3
|
+
"vendorUrl": "https://github.com/johndatserakis/vue-cookie-accept-decline",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"main": true,
|
|
7
|
+
"frame": false
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": [".cookie.cookie__floating", ".cookie.cookie__bar"],
|
|
10
|
+
"detectCmp": [
|
|
11
|
+
{
|
|
12
|
+
"exists": ".cookie__floating__buttons__button--accept, .cookie__bar__buttons__button--accept"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [
|
|
16
|
+
{
|
|
17
|
+
"visible": ".cookie.cookie__floating, .cookie.cookie__bar"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optIn": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".cookie__floating__buttons__button--accept, .cookie__bar__buttons__button--accept"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"if": {
|
|
28
|
+
"exists": ".cookie__floating__buttons__button--decline, .cookie__bar__buttons__button--decline"
|
|
29
|
+
},
|
|
30
|
+
"then": [
|
|
31
|
+
{
|
|
32
|
+
"waitForThenClick": ".cookie__floating__buttons__button--decline, .cookie__bar__buttons__button--decline"
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"else": [
|
|
36
|
+
{
|
|
37
|
+
"hide": ".cookie.cookie__floating, .cookie.cookie__bar"
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "widiba",
|
|
3
|
+
"vendorUrl": "https://www.widiba.it/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"main": true,
|
|
7
|
+
"frame": true,
|
|
8
|
+
"urlPattern": "^https?://(www\\.)?widiba\\.it/"
|
|
9
|
+
},
|
|
10
|
+
"prehideSelectors": [".wd-cookie-banner.x-cookie-open"],
|
|
11
|
+
"detectCmp": [{ "exists": ".wd-cookie-banner" }],
|
|
12
|
+
"detectPopup": [{ "visible": ".wd-cookie-banner.x-cookie-open" }],
|
|
13
|
+
"optIn": [{ "waitForThenClick": ".wd-cookie-banner.x-cookie-open .wd-cookie-banner__buttons > a.wd-button:first-child" }],
|
|
14
|
+
"optOut": [{ "waitForThenClick": ".wd-cookie-banner.x-cookie-open .wd-cookie-banner__header__close" }],
|
|
15
|
+
"test": [{ "waitForVisible": ".wd-cookie-banner.x-cookie-open", "check": "none", "timeout": 2000 }]
|
|
16
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wimc-gtm-consent",
|
|
3
|
+
"prehideSelectors": ["[data-gtm-consent-modal]"],
|
|
4
|
+
"detectCmp": [{ "exists": "[data-gtm-consent-modal]" }],
|
|
5
|
+
"detectPopup": [{ "visible": "[data-gtm-consent-modal].gtm-consent__modal--show" }],
|
|
6
|
+
"optIn": [
|
|
7
|
+
{
|
|
8
|
+
"if": { "exists": "[data-gtm-consent-modal] [data-gtm-consent-close]" },
|
|
9
|
+
"then": [{ "waitForThenClick": "[data-gtm-consent-modal] [data-gtm-consent-close]" }],
|
|
10
|
+
"else": [{ "waitForThenClick": "[data-gtm-consent-modal] [data-gtm-consent-submit]" }]
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"optOut": [
|
|
14
|
+
{
|
|
15
|
+
"if": { "exists": "[data-gtm-consent-modal] [data-gtm-consent-close]" },
|
|
16
|
+
"then": [{ "waitForThenClick": "[data-gtm-consent-modal] [data-gtm-consent-close]" }],
|
|
17
|
+
"else": [
|
|
18
|
+
{ "waitForThenClick": "[data-gtm-consent-modal] [data-gtm-consent-toggle]" },
|
|
19
|
+
{ "waitForVisible": "[data-gtm-consent-modal] [data-gtm-consent-details-section]", "timeout": 2000 },
|
|
20
|
+
{
|
|
21
|
+
"click": "[data-gtm-consent-modal] [data-gtm-consent-types-form] input[type=checkbox]:checked:not(:disabled)",
|
|
22
|
+
"all": true,
|
|
23
|
+
"optional": true
|
|
24
|
+
},
|
|
25
|
+
{ "waitForThenClick": "[data-gtm-consent-modal] [data-gtm-consent-submit]" }
|
|
26
|
+
]
|
|
27
|
+
},
|
|
28
|
+
{ "waitForVisible": "[data-gtm-consent-modal].gtm-consent__modal--show", "check": "none", "timeout": 2000 }
|
|
29
|
+
],
|
|
30
|
+
"test": [{ "cookieContains": "\"analytics_storage\":false" }, { "cookieContains": "\"ad_storage\":false" }]
|
|
31
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "xlbygg.se",
|
|
3
|
+
"vendorUrl": "https://www.xlbygg.se/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?xlbygg\\.se/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "form#consent-dialog button[data-testid=give-consent-button]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "form#consent-dialog"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "form#consent-dialog button[data-testid=give-consent-button]"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "form#consent-dialog button[name=read-more]"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": "form#consent-dialog fieldset"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"click": "form#consent-dialog fieldset input[type=checkbox]:checked:not([disabled])",
|
|
32
|
+
"all": true,
|
|
33
|
+
"optional": true
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"click": "form#consent-dialog button[data-testid=give-consent-button]"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"test": [
|
|
40
|
+
{
|
|
41
|
+
"cookieContains": "cookies_marketing_ok=false"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|