@duckduckgo/autoconsent 18.1.0 → 18.3.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 +131 -0
- package/dist/addon-firefox/compact-rules.json +1 -1
- package/dist/addon-firefox/content.bundle.js +256 -65
- 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 +256 -65
- 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 +256 -65
- package/dist/autoconsent.esm.js +256 -65
- package/dist/autoconsent.playwright.js +256 -65
- package/dist/autoconsent.standalone.js +257 -66
- package/dist/heuristics.cjs.js +264 -67
- package/dist/heuristics.mjs +260 -66
- package/dist/types/heuristic-patterns.d.ts +4 -1
- package/docs/heuristic-detection.md +1 -0
- package/lib/heuristic-literals.ts +90 -16
- package/lib/heuristic-negatives.ts +15 -10
- package/lib/heuristic-patterns.ts +153 -35
- package/package.json +1 -1
- package/rules/autoconsent/aa-cookie-banner.json +2 -2
- package/rules/autoconsent/acconsento.json +45 -0
- package/rules/autoconsent/adaptivemedia.json +30 -0
- package/rules/autoconsent/adeac-jp.json +29 -0
- package/rules/autoconsent/agenziaentrate-geoportale.json +35 -0
- package/rules/autoconsent/alertnotification-alert-bar.json +27 -0
- package/rules/autoconsent/amasty-gdpr-hyva.json +6 -6
- package/rules/autoconsent/appconsent.json +8 -8
- package/rules/autoconsent/askas.json +39 -0
- package/rules/autoconsent/atomstore.json +44 -0
- package/rules/autoconsent/b1ng-cc.json +23 -0
- package/rules/autoconsent/betheme.json +10 -0
- package/rules/autoconsent/bgk-pl.json +18 -0
- package/rules/autoconsent/biblia-online.pl.json +40 -0
- package/rules/autoconsent/bitauto.json +57 -0
- package/rules/autoconsent/blogger-cookie-notice.json +10 -0
- package/rules/autoconsent/brainshare.json +12 -0
- package/rules/autoconsent/brandsforstudents.ch.json +19 -0
- package/rules/autoconsent/bt-com-au.json +13 -0
- package/rules/autoconsent/c-cookie-message.json +9 -0
- package/rules/autoconsent/calclife.net.json +43 -0
- package/rules/autoconsent/casino-guru.json +28 -0
- package/rules/autoconsent/code3-cookies-consent.json +48 -0
- package/rules/autoconsent/complianz-opt-out.json +7 -2
- package/rules/autoconsent/cookie-agree-banner.json +9 -0
- package/rules/autoconsent/cookie-box-notice.json +41 -0
- package/rules/autoconsent/cookie-use-notice.json +12 -0
- package/rules/autoconsent/cookieinfo-zamknij.json +30 -0
- package/rules/autoconsent/cookieinfo.json +1 -1
- package/rules/autoconsent/cookies-and-content-security-policy.json +45 -0
- package/rules/autoconsent/cookiesbanner-preference.json +14 -0
- package/rules/autoconsent/cookiesmodal-pl.json +18 -0
- package/rules/autoconsent/creditunionsa.json +12 -0
- package/rules/autoconsent/cstudios.json +35 -0
- package/rules/autoconsent/dandomain.json +41 -0
- package/rules/autoconsent/datezone.json +22 -0
- package/rules/autoconsent/dfactory-cookie-notice.json +13 -1
- package/rules/autoconsent/didomi.json +7 -1
- package/rules/autoconsent/dlibra.json +32 -0
- package/rules/autoconsent/dnb.json +30 -0
- package/rules/autoconsent/e-file.json +44 -0
- package/rules/autoconsent/erli-pl.json +36 -0
- package/rules/autoconsent/facebook.json +16 -6
- package/rules/autoconsent/fellow-pl.json +16 -0
- package/rules/autoconsent/fn-se.json +17 -0
- package/rules/autoconsent/gdpr-jp-notice.json +25 -0
- package/rules/autoconsent/gdpsystem.json +21 -0
- package/rules/autoconsent/help-ch.json +25 -0
- package/rules/autoconsent/icom-co-jp.json +34 -0
- package/rules/autoconsent/imyfone.json +25 -0
- package/rules/autoconsent/interface-medien-gebaeck.json +33 -0
- package/rules/autoconsent/intermedia-cms-fsi.json +30 -0
- package/rules/autoconsent/invision-guest-terms.json +14 -0
- package/rules/autoconsent/ipkobiznes.pl.json +12 -0
- package/rules/autoconsent/jquery-cookiepolicy.json +30 -0
- package/rules/autoconsent/lieder.net.json +13 -0
- package/rules/autoconsent/loescher.json +44 -0
- package/rules/autoconsent/menti-com.json +37 -0
- package/rules/autoconsent/meowdb.json +65 -0
- package/rules/autoconsent/monex-co-jp.json +34 -0
- package/rules/autoconsent/mos-cudzoziemcy-gov-pl.json +29 -0
- package/rules/autoconsent/nnk-theme-cookie-bar.json +29 -0
- package/rules/autoconsent/no-transit-consent.json +32 -0
- package/rules/autoconsent/nperf.json +33 -0
- package/rules/autoconsent/octoparse.json +33 -0
- package/rules/autoconsent/okayama-kanko-jp.json +31 -0
- package/rules/autoconsent/oko-press.json +23 -0
- package/rules/autoconsent/ometv-pl.json +33 -0
- package/rules/autoconsent/oresundstag.json +40 -0
- package/rules/autoconsent/pfron-gov-pl.json +37 -0
- package/rules/autoconsent/pl-bip-cookies.json +25 -0
- package/rules/autoconsent/prestashop-advanced-cookie-banner.json +49 -0
- package/rules/autoconsent/qudosbank-com-au.json +14 -0
- package/rules/autoconsent/renaud-bray.json +44 -0
- package/rules/autoconsent/roblox-creator-hub.json +48 -0
- package/rules/autoconsent/rws-app.json +13 -0
- package/rules/autoconsent/san-tatsu.json +32 -0
- package/rules/autoconsent/saos-org-pl.json +35 -0
- package/rules/autoconsent/sda-it.json +37 -0
- package/rules/autoconsent/seria-group.json +35 -0
- package/rules/autoconsent/shoper.json +10 -0
- package/rules/autoconsent/shopgold.json +83 -0
- package/rules/autoconsent/shueisha-hpplus.json +27 -0
- package/rules/autoconsent/silver-nu.json +31 -0
- package/rules/autoconsent/soleil-sitevision-cookie-message.json +32 -0
- package/rules/autoconsent/stellantis-psa.json +18 -1
- package/rules/autoconsent/surfshark.json +21 -0
- package/rules/autoconsent/synergy-net-au.json +33 -0
- package/rules/autoconsent/tcl.json +50 -0
- package/rules/autoconsent/teeshoppen.json +42 -0
- package/rules/autoconsent/tuki-cookieterms.json +20 -0
- package/rules/autoconsent/tullys-jp.json +11 -0
- package/rules/autoconsent/weblegal.json +10 -0
- package/rules/autoconsent/weblication.json +38 -0
- package/rules/autoconsent/worldbank.json +5 -5
- package/rules/autoconsent/wuerth.json +57 -0
- package/rules/autoconsent/x28-privacy-settings.json +18 -0
- package/rules/autoconsent/ynjn.json +34 -0
- package/rules/compact-rules.json +1 -1
- package/rules/rule-index.json +1 -1
- package/rules/rules.json +1 -1
- package/tests/aa-cookie-banner.spec.ts +1 -1
- package/tests/acconsento.spec.ts +8 -0
- package/tests/adaptivemedia.spec.ts +3 -0
- package/tests/adeac-jp.spec.ts +3 -0
- package/tests/agenziaentrate-geoportale.spec.ts +5 -0
- package/tests/alertnotification-alert-bar.spec.ts +11 -0
- package/tests/amasty-gdpr-hyva.spec.ts +1 -0
- package/tests/appconsent.spec.ts +1 -1
- package/tests/askas.spec.ts +9 -0
- package/tests/atomstore.spec.ts +9 -0
- package/tests/b1ng-cc.spec.ts +3 -0
- package/tests/betheme.spec.ts +9 -0
- package/tests/bgk-pl.spec.ts +5 -0
- package/tests/biblia-online.pl.spec.ts +3 -0
- package/tests/bitauto.spec.ts +3 -0
- package/tests/blogger-cookie-notice.spec.ts +9 -0
- package/tests/brainshare.spec.ts +3 -0
- package/tests/brandsforstudents.ch.spec.ts +6 -0
- package/tests/bt-com-au.spec.ts +3 -0
- package/tests/c-cookie-message.spec.ts +9 -0
- package/tests/calclife.net.spec.ts +3 -0
- package/tests/casino-guru.spec.ts +15 -0
- package/tests/code3-cookies-consent.spec.ts +8 -0
- package/tests/complianz-opt-out.spec.ts +13 -3
- package/tests/cookie-agree-banner.spec.ts +3 -0
- package/tests/cookie-box-notice.spec.ts +10 -0
- package/tests/cookie-use-notice.spec.ts +6 -0
- package/tests/cookieinfo-zamknij.spec.ts +3 -0
- package/tests/cookies-and-content-security-policy.spec.ts +16 -0
- package/tests/cookiesbanner-preference.spec.ts +8 -0
- package/tests/cookiesmodal-pl.spec.ts +3 -0
- package/tests/creditunionsa.spec.ts +3 -0
- package/tests/cstudios.spec.ts +3 -0
- package/tests/dandomain.spec.ts +18 -0
- package/tests/datezone.spec.ts +3 -0
- package/tests/didomi.spec.ts +8 -0
- package/tests/dlibra.spec.ts +8 -0
- package/tests/dnb.spec.ts +5 -0
- package/tests/e-file.spec.ts +9 -0
- package/tests/erli-pl.spec.ts +4 -0
- package/tests/facebook.spec.ts +1 -1
- package/tests/fellow-pl.spec.ts +5 -0
- package/tests/fn-se.spec.ts +3 -0
- package/tests/gdpr-jp-notice.spec.ts +3 -0
- package/tests/gdpsystem.spec.ts +3 -0
- package/tests/gravito.spec.ts +6 -0
- package/tests/help-ch.spec.ts +14 -0
- package/tests/icom-co-jp.spec.ts +3 -0
- package/tests/imyfone.spec.ts +9 -0
- package/tests/interface-medien-gebaeck.spec.ts +13 -0
- package/tests/intermedia-cms-fsi.spec.ts +8 -0
- package/tests/invision-guest-terms.spec.ts +10 -0
- package/tests/ipkobiznes.pl.spec.ts +3 -0
- package/tests/jquery-cookiepolicy.spec.ts +10 -0
- package/tests/lieder.net.spec.ts +3 -0
- package/tests/loescher.spec.ts +5 -0
- package/tests/menti-com.spec.ts +3 -0
- package/tests/meowdb.spec.ts +3 -0
- package/tests/monex-co-jp.spec.ts +3 -0
- package/tests/mos-cudzoziemcy-gov-pl.spec.ts +3 -0
- package/tests/nnk-theme-cookie-bar.spec.ts +3 -0
- package/tests/no-transit-consent.spec.ts +3 -0
- package/tests/nperf.spec.ts +3 -0
- package/tests/octoparse.spec.ts +6 -0
- package/tests/okayama-kanko-jp.spec.ts +3 -0
- package/tests/oko-press.spec.ts +3 -0
- package/tests/ometv-pl.spec.ts +4 -0
- package/tests/oresundstag.spec.ts +3 -0
- package/tests/pfron-gov-pl.spec.ts +3 -0
- package/tests/pl-bip-cookies.spec.ts +3 -0
- package/tests/prestashop-advanced-cookie-banner.spec.ts +9 -0
- package/tests/qudosbank-com-au.spec.ts +3 -0
- package/tests/renaud-bray.spec.ts +5 -0
- package/tests/roblox-creator-hub.spec.ts +5 -0
- package/tests/rws-app.spec.ts +15 -0
- package/tests/san-tatsu.spec.ts +3 -0
- package/tests/saos-org-pl.spec.ts +3 -0
- package/tests/sda-it.spec.ts +7 -0
- package/tests/seria-group.spec.ts +3 -0
- package/tests/shoper.spec.ts +3 -0
- package/tests/shopgold.spec.ts +3 -0
- package/tests/shueisha-hpplus.spec.ts +3 -0
- package/tests/silver-nu.spec.ts +3 -0
- package/tests/soleil-sitevision-cookie-message.spec.ts +8 -0
- package/tests/stellantis-psa.spec.ts +2 -0
- package/tests/surfshark.spec.ts +3 -0
- package/tests/synergy-net-au.spec.ts +8 -0
- package/tests/tcl.spec.ts +9 -0
- package/tests/teeshoppen.spec.ts +7 -0
- package/tests/tuki-cookieterms.spec.ts +8 -0
- package/tests/tullys-jp.spec.ts +3 -0
- package/tests/weblegal.spec.ts +8 -0
- package/tests/weblication.spec.ts +9 -0
- package/tests/worldbank.spec.ts +1 -0
- package/tests/wuerth.spec.ts +8 -0
- package/tests/x28-privacy-settings.spec.ts +4 -0
- package/tests/ynjn.spec.ts +3 -0
- package/tests-wtr/heuristics/heuristics-utils.test.ts +356 -3
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "teeshoppen",
|
|
3
|
+
"vendorUrl": "https://teeshoppen.se/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?teeshoppen\\.(se|dk|no|fi|de|nl|com|co\\.uk|fr|at)/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#coiOverlay"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#coiOverlay #declineButton"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#coiOverlay.coi-visible"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#coiOverlay #coiPage-1 .coi-banner__accept"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#coiOverlay #declineButton",
|
|
26
|
+
"retry": 3,
|
|
27
|
+
"retryInterval": 1000
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"waitForVisible": "#coiOverlay",
|
|
31
|
+
"check": "none"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"test": [
|
|
35
|
+
{
|
|
36
|
+
"cookieContains": "ts_cookie_choice="
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"cookieContains": "%22consents_denied%22%3A%5B%22cookie_cat_functional"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tuki-cookieterms",
|
|
3
|
+
"prehideSelectors": [".box-cookieterms"],
|
|
4
|
+
"detectCmp": [{ "exists": ".box-cookieterms[data-cookieterms-cookie]" }],
|
|
5
|
+
"detectPopup": [{ "visible": "body:not(.cookieterms-hidden) .box-cookieterms" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": ".box-cookieterms-accept [data-cookieterms-accept]" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"if": { "exists": ".box-cookieterms [data-cookieterms-customize]" },
|
|
10
|
+
"then": [
|
|
11
|
+
{ "click": ".box-cookieterms [data-cookieterms-customize]" },
|
|
12
|
+
{ "waitForVisible": ".box-cookieterms-settings" },
|
|
13
|
+
{ "click": ".box-cookieterms input[data-cookieterms-group]:checked:not([disabled])", "all": true, "optional": true },
|
|
14
|
+
{ "click": ".box-cookieterms [data-cookieterms-save]" }
|
|
15
|
+
],
|
|
16
|
+
"else": [{ "waitForThenClick": ".box-cookieterms [data-cookieterms-decline]" }]
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"test": [{ "cookieContains": "\"analytics\":false" }]
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tullys-jp",
|
|
3
|
+
"cosmetic": true,
|
|
4
|
+
"runContext": { "urlPattern": "^https?://(\\w+\\.)?tullys\\.co\\.jp/" },
|
|
5
|
+
"prehideSelectors": [".cm-Cookie.js-Cookie"],
|
|
6
|
+
"detectCmp": [{ "exists": ".cm-Cookie.js-Cookie .js-CookieBtn" }],
|
|
7
|
+
"detectPopup": [{ "visible": ".cm-Cookie.js-Cookie" }],
|
|
8
|
+
"optIn": [{ "waitForThenClick": ".cm-Cookie.js-Cookie .js-CookieBtn" }],
|
|
9
|
+
"optOut": [{ "hide": ".cm-Cookie.js-Cookie" }],
|
|
10
|
+
"test": [{ "visible": ".cm-Cookie.js-Cookie", "check": "none" }]
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "weblegal",
|
|
3
|
+
"vendorUrl": "https://weblegal.ai/",
|
|
4
|
+
"prehideSelectors": ["#wl-cc-box", "#wl-cc-backdrop"],
|
|
5
|
+
"detectCmp": [{ "exists": "#wl-cc-box #wl-cc-reject" }],
|
|
6
|
+
"detectPopup": [{ "visible": "#wl-cc-box" }, { "exists": "#wl-cc-cats:not(.wl-cc-exp)" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": "#wl-cc-box #wl-cc-accept" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": "#wl-cc-box #wl-cc-reject" }],
|
|
9
|
+
"test": [{ "cookieContains": "wl_cc_consent=%7B%22necessary%22%3Atrue%2C%22analytics%22%3Afalse%2C%22marketing%22%3Afalse" }]
|
|
10
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "weblication",
|
|
3
|
+
"vendorUrl": "https://www.weblication.de/",
|
|
4
|
+
"prehideSelectors": ["#cookieNotice"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#cookieNotice #cookieNoticeDeclineCloser"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#cookieNotice"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": "#cookieNoticeAcceptCloser"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"if": { "exists": "#cookieNotice #cookiesTracking:checked" },
|
|
23
|
+
"then": [{ "click": "#cookieNotice #cookiesTracking" }]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"if": { "exists": "#cookieNotice #loadExternRessources:checked" },
|
|
27
|
+
"then": [{ "click": "#cookieNotice #loadExternRessources" }]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"waitForThenClick": "#cookieNoticeDeclineCloser"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"test": [
|
|
34
|
+
{
|
|
35
|
+
"cookieContains": "allowTracking=0"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "worldbank",
|
|
3
3
|
"vendorUrl": "https://www.worldbank.org/",
|
|
4
|
-
"prehideSelectors": ["#cookieconsentpopup.lp__cookie_tooltip"],
|
|
4
|
+
"prehideSelectors": ["#cookieconsentpopup.lp__cookie_tooltip", ".privacy-widget:has(> button.accept-consent)"],
|
|
5
5
|
"detectCmp": [
|
|
6
6
|
{
|
|
7
|
-
"exists": "#cookieconsentpopup.lp__cookie_tooltip"
|
|
7
|
+
"exists": "#cookieconsentpopup.lp__cookie_tooltip, .privacy-widget > button.accept-consent"
|
|
8
8
|
}
|
|
9
9
|
],
|
|
10
10
|
"detectPopup": [
|
|
11
11
|
{
|
|
12
|
-
"visible": "#cookieconsentpopup.lp__cookie_tooltip"
|
|
12
|
+
"visible": "#cookieconsentpopup.lp__cookie_tooltip, .privacy-widget:has(> button.accept-consent)"
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"optIn": [
|
|
16
16
|
{
|
|
17
|
-
"waitForThenClick": "#cookieconsentpopup .accept-consent"
|
|
17
|
+
"waitForThenClick": "#cookieconsentpopup .accept-consent, .privacy-widget > button.accept-consent"
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
"optOut": [
|
|
21
21
|
{
|
|
22
|
-
"waitForThenClick": "#cookieconsentpopup .accept-consent"
|
|
22
|
+
"waitForThenClick": "#cookieconsentpopup .accept-consent, .privacy-widget > button.accept-consent"
|
|
23
23
|
}
|
|
24
24
|
],
|
|
25
25
|
"test": [
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wuerth",
|
|
3
|
+
"prehideSelectors": ["#consent-container", "#consent_modal_backdrop"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": "#consent-container #consent-buttonConfirm"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"exists": "#consent-container #consent-linkCustomConsent"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "#consent-container #consent-buttonConfirm"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "#consent-container #consent-buttonConfirm"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"if": {
|
|
25
|
+
"visible": "#consent-container #consent-buttonReject"
|
|
26
|
+
},
|
|
27
|
+
"then": [
|
|
28
|
+
{
|
|
29
|
+
"click": "#consent-container #consent-buttonReject"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"else": [
|
|
33
|
+
{
|
|
34
|
+
"waitForThenClick": "#consent-container #consent-linkCustomConsent"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"waitForVisible": "#consent-container #consent-buttonSaveChoices",
|
|
38
|
+
"timeout": 2000
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"comment": "untick any pre-selected optional purposes",
|
|
42
|
+
"click": "#consent-container input.consent-checkbox:checked:not(:disabled)",
|
|
43
|
+
"all": true,
|
|
44
|
+
"optional": true
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"click": "#consent-container #consent-buttonSaveChoices"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"test": [
|
|
53
|
+
{
|
|
54
|
+
"cookieContains": "%22analytics%22:{%22status%22:0"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "x28-privacy-settings",
|
|
3
|
+
"vendorUrl": "https://www.x28.ch/",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"prehideSelectors": [],
|
|
6
|
+
"detectCmp": [{ "exists": "#modal-privacy-settings button[data-grant=\"selected\"]" }],
|
|
7
|
+
"detectPopup": [{ "visible": "#modal-privacy-settings button[data-grant=\"selected\"]" }],
|
|
8
|
+
"optIn": [{ "waitForThenClick": "#modal-privacy-settings button[data-grant=\"all\"]" }],
|
|
9
|
+
"optOut": [
|
|
10
|
+
{
|
|
11
|
+
"click": "#modal-privacy-settings input[name=\"analytics\"]:checked, #modal-privacy-settings input[name=\"ad\"]:checked",
|
|
12
|
+
"all": true,
|
|
13
|
+
"optional": true
|
|
14
|
+
},
|
|
15
|
+
{ "waitForThenClick": "#modal-privacy-settings button[data-grant=\"selected\"]", "retry": 3, "retryInterval": 1000 }
|
|
16
|
+
],
|
|
17
|
+
"test": [{ "cookieContains": "ad_storage=denied:analytics_storage=denied" }]
|
|
18
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "ynjn",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?ynjn\\.jp/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["article:has(a[href*='shueisha.co.jp/privacy'])"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "article:has(a[href*='shueisha.co.jp/privacy'])"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "article:has(a[href*='shueisha.co.jp/privacy']) > div"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "article:has(a[href*='shueisha.co.jp/privacy']) > div > div:last-child"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "article:has(a[href*='shueisha.co.jp/privacy']) > div > div:last-child"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"waitForVisible": "article:has(a[href*='shueisha.co.jp/privacy']) > div",
|
|
30
|
+
"timeout": 1000,
|
|
31
|
+
"check": "none"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|