@duckduckgo/autoconsent 18.8.0 → 18.10.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 (322) hide show
  1. package/.agents/lib/regional-testing/harness.mjs +73 -6
  2. package/.agents/skills/oxylabs-testing/SKILL.md +4 -3
  3. package/.agents/skills/oxylabs-testing/scripts/oxylabs.mjs +26 -3
  4. package/.agents/skills/oxylabs-testing/scripts/oxylabs.test.mjs +27 -1
  5. package/.agents/skills/proxy-testing/SKILL.md +7 -2
  6. package/.agents/skills/proxy-testing/scripts/regional-proxy.mjs +4 -2
  7. package/.agents/skills/proxy-testing/scripts/regional-proxy.test.mjs +152 -2
  8. package/.github/dependabot.yml +1 -0
  9. package/.github/workflows/checks.yml +1 -0
  10. package/CHANGELOG.md +193 -0
  11. package/Jenkinsfile +22 -27
  12. package/data/coverage.json +14165 -3824
  13. package/dist/addon-firefox/background.bundle.js +20 -14
  14. package/dist/addon-firefox/compact-rules.json +1 -1
  15. package/dist/addon-firefox/content.bundle.js +24 -5
  16. package/dist/addon-firefox/manifest.json +1 -1
  17. package/dist/addon-firefox/popup.bundle.js +11 -14
  18. package/dist/addon-firefox/rule-index.json +1 -1
  19. package/dist/addon-firefox/rules.json +1 -1
  20. package/dist/addon-mv3/background.bundle.js +20 -14
  21. package/dist/addon-mv3/compact-rules.json +1 -1
  22. package/dist/addon-mv3/content.bundle.js +24 -5
  23. package/dist/addon-mv3/manifest.json +1 -1
  24. package/dist/addon-mv3/popup.bundle.js +11 -14
  25. package/dist/addon-mv3/rule-index.json +1 -1
  26. package/dist/addon-mv3/rules.json +1 -1
  27. package/dist/autoconsent.cjs.js +24 -5
  28. package/dist/autoconsent.esm.js +24 -5
  29. package/dist/autoconsent.playwright.js +24 -5
  30. package/dist/autoconsent.standalone.js +25 -6
  31. package/dist/heuristics.cjs.js +5 -2
  32. package/dist/heuristics.mjs +5 -2
  33. package/dist/types/eval-snippets.d.ts +2 -0
  34. package/lib/cmps/trustarc-top.ts +12 -3
  35. package/lib/eval-snippets.ts +9 -0
  36. package/lib/heuristic-literals.ts +2 -1
  37. package/lib/heuristic-patterns.ts +3 -1
  38. package/package.json +2 -2
  39. package/playwright/runner.ts +30 -2
  40. package/rules/autoconsent/7plus.json +44 -0
  41. package/rules/autoconsent/adv-gr-jp.json +29 -0
  42. package/rules/autoconsent/agentii-getsbet-ro.json +19 -0
  43. package/rules/autoconsent/alza-cookies-info.json +36 -0
  44. package/rules/autoconsent/amasty-gdpr-hyva.json +73 -50
  45. package/rules/autoconsent/amazon.json +5 -2
  46. package/rules/autoconsent/amgueddfa-cms.json +46 -0
  47. package/rules/autoconsent/anowave-gtm.json +21 -0
  48. package/rules/autoconsent/anthropic.json +2 -2
  49. package/rules/autoconsent/apteka911-ua.json +29 -0
  50. package/rules/autoconsent/artfund.json +18 -0
  51. package/rules/autoconsent/babylonbee.json +1 -1
  52. package/rules/autoconsent/betsson-fr.json +45 -0
  53. package/rules/autoconsent/bladehq.json +13 -0
  54. package/rules/autoconsent/brandfetch.json +24 -0
  55. package/rules/autoconsent/bravissimo.json +18 -0
  56. package/rules/autoconsent/bristan-group.json +58 -0
  57. package/rules/autoconsent/bswhealth.json +11 -8
  58. package/rules/autoconsent/captain-compliance.json +30 -0
  59. package/rules/autoconsent/cardiff-university.json +37 -0
  60. package/rules/autoconsent/cgov-cookiebanner.json +9 -0
  61. package/rules/autoconsent/chrono24.json +54 -0
  62. package/rules/autoconsent/civic-govuk-cookiecontrol.json +16 -0
  63. package/rules/autoconsent/classbento.json +38 -0
  64. package/rules/autoconsent/collectingcars.json +18 -0
  65. package/rules/autoconsent/conscious-solutions.json +25 -0
  66. package/rules/autoconsent/consentik-notice.json +15 -0
  67. package/rules/autoconsent/consentik.json +25 -0
  68. package/rules/autoconsent/cookie-banner-required-only.json +17 -0
  69. package/rules/autoconsent/cookiebanner-closecookie.json +9 -0
  70. package/rules/autoconsent/cookieconsent3.json +1 -1
  71. package/rules/autoconsent/cookieinformation.json +2 -1
  72. package/rules/autoconsent/cookiesjsr.json +12 -8
  73. package/rules/autoconsent/copaair.json +33 -0
  74. package/rules/autoconsent/crocobet.json +35 -0
  75. package/rules/autoconsent/crosswater.co.uk.json +41 -0
  76. package/rules/autoconsent/de-volksbank.json +28 -5
  77. package/rules/autoconsent/derby-council.json +46 -0
  78. package/rules/autoconsent/detector-aero.json +21 -0
  79. package/rules/autoconsent/disturbia.json +38 -0
  80. package/rules/autoconsent/dobarkod-cookiebanner.json +10 -0
  81. package/rules/autoconsent/dpgmedia-nl.json +8 -8
  82. package/rules/autoconsent/energydashboard.co.uk.json +19 -0
  83. package/rules/autoconsent/ensighten.json +25 -1
  84. package/rules/autoconsent/eon-nl-cookiewall.json +30 -0
  85. package/rules/autoconsent/exceed-lms.json +10 -0
  86. package/rules/autoconsent/expressvpn.json +55 -0
  87. package/rules/autoconsent/fictionexpress.json +33 -0
  88. package/rules/autoconsent/food-standards-agency.json +46 -0
  89. package/rules/autoconsent/freak-no.json +16 -0
  90. package/rules/autoconsent/fullertonhotels.com.json +37 -6
  91. package/rules/autoconsent/fundednext.json +16 -0
  92. package/rules/autoconsent/furniture-com.json +68 -0
  93. package/rules/autoconsent/globes.json +40 -0
  94. package/rules/autoconsent/gm-consent.json +20 -0
  95. package/rules/autoconsent/gotrust.json +95 -0
  96. package/rules/autoconsent/grocefully.json +25 -0
  97. package/rules/autoconsent/hds-cookie-consent.json +10 -0
  98. package/rules/autoconsent/headfirstbristol.json +12 -0
  99. package/rules/autoconsent/healthysupplies.json +18 -0
  100. package/rules/autoconsent/helvy.co.uk.json +21 -0
  101. package/rules/autoconsent/holland-watch-group.json +12 -0
  102. package/rules/autoconsent/huawei-cookie-notice.json +27 -0
  103. package/rules/autoconsent/hubspot-cosmetic.json +15 -0
  104. package/rules/autoconsent/hubspot.json +4 -1
  105. package/rules/autoconsent/hyperoptic.json +44 -0
  106. package/rules/autoconsent/hypovereinsbank.json +39 -0
  107. package/rules/autoconsent/incogni.json +23 -0
  108. package/rules/autoconsent/islamqa.org.json +31 -0
  109. package/rules/autoconsent/itemsatis.json +41 -0
  110. package/rules/autoconsent/ixo-cookie-prompt.json +12 -0
  111. package/rules/autoconsent/kela-fi.json +32 -0
  112. package/rules/autoconsent/kenstechtips.json +12 -0
  113. package/rules/autoconsent/keurig.com.json +47 -0
  114. package/rules/autoconsent/krillion.json +13 -0
  115. package/rules/autoconsent/lawhive.json +27 -0
  116. package/rules/autoconsent/laxd.json +29 -0
  117. package/rules/autoconsent/lessonup.json +24 -0
  118. package/rules/autoconsent/ligonier.json +13 -0
  119. package/rules/autoconsent/madeiramadeira.json +31 -0
  120. package/rules/autoconsent/manage-cookie-modal.json +52 -0
  121. package/rules/autoconsent/marriott-notice.json +28 -0
  122. package/rules/autoconsent/mccoysguide.json +40 -0
  123. package/rules/autoconsent/mercadolibre.json +3 -3
  124. package/rules/autoconsent/myfooddiary.json +36 -0
  125. package/rules/autoconsent/nationwidevehiclecontracts.json +37 -0
  126. package/rules/autoconsent/natural-intelligence.json +21 -0
  127. package/rules/autoconsent/naturalnews.json +32 -0
  128. package/rules/autoconsent/nfl.json +32 -0
  129. package/rules/autoconsent/noon.json +41 -0
  130. package/rules/autoconsent/odia.json +12 -0
  131. package/rules/autoconsent/op-consent-manager.json +17 -0
  132. package/rules/autoconsent/opencart-google-consent-v2.json +27 -0
  133. package/rules/autoconsent/pandectes.json +13 -4
  134. package/rules/autoconsent/paperlesspost.json +64 -0
  135. package/rules/autoconsent/passenger-cookie-opt-in.json +15 -0
  136. package/rules/autoconsent/peda-net.json +34 -0
  137. package/rules/autoconsent/peterchristian.json +35 -0
  138. package/rules/autoconsent/pieeye.json +25 -0
  139. package/rules/autoconsent/playdoit-mx.json +32 -0
  140. package/rules/autoconsent/pmc-privacy-banner.json +40 -6
  141. package/rules/autoconsent/prestigeflowers.json +21 -0
  142. package/rules/autoconsent/profootballmania.json +21 -0
  143. package/rules/autoconsent/pvh.json +29 -0
  144. package/rules/autoconsent/quorn.json +17 -0
  145. package/rules/autoconsent/randewoo.ru.json +37 -0
  146. package/rules/autoconsent/rct-cookies-modal.json +36 -0
  147. package/rules/autoconsent/realfoods-co-uk.json +18 -0
  148. package/rules/autoconsent/roguefitness.json +18 -0
  149. package/rules/autoconsent/rosbalt-ru.json +35 -0
  150. package/rules/autoconsent/securiti-hybrid.json +30 -0
  151. package/rules/autoconsent/shopblocks.json +41 -0
  152. package/rules/autoconsent/sicredi-frame.json +16 -0
  153. package/rules/autoconsent/sicredi.json +0 -1
  154. package/rules/autoconsent/simplepractice.com.json +60 -0
  155. package/rules/autoconsent/skroutz.json +33 -0
  156. package/rules/autoconsent/spares2repair.json +42 -0
  157. package/rules/autoconsent/spusu.json +18 -0
  158. package/rules/autoconsent/sykescottages.json +49 -0
  159. package/rules/autoconsent/termsfeed.json +4 -4
  160. package/rules/autoconsent/truecar.json +5 -5
  161. package/rules/autoconsent/trustarc-newcm.json +37 -6
  162. package/rules/autoconsent/ubuy.json +10 -0
  163. package/rules/autoconsent/ukplanettools.json +45 -0
  164. package/rules/autoconsent/vidal-ru.json +12 -0
  165. package/rules/autoconsent/virginwines-co-uk.json +32 -0
  166. package/rules/autoconsent/visualsoft.json +24 -0
  167. package/rules/autoconsent/vsco.json +27 -0
  168. package/rules/autoconsent/vystarcu.json +17 -0
  169. package/rules/autoconsent/web-labs-cookie-consent.json +69 -0
  170. package/rules/autoconsent/webnetism.json +42 -0
  171. package/rules/autoconsent/whatnot.json +32 -0
  172. package/rules/autoconsent/wow-forever.json +33 -0
  173. package/rules/autoconsent/wso2-identity-server.json +30 -0
  174. package/rules/autoconsent/xhamster-eu.json +1 -1
  175. package/rules/autoconsent/xhamster-us.json +1 -1
  176. package/rules/autoconsent/yourparkingspace.json +47 -0
  177. package/rules/compact-rules.json +1 -1
  178. package/rules/rule-index.json +1 -1
  179. package/rules/rules.json +1 -1
  180. package/tests/7plus.spec.ts +6 -0
  181. package/tests/adv-gr-jp.spec.ts +3 -0
  182. package/tests/agentii-getsbet-ro.spec.ts +3 -0
  183. package/tests/alza-cookies-info.spec.ts +10 -0
  184. package/tests/amasty-gdpr-hyva.spec.ts +9 -0
  185. package/tests/amazon.spec.ts +7 -14
  186. package/tests/amgueddfa-cms.spec.ts +3 -0
  187. package/tests/anowave-gtm.spec.ts +8 -0
  188. package/tests/anthropic.spec.ts +6 -1
  189. package/tests/apteka911-ua.spec.ts +3 -0
  190. package/tests/artfund.spec.ts +3 -0
  191. package/tests/babylonbee.spec.ts +1 -1
  192. package/tests/betsson-fr.spec.ts +12 -0
  193. package/tests/bladehq.spec.ts +3 -0
  194. package/tests/brandfetch.spec.ts +5 -0
  195. package/tests/bravissimo.spec.ts +9 -0
  196. package/tests/bristan-group.spec.ts +3 -0
  197. package/tests/bswhealth.spec.ts +1 -1
  198. package/tests/captain-compliance.spec.ts +15 -0
  199. package/tests/cardiff-university.spec.ts +3 -0
  200. package/tests/cgov-cookiebanner.spec.ts +6 -0
  201. package/tests/chrono24.spec.ts +3 -0
  202. package/tests/civic-govuk-cookiecontrol.spec.ts +9 -0
  203. package/tests/classbento.spec.ts +3 -0
  204. package/tests/collectingcars.spec.ts +3 -0
  205. package/tests/conscious-solutions.spec.ts +10 -0
  206. package/tests/consentik-notice.spec.ts +3 -0
  207. package/tests/consentik.spec.ts +8 -0
  208. package/tests/cookie-banner-required-only.spec.ts +9 -0
  209. package/tests/cookiebanner-closecookie.spec.ts +3 -0
  210. package/tests/cookieconsent3.spec.ts +4 -5
  211. package/tests/cookieinformation.spec.ts +3 -1
  212. package/tests/cookiesjsr.spec.ts +3 -0
  213. package/tests/copaair.spec.ts +3 -0
  214. package/tests/crocobet.spec.ts +11 -0
  215. package/tests/crosswater.co.uk.spec.ts +3 -0
  216. package/tests/de-volksbank.spec.ts +14 -3
  217. package/tests/derby-council.spec.ts +8 -0
  218. package/tests/detector-aero.spec.ts +3 -0
  219. package/tests/disturbia.spec.ts +6 -0
  220. package/tests/dobarkod-cookiebanner.spec.ts +8 -0
  221. package/tests/energydashboard.co.uk.spec.ts +3 -0
  222. package/tests/ensighten.spec.ts +9 -0
  223. package/tests/eon-nl-cookiewall.spec.ts +6 -0
  224. package/tests/exceed-lms.spec.ts +8 -0
  225. package/tests/expressvpn.spec.ts +3 -0
  226. package/tests/fictionexpress.spec.ts +3 -0
  227. package/tests/food-standards-agency.spec.ts +3 -0
  228. package/tests/freak-no.spec.ts +4 -0
  229. package/tests/fullertonhotels.com.spec.ts +17 -2
  230. package/tests/fundednext.spec.ts +6 -0
  231. package/tests/furniture-com.spec.ts +6 -0
  232. package/tests/globes.spec.ts +3 -0
  233. package/tests/gm-consent.spec.ts +9 -0
  234. package/tests/gotrust.spec.ts +9 -0
  235. package/tests/grocefully.spec.ts +5 -0
  236. package/tests/hds-cookie-consent.spec.ts +8 -0
  237. package/tests/headfirstbristol.spec.ts +3 -0
  238. package/tests/healthysupplies.spec.ts +3 -0
  239. package/tests/helvy.co.uk.spec.ts +3 -0
  240. package/tests/holland-watch-group.spec.ts +8 -0
  241. package/tests/huawei-cookie-notice.spec.ts +5 -0
  242. package/tests/hubspot-cosmetic.spec.ts +6 -0
  243. package/tests/hyperoptic.spec.ts +3 -0
  244. package/tests/hypovereinsbank.spec.ts +4 -0
  245. package/tests/incogni.spec.ts +3 -0
  246. package/tests/islamqa.org.spec.ts +3 -0
  247. package/tests/itemsatis.spec.ts +3 -0
  248. package/tests/ixo-cookie-prompt.spec.ts +8 -0
  249. package/tests/kela-fi.spec.ts +3 -0
  250. package/tests/kenstechtips.spec.ts +3 -0
  251. package/tests/keurig.com.spec.ts +3 -0
  252. package/tests/krillion.spec.ts +6 -0
  253. package/tests/lawhive.spec.ts +3 -0
  254. package/tests/laxd.spec.ts +6 -0
  255. package/tests/lessonup.spec.ts +3 -0
  256. package/tests/ligonier.spec.ts +3 -0
  257. package/tests/madeiramadeira.spec.ts +3 -0
  258. package/tests/manage-cookie-modal.spec.ts +3 -0
  259. package/tests/marriott-notice.spec.ts +8 -0
  260. package/tests/mccoysguide.spec.ts +3 -0
  261. package/tests/myfooddiary.spec.ts +3 -0
  262. package/tests/nationwidevehiclecontracts.spec.ts +3 -0
  263. package/tests/natural-intelligence.spec.ts +9 -0
  264. package/tests/naturalnews.spec.ts +3 -0
  265. package/tests/nfl.spec.ts +3 -0
  266. package/tests/noon.spec.ts +5 -0
  267. package/tests/odia.spec.ts +3 -0
  268. package/tests/op-consent-manager.spec.ts +3 -0
  269. package/tests/opencart-google-consent-v2.spec.ts +8 -0
  270. package/tests/pandectes.spec.ts +3 -0
  271. package/tests/paperlesspost.spec.ts +5 -0
  272. package/tests/passenger-cookie-opt-in.spec.ts +14 -0
  273. package/tests/peda-net.spec.ts +3 -0
  274. package/tests/peterchristian.spec.ts +3 -0
  275. package/tests/pieeye.spec.ts +16 -0
  276. package/tests/playdoit-mx.spec.ts +3 -0
  277. package/tests/pmc-privacy-banner.spec.ts +3 -0
  278. package/tests/prestigeflowers.spec.ts +5 -0
  279. package/tests/profootballmania.spec.ts +3 -0
  280. package/tests/pvh.spec.ts +8 -0
  281. package/tests/quorn.spec.ts +3 -0
  282. package/tests/randewoo.ru.spec.ts +3 -0
  283. package/tests/rct-cookies-modal.spec.ts +13 -0
  284. package/tests/realfoods-co-uk.spec.ts +3 -0
  285. package/tests/roguefitness.spec.ts +3 -0
  286. package/tests/rosbalt-ru.spec.ts +3 -0
  287. package/tests/securiti-hybrid.spec.ts +13 -0
  288. package/tests/shopblocks.spec.ts +8 -0
  289. package/tests/sicredi-frame.spec.ts +11 -0
  290. package/tests/sicredi.spec.ts +1 -1
  291. package/tests/simplepractice.com.spec.ts +4 -0
  292. package/tests/skroutz.spec.ts +6 -0
  293. package/tests/spares2repair.spec.ts +5 -0
  294. package/tests/spusu.spec.ts +3 -0
  295. package/tests/sykescottages.spec.ts +3 -0
  296. package/tests/termsfeed.spec.ts +6 -2
  297. package/tests/truecar.spec.ts +1 -1
  298. package/tests/trustarc-newcm.spec.ts +16 -0
  299. package/tests/trustarc.spec.ts +7 -0
  300. package/tests/ubuy.spec.ts +5 -0
  301. package/tests/ukplanettools.spec.ts +3 -0
  302. package/tests/vidal-ru.spec.ts +3 -0
  303. package/tests/virginwines-co-uk.spec.ts +3 -0
  304. package/tests/visualsoft.spec.ts +3 -0
  305. package/tests/vsco.spec.ts +7 -0
  306. package/tests/vystarcu.spec.ts +3 -0
  307. package/tests/web-labs-cookie-consent.spec.ts +12 -0
  308. package/tests/webnetism.spec.ts +10 -0
  309. package/tests/whatnot.spec.ts +3 -0
  310. package/tests/wow-forever.spec.ts +3 -0
  311. package/tests/wso2-identity-server.spec.ts +3 -0
  312. package/tests/xhamster-eu.spec.ts +6 -0
  313. package/tests/xhamster-us.spec.ts +6 -0
  314. package/tests/yourparkingspace.spec.ts +3 -0
  315. package/tests-wtr/heuristics/heuristics-utils.test.ts +3 -0
  316. package/web-test-runner.config.mjs +6 -0
  317. package/rules/generated/auto_AU_u-buy.com.au_rg0.json +0 -37
  318. package/rules/generated/auto_CH_seetickets.com_4b2.json +0 -40
  319. package/rules/generated/auto_GB_charlesclinkard.co.uk_0.json +0 -37
  320. package/tests/generated/auto_AU_u-buy.com.au_rg0.spec.ts +0 -2
  321. package/tests/generated/auto_CH_seetickets.com_4b2.spec.ts +0 -6
  322. package/tests/generated/auto_GB_charlesclinkard.co.uk_0.spec.ts +0 -6
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "furniture.com",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?furniture\\.com/"
5
+ },
6
+ "prehideSelectors": ["#consent-banner"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#consent-banner #cookie-banner-text"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#consent-banner #cookie-banner-text"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#consent-banner button[aria-label=\"Dismiss banner\"]"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "#consent-banner #cookie-banner-text button"
25
+ },
26
+ {
27
+ "waitForVisible": "#do-not-sell-master"
28
+ },
29
+ {
30
+ "comment": "toggles save immediately, there is no save button",
31
+ "click": "#do-not-sell-master[aria-checked=\"true\"]",
32
+ "optional": true
33
+ },
34
+ {
35
+ "waitForThenClick": "#cookies-tab"
36
+ },
37
+ {
38
+ "waitForVisible": "#cookies-panel"
39
+ },
40
+ {
41
+ "click": "#cookies-panel button[role=\"switch\"][aria-checked=\"true\"]",
42
+ "all": true,
43
+ "optional": true
44
+ },
45
+ {
46
+ "waitForThenClick": "#pixel-tab"
47
+ },
48
+ {
49
+ "waitForVisible": "#fdc-pixel"
50
+ },
51
+ {
52
+ "click": "#fdc-pixel[aria-checked=\"true\"]",
53
+ "optional": true
54
+ },
55
+ {
56
+ "waitForThenClick": "[data-testid=\"closeQuickView\"]"
57
+ },
58
+ {
59
+ "comment": "the notice reappears after the preferences modal closes",
60
+ "waitForThenClick": "#consent-banner button[aria-label=\"Dismiss banner\"]"
61
+ }
62
+ ],
63
+ "test": [
64
+ {
65
+ "cookieContains": "C0004%3A0"
66
+ }
67
+ ]
68
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "globes.co.il",
3
+ "vendorUrl": "https://www.globes.co.il/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?globes\\.co\\.il/"
6
+ },
7
+ "prehideSelectors": ["#cookiesConfirmDiv"],
8
+ "detectCmp": [{ "any": [{ "exists": "#cookiesConfirmDiv span[onclick]" }, { "exists": ".fc-consent-root" }] }],
9
+ "detectPopup": [{ "any": [{ "visible": "#cookiesConfirmDiv span[onclick]" }, { "exists": ".fc-consent-root .fc-dialog-container" }] }],
10
+ "optIn": [
11
+ {
12
+ "if": { "visible": ".fc-consent-root .fc-cta-consent" },
13
+ "then": [{ "click": ".fc-consent-root .fc-cta-consent" }]
14
+ },
15
+ { "waitForVisible": "#cookiesConfirmDiv span[onclick]", "timeout": 5000, "optional": true },
16
+ {
17
+ "if": { "visible": "#cookiesConfirmDiv span[onclick]" },
18
+ "then": [{ "click": "#cookiesConfirmDiv span[onclick]" }]
19
+ }
20
+ ],
21
+ "optOut": [
22
+ {
23
+ "if": { "exists": ".fc-consent-root .fc-dialog-container" },
24
+ "then": [
25
+ {
26
+ "if": { "exists": ".fc-cta-do-not-consent,.fc-cta-manage-options" },
27
+ "then": [{ "click": ".fc-cta-do-not-consent,.fc-cta-manage-options" }]
28
+ },
29
+ { "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked", "all": true, "optional": true },
30
+ { "click": ".fc-confirm-choices", "optional": true }
31
+ ]
32
+ },
33
+ { "waitForVisible": "#cookiesConfirmDiv span[onclick]", "timeout": 5000, "optional": true },
34
+ {
35
+ "if": { "visible": "#cookiesConfirmDiv span[onclick]" },
36
+ "then": [{ "click": "#cookiesConfirmDiv span[onclick]" }]
37
+ }
38
+ ],
39
+ "test": [{ "visible": "#cookiesConfirmDiv", "check": "none" }]
40
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "gm-consent",
3
+ "prehideSelectors": [".gmc-root"],
4
+ "detectCmp": [{ "exists": ".gmc-root[role=dialog] [data-gmc]" }],
5
+ "detectPopup": [{ "visible": ".gmc-root[role=dialog]" }],
6
+ "optIn": [{ "waitForThenClick": ".gmc-root [data-gmc=accept]" }],
7
+ "optOut": [
8
+ {
9
+ "if": { "exists": ".gmc-root [data-gmc=custom]" },
10
+ "then": [{ "click": ".gmc-root [data-gmc=custom]" }]
11
+ },
12
+ { "waitForVisible": ".gmc-root [data-gmc=save]" },
13
+ {
14
+ "if": { "exists": ".gmc-root [data-gmc=toggle]:checked" },
15
+ "then": [{ "click": ".gmc-root [data-gmc=toggle]:checked" }]
16
+ },
17
+ { "click": ".gmc-root [data-gmc=save]" }
18
+ ],
19
+ "test": [{ "cookieContains": "gm_consent=denied" }]
20
+ }
@@ -0,0 +1,95 @@
1
+ {
2
+ "name": "gotrust",
3
+ "vendorUrl": "https://gotrust.tech/",
4
+ "prehideSelectors": ["#gotrust-cookie-banner"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#gotrust-cookie-banner > div"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ["#gotrust-cookie-banner > div", "[class*='cookieFooterBanner__']"]
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "if": {
18
+ "exists": ["#gotrust-cookie-banner > div", "button[data-tr-btn='allowAll']"]
19
+ },
20
+ "then": [
21
+ {
22
+ "click": ["#gotrust-cookie-banner > div", "button[data-tr-btn='allowAll']"]
23
+ }
24
+ ],
25
+ "else": [
26
+ {
27
+ "waitForThenClick": [
28
+ "#gotrust-cookie-banner > div",
29
+ "[class*='cookieFooterBanner__']",
30
+ "xpath/.//button[normalize-space(.)='Allow all']"
31
+ ]
32
+ }
33
+ ]
34
+ }
35
+ ],
36
+ "optOut": [
37
+ {
38
+ "if": {
39
+ "exists": ["#gotrust-cookie-banner > div", "button[data-tr-btn='deny']"]
40
+ },
41
+ "then": [
42
+ {
43
+ "click": ["#gotrust-cookie-banner > div", "button[data-tr-btn='deny']"]
44
+ }
45
+ ],
46
+ "else": [
47
+ {
48
+ "if": {
49
+ "exists": ["#gotrust-cookie-banner > div", "[class*='cookieFooterBanner__'] button[data-tr-btn='allowSelection']"]
50
+ },
51
+ "then": [
52
+ {
53
+ "click": [
54
+ "#gotrust-cookie-banner > div",
55
+ "[class*='cookieFooterBanner__'] button[data-tr-btn='allowSelection']"
56
+ ]
57
+ },
58
+ {
59
+ "waitForVisible": ["#gotrust-cookie-banner > div", "[class*='trPrefDialog__'] [role='switch']"]
60
+ },
61
+ {
62
+ "comment": "category switches first: toggling a category also toggles its services",
63
+ "click": [
64
+ "#gotrust-cookie-banner > div",
65
+ "[role='switch'][data-tr-checked='true'][data-tr-disabled='false']:not([id^='service-'])"
66
+ ],
67
+ "all": true,
68
+ "optional": true
69
+ },
70
+ {
71
+ "click": ["#gotrust-cookie-banner > div", "[role='switch'][data-tr-checked='true'][data-tr-disabled='false']"],
72
+ "all": true,
73
+ "optional": true
74
+ },
75
+ {
76
+ "waitForThenClick": [
77
+ "#gotrust-cookie-banner > div",
78
+ "[class*='trPrefDialog__'] button[data-tr-btn='allowSelection']"
79
+ ]
80
+ }
81
+ ],
82
+ "else": [
83
+ {
84
+ "waitForThenClick": [
85
+ "#gotrust-cookie-banner > div",
86
+ "[class*='cookieFooterBanner__']",
87
+ "xpath/.//button[starts-with(normalize-space(.), 'Reject')]"
88
+ ]
89
+ }
90
+ ]
91
+ }
92
+ ]
93
+ }
94
+ ]
95
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "grocefully",
3
+ "vendorUrl": "https://www.grocefully.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?grocefully\\.com/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [{ "exists": "xpath///div[@role='dialog']//h2[normalize-space(.)='We value your privacy']" }],
9
+ "detectPopup": [{ "visible": "xpath///div[@role='dialog']//h2[normalize-space(.)='We value your privacy']" }],
10
+ "optIn": [
11
+ {
12
+ "waitForThenClick": "xpath///div[@role='dialog'][.//h2[normalize-space(.)='We value your privacy']]//button[normalize-space(.)='Allow All']"
13
+ }
14
+ ],
15
+ "optOut": [
16
+ {
17
+ "waitForThenClick": "xpath///div[@role='dialog'][.//h2[normalize-space(.)='We value your privacy']]//button[normalize-space(.)='Manage Cookies']"
18
+ },
19
+ { "waitForVisible": "[role='dialog'] button[role='switch']" },
20
+ { "click": "[role='dialog'] button[role='switch'][aria-checked='true']:not([disabled])", "all": true, "optional": true },
21
+ {
22
+ "waitForThenClick": "xpath///div[@role='dialog'][.//button[@role='switch']]//button[normalize-space(.)='Save Preferences']"
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "hds-cookie-consent",
3
+ "vendorUrl": "https://hds.hel.fi/components/cookie-consent/",
4
+ "prehideSelectors": [".hds-cc__target"],
5
+ "detectCmp": [{ "exists": [".hds-cc__target", "#hds-cc.hds-cc--banner"] }],
6
+ "detectPopup": [{ "visible": [".hds-cc__target", "#hds-cc.hds-cc--banner"] }],
7
+ "optIn": [{ "waitForThenClick": [".hds-cc__target", "#hds-cc.hds-cc--banner button[data-approved=\"all\"]"] }],
8
+ "optOut": [{ "waitForThenClick": [".hds-cc__target", "#hds-cc.hds-cc--banner button[data-approved=\"required\"]"] }],
9
+ "test": [{ "visible": [".hds-cc__target", "#hds-cc.hds-cc--banner"], "check": "none" }]
10
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "headfirstbristol",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?headfirstbristol\\.co\\.uk/"
5
+ },
6
+ "prehideSelectors": ["#injected_cookie_notice"],
7
+ "detectCmp": [{ "exists": "#injected_cookie_notice #reject_cookies" }],
8
+ "detectPopup": [{ "visible": "#injected_cookie_notice #cook" }],
9
+ "optIn": [{ "waitForThenClick": "#injected_cookie_notice #accept_cookies" }],
10
+ "optOut": [{ "waitForThenClick": "#injected_cookie_notice #reject_cookies" }],
11
+ "test": [{ "visible": "#injected_cookie_notice", "check": "none" }]
12
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "healthysupplies",
3
+ "vendorUrl": "https://www.healthysupplies.co.uk/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?healthysupplies\\.co\\.uk/"
6
+ },
7
+ "prehideSelectors": ["#cookie_popup"],
8
+ "detectCmp": [{ "exists": "#cookie_popup .cookie_buttons" }],
9
+ "detectPopup": [{ "visible": "#cookie_popup .cookie_buttons" }],
10
+ "optIn": [{ "waitForThenClick": "#cookie_popup button[onclick*='cookie_popup_allow']" }],
11
+ "optOut": [
12
+ { "waitForThenClick": "#cookie_popup a[onclick*='cookie_popup_settings']" },
13
+ { "waitForVisible": "#cookie_popup .cookie_settings" },
14
+ { "click": "#cookie_popup .cookie_content_div input[type=checkbox]:checked", "all": true, "optional": true },
15
+ { "waitForThenClick": "#cookie_popup button[onclick*='cookie_settings_update']", "retry": 5, "retryInterval": 500 }
16
+ ],
17
+ "test": [{ "wait": 1000 }, { "cookieContains": "cookieok_ad_storage=no" }]
18
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "helvy.co.uk",
3
+ "vendorUrl": "https://helvy.co.uk/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?helvy\\.co\\.uk/"
6
+ },
7
+ "prehideSelectors": ["aside[data-consent-card]"],
8
+ "detectCmp": [{ "exists": "aside[data-consent-card]" }],
9
+ "detectPopup": [{ "visible": "aside[data-consent-card]" }],
10
+ "optIn": [
11
+ { "waitForThenClick": "xpath///aside[@data-consent-card]//button[normalize-space()='Accept']", "retry": 5, "retryInterval": 1000 }
12
+ ],
13
+ "optOut": [
14
+ {
15
+ "waitForThenClick": "xpath///aside[@data-consent-card]//button[normalize-space()='Essential only']",
16
+ "retry": 5,
17
+ "retryInterval": 1000
18
+ }
19
+ ],
20
+ "test": [{ "cookieContains": "helvy_consent=reject" }]
21
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "holland-watch-group",
3
+ "vendorUrl": "https://www.hollandwatchgroup.com/",
4
+ "prehideSelectors": ["[x-data^=\"App.CookieConsent\"]"],
5
+ "detectCmp": [{ "exists": "[x-data^=\"App.CookieConsent\"] button[x-on\\:click=\"saveSettings();\"]" }],
6
+ "detectPopup": [{ "visible": "[x-data^=\"App.CookieConsent\"] button[x-on\\:click=\"saveSettings();\"]" }],
7
+ "optIn": [{ "waitForThenClick": "[x-data^=\"App.CookieConsent\"] button[x-on\\:click=\"allowAll();\"]" }],
8
+ "optOut": [
9
+ { "waitForThenClick": "[x-data^=\"App.CookieConsent\"] button[x-on\\:click=\"saveSettings();\"]" },
10
+ { "waitForVisible": "[x-data^=\"App.CookieConsent\"]", "check": "none" }
11
+ ]
12
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "huawei-cookie-notice",
3
+ "runContext": {
4
+ "urlPattern": "^https?://consumer\\.huawei\\.com/"
5
+ },
6
+ "prehideSelectors": [".huawei-bootom-cookie"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": ".huawei-bootom-cookie .huawei-cookie-close"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": ".huawei-bootom-cookie"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": ".huawei-bootom-cookie .huawei-cookie-close"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": ".huawei-bootom-cookie .huawei-cookie-close"
25
+ }
26
+ ]
27
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "hubspot-cosmetic",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.hubspot.com/"
5
+ },
6
+ "cosmetic": true,
7
+ "detectCmp": [
8
+ { "exists": "#hs-eu-cookie-confirmation" },
9
+ { "exists": "#hs-eu-decline-button", "negated": true },
10
+ { "visible": "#hs-eu-close-button", "check": "none" }
11
+ ],
12
+ "detectPopup": [{ "visible": "#hs-eu-cookie-confirmation" }],
13
+ "optIn": [{ "click": "#hs-eu-confirmation-button" }],
14
+ "optOut": [{ "hide": "#hs-eu-cookie-confirmation" }]
15
+ }
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "name": "hubspot",
3
- "detectCmp": [{ "exists": "#hs-eu-cookie-confirmation" }],
3
+ "detectCmp": [
4
+ { "exists": "#hs-eu-cookie-confirmation" },
5
+ { "any": [{ "exists": "#hs-eu-decline-button" }, { "visible": "#hs-eu-close-button" }] }
6
+ ],
4
7
  "detectPopup": [{ "visible": "#hs-eu-cookie-confirmation" }],
5
8
  "optIn": [{ "click": "#hs-eu-confirmation-button" }],
6
9
  "optOut": [
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "hyperoptic",
3
+ "vendorUrl": "https://www.hyperoptic.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?hyperoptic\\.com/"
6
+ },
7
+ "prehideSelectors": [".modal-overlay:has(.cookie-consent-initial)"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".cookie-consent-initial"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".cookie-consent-initial"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".modal:has(.cookie-consent-initial) .modal-btn-primary"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".modal:has(.cookie-consent-initial) .modal-btn-secondary"
26
+ },
27
+ {
28
+ "waitForVisible": ".cookie-consent-preferences"
29
+ },
30
+ {
31
+ "click": ".cookie-consent-preferences .toggle-control:checked:not(:disabled)",
32
+ "all": true,
33
+ "optional": true
34
+ },
35
+ {
36
+ "waitForThenClick": ".modal:has(.cookie-consent-preferences) .modal-btn-secondary"
37
+ }
38
+ ],
39
+ "test": [
40
+ {
41
+ "cookieContains": "ho_cookie_consent=essential"
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "hypovereinsbank",
3
+ "vendorUrl": "https://www.hypovereinsbank.de/",
4
+ "runContext": {
5
+ "urlPattern": "^https://(www\\.)?hypovereinsbank\\.de/"
6
+ },
7
+ "prehideSelectors": [".uccb"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".uccb .uccb__accept-selection"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".uccb .uccb__wrapper"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".uccb .uccb__accept"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".uccb .uccb__accept-selection"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "\"statistics\":false"
31
+ },
32
+ {
33
+ "cookieContains": "\"marketing\":false"
34
+ },
35
+ {
36
+ "cookieContains": "\"personalise\":false"
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "incogni",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?incogni\\.com/"
5
+ },
6
+ "prehideSelectors": ["aside[data-testid=cookie-consent-wrapper]"],
7
+ "detectCmp": [{ "exists": "aside[data-testid=cookie-consent-wrapper]" }],
8
+ "detectPopup": [{ "visible": "aside[data-testid=cookie-consent-wrapper]" }],
9
+ "optIn": [{ "waitForThenClick": "aside[data-testid=cookie-consent-wrapper] [data-testid=cookie-consent-left]" }],
10
+ "optOut": [
11
+ {
12
+ "if": { "exists": "aside[data-testid=cookie-consent-wrapper] [data-testid=cookie-consent-reject]" },
13
+ "then": [{ "click": "aside[data-testid=cookie-consent-wrapper] [data-testid=cookie-consent-reject]" }],
14
+ "else": [
15
+ {
16
+ "click": "aside[data-testid=cookie-consent-wrapper] :is([data-testid=cookie-consent-right], [data-testid=cookie-consent-settings-link])"
17
+ },
18
+ { "waitForThenClick": "aside[data-testid=cookie-consent-wrapper] [data-testid=cookie-consent-reject]" }
19
+ ]
20
+ }
21
+ ],
22
+ "test": [{ "cookieContains": "incogni-consent-state=a:0|m:0" }]
23
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "islamqa.org",
3
+ "vendorUrl": "https://islamqa.org/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?islamqa\\.org/"
6
+ },
7
+ "prehideSelectors": ["#cookie-law-info-bar, #cookie-law-bg, .cli-popupbar-overlay, #ez-cookie-dialog-wrapper"],
8
+ "detectCmp": [{ "exists": "#cookie-law-info-bar, #ez-cookie-dialog-wrapper" }],
9
+ "detectPopup": [{ "visible": "#cookie-law-info-bar, #ez-cookie-dialog-wrapper", "check": "any" }],
10
+ "optIn": [
11
+ { "click": "[data-cli_action=\"accept\"]", "optional": true },
12
+ { "waitForVisible": "#ez-cookie-dialog-wrapper", "timeout": 10000, "optional": true },
13
+ { "click": "#ez-accept-all", "optional": true }
14
+ ],
15
+ "optOut": [
16
+ { "hide": "#cookie-law-info-bar, #cookie-law-bg, .cli-popupbar-overlay" },
17
+ { "eval": "EVAL_COOKIE_LAW_INFO_0", "optional": true },
18
+ { "waitForVisible": "#ez-cookie-dialog-wrapper", "timeout": 10000, "optional": true },
19
+ {
20
+ "if": { "visible": "#ez-cookie-dialog-wrapper" },
21
+ "then": [
22
+ { "wait": 500 },
23
+ { "click": "#ez-manage-settings" },
24
+ { "waitFor": "#ez-cookie-dialog input[type=checkbox]" },
25
+ { "click": "#ez-cookie-dialog input[type=checkbox]:checked", "all": true, "optional": true },
26
+ { "waitForThenClick": "#ez-save-settings" }
27
+ ]
28
+ }
29
+ ],
30
+ "test": [{ "cookieContains": "cookielawinfo-checkbox-non-necessary=yes", "negated": true }]
31
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "itemsatis.com",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?itemsatis\\.com/"
5
+ },
6
+ "prehideSelectors": ["#cookieConsent"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#cookieConsent [data-cc-save]"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#cookieConsent .cookie-consent"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#cookieConsent [data-cc-accept]"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "click": "#cookieConsent [data-cc-switch][aria-checked='true']",
25
+ "all": true,
26
+ "optional": true
27
+ },
28
+ {
29
+ "waitForThenClick": "#cookieConsent [data-cc-save]"
30
+ }
31
+ ],
32
+ "test": [
33
+ {
34
+ "cookieContains": "is_consent=v1"
35
+ },
36
+ {
37
+ "exists": "#cookieConsent [data-cc-switch][aria-checked='true']",
38
+ "negated": true
39
+ }
40
+ ]
41
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "ixo-cookie-prompt",
3
+ "prehideSelectors": ["#cookieprompt"],
4
+ "detectCmp": [{ "exists": "#cookieprompt #cookieAllow" }],
5
+ "detectPopup": [{ "visible": "#cookieprompt" }],
6
+ "optIn": [{ "waitForThenClick": "#cookieprompt #cookieAllow" }],
7
+ "optOut": [
8
+ { "waitForThenClick": "#cookiepromptinner a[href*=\"changeCookieSettings\"]" },
9
+ { "waitForThenClick": ".jqibuttons button[value=\"false\"], .ixoprompt-buttons button[data-value=\"false\"]" }
10
+ ],
11
+ "test": [{ "cookieContains": "allowAllCookies=no" }]
12
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "kela.fi",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?kela\\.fi/"
5
+ },
6
+ "prehideSelectors": ["#kela-cookie-banner"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#kela-cookie-banner"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#kela-cookie-banner"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#kela-cookie-banner [role=group] button:nth-child(1)"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "#kela-cookie-banner [role=group] button:nth-child(2)"
25
+ }
26
+ ],
27
+ "test": [
28
+ {
29
+ "cookieContains": "KelafiCookies=false"
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "kenstechtips",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?kenstechtips\\.com/"
5
+ },
6
+ "prehideSelectors": [".cookie-alert:has(> .cookie-alert-container)"],
7
+ "detectCmp": [{ "exists": ".cookie-alert .cookie-alert-container .accept-cookies" }],
8
+ "detectPopup": [{ "visible": ".cookie-alert.show .accept-cookies" }],
9
+ "optIn": [{ "waitForThenClick": ".cookie-alert .accept-cookies" }],
10
+ "optOut": [{ "waitForThenClick": ".cookie-alert .accept-cookies" }],
11
+ "test": [{ "cookieContains": "acceptedCookies=true" }]
12
+ }