@duckduckgo/autoconsent 17.3.0 → 17.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 +56 -0
- package/dist/addon-firefox/background.bundle.js +26 -7
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +22 -1
- package/dist/addon-firefox/manifest.json +1 -1
- package/dist/addon-firefox/popup.bundle.js +19 -7
- package/dist/addon-firefox/rule-index.json +1 -1
- package/dist/addon-firefox/rules.json +1 -1
- package/dist/addon-mv3/background.bundle.js +26 -7
- package/dist/addon-mv3/compact-rules.json +1 -1
- package/dist/addon-mv3/content.bundle.js +22 -1
- package/dist/addon-mv3/manifest.json +1 -1
- package/dist/addon-mv3/popup.bundle.js +19 -7
- package/dist/addon-mv3/rule-index.json +1 -1
- package/dist/addon-mv3/rules.json +1 -1
- package/dist/autoconsent.cjs.js +22 -1
- package/dist/autoconsent.esm.js +22 -1
- package/dist/autoconsent.playwright.js +22 -1
- package/dist/autoconsent.standalone.js +23 -2
- package/dist/types/cmps/trustarc-top.d.ts +1 -0
- package/dist/types/eval-snippets.d.ts +1 -0
- package/lib/cmps/admiral.ts +10 -0
- package/lib/cmps/trustarc-top.ts +10 -1
- package/lib/eval-snippets.ts +7 -0
- package/package.json +1 -1
- package/rules/autoconsent/adblockplus.json +94 -0
- package/rules/autoconsent/alertamodal-cookies.json +29 -0
- package/rules/autoconsent/altamar-cookieconsent.json +45 -0
- package/rules/autoconsent/autohero.json +49 -0
- package/rules/autoconsent/bing.com-notice-cosmetic.json +28 -0
- package/rules/autoconsent/bing.com-notice.json +13 -0
- package/rules/autoconsent/bsgdprcookies.json +16 -0
- package/rules/autoconsent/casasrurales.json +15 -0
- package/rules/autoconsent/ccoo.json +40 -0
- package/rules/autoconsent/cdu-edu-au.json +29 -0
- package/rules/autoconsent/cnmc-gob-es.json +14 -0
- package/rules/autoconsent/comparandonos.json +66 -0
- package/rules/autoconsent/consent-backdrop.json +34 -0
- package/rules/autoconsent/cookie-accordion-settings.json +56 -0
- package/rules/autoconsent/cookies-tip-v1.json +9 -0
- package/rules/autoconsent/cookiesplus.json +20 -0
- package/rules/autoconsent/crtm.json +36 -0
- package/rules/autoconsent/edebe.json +22 -0
- package/rules/autoconsent/eduardolosilla.json +12 -0
- package/rules/autoconsent/educastur-alojaweb.json +13 -0
- package/rules/autoconsent/flatsome-cookies.json +25 -0
- package/rules/autoconsent/gameforge.json +42 -0
- package/rules/autoconsent/gamefound-com.json +12 -0
- package/rules/autoconsent/generalitat-catalunya.json +15 -0
- package/rules/autoconsent/ihavecookies.json +5 -1
- package/rules/autoconsent/imarina.json +25 -0
- package/rules/autoconsent/jobtoday.json +18 -0
- package/rules/autoconsent/kaggle.json +21 -0
- package/rules/autoconsent/mblock.json +28 -0
- package/rules/autoconsent/mirasvit-gdpr.json +18 -7
- package/rules/autoconsent/mites.gob.es.json +18 -0
- package/rules/autoconsent/react-cookie-consent-cosmetic.json +40 -0
- package/rules/autoconsent/supercontable.json +19 -0
- package/rules/autoconsent/tusclasesparticulares.com.json +14 -0
- package/rules/autoconsent/udg.edu.json +47 -0
- package/rules/autoconsent/uned-barbastro.json +58 -0
- package/rules/autoconsent/uregina.json +35 -0
- package/rules/autoconsent/vrg-bottom-cookies.json +52 -0
- package/rules/autoconsent/wiki.gg.json +1 -1
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/adblockplus.spec.ts +7 -0
- package/tests/admiral.spec.ts +5 -4
- package/tests/alertamodal-cookies.spec.ts +8 -0
- package/tests/altamar-cookieconsent.spec.ts +6 -0
- package/tests/autohero.spec.ts +3 -0
- package/tests/bing.com-notice-cosmetic.spec.ts +5 -0
- package/tests/bing.com-notice.spec.ts +6 -0
- package/tests/bsgdprcookies.spec.ts +6 -0
- package/tests/casasrurales.spec.ts +3 -0
- package/tests/ccoo.spec.ts +5 -0
- package/tests/cdu-edu-au.spec.ts +3 -0
- package/tests/cnmc-gob-es.spec.ts +3 -0
- package/tests/comparandonos.spec.ts +3 -0
- package/tests/consent-backdrop.spec.ts +9 -0
- package/tests/cookie-accordion-settings.spec.ts +5 -0
- package/tests/cookies-tip-v1.spec.ts +3 -0
- package/tests/cookiesplus.spec.ts +6 -0
- package/tests/crtm.spec.ts +3 -0
- package/tests/edebe.spec.ts +3 -0
- package/tests/eduardolosilla.spec.ts +3 -0
- package/tests/educastur-alojaweb.spec.ts +6 -0
- package/tests/flatsome-cookies.spec.ts +3 -0
- package/tests/gameforge.spec.ts +8 -0
- package/tests/gamefound-com.spec.ts +3 -0
- package/tests/generalitat-catalunya.spec.ts +3 -0
- package/tests/ihavecookies.spec.ts +7 -1
- package/tests/imarina.spec.ts +8 -0
- package/tests/jobtoday.spec.ts +5 -0
- package/tests/kaggle.spec.ts +3 -0
- package/tests/mblock.spec.ts +3 -0
- package/tests/mirasvit-gdpr.spec.ts +5 -0
- package/tests/mites.gob.es.spec.ts +3 -0
- package/tests/react-cookie-consent-cosmetic.spec.ts +9 -0
- package/tests/supercontable.spec.ts +3 -0
- package/tests/trustarc.spec.ts +7 -0
- package/tests/tusclasesparticulares.com.spec.ts +3 -0
- package/tests/udg.edu.spec.ts +3 -0
- package/tests/uned-barbastro.spec.ts +3 -0
- package/tests/uregina.spec.ts +3 -0
- package/tests/vrg-bottom-cookies.spec.ts +3 -0
- package/rules/generated/auto_CA_promessedefleurs.com_noy.json +0 -40
- package/rules/generated/auto_FR_ludum.fr_gl5.json +0 -40
- package/rules/generated/auto_FR_meillandrichardier.com_c2f.json +0 -40
- package/tests/generated/auto_CA_promessedefleurs.com_noy.spec.ts +0 -6
- package/tests/generated/auto_FR_ludum.fr_gl5.spec.ts +0 -2
- package/tests/generated/auto_FR_meillandrichardier.com_c2f.spec.ts +0 -6
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "cookiesplus",
|
|
3
|
+
"_metadata": { "vendorUrl": "https://www.idnovate.com/" },
|
|
4
|
+
"prehideSelectors": ["#cookiesplus-modal-container", "#cookiesplus-overlay"],
|
|
5
|
+
"detectCmp": [{ "exists": "#cookiesplus-modal #cookiesplus-form" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#cookiesplus-modal" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#cookiesplus-modal .cookiesplus-accept" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{
|
|
10
|
+
"if": { "visible": "#cookiesplus-modal .cookiesplus-reject", "check": "any" },
|
|
11
|
+
"then": [{ "click": "#cookiesplus-modal .cookiesplus-reject" }],
|
|
12
|
+
"else": [
|
|
13
|
+
{ "click": "#cookiesplus-modal .cookiesplus-more-information" },
|
|
14
|
+
{ "waitForThenClick": "#cookiesplus-modal .cookiesplus-save" }
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{ "waitForVisible": "#cookiesplus-modal", "check": "none", "timeout": 5000 }
|
|
18
|
+
],
|
|
19
|
+
"test": [{ "cookieContains": "C_P_DISPLAY_MODAL%22%3Afalse" }]
|
|
20
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "crtm",
|
|
3
|
+
"vendorUrl": "https://crtm.es/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?crtm\\.es/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-banner", "#cookie-config-panel"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookie-banner #configure-cookies"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookie-banner"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookie-banner #accept-all-cookies"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cookie-banner #configure-cookies"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": "#cookie-config-panel #reject-cookies"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"test": [
|
|
32
|
+
{
|
|
33
|
+
"cookieContains": "cookiesRejected=1"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "edebe",
|
|
3
|
+
"vendorUrl": "https://plus.edebe.com/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://plus\\.edebe\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#cookieBanner"],
|
|
9
|
+
"detectCmp": [{ "exists": "#cookieBanner button[data-fragment=button]" }],
|
|
10
|
+
"detectPopup": [{ "visible": "#cookieBanner button[data-fragment=button]" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": "#cookieBanner button[data-fragment=button]:first-of-type" }],
|
|
12
|
+
"optOut": [
|
|
13
|
+
{ "waitForThenClick": "#cookieBanner button[data-fragment=button]:last-of-type" },
|
|
14
|
+
{ "waitForVisible": "[role=dialog][data-smtype=Dialog_alert] button[data-fragment=button]" },
|
|
15
|
+
{
|
|
16
|
+
"if": { "exists": "[role=dialog][data-smtype=Dialog_alert] [data-fragment=switch] input:not([disabled])[value=true]" },
|
|
17
|
+
"then": [{ "click": "[role=dialog][data-smtype=Dialog_alert] [data-fragment=switch] input:not([disabled])[value=true]" }]
|
|
18
|
+
},
|
|
19
|
+
{ "waitForThenClick": "[role=dialog][data-smtype=Dialog_alert] button[data-fragment=button]:last-of-type" }
|
|
20
|
+
],
|
|
21
|
+
"test": [{ "cookieContains": "cookies_analytics=false" }]
|
|
22
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "eduardolosilla.es",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?eduardolosilla\\.es/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["app-aviso-cookies .c-aviso-cookies"],
|
|
7
|
+
"detectCmp": [{ "exists": "app-aviso-cookies .c-aviso-cookies" }],
|
|
8
|
+
"detectPopup": [{ "visible": "app-aviso-cookies .c-aviso-cookies" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "app-aviso-cookies .c-aviso-cookies__btn" }],
|
|
10
|
+
"optOut": [{ "waitForThenClick": "app-aviso-cookies .c-aviso-cookies__btn" }],
|
|
11
|
+
"test": [{ "waitForVisible": "app-aviso-cookies .c-aviso-cookies", "check": "none", "timeout": 1000 }]
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "educastur-alojaweb",
|
|
3
|
+
"vendorUrl": "https://alojaweb.educastur.es/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://alojaweb\\.educastur\\.es/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#educacentrosPrivacyPolicyLayer"],
|
|
9
|
+
"detectCmp": [{ "exists": "#educacentrosPrivacyPolicyLayer" }],
|
|
10
|
+
"detectPopup": [{ "visible": "#educacentrosPrivacyPolicyLayer" }],
|
|
11
|
+
"optIn": [{ "waitForThenClick": "#educacentrosPrivacyPolicyCloseButton" }],
|
|
12
|
+
"optOut": [{ "hide": "#educacentrosPrivacyPolicyLayer" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "flatsome-cookies",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"prehideSelectors": [".flatsome-cookies"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".flatsome-cookies--active .flatsome-cookies__accept-btn"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".flatsome-cookies--active"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".flatsome-cookies--active .flatsome-cookies__accept-btn"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"hide": ".flatsome-cookies"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gameforge",
|
|
3
|
+
"vendorUrl": "https://gameforge.com/",
|
|
4
|
+
"prehideSelectors": [".cookiebanner1"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "script[src*='consent.gameforge.com/']"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"exists": ".cookiebanner1 .cookiebanner4 > button.cookiebanner6"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".cookiebanner1 .cookiebanner2"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".cookiebanner1 .cookiebanner4 > button:not(.cookiebanner6)"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": ".cookiebanner1 .cookiebanner4 > button.cookiebanner6"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": ".cookiebanner1 .cookiebanner11"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"waitForThenClick": ".cookiebanner1 .cookiebanner11 > button:last-child"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"test": [
|
|
35
|
+
{
|
|
36
|
+
"cookieContains": "gf-cookie-consent-"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"cookieContains": "=|0|"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "gamefound-com",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https://(www\\.)?gamefound\\.com/"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": true,
|
|
7
|
+
"prehideSelectors": [".gfu-floating-notification-box--fixed:has([data-qa^=\"cookie-policy-box\"])"],
|
|
8
|
+
"detectCmp": [{ "exists": "[data-qa^=\"cookie-policy-box\"] [data-qa=\"cookie-policy-button:AcceptAll\"]" }],
|
|
9
|
+
"detectPopup": [{ "visible": "[data-qa^=\"cookie-policy-box\"]" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "[data-qa=\"cookie-policy-button:AcceptAll\"]" }],
|
|
11
|
+
"optOut": [{ "hide": ".gfu-floating-notification-box--fixed:has([data-qa^=\"cookie-policy-box\"])" }]
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "generalitat-catalunya",
|
|
3
|
+
"prehideSelectors": ["gov-core-cookies .cl-cookies"],
|
|
4
|
+
"detectCmp": [{ "exists": "gov-core-cookies .cl-cookies__bar" }],
|
|
5
|
+
"detectPopup": [{ "visible": "gov-core-cookies .cl-cookies__bar" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": "gov-core-cookies .cl-cookies__bar gov-core-button:last-of-type button" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"comment": "open the settings modal, where all optional purposes are off by default",
|
|
10
|
+
"waitForThenClick": "gov-core-cookies .cl-cookies__bar gov-core-button:first-of-type button"
|
|
11
|
+
},
|
|
12
|
+
{ "waitForThenClick": "ngb-modal-window .modal-footer gov-core-button button" }
|
|
13
|
+
],
|
|
14
|
+
"test": [{ "cookieContains": "gen_consent=" }]
|
|
15
|
+
}
|
|
@@ -14,7 +14,11 @@
|
|
|
14
14
|
"then": [{ "click": "#gdpr-cookie-message #gdpr-cookie-accept2" }],
|
|
15
15
|
"else": [{ "click": "#gdpr-cookie-message #gdpr-cookie-accept" }]
|
|
16
16
|
},
|
|
17
|
-
{ "waitForVisible": "#gdpr-cookie-message", "check": "none", "timeout": 2000, "optional": true }
|
|
17
|
+
{ "waitForVisible": "#gdpr-cookie-message", "check": "none", "timeout": 2000, "optional": true },
|
|
18
|
+
{
|
|
19
|
+
"if": { "exists": "#handlebars-cookie-confirm" },
|
|
20
|
+
"then": [{ "waitForThenClick": "#gdpr-cookie-message #gdpr-cookie-accept-post", "timeout": 5000, "optional": true }]
|
|
21
|
+
}
|
|
18
22
|
],
|
|
19
23
|
"test": [{ "cookieContains": "cookieControl=true" }]
|
|
20
24
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "imarina",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"prehideSelectors": ["body.page-ipublic #div-cookies"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "body.page-ipublic #div-cookies button[onclick=\"acceptCookies()\"]"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "body.page-ipublic #div-cookies"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "body.page-ipublic #div-cookies button[onclick=\"acceptCookies()\"]"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"hide": "body.page-ipublic #div-cookies"
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "jobtoday",
|
|
3
|
+
"vendorUrl": "https://jobtoday.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?jobtoday\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [{ "exists": "[data-testid=modal_cookie-consent]" }],
|
|
9
|
+
"detectPopup": [{ "visible": "[data-testid=modal_cookie-consent]" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "[data-testid=modal_cookie-consent-accept-all]" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": "[data-testid=modal_cookie-consent] .modal-bottom button.jt-btn-outline" },
|
|
13
|
+
{ "waitForVisible": "[data-testid=modal_cookie-consent] #marketingConsent" },
|
|
14
|
+
{ "click": "[data-testid=modal_cookie-consent] input[type=checkbox]:checked:not([disabled])", "all": true, "optional": true },
|
|
15
|
+
{ "waitForThenClick": "[data-testid=modal_cookie-consent-accept]" }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "cookieContains": "jt-cookie-consent-extended=%7B%22ad_storage%22%3Afalse%2C%22analytics_storage%22%3Afalse" }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kaggle",
|
|
3
|
+
"vendorUrl": "https://www.kaggle.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?kaggle\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [],
|
|
8
|
+
"detectCmp": [{ "exists": "xpath///div[@data-nosnippet][contains(., 'uses cookies from Google')]" }],
|
|
9
|
+
"detectPopup": [{ "visible": "xpath///div[@data-nosnippet][contains(., 'uses cookies from Google')]" }],
|
|
10
|
+
"optIn": [
|
|
11
|
+
{
|
|
12
|
+
"waitForThenClick": "xpath///div[@data-nosnippet][contains(., 'uses cookies from Google')]/following-sibling::div/div[contains(., 'Got it')]"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optOut": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "xpath///div[@data-nosnippet][contains(., 'uses cookies from Google')]/following-sibling::div/div[contains(., 'Got it')]"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"test": [{ "cookieContains": "ACCEPTED_COOKIES=true" }]
|
|
21
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mblock",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://ide\\.mblock\\.cc/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".privacy-license-bar"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".privacy-license-bar .privacy-btn-wrapper"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".privacy-license-bar"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".privacy-license-bar .privacy-btn-wrapper button:last-child"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"hide": ".privacy-license-bar"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mirasvit-gdpr",
|
|
3
3
|
"prehideSelectors": ["#gdprCookieBar", "#gdprCookieBarOverlay", ".mst-gdpr__cookie-bar-wrapper", ".mst-gdpr__cookie-bar-overlay"],
|
|
4
|
-
"detectCmp": [{ "exists": ".mst-gdpr__cookie-bar .mst-gdpr__buttons" }],
|
|
5
|
-
"detectPopup": [
|
|
4
|
+
"detectCmp": [{ "exists": ".mst-gdpr__cookie-bar .mst-gdpr__buttons,.mst-gdpr-cookie-bar-wrapper .mst-gdpr-buttons" }],
|
|
5
|
+
"detectPopup": [
|
|
6
|
+
{ "visible": ".mst-gdpr__cookie-bar .mst-gdpr__buttons,.mst-gdpr-cookie-bar-wrapper .mst-gdpr-buttons", "check": "any" }
|
|
7
|
+
],
|
|
6
8
|
"optIn": [
|
|
7
9
|
{
|
|
8
10
|
"any": [
|
|
9
11
|
{ "click": ".mst-gdpr__buttons [data-trigger-settings=agree]" },
|
|
10
|
-
{ "click": ".mst-gdpr__buttons button[\\@click^=handleAllow]" }
|
|
12
|
+
{ "click": ".mst-gdpr__buttons button[\\@click^=handleAllow]" },
|
|
13
|
+
{ "click": ".mst-gdpr-buttons button[\\@click^=handleAllow]" }
|
|
11
14
|
]
|
|
12
15
|
}
|
|
13
16
|
],
|
|
14
17
|
"optOut": [
|
|
15
18
|
{
|
|
16
19
|
"if": {
|
|
17
|
-
"visible": ".mst-gdpr__buttons [data-trigger-settings=decline],.mst-gdpr__buttons button[\\@click=handleDecline]",
|
|
20
|
+
"visible": ".mst-gdpr__buttons [data-trigger-settings=decline],.mst-gdpr__buttons button[\\@click=handleDecline],.mst-gdpr-cookie-bar-wrapper button[\\@click=handleDecline]",
|
|
18
21
|
"check": "any"
|
|
19
22
|
},
|
|
20
23
|
"then": [
|
|
21
24
|
{
|
|
22
25
|
"any": [
|
|
23
26
|
{ "click": ".mst-gdpr__buttons [data-trigger-settings=decline]" },
|
|
24
|
-
{ "click": ".mst-gdpr__buttons button[\\@click=handleDecline]" }
|
|
27
|
+
{ "click": ".mst-gdpr__buttons button[\\@click=handleDecline]" },
|
|
28
|
+
{ "click": ".mst-gdpr-cookie-bar-wrapper button[\\@click=handleDecline]" }
|
|
25
29
|
]
|
|
26
30
|
}
|
|
27
31
|
],
|
|
@@ -52,7 +56,14 @@
|
|
|
52
56
|
}
|
|
53
57
|
]
|
|
54
58
|
},
|
|
55
|
-
{
|
|
59
|
+
{
|
|
60
|
+
"waitForVisible": ".mst-gdpr__cookie-bar .mst-gdpr__buttons,.mst-gdpr-cookie-bar-wrapper .mst-gdpr-buttons",
|
|
61
|
+
"check": "none",
|
|
62
|
+
"timeout": 10000
|
|
63
|
+
}
|
|
56
64
|
],
|
|
57
|
-
"test": [
|
|
65
|
+
"test": [
|
|
66
|
+
{ "cookieContains": "gdpr_cookie_consent=" },
|
|
67
|
+
{ "visible": ".mst-gdpr__cookie-bar .mst-gdpr__buttons,.mst-gdpr-cookie-bar-wrapper .mst-gdpr-buttons", "check": "none" }
|
|
68
|
+
]
|
|
58
69
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mites.gob.es",
|
|
3
|
+
"vendorUrl": "https://www.mites.gob.es/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?mites\\.gob\\.es/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#avisoUsoCookies", "#cookies-modal"],
|
|
8
|
+
"detectCmp": [{ "exists": "#avisoUsoCookies .configurar-cookies" }],
|
|
9
|
+
"detectPopup": [{ "visible": "#avisoUsoCookies .configurar-cookies" }],
|
|
10
|
+
"optIn": [{ "waitForThenClick": "#avisoUsoCookies .aceptar-cookies" }],
|
|
11
|
+
"optOut": [
|
|
12
|
+
{ "waitForThenClick": "#avisoUsoCookies .configurar-cookies" },
|
|
13
|
+
{ "waitForVisible": "#cookies-modal .cookies-btn-guardar" },
|
|
14
|
+
{ "click": "#cookies-modal input[id^=check-]:checked:not(:disabled)", "all": true, "optional": true },
|
|
15
|
+
{ "click": "#cookies-modal .cookies-btn-guardar" }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "cookieContains": "TRABAJO_POLICYv2=true" }, { "cookieContains": "TRABAJO_GA=", "negated": true }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-cookie-consent-cosmetic",
|
|
3
|
+
"_metadata": {
|
|
4
|
+
"vendorUrl": "https://github.com/Mastermindzh/react-cookie-consent"
|
|
5
|
+
},
|
|
6
|
+
"cosmetic": true,
|
|
7
|
+
"prehideSelectors": ["*:has(> * > #rcc-confirm-button):not(:has(#rcc-decline-button))"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"visible": "#rcc-confirm-button"
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"exists": "#rcc-decline-button",
|
|
14
|
+
"negated": true
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"exists": "*:has(> * > #rcc-confirm-button) button:not(#rcc-confirm-button)",
|
|
18
|
+
"negated": true
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"detectPopup": [
|
|
22
|
+
{
|
|
23
|
+
"visible": "#rcc-confirm-button"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"optIn": [
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": "#rcc-confirm-button"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"optOut": [
|
|
32
|
+
{
|
|
33
|
+
"hide": "*:has(> * > #rcc-confirm-button)"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"hide": "*:has(> * > * > #rcc-confirm-button)[style*=\"position: fixed\"][style*=\"height: 100%\"]",
|
|
37
|
+
"optional": true
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "supercontable",
|
|
3
|
+
"vendorUrl": "https://www.supercontable.com/",
|
|
4
|
+
"prehideSelectors": ["#consCookie.popup-overlay"],
|
|
5
|
+
"detectCmp": [{ "exists": "#consCookie.popup-overlay .cajaSetting" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#consCookie.popup-overlay .contenedorCookies" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#consCookie a.submit" }],
|
|
8
|
+
"optOut": [
|
|
9
|
+
{ "waitForThenClick": "#consCookie a.setting:not(.preferencias)" },
|
|
10
|
+
{ "waitForVisible": "#consCookie a.setting.preferencias" },
|
|
11
|
+
{
|
|
12
|
+
"if": { "exists": "#consCookie .cajaSetting input[type=checkbox]:checked:not(:disabled)" },
|
|
13
|
+
"then": [{ "click": "#consCookie .cajaSetting input[type=checkbox]:checked:not(:disabled)", "all": true }]
|
|
14
|
+
},
|
|
15
|
+
{ "click": "#consCookie a.setting.preferencias" },
|
|
16
|
+
{ "waitForVisible": "#consCookie.popup-overlay", "check": "none" }
|
|
17
|
+
],
|
|
18
|
+
"test": [{ "wait": 500 }, { "any": [{ "cookieContains": "CONS=100" }, { "cookieContains": "CONS=000" }] }]
|
|
19
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tusclasesparticulares.com",
|
|
3
|
+
"comment": "The reject button can render before cookies.min.js attaches its click handler, so the click is retried.",
|
|
4
|
+
"runContext": { "urlPattern": "^https?://(www\\.)?tusclasesparticulares\\.com/" },
|
|
5
|
+
"prehideSelectors": ["#pp .cookiesnoticev2"],
|
|
6
|
+
"detectCmp": [{ "exists": "#pp .cookiesnoticev2" }],
|
|
7
|
+
"detectPopup": [{ "visible": "#pp .cookiesnoticev2" }],
|
|
8
|
+
"optIn": [{ "waitForThenClick": "#pp .cookiesnoticev2 .footer .aceptar-all.step1" }],
|
|
9
|
+
"optOut": [
|
|
10
|
+
{ "waitForThenClick": "#pp .cookiesnoticev2 #reject_all", "retry": 5, "retryInterval": 500 },
|
|
11
|
+
{ "waitForVisible": "#pp .cookiesnoticev2", "check": "none", "timeout": 2000 }
|
|
12
|
+
],
|
|
13
|
+
"test": [{ "cookieContains": "\"analiticas\": {\"All\":false" }]
|
|
14
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "udg.edu",
|
|
3
|
+
"vendorUrl": "https://www.udg.edu/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?udg\\.edu/"
|
|
6
|
+
},
|
|
7
|
+
"cosmetic": false,
|
|
8
|
+
"prehideSelectors": [".cookie-alert"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": ".cookie-alert .cookies-manager__btn-open"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ".cookie-alert"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".cookie-alert .cookies-manager__btn-accept"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"waitForThenClick": ".cookie-alert button.cookies-manager__btn-open"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"waitForVisible": ".cookies-manager__window"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"click": ".cookies-manager input.toggle:checked:not(:disabled)",
|
|
33
|
+
"all": true,
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"waitForThenClick": ".cookies-manager__btn-save",
|
|
38
|
+
"retry": 3,
|
|
39
|
+
"retryInterval": 500
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"test": [
|
|
43
|
+
{
|
|
44
|
+
"cookieContains": "udgCookiesPreferences=set"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "uned-barbastro",
|
|
3
|
+
"prehideSelectors": ["#avisoCookie.msgCookies"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": "#avisoCookie.msgCookies"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"exists": ".modal #chRendimiento"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#avisoCookie.msgCookies"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "#avisoCookie a[onclick*=\"aceptarGoogleAnalytics=true\"]"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "#avisoCookie a[data-target^=\"#\"], #avisoCookie a.modal-trigger"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"waitForVisible": ".modal-footer button[onclick*=\"chRendimiento\"]"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"if": {
|
|
31
|
+
"exists": ".modal #chRendimiento:checked"
|
|
32
|
+
},
|
|
33
|
+
"then": [
|
|
34
|
+
{
|
|
35
|
+
"click": ".modal #chRendimiento:checked"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"click": ".modal-footer button[onclick*=\"chRendimiento\"]"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"waitForVisible": "#avisoCookie.msgCookies",
|
|
44
|
+
"check": "none",
|
|
45
|
+
"timeout": 2000,
|
|
46
|
+
"optional": true
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"test": [
|
|
50
|
+
{
|
|
51
|
+
"cookieContains": "aceptarCookies=true"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"cookieContains": "aceptarGoogleAnalytics=true",
|
|
55
|
+
"negated": true
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "uregina",
|
|
3
|
+
"vendorUrl": "https://www.uregina.ca/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(\\w+\\.)?uregina\\.ca/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#acceptCookies"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#acceptCookies button"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "#acceptCookies"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#acceptCookies button"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "#acceptCookies"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": "#acceptCookies",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|