@duckduckgo/autoconsent 18.2.0 → 18.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.
Files changed (203) hide show
  1. package/CHANGELOG.md +122 -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/amasty-gdpr-sidebar.json +61 -0
  29. package/rules/autoconsent/arena-pl.json +16 -0
  30. package/rules/autoconsent/bannercookie-dashboard.json +10 -0
  31. package/rules/autoconsent/betheme.json +10 -0
  32. package/rules/autoconsent/biblia-online.pl.json +40 -0
  33. package/rules/autoconsent/bitauto.json +57 -0
  34. package/rules/autoconsent/blastingnews.json +36 -0
  35. package/rules/autoconsent/bn-org-pl.json +37 -0
  36. package/rules/autoconsent/bt-com-au.json +13 -0
  37. package/rules/autoconsent/calclife.net.json +43 -0
  38. package/rules/autoconsent/casino-guru.json +28 -0
  39. package/rules/autoconsent/ccconsent-holder.json +56 -0
  40. package/rules/autoconsent/cloudcms-cookie-alert-notice.json +12 -0
  41. package/rules/autoconsent/cloudcms-cookie-alert.json +13 -0
  42. package/rules/autoconsent/code3-cookies-consent.json +48 -0
  43. package/rules/autoconsent/complianz-opt-out.json +7 -2
  44. package/rules/autoconsent/cookie-button-basic.json +47 -0
  45. package/rules/autoconsent/cookie-use-notice.json +12 -0
  46. package/rules/autoconsent/cookieinfo-zamknij.json +30 -0
  47. package/rules/autoconsent/cookiesbanner-preference.json +14 -0
  48. package/rules/autoconsent/cookiesck.json +31 -0
  49. package/rules/autoconsent/cookiesmodal-pl.json +18 -0
  50. package/rules/autoconsent/creditunionsa.json +12 -0
  51. package/rules/autoconsent/cstudios.json +35 -0
  52. package/rules/autoconsent/dandomain.json +41 -0
  53. package/rules/autoconsent/datezone.json +22 -0
  54. package/rules/autoconsent/didomi.json +5 -0
  55. package/rules/autoconsent/dlibra.json +32 -0
  56. package/rules/autoconsent/dnb.json +30 -0
  57. package/rules/autoconsent/doc24-ch.json +33 -0
  58. package/rules/autoconsent/e-file.json +44 -0
  59. package/rules/autoconsent/erli-pl.json +36 -0
  60. package/rules/autoconsent/ernesto.json +30 -0
  61. package/rules/autoconsent/eu-cookie-compliance-legacy.json +15 -0
  62. package/rules/autoconsent/fellow-pl.json +16 -0
  63. package/rules/autoconsent/fn-se.json +17 -0
  64. package/rules/autoconsent/fora-se.json +13 -0
  65. package/rules/autoconsent/fusedeck.json +38 -0
  66. package/rules/autoconsent/gjerrigknark.json +38 -0
  67. package/rules/autoconsent/hemsol.se.json +22 -0
  68. package/rules/autoconsent/historiskatlas.dk.json +35 -0
  69. package/rules/autoconsent/hmi-basen-dk.json +27 -0
  70. package/rules/autoconsent/icom-co-jp.json +34 -0
  71. package/rules/autoconsent/intermedia-cms-fsi.json +30 -0
  72. package/rules/autoconsent/jobbland.json +17 -0
  73. package/rules/autoconsent/kadokawa-ascii.json +34 -0
  74. package/rules/autoconsent/kglakademi.json +37 -0
  75. package/rules/autoconsent/kredittbanken.json +14 -0
  76. package/rules/autoconsent/lieder.net.json +13 -0
  77. package/rules/autoconsent/matspar-se.json +34 -0
  78. package/rules/autoconsent/menti-com.json +37 -0
  79. package/rules/autoconsent/mitrejsevejr.dk.json +13 -0
  80. package/rules/autoconsent/morgenlevering.no.json +46 -0
  81. package/rules/autoconsent/mos-cudzoziemcy-gov-pl.json +29 -0
  82. package/rules/autoconsent/multicalcolo.json +37 -0
  83. package/rules/autoconsent/nutri.se.json +40 -0
  84. package/rules/autoconsent/octoparse.json +33 -0
  85. package/rules/autoconsent/onecall-no.json +44 -0
  86. package/rules/autoconsent/oresundstag.json +40 -0
  87. package/rules/autoconsent/peppes.json +38 -0
  88. package/rules/autoconsent/planteportalen-no.json +32 -0
  89. package/rules/autoconsent/renaud-bray.json +44 -0
  90. package/rules/autoconsent/saos-org-pl.json +35 -0
  91. package/rules/autoconsent/shopgold.json +83 -0
  92. package/rules/autoconsent/shueisha-hpplus.json +27 -0
  93. package/rules/autoconsent/sian-it.json +35 -0
  94. package/rules/autoconsent/skisport.json +22 -0
  95. package/rules/autoconsent/skogforsk.json +9 -0
  96. package/rules/autoconsent/skovborghogh-cookies.json +17 -0
  97. package/rules/autoconsent/sportstiming.json +37 -0
  98. package/rules/autoconsent/squarespace-cookie-banner.json +3 -3
  99. package/rules/autoconsent/synergy-net-au.json +33 -0
  100. package/rules/autoconsent/teeshoppen.json +42 -0
  101. package/rules/autoconsent/tullys-jp.json +11 -0
  102. package/rules/autoconsent/vardgivarguiden.json +45 -0
  103. package/rules/autoconsent/wbd-consent-modal.json +54 -0
  104. package/rules/autoconsent/welcome-city-yokohama.json +75 -0
  105. package/rules/autoconsent/wordpress-wordads.json +20 -0
  106. package/rules/autoconsent/worldbank.json +5 -5
  107. package/rules/autoconsent/wuerth.json +57 -0
  108. package/rules/autoconsent/ynjn.json +34 -0
  109. package/rules/compact-rules.json +1 -1
  110. package/rules/rule-index.json +1 -1
  111. package/rules/rules.json +1 -1
  112. package/tests/adaptivemedia.spec.ts +3 -0
  113. package/tests/adeac-jp.spec.ts +3 -0
  114. package/tests/agenziaentrate-geoportale.spec.ts +5 -0
  115. package/tests/alertnotification-alert-bar.spec.ts +11 -0
  116. package/tests/amasty-gdpr-hyva.spec.ts +1 -0
  117. package/tests/amasty-gdpr-sidebar.spec.ts +16 -0
  118. package/tests/arena-pl.spec.ts +3 -0
  119. package/tests/bannercookie-dashboard.spec.ts +3 -0
  120. package/tests/betheme.spec.ts +9 -0
  121. package/tests/biblia-online.pl.spec.ts +3 -0
  122. package/tests/bitauto.spec.ts +3 -0
  123. package/tests/blastingnews.spec.ts +3 -0
  124. package/tests/bn-org-pl.spec.ts +3 -0
  125. package/tests/bt-com-au.spec.ts +3 -0
  126. package/tests/calclife.net.spec.ts +3 -0
  127. package/tests/casino-guru.spec.ts +15 -0
  128. package/tests/ccconsent-holder.spec.ts +11 -0
  129. package/tests/cloudcms-cookie-alert-notice.spec.ts +10 -0
  130. package/tests/cloudcms-cookie-alert.spec.ts +6 -0
  131. package/tests/code3-cookies-consent.spec.ts +8 -0
  132. package/tests/complianz-opt-out.spec.ts +13 -3
  133. package/tests/cookie-button-basic.spec.ts +9 -0
  134. package/tests/cookie-use-notice.spec.ts +6 -0
  135. package/tests/cookieinfo-zamknij.spec.ts +3 -0
  136. package/tests/cookiesbanner-preference.spec.ts +8 -0
  137. package/tests/cookiesck.spec.ts +5 -0
  138. package/tests/cookiesmodal-pl.spec.ts +3 -0
  139. package/tests/creditunionsa.spec.ts +3 -0
  140. package/tests/cstudios.spec.ts +3 -0
  141. package/tests/dandomain.spec.ts +18 -0
  142. package/tests/datezone.spec.ts +3 -0
  143. package/tests/didomi.spec.ts +9 -0
  144. package/tests/dlibra.spec.ts +8 -0
  145. package/tests/dnb.spec.ts +5 -0
  146. package/tests/doc24-ch.spec.ts +3 -0
  147. package/tests/e-file.spec.ts +9 -0
  148. package/tests/erli-pl.spec.ts +4 -0
  149. package/tests/ernesto.spec.ts +8 -0
  150. package/tests/eu-cookie-compliance-legacy.spec.ts +8 -0
  151. package/tests/fellow-pl.spec.ts +5 -0
  152. package/tests/fn-se.spec.ts +3 -0
  153. package/tests/fora-se.spec.ts +3 -0
  154. package/tests/fusedeck.spec.ts +9 -0
  155. package/tests/gjerrigknark.spec.ts +6 -0
  156. package/tests/hemsol.se.spec.ts +3 -0
  157. package/tests/historiskatlas.dk.spec.ts +3 -0
  158. package/tests/hmi-basen-dk.spec.ts +5 -0
  159. package/tests/icom-co-jp.spec.ts +3 -0
  160. package/tests/intermedia-cms-fsi.spec.ts +8 -0
  161. package/tests/jobbland.spec.ts +5 -0
  162. package/tests/kadokawa-ascii.spec.ts +5 -0
  163. package/tests/kglakademi.spec.ts +3 -0
  164. package/tests/kredittbanken.spec.ts +3 -0
  165. package/tests/lieder.net.spec.ts +3 -0
  166. package/tests/matspar-se.spec.ts +3 -0
  167. package/tests/menti-com.spec.ts +3 -0
  168. package/tests/mitrejsevejr.dk.spec.ts +3 -0
  169. package/tests/morgenlevering.no.spec.ts +3 -0
  170. package/tests/mos-cudzoziemcy-gov-pl.spec.ts +3 -0
  171. package/tests/multicalcolo.spec.ts +3 -0
  172. package/tests/nutri.se.spec.ts +3 -0
  173. package/tests/octoparse.spec.ts +6 -0
  174. package/tests/onecall-no.spec.ts +3 -0
  175. package/tests/oresundstag.spec.ts +3 -0
  176. package/tests/peppes.spec.ts +5 -0
  177. package/tests/planteportalen-no.spec.ts +3 -0
  178. package/tests/renaud-bray.spec.ts +5 -0
  179. package/tests/saos-org-pl.spec.ts +3 -0
  180. package/tests/shopgold.spec.ts +3 -0
  181. package/tests/shueisha-hpplus.spec.ts +3 -0
  182. package/tests/sian-it.spec.ts +3 -0
  183. package/tests/skisport.spec.ts +9 -0
  184. package/tests/skogforsk.spec.ts +3 -0
  185. package/tests/skovborghogh-cookies.spec.ts +9 -0
  186. package/tests/sportstiming.spec.ts +8 -0
  187. package/tests/squarespace-cookie-banner.spec.ts +1 -0
  188. package/tests/synergy-net-au.spec.ts +8 -0
  189. package/tests/teeshoppen.spec.ts +7 -0
  190. package/tests/tullys-jp.spec.ts +3 -0
  191. package/tests/vardgivarguiden.spec.ts +3 -0
  192. package/tests/wbd-consent-modal.spec.ts +6 -0
  193. package/tests/welcome-city-yokohama.spec.ts +3 -0
  194. package/tests/wordpress-wordads.spec.ts +9 -0
  195. package/tests/worldbank.spec.ts +1 -0
  196. package/tests/wuerth.spec.ts +8 -0
  197. package/tests/ynjn.spec.ts +3 -0
  198. package/tests-wtr/heuristics/heuristics-utils.test.ts +82 -4
  199. package/tests-wtr/rules/cmp-test-urls.json +0 -1
  200. package/rules/autoconsent/delta-com.json +0 -12
  201. package/rules/generated/auto_CH_fhgr.ch_9nr.json +0 -40
  202. package/tests/delta.spec.ts +0 -3
  203. package/tests/generated/auto_CH_fhgr.ch_9nr.spec.ts +0 -2
@@ -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,30 @@
1
+ {
2
+ "name": "ernesto",
3
+ "vendorUrl": "https://www.ernesto.it/",
4
+ "prehideSelectors": ["#footer-cookies"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#footer-cookies [ng-click='closeCookiesAlert()']"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#footer-cookies"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#footer-cookies [ng-click='acceptCookies()']"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#footer-cookies [ng-click='closeCookiesAlert()']"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "%22stats%22%3Afalse%2C%22ads%22%3Afalse"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "eu-cookie-compliance-legacy",
3
+ "vendorUrl": "https://www.drupal.org/project/eu_cookie_compliance",
4
+ "cosmetic": true,
5
+ "prehideSelectors": [],
6
+ "detectCmp": [
7
+ { "exists": "#sliding-popup .popup-content.info:not(.eu-cookie-compliance-content) #popup-buttons .agree-button" },
8
+ { "exists": "#sliding-popup .decline-button", "negated": true },
9
+ { "exists": "body.eu-cookie-compliance-popup-open", "negated": true }
10
+ ],
11
+ "detectPopup": [{ "visible": "#sliding-popup .popup-content.info" }],
12
+ "optIn": [{ "waitForThenClick": "#sliding-popup .agree-button" }],
13
+ "optOut": [{ "hide": "#sliding-popup" }],
14
+ "test": [{ "visible": "#sliding-popup", "check": "none" }]
15
+ }
@@ -0,0 +1,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,13 @@
1
+ {
2
+ "name": "fora.se",
3
+ "vendorUrl": "https://www.fora.se/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?fora\\.se/"
6
+ },
7
+ "prehideSelectors": [".message--cookie"],
8
+ "detectCmp": [{ "exists": ".message--cookie .message__close" }],
9
+ "detectPopup": [{ "visible": ".message--cookie:not(.message--closed)" }],
10
+ "optIn": [{ "waitForThenClick": ".message--cookie .message__close" }],
11
+ "optOut": [{ "waitForThenClick": ".message--cookie .message__close" }],
12
+ "test": [{ "cookieContains": "accepted_cookies=true" }]
13
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "fusedeck",
3
+ "vendorUrl": "https://fusedeck.com/",
4
+ "prehideSelectors": [".fd-consent-main:has(#fd-unCheckAll)"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".fd-consent-main #fd-unCheckAll"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".fd-consent-main #fd-unCheckAll"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".fd-consent-main #fd-checkAll"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ".fd-consent-main #fd-unCheckAll"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "waitForVisible": ".fd-consent-main #fd-unCheckAll",
28
+ "timeout": 1000,
29
+ "check": "none"
30
+ },
31
+ {
32
+ "cookieContains": "fdConsentMarketing=false"
33
+ },
34
+ {
35
+ "cookieContains": "fdConsentAnalytics=false"
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "gjerrigknark",
3
+ "vendorUrl": "https://gjerrigknark.com/",
4
+ "runContext": {
5
+ "main": true,
6
+ "frame": false,
7
+ "urlPattern": "^https?://(\\w+\\.)?gjerrigknark\\.com/"
8
+ },
9
+ "prehideSelectors": ["[class*=\"CookieConsentBanner_banner\"]"],
10
+ "detectCmp": [
11
+ {
12
+ "exists": "[class*=\"CookieConsentBanner_banner\"]"
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": "[class*=\"CookieConsentBanner_banner\"]"
18
+ }
19
+ ],
20
+ "optIn": [
21
+ {
22
+ "waitForThenClick": "[class*=\"CookieConsentBanner_acceptButton\"]"
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "waitForThenClick": "[class*=\"CookieConsentBanner_customizeButton\"]"
28
+ },
29
+ {
30
+ "waitForThenClick": "[class*=\"CookiePreferencesModal_rejectButton\"]"
31
+ }
32
+ ],
33
+ "test": [
34
+ {
35
+ "cookieContains": "gk-cookie-consent=%7B%22necessary%22%3Atrue%2C%22analytics%22%3Afalse%2C%22marketing%22%3Afalse%2C%22functional%22%3Afalse%7D"
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "hemsol.se",
3
+ "vendorUrl": "https://hemsol.se/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?hemsol\\.se/"
6
+ },
7
+ "prehideSelectors": [".popup-background[data-popup='consent']"],
8
+ "detectCmp": [{ "exists": ".popup-background[data-popup='consent'] .popup-manage-consent .save-settings" }],
9
+ "detectPopup": [{ "visible": ".popup-background[data-popup='consent']:not(.hidden) .popup-consent" }],
10
+ "optIn": [{ "waitForThenClick": ".popup-background[data-popup='consent'] .popup-consent .accept-cookies" }],
11
+ "optOut": [
12
+ { "waitForThenClick": ".popup-background[data-popup='consent'] .popup-consent .manage-cookies" },
13
+ { "waitForVisible": ".popup-background[data-popup='consent'] .popup-manage-consent .save-settings" },
14
+ {
15
+ "click": ".popup-background[data-popup='consent'] .popup-manage-consent input[type=checkbox]:checked:not(:disabled)",
16
+ "all": true,
17
+ "optional": true
18
+ },
19
+ { "waitForThenClick": ".popup-background[data-popup='consent'] .popup-manage-consent .save-settings" }
20
+ ],
21
+ "test": [{ "cookieContains": "hemsol-consent-marketing=false" }]
22
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "historiskatlas.dk",
3
+ "vendorUrl": "https://historiskatlas.dk/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?historiskatlas\\.dk/"
7
+ },
8
+ "prehideSelectors": ["paper-dialog.cookie-dialog"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "paper-dialog.cookie-dialog"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "paper-dialog.cookie-dialog"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "paper-dialog.cookie-dialog paper-button[dialog-confirm]"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": "paper-dialog.cookie-dialog"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "visible": "paper-dialog.cookie-dialog",
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "hmi-basen.dk",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?hmi-basen\\.dk/"
5
+ },
6
+ "prehideSelectors": ["section.cookie"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "section.cookie a[href*='t=cookiest&cookiev=4']"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "section.cookie"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "section.cookie a[href*='t=cookiest&cookiev=1']"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "section.cookie a[href*='t=cookiest&cookiev=4']"
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,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,17 @@
1
+ {
2
+ "name": "jobbland",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?(jobbland|jobbsafari)\\.se/"
5
+ },
6
+ "prehideSelectors": [".MuiDialog-root:has([role=dialog] form a[href*='/compliance'])"],
7
+ "detectCmp": [{ "exists": ".MuiDialog-root [role=dialog] form a[href*='/compliance']" }],
8
+ "detectPopup": [{ "visible": ".MuiDialog-root [role=dialog] form a[href*='/compliance']" }],
9
+ "optIn": [{ "waitForThenClick": ".MuiDialog-root [role=dialog] form:has(a[href*='/compliance']) button[type=submit]" }],
10
+ "optOut": [
11
+ { "waitForThenClick": ".MuiDialog-root [role=dialog] form:has(a[href*='/compliance']) button[type=button]" },
12
+ { "waitFor": ".MuiDialog-root [role=dialog] form input[id^='cookie-consent-']" },
13
+ { "click": ".MuiDialog-root [role=dialog] form input[id^='cookie-consent-']:checked", "all": true, "optional": true },
14
+ { "waitForThenClick": ".MuiDialog-root [role=dialog] form:has(input[id^='cookie-consent-']) button[type=submit]" }
15
+ ],
16
+ "test": [{ "waitForVisible": ".MuiDialog-root [role=dialog] form a[href*='/compliance']", "check": "none", "timeout": 2000 }]
17
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "kadokawa-ascii",
3
+ "cosmetic": true,
4
+ "runContext": {
5
+ "urlPattern": "^https?://(weekly\\.ascii|mobileascii)\\.jp/"
6
+ },
7
+ "prehideSelectors": ["#cookie-pop-bn"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookie-pop-bn"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "exists": "#cookie-pop-bn"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookie-pop-bn a[onclick=\"acceptClick()\"]"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "hide": "#cookie-pop-bn"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "visible": "#cookie-pop-bn",
31
+ "check": "none"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "kglakademi.dk",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?kglakademi\\.dk/"
5
+ },
6
+ "prehideSelectors": [],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#b14cookieconsent"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#b14cookieconsent-dialog"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#b14cookieconsent .b14cookieconsent__button[data-action=all]"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "click": "#b14cookieconsent .b14cookieconsent__checkbox:checked:not([disabled])",
25
+ "all": true,
26
+ "optional": true
27
+ },
28
+ {
29
+ "waitForThenClick": "#b14cookieconsent .b14cookieconsent__button[data-action=selected]"
30
+ }
31
+ ],
32
+ "test": [
33
+ {
34
+ "cookieContains": "b14cookieconsent=necessary%2C1"
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "kredittbanken",
3
+ "_metadata": { "vendorUrl": "https://kredittbanken.no/" },
4
+ "runContext": { "urlPattern": "^https?://(www\\.)?kredittbanken\\.no/" },
5
+ "prehideSelectors": ["kb-cookie-consent-dialog"],
6
+ "detectCmp": [{ "exists": ["kb-cookie-consent-dialog", "#decline-all"] }],
7
+ "detectPopup": [{ "visible": ["kb-cookie-consent-dialog", "dialog[open]"] }],
8
+ "optIn": [{ "waitForThenClick": ["kb-cookie-consent-dialog", "#accept-all"], "retry": 10, "retryInterval": 500 }],
9
+ "optOut": [{ "waitForThenClick": ["kb-cookie-consent-dialog", "#decline-all"], "retry": 10, "retryInterval": 500 }],
10
+ "test": [
11
+ { "cookieContains": "sb1-optin-v3=" },
12
+ { "waitForVisible": ["kb-cookie-consent-dialog", "dialog"], "check": "none", "timeout": 2000 }
13
+ ]
14
+ }
@@ -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,34 @@
1
+ {
2
+ "name": "matspar-se",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?matspar\\.se/"
5
+ },
6
+ "prehideSelectors": ["#app div:has(> div > img[src*='/illustrations/cookie.'])"],
7
+ "detectCmp": [{ "exists": "xpath///div[@id='app']//div[div/img[contains(@src, '/illustrations/cookie.')]]" }],
8
+ "detectPopup": [{ "visible": "xpath///div[@id='app']//div[div/img[contains(@src, '/illustrations/cookie.')]]" }],
9
+ "optIn": [
10
+ {
11
+ "waitForThenClick": "xpath///div[@id='app']//div[div/img[contains(@src, '/illustrations/cookie.')]]//button[normalize-space(.)='Jag godkänner']"
12
+ }
13
+ ],
14
+ "optOut": [
15
+ {
16
+ "waitForThenClick": "xpath///div[@id='app']//div[div/img[contains(@src, '/illustrations/cookie.')]]//button[normalize-space(.)='Mina val']"
17
+ },
18
+ { "waitFor": "input[name='privacySettings']" },
19
+ {
20
+ "if": { "exists": "input[name='privacySettings']:checked" },
21
+ "then": [{ "click": "input[name='privacySettings']" }]
22
+ },
23
+ {
24
+ "click": "xpath///div[@id='app']//div[div/img[contains(@src, '/illustrations/cookie.')]]//button[normalize-space(.)='Jag godkänner']"
25
+ }
26
+ ],
27
+ "test": [
28
+ {
29
+ "waitForVisible": "xpath///div[@id='app']//div[div/img[contains(@src, '/illustrations/cookie.')]]",
30
+ "check": "none",
31
+ "timeout": 5000
32
+ }
33
+ ]
34
+ }
@@ -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,13 @@
1
+ {
2
+ "name": "mitrejsevejr.dk",
3
+ "vendorUrl": "https://www.mitrejsevejr.dk/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?mitrejsevejr\\.dk/"
6
+ },
7
+ "prehideSelectors": ["#cookie-overlay"],
8
+ "detectCmp": [{ "exists": "#cookie-bar #cookieButtonSome" }],
9
+ "detectPopup": [{ "visible": "#cookie-bar" }],
10
+ "optIn": [{ "waitForThenClick": "#cookie-bar #cookie-bar-button" }],
11
+ "optOut": [{ "waitForThenClick": "#cookie-bar #cookieButtonSome" }],
12
+ "test": [{ "cookieContains": "mrvdk_cookies_ads=false" }]
13
+ }
@@ -0,0 +1,46 @@
1
+ {
2
+ "name": "morgenlevering.no",
3
+ "vendorUrl": "https://morgenlevering.no/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?morgenlevering\\.no/"
7
+ },
8
+ "prehideSelectors": [".cookie-consent__container"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": ".cookie-consent__container .cookie-consent__button-container"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": ".cookie-consent__container .cookie-consent__button-container"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": ".cookie-consent__container .cookie-consent__button-container .button--primary"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "waitForThenClick": ".cookie-consent__container .cookie-consent__button-container .button--ghost"
27
+ },
28
+ {
29
+ "waitForVisible": ".cookie-consent__container .cookie-consent__consent-switch",
30
+ "timeout": 2000
31
+ },
32
+ {
33
+ "click": ".cookie-consent__cookie-information:not(:last-child) .cookie-consent__consent-switch input:checked",
34
+ "all": true,
35
+ "optional": true
36
+ },
37
+ {
38
+ "waitForThenClick": ".cookie-consent__scroll-on-mobile ~ .cookie-consent__button-container .button--ghost"
39
+ }
40
+ ],
41
+ "test": [
42
+ {
43
+ "cookieContains": "_cookieConsent=none"
44
+ }
45
+ ]
46
+ }
@@ -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
+ }