@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
package/package.json
CHANGED
|
@@ -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,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,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ccconsent-holder",
|
|
3
|
+
"prehideSelectors": [".ccConsentHolder"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": ".ccConsentHolder .ccConsent .cookieSettings"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": ".ccConsentHolder .ccConsent"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"waitForThenClick": ".ccConsent .cookieButton.all"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optOut": [
|
|
20
|
+
{
|
|
21
|
+
"if": {
|
|
22
|
+
"visible": ".ccConsent .cookieTextHolderExtended .cookieSettings"
|
|
23
|
+
},
|
|
24
|
+
"then": [
|
|
25
|
+
{
|
|
26
|
+
"click": ".ccConsent .cookieTextHolderExtended .cookieSettings"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"else": [
|
|
30
|
+
{
|
|
31
|
+
"waitForThenClick": ".ccConsent .cookieTextHolder .cookieSettings"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"waitForVisible": ".ccConsent .cookie_settings_row .cookieButton:not(.all)"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"comment": "a checked switch means the category is disabled",
|
|
40
|
+
"click": ".ccConsent input.cookieswitch:not(:checked)",
|
|
41
|
+
"all": true,
|
|
42
|
+
"optional": true
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"click": ".ccConsent .cookie_settings_row .cookieButton:not(.all)"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"test": [
|
|
49
|
+
{
|
|
50
|
+
"wait": 1000
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"cookieContains": "analytics_storage%22%3A%22disable"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
56
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cloudcms-cookie-alert-notice",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"prehideSelectors": ["#cookieAlert.cookie-alert-overlay"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{ "exists": "#cookieAlert.cookie-alert-overlay #cookieAccept" },
|
|
7
|
+
{ "exists": "#cookieAlert #saveCookieSettings", "negated": true }
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [{ "visible": "#cookieAlert.cookie-alert-overlay.show" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#cookieAlert #cookieAccept" }],
|
|
11
|
+
"optOut": [{ "hide": "#cookieAlert.cookie-alert-overlay" }]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cloudcms-cookie-alert",
|
|
3
|
+
"prehideSelectors": ["#cookieAlert.cookie-alert-overlay"],
|
|
4
|
+
"detectCmp": [{ "exists": "#cookieAlert.cookie-alert-overlay #saveCookieSettings" }],
|
|
5
|
+
"detectPopup": [{ "visible": "#cookieAlert.cookie-alert-overlay.show" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": "#cookieAlert #cookieAccept" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{ "waitForThenClick": "#cookieAlert #changeCookieSettings" },
|
|
9
|
+
{ "click": "#cookieAlert .cookie-category-switcher:checked:not([data-category=\"necessary\"])", "all": true, "optional": true },
|
|
10
|
+
{ "waitForThenClick": "#cookieAlert #saveCookieSettings" }
|
|
11
|
+
],
|
|
12
|
+
"test": [{ "cookieContains": "%22marketing%22:false" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookie-button-basic",
|
|
3
|
+
"prehideSelectors": [".cookie-container:has(#cookie-button-basic)"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": ".cookie-container #cookie-button-basic"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"visible": ".cookie-container.visible #cookie-button-basic"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"optIn": [
|
|
15
|
+
{
|
|
16
|
+
"if": {
|
|
17
|
+
"exists": ".cookie-container #cookie-button"
|
|
18
|
+
},
|
|
19
|
+
"then": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".cookie-container #cookie-button"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"else": [
|
|
25
|
+
{
|
|
26
|
+
"click": ".cookie-container #statistical-cookies-switch:not(:checked)",
|
|
27
|
+
"optional": true
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"waitForThenClick": ".cookie-container #cookie-button-selected"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"optOut": [
|
|
36
|
+
{
|
|
37
|
+
"waitForThenClick": ".cookie-container #cookie-button-basic"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"test": [
|
|
41
|
+
{
|
|
42
|
+
"waitForVisible": ".cookie-container.visible #cookie-button-basic",
|
|
43
|
+
"check": "none",
|
|
44
|
+
"timeout": 2000
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookiesck",
|
|
3
|
+
"vendorUrl": "https://www.joomlack.fr/en/joomla-extensions/cookies-ck",
|
|
4
|
+
"prehideSelectors": ["#cookiesck", "#cookiesck_overlay"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookiesck #cookiesck_decline"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#cookiesck"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#cookiesck_accept"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#cookiesck_decline"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"visible": "#cookiesck",
|
|
28
|
+
"check": "none"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "didomi",
|
|
3
|
+
"comment": "Bail on 'consent or pay' notices, where the disagree button costs money or leads to a subscription offer, and leave the choice to the user.",
|
|
3
4
|
"prehideSelectors": [
|
|
4
5
|
"#didomi-popup,.didomi-popup-container,.didomi-popup-notice,.didomi-consent-popup-preferences,#didomi-notice,.didomi-popup-backdrop,.didomi-screen-medium"
|
|
5
6
|
],
|
|
@@ -8,6 +9,10 @@
|
|
|
8
9
|
{
|
|
9
10
|
"visible": "#didomi-popup, #didomi-notice, .didomi-popup-notice, .didomi-notice-banner, #didomi-host:not([aria-hidden=\"true\"]):not(:empty)",
|
|
10
11
|
"check": "any"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"exists": "xpath///button[@id='didomi-notice-disagree-button'][contains(., '€') or contains(., '£') or contains(., '$') or contains(., 'uscri') or contains(., 'ubscri') or contains(., 'bonn') or contains(., 'bbon')]",
|
|
15
|
+
"negated": true
|
|
11
16
|
}
|
|
12
17
|
],
|
|
13
18
|
"optIn": [{ "waitForThenClick": "#didomi-notice-agree-button" }],
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "doc24-ch",
|
|
3
|
+
"vendorUrl": "https://www.doc24.ch/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?doc24\\.ch/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".c-notice + .cursor-pointer"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".c-notice + .cursor-pointer"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".c-notice + .cursor-pointer"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".c-notice + .cursor-pointer"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "EU_COOKIES_CONSENT=true"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ernesto",
|
|
3
|
+
"vendorUrl": "https://www.ernesto.it/",
|
|
4
|
+
"prehideSelectors": ["#footer-cookies"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#footer-cookies [ng-click='closeCookiesAlert()']"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#footer-cookies"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#footer-cookies [ng-click='acceptCookies()']"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "#footer-cookies [ng-click='closeCookiesAlert()']"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"cookieContains": "%22stats%22%3Afalse%2C%22ads%22%3Afalse"
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "eu-cookie-compliance-legacy",
|
|
3
|
+
"vendorUrl": "https://www.drupal.org/project/eu_cookie_compliance",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"prehideSelectors": [],
|
|
6
|
+
"detectCmp": [
|
|
7
|
+
{ "exists": "#sliding-popup .popup-content.info:not(.eu-cookie-compliance-content) #popup-buttons .agree-button" },
|
|
8
|
+
{ "exists": "#sliding-popup .decline-button", "negated": true },
|
|
9
|
+
{ "exists": "body.eu-cookie-compliance-popup-open", "negated": true }
|
|
10
|
+
],
|
|
11
|
+
"detectPopup": [{ "visible": "#sliding-popup .popup-content.info" }],
|
|
12
|
+
"optIn": [{ "waitForThenClick": "#sliding-popup .agree-button" }],
|
|
13
|
+
"optOut": [{ "hide": "#sliding-popup" }],
|
|
14
|
+
"test": [{ "visible": "#sliding-popup", "check": "none" }]
|
|
15
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fora.se",
|
|
3
|
+
"vendorUrl": "https://www.fora.se/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?fora\\.se/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".message--cookie"],
|
|
8
|
+
"detectCmp": [{ "exists": ".message--cookie .message__close" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".message--cookie:not(.message--closed)" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".message--cookie .message__close" }],
|
|
11
|
+
"optOut": [{ "waitForThenClick": ".message--cookie .message__close" }],
|
|
12
|
+
"test": [{ "cookieContains": "accepted_cookies=true" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fusedeck",
|
|
3
|
+
"vendorUrl": "https://fusedeck.com/",
|
|
4
|
+
"prehideSelectors": [".fd-consent-main:has(#fd-unCheckAll)"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".fd-consent-main #fd-unCheckAll"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".fd-consent-main #fd-unCheckAll"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".fd-consent-main #fd-checkAll"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": ".fd-consent-main #fd-unCheckAll"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"test": [
|
|
26
|
+
{
|
|
27
|
+
"waitForVisible": ".fd-consent-main #fd-unCheckAll",
|
|
28
|
+
"timeout": 1000,
|
|
29
|
+
"check": "none"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"cookieContains": "fdConsentMarketing=false"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"cookieContains": "fdConsentAnalytics=false"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gjerrigknark",
|
|
3
|
+
"vendorUrl": "https://gjerrigknark.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"main": true,
|
|
6
|
+
"frame": false,
|
|
7
|
+
"urlPattern": "^https?://(\\w+\\.)?gjerrigknark\\.com/"
|
|
8
|
+
},
|
|
9
|
+
"prehideSelectors": ["[class*=\"CookieConsentBanner_banner\"]"],
|
|
10
|
+
"detectCmp": [
|
|
11
|
+
{
|
|
12
|
+
"exists": "[class*=\"CookieConsentBanner_banner\"]"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"detectPopup": [
|
|
16
|
+
{
|
|
17
|
+
"visible": "[class*=\"CookieConsentBanner_banner\"]"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optIn": [
|
|
21
|
+
{
|
|
22
|
+
"waitForThenClick": "[class*=\"CookieConsentBanner_acceptButton\"]"
|
|
23
|
+
}
|
|
24
|
+
],
|
|
25
|
+
"optOut": [
|
|
26
|
+
{
|
|
27
|
+
"waitForThenClick": "[class*=\"CookieConsentBanner_customizeButton\"]"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"waitForThenClick": "[class*=\"CookiePreferencesModal_rejectButton\"]"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"test": [
|
|
34
|
+
{
|
|
35
|
+
"cookieContains": "gk-cookie-consent=%7B%22necessary%22%3Atrue%2C%22analytics%22%3Afalse%2C%22marketing%22%3Afalse%2C%22functional%22%3Afalse%7D"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hemsol.se",
|
|
3
|
+
"vendorUrl": "https://hemsol.se/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?hemsol\\.se/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".popup-background[data-popup='consent']"],
|
|
8
|
+
"detectCmp": [{ "exists": ".popup-background[data-popup='consent'] .popup-manage-consent .save-settings" }],
|
|
9
|
+
"detectPopup": [{ "visible": ".popup-background[data-popup='consent']:not(.hidden) .popup-consent" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": ".popup-background[data-popup='consent'] .popup-consent .accept-cookies" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": ".popup-background[data-popup='consent'] .popup-consent .manage-cookies" },
|
|
13
|
+
{ "waitForVisible": ".popup-background[data-popup='consent'] .popup-manage-consent .save-settings" },
|
|
14
|
+
{
|
|
15
|
+
"click": ".popup-background[data-popup='consent'] .popup-manage-consent input[type=checkbox]:checked:not(:disabled)",
|
|
16
|
+
"all": true,
|
|
17
|
+
"optional": true
|
|
18
|
+
},
|
|
19
|
+
{ "waitForThenClick": ".popup-background[data-popup='consent'] .popup-manage-consent .save-settings" }
|
|
20
|
+
],
|
|
21
|
+
"test": [{ "cookieContains": "hemsol-consent-marketing=false" }]
|
|
22
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "historiskatlas.dk",
|
|
3
|
+
"vendorUrl": "https://historiskatlas.dk/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?historiskatlas\\.dk/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["paper-dialog.cookie-dialog"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "paper-dialog.cookie-dialog"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "paper-dialog.cookie-dialog"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "paper-dialog.cookie-dialog paper-button[dialog-confirm]"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "paper-dialog.cookie-dialog"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": "paper-dialog.cookie-dialog",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hmi-basen.dk",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?hmi-basen\\.dk/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["section.cookie"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "section.cookie a[href*='t=cookiest&cookiev=4']"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "section.cookie"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "section.cookie a[href*='t=cookiest&cookiev=1']"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "section.cookie a[href*='t=cookiest&cookiev=4']"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jobbland",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?(jobbland|jobbsafari)\\.se/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".MuiDialog-root:has([role=dialog] form a[href*='/compliance'])"],
|
|
7
|
+
"detectCmp": [{ "exists": ".MuiDialog-root [role=dialog] form a[href*='/compliance']" }],
|
|
8
|
+
"detectPopup": [{ "visible": ".MuiDialog-root [role=dialog] form a[href*='/compliance']" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": ".MuiDialog-root [role=dialog] form:has(a[href*='/compliance']) button[type=submit]" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{ "waitForThenClick": ".MuiDialog-root [role=dialog] form:has(a[href*='/compliance']) button[type=button]" },
|
|
12
|
+
{ "waitFor": ".MuiDialog-root [role=dialog] form input[id^='cookie-consent-']" },
|
|
13
|
+
{ "click": ".MuiDialog-root [role=dialog] form input[id^='cookie-consent-']:checked", "all": true, "optional": true },
|
|
14
|
+
{ "waitForThenClick": ".MuiDialog-root [role=dialog] form:has(input[id^='cookie-consent-']) button[type=submit]" }
|
|
15
|
+
],
|
|
16
|
+
"test": [{ "waitForVisible": ".MuiDialog-root [role=dialog] form a[href*='/compliance']", "check": "none", "timeout": 2000 }]
|
|
17
|
+
}
|