@duckduckgo/autoconsent 18.2.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.
Files changed (114) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/addon-firefox/compact-rules.json +1 -1
  3. package/dist/addon-firefox/content.bundle.js +92 -36
  4. package/dist/addon-firefox/manifest.json +1 -1
  5. package/dist/addon-firefox/rule-index.json +1 -1
  6. package/dist/addon-firefox/rules.json +1 -1
  7. package/dist/addon-mv3/compact-rules.json +1 -1
  8. package/dist/addon-mv3/content.bundle.js +92 -36
  9. package/dist/addon-mv3/manifest.json +1 -1
  10. package/dist/addon-mv3/rule-index.json +1 -1
  11. package/dist/addon-mv3/rules.json +1 -1
  12. package/dist/autoconsent.cjs.js +92 -36
  13. package/dist/autoconsent.esm.js +92 -36
  14. package/dist/autoconsent.playwright.js +92 -36
  15. package/dist/autoconsent.standalone.js +93 -37
  16. package/dist/heuristics.cjs.js +92 -38
  17. package/dist/heuristics.mjs +92 -37
  18. package/dist/types/heuristic-patterns.d.ts +0 -1
  19. package/lib/heuristic-literals.ts +39 -12
  20. package/lib/heuristic-negatives.ts +0 -9
  21. package/lib/heuristic-patterns.ts +54 -16
  22. package/package.json +1 -1
  23. package/rules/autoconsent/adaptivemedia.json +30 -0
  24. package/rules/autoconsent/adeac-jp.json +29 -0
  25. package/rules/autoconsent/agenziaentrate-geoportale.json +35 -0
  26. package/rules/autoconsent/alertnotification-alert-bar.json +27 -0
  27. package/rules/autoconsent/amasty-gdpr-hyva.json +6 -6
  28. package/rules/autoconsent/betheme.json +10 -0
  29. package/rules/autoconsent/biblia-online.pl.json +40 -0
  30. package/rules/autoconsent/bitauto.json +57 -0
  31. package/rules/autoconsent/bt-com-au.json +13 -0
  32. package/rules/autoconsent/calclife.net.json +43 -0
  33. package/rules/autoconsent/casino-guru.json +28 -0
  34. package/rules/autoconsent/code3-cookies-consent.json +48 -0
  35. package/rules/autoconsent/complianz-opt-out.json +7 -2
  36. package/rules/autoconsent/cookie-use-notice.json +12 -0
  37. package/rules/autoconsent/cookieinfo-zamknij.json +30 -0
  38. package/rules/autoconsent/cookiesbanner-preference.json +14 -0
  39. package/rules/autoconsent/cookiesmodal-pl.json +18 -0
  40. package/rules/autoconsent/creditunionsa.json +12 -0
  41. package/rules/autoconsent/cstudios.json +35 -0
  42. package/rules/autoconsent/dandomain.json +41 -0
  43. package/rules/autoconsent/datezone.json +22 -0
  44. package/rules/autoconsent/dlibra.json +32 -0
  45. package/rules/autoconsent/dnb.json +30 -0
  46. package/rules/autoconsent/e-file.json +44 -0
  47. package/rules/autoconsent/erli-pl.json +36 -0
  48. package/rules/autoconsent/fellow-pl.json +16 -0
  49. package/rules/autoconsent/fn-se.json +17 -0
  50. package/rules/autoconsent/icom-co-jp.json +34 -0
  51. package/rules/autoconsent/intermedia-cms-fsi.json +30 -0
  52. package/rules/autoconsent/lieder.net.json +13 -0
  53. package/rules/autoconsent/menti-com.json +37 -0
  54. package/rules/autoconsent/mos-cudzoziemcy-gov-pl.json +29 -0
  55. package/rules/autoconsent/octoparse.json +33 -0
  56. package/rules/autoconsent/oresundstag.json +40 -0
  57. package/rules/autoconsent/renaud-bray.json +44 -0
  58. package/rules/autoconsent/saos-org-pl.json +35 -0
  59. package/rules/autoconsent/shopgold.json +83 -0
  60. package/rules/autoconsent/shueisha-hpplus.json +27 -0
  61. package/rules/autoconsent/synergy-net-au.json +33 -0
  62. package/rules/autoconsent/teeshoppen.json +42 -0
  63. package/rules/autoconsent/tullys-jp.json +11 -0
  64. package/rules/autoconsent/worldbank.json +5 -5
  65. package/rules/autoconsent/wuerth.json +57 -0
  66. package/rules/autoconsent/ynjn.json +34 -0
  67. package/rules/compact-rules.json +1 -1
  68. package/rules/rule-index.json +1 -1
  69. package/rules/rules.json +1 -1
  70. package/tests/adaptivemedia.spec.ts +3 -0
  71. package/tests/adeac-jp.spec.ts +3 -0
  72. package/tests/agenziaentrate-geoportale.spec.ts +5 -0
  73. package/tests/alertnotification-alert-bar.spec.ts +11 -0
  74. package/tests/amasty-gdpr-hyva.spec.ts +1 -0
  75. package/tests/betheme.spec.ts +9 -0
  76. package/tests/biblia-online.pl.spec.ts +3 -0
  77. package/tests/bitauto.spec.ts +3 -0
  78. package/tests/bt-com-au.spec.ts +3 -0
  79. package/tests/calclife.net.spec.ts +3 -0
  80. package/tests/casino-guru.spec.ts +15 -0
  81. package/tests/code3-cookies-consent.spec.ts +8 -0
  82. package/tests/complianz-opt-out.spec.ts +13 -3
  83. package/tests/cookie-use-notice.spec.ts +6 -0
  84. package/tests/cookieinfo-zamknij.spec.ts +3 -0
  85. package/tests/cookiesbanner-preference.spec.ts +8 -0
  86. package/tests/cookiesmodal-pl.spec.ts +3 -0
  87. package/tests/creditunionsa.spec.ts +3 -0
  88. package/tests/cstudios.spec.ts +3 -0
  89. package/tests/dandomain.spec.ts +18 -0
  90. package/tests/datezone.spec.ts +3 -0
  91. package/tests/dlibra.spec.ts +8 -0
  92. package/tests/dnb.spec.ts +5 -0
  93. package/tests/e-file.spec.ts +9 -0
  94. package/tests/erli-pl.spec.ts +4 -0
  95. package/tests/fellow-pl.spec.ts +5 -0
  96. package/tests/fn-se.spec.ts +3 -0
  97. package/tests/icom-co-jp.spec.ts +3 -0
  98. package/tests/intermedia-cms-fsi.spec.ts +8 -0
  99. package/tests/lieder.net.spec.ts +3 -0
  100. package/tests/menti-com.spec.ts +3 -0
  101. package/tests/mos-cudzoziemcy-gov-pl.spec.ts +3 -0
  102. package/tests/octoparse.spec.ts +6 -0
  103. package/tests/oresundstag.spec.ts +3 -0
  104. package/tests/renaud-bray.spec.ts +5 -0
  105. package/tests/saos-org-pl.spec.ts +3 -0
  106. package/tests/shopgold.spec.ts +3 -0
  107. package/tests/shueisha-hpplus.spec.ts +3 -0
  108. package/tests/synergy-net-au.spec.ts +8 -0
  109. package/tests/teeshoppen.spec.ts +7 -0
  110. package/tests/tullys-jp.spec.ts +3 -0
  111. package/tests/worldbank.spec.ts +1 -0
  112. package/tests/wuerth.spec.ts +8 -0
  113. package/tests/ynjn.spec.ts +3 -0
  114. package/tests-wtr/heuristics/heuristics-utils.test.ts +82 -4
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "cookieinfo-zamknij",
3
+ "vendorUrl": "https://unknown",
4
+ "prehideSelectors": [".JSWrapper:has(#cookieInfoZamknij)"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#cookieInfoZamknij"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#cookieInfoZamknij"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#cookieInfoZamknij"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#cookieInfoZamknij"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "js_on=1"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "cookiesbanner-preference",
3
+ "prehideSelectors": ["#cookiesBanner:has(#cookiesBannerPreference)"],
4
+ "detectCmp": [{ "exists": "#cookiesBanner #cookiesBannerPreference" }],
5
+ "detectPopup": [{ "visible": "#cookiesBanner:not(.cookiesBannerHide) #cookiesBannerBox" }],
6
+ "optIn": [{ "waitForThenClick": "#cookiesBannerInfos button[onclick^=\"submitCookies('all')\"]" }],
7
+ "optOut": [
8
+ { "waitForThenClick": "#cookiesBannerInfos button[onclick^='cookieSettingsShow']" },
9
+ { "waitForVisible": "#cookiesBannerPreference" },
10
+ { "click": "#cookiesBannerChoices input:checked:not(:disabled)", "all": true, "optional": true },
11
+ { "waitForThenClick": "#cookiesBannerPreference button[onclick^='submitCookies()']" }
12
+ ],
13
+ "test": [{ "waitFor": "#cookiesBanner.cookiesBannerHide" }, { "cookieContains": "\"tracking\":false" }]
14
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "cookiesmodal-pl",
3
+ "prehideSelectors": [],
4
+ "detectCmp": [
5
+ { "exists": "#cookiesModal .modal-footer #cookiesModalAcceptSelected" },
6
+ { "exists": "#cookiesModal input[name=\"cookies_google\"]" }
7
+ ],
8
+ "detectPopup": [{ "visible": "#cookiesModal .modal-dialog" }],
9
+ "optIn": [{ "waitForThenClick": "#cookiesModal #cookiesModalAcceptAll" }],
10
+ "optOut": [
11
+ {
12
+ "if": { "exists": "#cookiesModal input[name=\"cookies_google\"]:checked" },
13
+ "then": [{ "click": "#cookiesModal input[name=\"cookies_google\"]" }]
14
+ },
15
+ { "waitForThenClick": "#cookiesModal #cookiesModalAcceptSelected", "retry": 3, "retryInterval": 600 }
16
+ ],
17
+ "test": [{ "cookieContains": "cookiePolicy=sessions" }, { "cookieContains": "cookiePolicy=sessions%2Cgoogle", "negated": true }]
18
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "creditunionsa",
3
+ "cosmetic": true,
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?creditunionsa\\.com\\.au/"
6
+ },
7
+ "prehideSelectors": [".cookie-banner-alerts > div:has(button[aria-label=\"Accept\"])"],
8
+ "detectCmp": [{ "exists": ".cookie-banner-alerts button[aria-label=\"Accept\"]" }],
9
+ "detectPopup": [{ "visible": ".cookie-banner-alerts > div:has(button[aria-label=\"Accept\"])" }],
10
+ "optIn": [{ "waitForThenClick": ".cookie-banner-alerts button[aria-label=\"Accept\"]" }],
11
+ "optOut": [{ "hide": ".cookie-banner-alerts > div:has(button[aria-label=\"Accept\"])" }]
12
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "cstudios",
3
+ "vendorUrl": "https://www.cstudios.pl/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(\\w+\\.)?cstudios\\.pl/"
7
+ },
8
+ "prehideSelectors": ["#CookiesWindow"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "#CookiesWindow .rodo-window"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "#CookiesWindow .rodo-window"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "#CookiesWindow .dnnSecondaryAction[onclick*=AcceptRODO]"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": "#CookiesWindow"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "visible": "#CookiesWindow",
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "dandomain",
3
+ "vendorUrl": "https://dandomain.dk/",
4
+ "cosmetic": false,
5
+ "prehideSelectors": ["#CookiePolicy"],
6
+ "detectCmp": [
7
+ {
8
+ "exists": "#CookiePolicy #cookie-policy-accept-button"
9
+ }
10
+ ],
11
+ "detectPopup": [
12
+ {
13
+ "visible": "#CookiePolicy"
14
+ }
15
+ ],
16
+ "optIn": [
17
+ {
18
+ "waitForThenClick": "#CookiePolicy .cookie-policy-accept-all"
19
+ }
20
+ ],
21
+ "optOut": [
22
+ {
23
+ "comment": "some shops pre-check the toggles in a DOM-ready handler that may run after detection",
24
+ "wait": 500
25
+ },
26
+ {
27
+ "comment": "the save button keeps the current toggles, so uncheck them first",
28
+ "click": "#CookiePolicy .cookie-policy-consents-area input[type=checkbox]:checked:not(:disabled)",
29
+ "all": true,
30
+ "optional": true
31
+ },
32
+ {
33
+ "waitForThenClick": "#CookiePolicy #cookie-policy-accept-button"
34
+ }
35
+ ],
36
+ "test": [
37
+ {
38
+ "cookieContains": "DDCookiePolicy-consent-tracking=false"
39
+ }
40
+ ]
41
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "datezone",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?datezone\\.com/"
5
+ },
6
+ "prehideSelectors": ["[data-rum=\"cookie-consent\"]"],
7
+ "detectCmp": [{ "exists": "[data-rum=\"cookie-consent\"] [data-rum=\"cookie-consent-text\"]" }],
8
+ "detectPopup": [{ "visible": "[data-rum=\"cookie-consent\"]" }],
9
+ "optIn": [{ "waitForThenClick": "[data-rum=\"cookie-consent\"] [data-rum=\"cookie-consent-text\"] + div > button:last-of-type" }],
10
+ "optOut": [
11
+ { "waitForThenClick": "[data-rum=\"cookie-consent\"] [data-rum=\"cookie-consent-text\"] + div > button:first-of-type" },
12
+ { "waitFor": "[data-rum=\"cookie-consent\"] div.grid input[type=\"checkbox\"]" },
13
+ {
14
+ "click": "[data-rum=\"cookie-consent\"] div.grid:has(input[type=\"checkbox\"]:checked:not([disabled]))",
15
+ "all": true,
16
+ "optional": true
17
+ },
18
+ { "waitForThenClick": "[data-rum=\"cookie-consent\"] div.grid ~ div > button:last-of-type" },
19
+ { "waitForVisible": "[data-rum=\"cookie-consent\"]", "check": "none", "timeout": 3000 }
20
+ ],
21
+ "test": [{ "cookieContains": "cookie_consent=necessary" }]
22
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "dlibra",
3
+ "vendorUrl": "https://dlibra.psnc.pl/",
4
+ "detectCmp": [
5
+ {
6
+ "exists": "script[src*=\"/style/dlibra/\"]"
7
+ },
8
+ {
9
+ "exists": ".cookies > p > button.cookies__button"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": ".cookies > p > button.cookies__button"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": ".cookies > p > button.cookies__button"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": ".cookies > p > button.cookies__button"
25
+ }
26
+ ],
27
+ "test": [
28
+ {
29
+ "cookieContains": "AcceptCookie=true"
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "dnb",
3
+ "vendorUrl": "https://www.dnb.no/",
4
+ "prehideSelectors": ["#eufemia-portal-root .cookie-popup"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".cookie-popup #cookie-popup-strictlyNecessary"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".cookie-popup #cookie-popup-strictlyNecessary"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".cookie-popup #cookie-popup-acceptAll"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ".cookie-popup #cookie-popup-strictlyNecessary"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "consentData=sn"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "e-file",
3
+ "vendorUrl": "https://www.e-file.pl/",
4
+ "prehideSelectors": ["#cookiemodal"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#cookiemodal #cookie-accepted-form"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#cookiemodal #cookie-change-desc"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#cookiemodal #cookie-accepted-all"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#cookiemodal #cookie-change-desc"
23
+ },
24
+ {
25
+ "waitForVisible": "#cookiemodal #cookie-accepted-form"
26
+ },
27
+ {
28
+ "click": "#cookiemodal .cookie-form input[type=checkbox]:checked:not(:disabled)",
29
+ "all": true,
30
+ "optional": true
31
+ },
32
+ {
33
+ "click": "#cookiemodal #cookie-accepted-form"
34
+ }
35
+ ],
36
+ "test": [
37
+ {
38
+ "cookieContains": "analytics_storage=false"
39
+ },
40
+ {
41
+ "cookieContains": "ad_storage=false"
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "erli-pl",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?erli\\.pl/"
5
+ },
6
+ "detectCmp": [
7
+ {
8
+ "exists": "xpath///div[h2[normalize-space()=\"Ustawienia prywatności i cookies\"]][.//button[normalize-space()=\"Zgadzam się\"]]"
9
+ }
10
+ ],
11
+ "detectPopup": [
12
+ {
13
+ "visible": "xpath///div[h2[normalize-space()=\"Ustawienia prywatności i cookies\"]][.//button[normalize-space()=\"Zgadzam się\"]]"
14
+ }
15
+ ],
16
+ "optIn": [
17
+ {
18
+ "waitForThenClick": "xpath///div[h2[normalize-space()=\"Ustawienia prywatności i cookies\"]]//button[normalize-space()=\"Zgadzam się\"]"
19
+ }
20
+ ],
21
+ "optOut": [
22
+ {
23
+ "waitForThenClick": "xpath///div[h2[normalize-space()=\"Ustawienia prywatności i cookies\"]]//button[normalize-space()=\"Zmień ustawienia\"]"
24
+ },
25
+ {
26
+ "waitForThenClick": "xpath///div[h2[normalize-space()=\"Ustawienia prywatności i cookies\"]]//button[normalize-space()=\"Zezwól na wybrane\"]"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "waitForVisible": "xpath///div[h2[normalize-space()=\"Ustawienia prywatności i cookies\"]][.//button[normalize-space()=\"Zgadzam się\"]]",
32
+ "check": "none",
33
+ "timeout": 2000
34
+ }
35
+ ]
36
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "fellow.pl",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?(fellow|fll)\\.pl/"
5
+ },
6
+ "prehideSelectors": [],
7
+ "detectCmp": [{ "exists": "a[href='/?cookie=1'] > img[title*='cookies']" }],
8
+ "detectPopup": [{ "visible": "a[href='/?cookie=1'] > img[title*='cookies']" }],
9
+ "optIn": [{ "waitForThenClick": "a[href='/?cookie=1']" }],
10
+ "optOut": [
11
+ {
12
+ "waitForThenClick": "a[href='/?cookie=1']",
13
+ "comment": "notice only; the close link acknowledges it"
14
+ }
15
+ ]
16
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "fn-se",
3
+ "vendorUrl": "https://fn.se/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?fn\\.se/"
6
+ },
7
+ "prehideSelectors": ["#cookie"],
8
+ "detectCmp": [{ "exists": "#cookie #cookies-marketing" }],
9
+ "detectPopup": [{ "visible": "#cookie .accept-all" }],
10
+ "optIn": [{ "waitForThenClick": "#cookie .accept-all" }],
11
+ "optOut": [
12
+ { "waitForThenClick": "#cookie a.settings" },
13
+ { "waitForVisible": "#cookie .cookie-settings button.close" },
14
+ { "click": "#cookie .cookie-settings button.close" }
15
+ ],
16
+ "test": [{ "cookieContains": "allow_necessary=true" }]
17
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "icom-co-jp",
3
+ "cosmetic": true,
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?icom\\.co\\.jp/"
6
+ },
7
+ "prehideSelectors": ["#cookie.view:has(.agree .btn)"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookie .agree .btn"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookie.view"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookie .agree .btn"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "hide": "#cookie"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "visible": "#cookie",
31
+ "check": "none"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "intermedia-cms-fsi",
3
+ "vendorUrl": "https://i.media.pl/",
4
+ "prehideSelectors": ["#stopka-polityka"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#stopka-polityka #stopka-polityka-zamknij"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#stopka-polityka"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#stopka-polityka-zamknij"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#stopka-polityka-zamknij"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "prywatnosc=tak"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "lieder.net",
3
+ "vendorUrl": "https://www.lieder.net/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?lieder\\.net/"
6
+ },
7
+ "prehideSelectors": ["#cookie-notice:has(.cookie-btn[onclick])"],
8
+ "detectCmp": [{ "exists": "#cookie-notice .cookie-btn[onclick]" }],
9
+ "detectPopup": [{ "visible": "#cookie-notice[style*='visibility: visible'] .cookie-btn[onclick]" }],
10
+ "optIn": [{ "waitForThenClick": "#cookie-notice .cookie-btn[onclick]" }],
11
+ "optOut": [{ "waitForThenClick": "#cookie-notice .cookie-btn[onclick]" }],
12
+ "test": [{ "cookieContains": "accepts=Y" }]
13
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "menti.com",
3
+ "vendorUrl": "https://www.menti.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?menti\\.com/"
6
+ },
7
+ "prehideSelectors": ["div.z-notification:has(a[href*='mentimeter.com/cookie-policy'])"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "div.z-notification a[href*='mentimeter.com/cookie-policy']"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "div.z-notification a[href*='mentimeter.com/cookie-policy']"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "div.z-notification:has(a[href*='mentimeter.com/cookie-policy']) > button",
21
+ "retry": 10,
22
+ "retryInterval": 500
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "waitForThenClick": "div.z-notification:has(a[href*='mentimeter.com/cookie-policy']) > button",
28
+ "retry": 10,
29
+ "retryInterval": 500
30
+ }
31
+ ],
32
+ "test": [
33
+ {
34
+ "cookieContains": "has_approved_cookie_policy"
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "mos-cudzoziemcy-gov-pl",
3
+ "vendorUrl": "https://mos.cudzoziemcy.gov.pl/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://mos\\.cudzoziemcy\\.gov\\.pl/"
7
+ },
8
+ "prehideSelectors": [".cookies:has(> #agreeButton)"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": ".cookies > #agreeButton"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": ".cookies > #agreeButton"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": ".cookies > #agreeButton"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": ".cookies:has(> #agreeButton)"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "octoparse",
3
+ "vendorUrl": "https://www.octoparse.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?octoparse\\.(com|jp|de|fr|es|ai)/"
6
+ },
7
+ "prehideSelectors": ["[class^='cookies_cookies__']"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "[class^='cookies_cookies__'] [class^='cookies_close__']"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "[class^='cookies_cookies__'] [class^='cookies_close__']"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "[class^='cookies_cookies__'] [class^='cookies_accept__']"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "[class^='cookies_cookies__'] [class^='cookies_close__']"
26
+ },
27
+ {
28
+ "waitForVisible": "[class^='cookies_cookies__']",
29
+ "check": "none",
30
+ "timeout": 2000
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "oresundstag",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.oresundstag.se/"
5
+ },
6
+ "runContext": {
7
+ "urlPattern": "^https?://(www\\.)?oresundstag\\.se/"
8
+ },
9
+ "prehideSelectors": ["#consent-manager-modal"],
10
+ "detectCmp": [
11
+ {
12
+ "exists": "#consent-manager-modal #cookies-consent"
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": "#consent-manager-modal [role=dialog]"
18
+ }
19
+ ],
20
+ "optIn": [
21
+ {
22
+ "waitForThenClick": "#consent-manager-modal [class*=modal_buttons] button[type=button]"
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "click": "#cookies-consent label[role=checkbox]:has(input:checked)",
28
+ "all": true,
29
+ "optional": true
30
+ },
31
+ {
32
+ "waitForThenClick": "#consent-manager-modal [class*=modal_buttons] button[type=submit]"
33
+ }
34
+ ],
35
+ "test": [
36
+ {
37
+ "cookieContains": "\"analytics\":false"
38
+ }
39
+ ]
40
+ }
@@ -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,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
+ }