@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,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "prestashop-advanced-cookie-banner",
|
|
3
|
+
"vendorUrl": "https://www.presta-module.com/",
|
|
4
|
+
"prehideSelectors": ["#acb-banner"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": "#acb-banner #acb-accept-all-button"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": "#acb-banner",
|
|
13
|
+
"check": "any"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"optIn": [
|
|
17
|
+
{
|
|
18
|
+
"waitForThenClick": "#acb-banner #acb-accept-all-button"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optOut": [
|
|
22
|
+
{
|
|
23
|
+
"if": {
|
|
24
|
+
"visible": "#acb-banner #acb-deny-all-button",
|
|
25
|
+
"check": "any"
|
|
26
|
+
},
|
|
27
|
+
"then": [
|
|
28
|
+
{
|
|
29
|
+
"waitForThenClick": "#acb-banner #acb-deny-all-button"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"else": [
|
|
33
|
+
{
|
|
34
|
+
"click": "#acb-banner input.acbCheckbox:checked:not([disabled])",
|
|
35
|
+
"all": true,
|
|
36
|
+
"optional": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"waitForThenClick": "#acb-banner #acb-close-button"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"test": [
|
|
45
|
+
{
|
|
46
|
+
"cookieContains": "PrestaShop-49722c247d445ea6ad5f50ec8153945a=0"
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "qudosbank-com-au",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?qudosbank\\.com\\.au/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["#popup.cookie-popup"],
|
|
7
|
+
"detectCmp": [{ "exists": "#popup.cookie-popup #close-popup" }],
|
|
8
|
+
"detectPopup": [{ "visible": "#popup.cookie-popup" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "#popup.cookie-popup #close-popup" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{ "waitForThenClick": "#popup.cookie-popup #close-popup" },
|
|
12
|
+
{ "waitForVisible": "#popup.cookie-popup", "check": "none", "timeout": 2000 }
|
|
13
|
+
]
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "renaud-bray",
|
|
3
|
+
"vendorUrl": "https://www.renaud-bray.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?renaud-bray\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie-banner"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookie-consent-container[style*='visibility'] #cookie-banner"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookie-banner"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookie-banner .cookie-banner-agree-to-all-btn"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cookie-banner .cookie-banner-preferences-btn"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"waitForVisible": "#cookie-consent-detail"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"waitForThenClick": "#cookie-consent-detail .modal-content-agree-to-preference-btn"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"test": [
|
|
35
|
+
{
|
|
36
|
+
"visible": "#cookie-banner",
|
|
37
|
+
"check": "none"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"visible": "#cookie-consent-detail",
|
|
41
|
+
"check": "none"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "roblox-creator-hub",
|
|
3
|
+
"vendorUrl": "https://create.roblox.com",
|
|
4
|
+
"cosmetic": false,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"main": true,
|
|
7
|
+
"frame": false,
|
|
8
|
+
"urlPattern": "^https://create\\.roblox\\.com/"
|
|
9
|
+
},
|
|
10
|
+
"prehideSelectors": [],
|
|
11
|
+
"detectCmp": [
|
|
12
|
+
{
|
|
13
|
+
"exists": ".MuiDrawer-paperAnchorBottom a[href*=\"/info/privacy\"]"
|
|
14
|
+
}
|
|
15
|
+
],
|
|
16
|
+
"detectPopup": [
|
|
17
|
+
{
|
|
18
|
+
"visible": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-outlined"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optIn": [
|
|
22
|
+
{
|
|
23
|
+
"waitForThenClick": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-contained"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"optOut": [
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-outlined"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"waitForVisible": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-outlined",
|
|
32
|
+
"check": "none",
|
|
33
|
+
"timeout": 2000,
|
|
34
|
+
"optional": true
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"comment": "the banner is re-mounted shortly after page load, discarding an early choice",
|
|
38
|
+
"waitForThenClick": ".MuiDrawer-paperAnchorBottom [class*=\"-Grid-root-buttons\"] button.MuiButton-outlined",
|
|
39
|
+
"timeout": 3000,
|
|
40
|
+
"optional": true
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"test": [
|
|
44
|
+
{
|
|
45
|
+
"cookieContains": "GoogleAnalytics=false"
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "rws-app",
|
|
3
|
+
"prehideSelectors": [".rws-app > .cookie-modal"],
|
|
4
|
+
"detectCmp": [{ "exists": ".rws-app > .cookie-modal" }],
|
|
5
|
+
"detectPopup": [{ "visible": ".rws-app > .cookie-modal" }],
|
|
6
|
+
"optIn": [{ "waitForThenClick": ".rws-app > .cookie-modal .buttons button:first-child" }],
|
|
7
|
+
"optOut": [
|
|
8
|
+
{
|
|
9
|
+
"waitForThenClick": "xpath///div[contains(@class, 'rws-app')]/div[contains(@class, 'cookie-modal')]//div[contains(@class, 'buttons')]//button[contains(normalize-space(.), 'nödvändiga')]"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"test": [{ "cookieContains": "cookiesApproved=%5B%22REQUIRED%22%5D" }]
|
|
13
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "san-tatsu.jp",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?san-tatsu\\.jp/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [".cookie:has(.js-cookie-close)"],
|
|
7
|
+
"detectCmp": [
|
|
8
|
+
{
|
|
9
|
+
"exists": "html.show-cookie .cookie .js-cookie-close"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"detectPopup": [
|
|
13
|
+
{
|
|
14
|
+
"visible": "html.show-cookie .cookie .js-cookie-close"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"optIn": [
|
|
18
|
+
{
|
|
19
|
+
"waitForThenClick": "html.show-cookie .cookie .js-cookie-close"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"optOut": [
|
|
23
|
+
{
|
|
24
|
+
"waitForThenClick": "html.show-cookie .cookie .js-cookie-close"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"test": [
|
|
28
|
+
{
|
|
29
|
+
"cookieContains": "cookieAgree=1"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "saos-org-pl",
|
|
3
|
+
"vendorUrl": "https://www.saos.org.pl/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?saos\\.org\\.pl/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": ["#cookie-window", "#cookie-message"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": "#cookie-window #cookie-preview-accept"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": "#cookie-window"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": "#cookie-preview-accept"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": "#cookie-window, #cookie-message"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": "#cookie-window",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sda-it",
|
|
3
|
+
"vendorUrl": "https://www.sda.it/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(\\w+\\.)?sda\\.it/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#content-alert-cookie"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#content-alert-cookie #truste-consent-required2"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#content-alert-cookie #truste-consent-required2"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#content-alert-cookie #truste-consent-button"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#content-alert-cookie #truste-consent-required2"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "cookie_pi_accept=permit 1"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"cookieContains": "cookie_pi_accept=permit 1,2",
|
|
34
|
+
"negated": true
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "seria-group",
|
|
3
|
+
"vendorUrl": "https://www.seria-group.com/",
|
|
4
|
+
"cosmetic": true,
|
|
5
|
+
"runContext": {
|
|
6
|
+
"urlPattern": "^https?://(www\\.)?seria-group\\.com/"
|
|
7
|
+
},
|
|
8
|
+
"prehideSelectors": [".l-cookie.js-cookie"],
|
|
9
|
+
"detectCmp": [
|
|
10
|
+
{
|
|
11
|
+
"exists": ".l-cookie.js-cookie button"
|
|
12
|
+
}
|
|
13
|
+
],
|
|
14
|
+
"detectPopup": [
|
|
15
|
+
{
|
|
16
|
+
"visible": ".l-cookie.js-cookie.is-show"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"optIn": [
|
|
20
|
+
{
|
|
21
|
+
"waitForThenClick": ".l-cookie.js-cookie button"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"hide": ".l-cookie.js-cookie"
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
"test": [
|
|
30
|
+
{
|
|
31
|
+
"visible": ".l-cookie.js-cookie",
|
|
32
|
+
"check": "none"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shoper",
|
|
3
|
+
"vendorUrl": "https://www.shoper.pl/",
|
|
4
|
+
"prehideSelectors": [".consents-modal"],
|
|
5
|
+
"detectCmp": [{ "exists": ".consents-modal__footer consents-accept-necessary" }],
|
|
6
|
+
"detectPopup": [{ "visible": ".consents-modal__footer consents-accept-necessary" }],
|
|
7
|
+
"optIn": [{ "waitForThenClick": ".consents-modal__footer consents-accept-all" }],
|
|
8
|
+
"optOut": [{ "waitForThenClick": ".consents-modal__footer consents-accept-necessary" }],
|
|
9
|
+
"test": [{ "waitForVisible": ".consents-modal__footer consents-accept-necessary", "check": "none", "timeout": 1000 }]
|
|
10
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shopgold",
|
|
3
|
+
"prehideSelectors": ["#InfoCookieTlo", "#CookieOknoUstawien"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": "#InfoCookie.DolnaInformacjaCookie, #InfoCookieIntegracje.DolnaInformacjaCookie"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [
|
|
10
|
+
{
|
|
11
|
+
"any": [
|
|
12
|
+
{
|
|
13
|
+
"visible": "#InfoCookieIntegracje"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"visible": "xpath///div[@id='InfoCookie']//span[@id='InfoAkcept'][contains(., 'Nie pokazuj')]"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"optIn": [
|
|
22
|
+
{
|
|
23
|
+
"if": {
|
|
24
|
+
"visible": "#InfoCookieIntegracje"
|
|
25
|
+
},
|
|
26
|
+
"then": [
|
|
27
|
+
{
|
|
28
|
+
"waitForThenClick": "#InfoAkceptIntegracje"
|
|
29
|
+
}
|
|
30
|
+
],
|
|
31
|
+
"else": [
|
|
32
|
+
{
|
|
33
|
+
"waitForThenClick": "#InfoAkcept"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"optOut": [
|
|
39
|
+
{
|
|
40
|
+
"if": {
|
|
41
|
+
"visible": "#InfoCookieIntegracje"
|
|
42
|
+
},
|
|
43
|
+
"then": [
|
|
44
|
+
{
|
|
45
|
+
"if": {
|
|
46
|
+
"exists": "#InfoTylkoNiezbedneIntegracje"
|
|
47
|
+
},
|
|
48
|
+
"then": [
|
|
49
|
+
{
|
|
50
|
+
"waitForThenClick": "#InfoTylkoNiezbedneIntegracje"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"else": [
|
|
54
|
+
{
|
|
55
|
+
"click": "#InfoUstawieniaIntegracje"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"waitForVisible": "#CookieOknoUstawien"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"click": "#CookieOknoUstawien input[type=checkbox]:checked:not(:disabled)",
|
|
62
|
+
"all": true,
|
|
63
|
+
"optional": true
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"click": "#CookieOknoUstawien .GotoweCookieOkno span"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
"else": [
|
|
72
|
+
{
|
|
73
|
+
"waitForThenClick": "xpath///div[@id='InfoCookie']//span[@id='InfoAkcept'][contains(., 'Nie pokazuj')]"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
],
|
|
78
|
+
"test": [
|
|
79
|
+
{
|
|
80
|
+
"cookieContains": "akceptCookie=tak"
|
|
81
|
+
}
|
|
82
|
+
]
|
|
83
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "shueisha-hpplus",
|
|
3
|
+
"prehideSelectors": [":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy'])"],
|
|
4
|
+
"detectCmp": [
|
|
5
|
+
{
|
|
6
|
+
"exists": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy']) :is(#cookieBannerCloseButton, .cookieBannerCloseButton)"
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
"detectPopup": [{ "visible": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy'])", "check": "any" }],
|
|
10
|
+
"optIn": [
|
|
11
|
+
{
|
|
12
|
+
"waitForThenClick": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy']) :is(#cookieBannerCloseButton, .cookieBannerCloseButton)"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optOut": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy']) :is(#cookieBannerCloseButton, .cookieBannerCloseButton)"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"test": [
|
|
21
|
+
{
|
|
22
|
+
"waitForVisible": ":is(#cookieBanner, .fixed_cookie_banner):has(a[href*='shueisha.co.jp/privacy'])",
|
|
23
|
+
"timeout": 2000,
|
|
24
|
+
"check": "none"
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "silver.nu",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(www\\.)?silver\\.nu/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": [],
|
|
7
|
+
"detectCmp": [{ "exists": "xpath///body/div[span/a[contains(@href, 'cookie-policy')]]/button" }],
|
|
8
|
+
"detectPopup": [{ "visible": "xpath///body/div[span/a[contains(@href, 'cookie-policy')]]/button" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "xpath///body/div[span/a[contains(@href, 'cookie-policy')]]/button[normalize-space(.)='Acceptera']" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{ "waitForThenClick": "xpath///body/div[span/a[contains(@href, 'cookie-policy')]]/button[normalize-space(.)='Endast nödvändiga']" },
|
|
12
|
+
{
|
|
13
|
+
"comment": "the site also loads a Funding Choices notice after its own banner",
|
|
14
|
+
"waitFor": ".fc-consent-root",
|
|
15
|
+
"timeout": 5000,
|
|
16
|
+
"optional": true
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"if": { "exists": ".fc-consent-root" },
|
|
20
|
+
"then": [
|
|
21
|
+
{
|
|
22
|
+
"if": { "exists": ".fc-cta-do-not-consent,.fc-cta-manage-options" },
|
|
23
|
+
"then": [{ "click": ".fc-cta-do-not-consent,.fc-cta-manage-options" }]
|
|
24
|
+
},
|
|
25
|
+
{ "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked", "all": true, "optional": true },
|
|
26
|
+
{ "click": ".fc-confirm-choices", "optional": true }
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"test": [{ "cookieContains": "cookieconsent_dismissed=dismissed" }]
|
|
31
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "soleil-sitevision-cookie-message",
|
|
3
|
+
"vendorUrl": "https://soleil.se/",
|
|
4
|
+
"prehideSelectors": [".sol-cookie-message"],
|
|
5
|
+
"detectCmp": [
|
|
6
|
+
{
|
|
7
|
+
"exists": ".sol-cookie-message .sol-cookie-ok"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"detectPopup": [
|
|
11
|
+
{
|
|
12
|
+
"visible": ".sol-cookie-message .sol-cookie-ok"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"optIn": [
|
|
16
|
+
{
|
|
17
|
+
"waitForThenClick": ".sol-cookie-message .sol-cookie-ok"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"optOut": [
|
|
21
|
+
{
|
|
22
|
+
"comment": "notice-only banner: the only button acknowledges it",
|
|
23
|
+
"waitForThenClick": ".sol-cookie-message .sol-cookie-ok"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"test": [
|
|
27
|
+
{
|
|
28
|
+
"visible": ".sol-cookie-message",
|
|
29
|
+
"check": "none"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
@@ -29,7 +29,24 @@
|
|
|
29
29
|
],
|
|
30
30
|
"else": [
|
|
31
31
|
{
|
|
32
|
-
"
|
|
32
|
+
"if": {
|
|
33
|
+
"visible": "#_psaihm_button_param_accept"
|
|
34
|
+
},
|
|
35
|
+
"then": [
|
|
36
|
+
{
|
|
37
|
+
"click": "#_psaihm_table_container input._psaihm_consentbox:checked",
|
|
38
|
+
"all": true,
|
|
39
|
+
"optional": true
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"waitForThenClick": "#_psaihm_button_param_accept"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"else": [
|
|
46
|
+
{
|
|
47
|
+
"waitForThenClick": "#_psaihm_continue_without_accepting"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
33
50
|
}
|
|
34
51
|
]
|
|
35
52
|
},
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "surfshark",
|
|
3
|
+
"runContext": {
|
|
4
|
+
"urlPattern": "^https?://(\\w+\\.)?surfshark\\.com/"
|
|
5
|
+
},
|
|
6
|
+
"prehideSelectors": ["[data-test=cookie-consent-modal]"],
|
|
7
|
+
"detectCmp": [{ "exists": "[data-test=cookie-consent-modal]" }],
|
|
8
|
+
"detectPopup": [{ "visible": "[data-test=cookie-consent-modal]" }],
|
|
9
|
+
"optIn": [{ "waitForThenClick": "[data-test=cookie-consent-modal] [data-test=cookie-consent-accept-all]" }],
|
|
10
|
+
"optOut": [
|
|
11
|
+
{
|
|
12
|
+
"if": { "exists": "[data-test=cookie-consent-modal] [data-test=cookie-consent-decline-all]" },
|
|
13
|
+
"then": [{ "click": "[data-test=cookie-consent-modal] [data-test=cookie-consent-decline-all]" }],
|
|
14
|
+
"else": [
|
|
15
|
+
{ "click": "[data-test=cookie-consent-modal] [data-test=cookie-consent-preferences]" },
|
|
16
|
+
{ "waitForThenClick": "[data-test=cookie-consent-settings-decline-all]" }
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"test": [{ "cookieContains": "surfshark-consent-state=a:0|m:0" }]
|
|
21
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "synergy-net-au",
|
|
3
|
+
"vendorUrl": "https://www.synergy.net.au/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?synergy\\.net\\.au/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": ["#cookie.alert--cookie"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": "#cookie.alert--cookie[sy-alert]"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": "#cookie.alert--cookie.alert--active"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": "#cookie.alert--cookie button.alert-close"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"optOut": [
|
|
24
|
+
{
|
|
25
|
+
"waitForThenClick": "#cookie.alert--cookie button.alert-close"
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
"test": [
|
|
29
|
+
{
|
|
30
|
+
"cookieContains": "synergy.alert.cookie=true"
|
|
31
|
+
}
|
|
32
|
+
]
|
|
33
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "tcl.com",
|
|
3
|
+
"vendorUrl": "https://www.tcl.com/",
|
|
4
|
+
"runContext": {
|
|
5
|
+
"urlPattern": "^https?://(www\\.)?tcl\\.com/"
|
|
6
|
+
},
|
|
7
|
+
"prehideSelectors": [".cookie-bar .cookie-box"],
|
|
8
|
+
"detectCmp": [
|
|
9
|
+
{
|
|
10
|
+
"exists": ".cookie-bar .cookie-box .cookie-bar-buttons"
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"detectPopup": [
|
|
14
|
+
{
|
|
15
|
+
"visible": ".cookie-bar .cookie-box .cookie-bar-buttons"
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"optIn": [
|
|
19
|
+
{
|
|
20
|
+
"waitForThenClick": ".cookie-bar .cookie-box :is(.accept-all, .cookie-accept)",
|
|
21
|
+
"retry": 5
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"optOut": [
|
|
25
|
+
{
|
|
26
|
+
"if": {
|
|
27
|
+
"exists": ".cookie-bar .cookie-box .refuse-all"
|
|
28
|
+
},
|
|
29
|
+
"then": [
|
|
30
|
+
{
|
|
31
|
+
"waitForThenClick": ".cookie-bar .cookie-box .refuse-all",
|
|
32
|
+
"retry": 5
|
|
33
|
+
}
|
|
34
|
+
],
|
|
35
|
+
"else": [
|
|
36
|
+
{
|
|
37
|
+
"waitForThenClick": ".cookie-bar .cookie-box .cookie-bar-close",
|
|
38
|
+
"retry": 5
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"test": [
|
|
44
|
+
{
|
|
45
|
+
"waitForVisible": ".cookie-bar .cookie-box .cookie-bar-buttons",
|
|
46
|
+
"timeout": 2000,
|
|
47
|
+
"check": "none"
|
|
48
|
+
}
|
|
49
|
+
]
|
|
50
|
+
}
|