@duckduckgo/autoconsent 18.9.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 (311) 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/CHANGELOG.md +164 -0
  9. package/Jenkinsfile +22 -27
  10. package/data/coverage.json +14165 -3824
  11. package/dist/addon-firefox/background.bundle.js +9 -0
  12. package/dist/addon-firefox/compact-rules.json +1 -1
  13. package/dist/addon-firefox/content.bundle.js +14 -2
  14. package/dist/addon-firefox/manifest.json +1 -1
  15. package/dist/addon-firefox/rule-index.json +1 -1
  16. package/dist/addon-firefox/rules.json +1 -1
  17. package/dist/addon-mv3/background.bundle.js +9 -0
  18. package/dist/addon-mv3/compact-rules.json +1 -1
  19. package/dist/addon-mv3/content.bundle.js +14 -2
  20. package/dist/addon-mv3/manifest.json +1 -1
  21. package/dist/addon-mv3/rule-index.json +1 -1
  22. package/dist/addon-mv3/rules.json +1 -1
  23. package/dist/autoconsent.cjs.js +14 -2
  24. package/dist/autoconsent.esm.js +14 -2
  25. package/dist/autoconsent.playwright.js +14 -2
  26. package/dist/autoconsent.standalone.js +15 -3
  27. package/dist/heuristics.cjs.js +5 -2
  28. package/dist/heuristics.mjs +5 -2
  29. package/dist/types/eval-snippets.d.ts +2 -0
  30. package/lib/eval-snippets.ts +9 -0
  31. package/lib/heuristic-literals.ts +2 -1
  32. package/lib/heuristic-patterns.ts +3 -1
  33. package/package.json +1 -1
  34. package/playwright/runner.ts +30 -2
  35. package/rules/autoconsent/7plus.json +44 -0
  36. package/rules/autoconsent/adv-gr-jp.json +29 -0
  37. package/rules/autoconsent/agentii-getsbet-ro.json +19 -0
  38. package/rules/autoconsent/alza-cookies-info.json +36 -0
  39. package/rules/autoconsent/amasty-gdpr-hyva.json +73 -50
  40. package/rules/autoconsent/amazon.json +5 -2
  41. package/rules/autoconsent/amgueddfa-cms.json +46 -0
  42. package/rules/autoconsent/anowave-gtm.json +21 -0
  43. package/rules/autoconsent/anthropic.json +2 -2
  44. package/rules/autoconsent/apteka911-ua.json +29 -0
  45. package/rules/autoconsent/artfund.json +18 -0
  46. package/rules/autoconsent/babylonbee.json +1 -1
  47. package/rules/autoconsent/betsson-fr.json +45 -0
  48. package/rules/autoconsent/bladehq.json +13 -0
  49. package/rules/autoconsent/brandfetch.json +24 -0
  50. package/rules/autoconsent/bravissimo.json +18 -0
  51. package/rules/autoconsent/bristan-group.json +58 -0
  52. package/rules/autoconsent/bswhealth.json +11 -8
  53. package/rules/autoconsent/captain-compliance.json +30 -0
  54. package/rules/autoconsent/cardiff-university.json +37 -0
  55. package/rules/autoconsent/cgov-cookiebanner.json +9 -0
  56. package/rules/autoconsent/chrono24.json +54 -0
  57. package/rules/autoconsent/civic-govuk-cookiecontrol.json +16 -0
  58. package/rules/autoconsent/classbento.json +38 -0
  59. package/rules/autoconsent/collectingcars.json +18 -0
  60. package/rules/autoconsent/conscious-solutions.json +25 -0
  61. package/rules/autoconsent/consentik-notice.json +15 -0
  62. package/rules/autoconsent/consentik.json +25 -0
  63. package/rules/autoconsent/cookie-banner-required-only.json +17 -0
  64. package/rules/autoconsent/cookiebanner-closecookie.json +9 -0
  65. package/rules/autoconsent/cookieconsent3.json +1 -1
  66. package/rules/autoconsent/cookiesjsr.json +12 -8
  67. package/rules/autoconsent/copaair.json +33 -0
  68. package/rules/autoconsent/crocobet.json +35 -0
  69. package/rules/autoconsent/crosswater.co.uk.json +41 -0
  70. package/rules/autoconsent/de-volksbank.json +28 -5
  71. package/rules/autoconsent/derby-council.json +46 -0
  72. package/rules/autoconsent/detector-aero.json +21 -0
  73. package/rules/autoconsent/disturbia.json +38 -0
  74. package/rules/autoconsent/dobarkod-cookiebanner.json +10 -0
  75. package/rules/autoconsent/dpgmedia-nl.json +8 -8
  76. package/rules/autoconsent/energydashboard.co.uk.json +19 -0
  77. package/rules/autoconsent/ensighten.json +25 -1
  78. package/rules/autoconsent/eon-nl-cookiewall.json +30 -0
  79. package/rules/autoconsent/exceed-lms.json +10 -0
  80. package/rules/autoconsent/expressvpn.json +55 -0
  81. package/rules/autoconsent/fictionexpress.json +33 -0
  82. package/rules/autoconsent/food-standards-agency.json +46 -0
  83. package/rules/autoconsent/freak-no.json +16 -0
  84. package/rules/autoconsent/fullertonhotels.com.json +37 -6
  85. package/rules/autoconsent/fundednext.json +16 -0
  86. package/rules/autoconsent/furniture-com.json +68 -0
  87. package/rules/autoconsent/globes.json +40 -0
  88. package/rules/autoconsent/gm-consent.json +20 -0
  89. package/rules/autoconsent/gotrust.json +95 -0
  90. package/rules/autoconsent/grocefully.json +25 -0
  91. package/rules/autoconsent/hds-cookie-consent.json +10 -0
  92. package/rules/autoconsent/headfirstbristol.json +12 -0
  93. package/rules/autoconsent/healthysupplies.json +18 -0
  94. package/rules/autoconsent/helvy.co.uk.json +21 -0
  95. package/rules/autoconsent/holland-watch-group.json +12 -0
  96. package/rules/autoconsent/hubspot-cosmetic.json +15 -0
  97. package/rules/autoconsent/hubspot.json +4 -1
  98. package/rules/autoconsent/hyperoptic.json +44 -0
  99. package/rules/autoconsent/hypovereinsbank.json +39 -0
  100. package/rules/autoconsent/incogni.json +23 -0
  101. package/rules/autoconsent/islamqa.org.json +31 -0
  102. package/rules/autoconsent/itemsatis.json +41 -0
  103. package/rules/autoconsent/ixo-cookie-prompt.json +12 -0
  104. package/rules/autoconsent/kela-fi.json +32 -0
  105. package/rules/autoconsent/kenstechtips.json +12 -0
  106. package/rules/autoconsent/keurig.com.json +47 -0
  107. package/rules/autoconsent/krillion.json +13 -0
  108. package/rules/autoconsent/lawhive.json +27 -0
  109. package/rules/autoconsent/laxd.json +29 -0
  110. package/rules/autoconsent/lessonup.json +24 -0
  111. package/rules/autoconsent/ligonier.json +13 -0
  112. package/rules/autoconsent/madeiramadeira.json +31 -0
  113. package/rules/autoconsent/manage-cookie-modal.json +52 -0
  114. package/rules/autoconsent/marriott-notice.json +28 -0
  115. package/rules/autoconsent/mccoysguide.json +40 -0
  116. package/rules/autoconsent/mercadolibre.json +3 -3
  117. package/rules/autoconsent/myfooddiary.json +36 -0
  118. package/rules/autoconsent/nationwidevehiclecontracts.json +37 -0
  119. package/rules/autoconsent/natural-intelligence.json +21 -0
  120. package/rules/autoconsent/naturalnews.json +32 -0
  121. package/rules/autoconsent/nfl.json +32 -0
  122. package/rules/autoconsent/noon.json +41 -0
  123. package/rules/autoconsent/odia.json +12 -0
  124. package/rules/autoconsent/op-consent-manager.json +17 -0
  125. package/rules/autoconsent/opencart-google-consent-v2.json +27 -0
  126. package/rules/autoconsent/pandectes.json +13 -4
  127. package/rules/autoconsent/paperlesspost.json +64 -0
  128. package/rules/autoconsent/passenger-cookie-opt-in.json +15 -0
  129. package/rules/autoconsent/peda-net.json +34 -0
  130. package/rules/autoconsent/peterchristian.json +35 -0
  131. package/rules/autoconsent/pieeye.json +25 -0
  132. package/rules/autoconsent/playdoit-mx.json +32 -0
  133. package/rules/autoconsent/pmc-privacy-banner.json +40 -6
  134. package/rules/autoconsent/prestigeflowers.json +21 -0
  135. package/rules/autoconsent/profootballmania.json +21 -0
  136. package/rules/autoconsent/pvh.json +29 -0
  137. package/rules/autoconsent/quorn.json +17 -0
  138. package/rules/autoconsent/randewoo.ru.json +37 -0
  139. package/rules/autoconsent/rct-cookies-modal.json +36 -0
  140. package/rules/autoconsent/realfoods-co-uk.json +18 -0
  141. package/rules/autoconsent/roguefitness.json +18 -0
  142. package/rules/autoconsent/rosbalt-ru.json +35 -0
  143. package/rules/autoconsent/securiti-hybrid.json +30 -0
  144. package/rules/autoconsent/shopblocks.json +41 -0
  145. package/rules/autoconsent/sicredi-frame.json +16 -0
  146. package/rules/autoconsent/sicredi.json +0 -1
  147. package/rules/autoconsent/simplepractice.com.json +60 -0
  148. package/rules/autoconsent/skroutz.json +33 -0
  149. package/rules/autoconsent/spares2repair.json +42 -0
  150. package/rules/autoconsent/spusu.json +18 -0
  151. package/rules/autoconsent/sykescottages.json +49 -0
  152. package/rules/autoconsent/termsfeed.json +4 -4
  153. package/rules/autoconsent/truecar.json +5 -5
  154. package/rules/autoconsent/trustarc-newcm.json +37 -6
  155. package/rules/autoconsent/ubuy.json +10 -0
  156. package/rules/autoconsent/ukplanettools.json +45 -0
  157. package/rules/autoconsent/vidal-ru.json +12 -0
  158. package/rules/autoconsent/virginwines-co-uk.json +32 -0
  159. package/rules/autoconsent/visualsoft.json +24 -0
  160. package/rules/autoconsent/vsco.json +27 -0
  161. package/rules/autoconsent/vystarcu.json +17 -0
  162. package/rules/autoconsent/web-labs-cookie-consent.json +69 -0
  163. package/rules/autoconsent/webnetism.json +42 -0
  164. package/rules/autoconsent/whatnot.json +32 -0
  165. package/rules/autoconsent/wow-forever.json +33 -0
  166. package/rules/autoconsent/wso2-identity-server.json +30 -0
  167. package/rules/autoconsent/xhamster-eu.json +1 -1
  168. package/rules/autoconsent/xhamster-us.json +1 -1
  169. package/rules/autoconsent/yourparkingspace.json +47 -0
  170. package/rules/compact-rules.json +1 -1
  171. package/rules/rule-index.json +1 -1
  172. package/rules/rules.json +1 -1
  173. package/tests/7plus.spec.ts +6 -0
  174. package/tests/adv-gr-jp.spec.ts +3 -0
  175. package/tests/agentii-getsbet-ro.spec.ts +3 -0
  176. package/tests/alza-cookies-info.spec.ts +10 -0
  177. package/tests/amasty-gdpr-hyva.spec.ts +9 -0
  178. package/tests/amazon.spec.ts +7 -14
  179. package/tests/amgueddfa-cms.spec.ts +3 -0
  180. package/tests/anowave-gtm.spec.ts +8 -0
  181. package/tests/anthropic.spec.ts +6 -1
  182. package/tests/apteka911-ua.spec.ts +3 -0
  183. package/tests/artfund.spec.ts +3 -0
  184. package/tests/babylonbee.spec.ts +1 -1
  185. package/tests/betsson-fr.spec.ts +12 -0
  186. package/tests/bladehq.spec.ts +3 -0
  187. package/tests/brandfetch.spec.ts +5 -0
  188. package/tests/bravissimo.spec.ts +9 -0
  189. package/tests/bristan-group.spec.ts +3 -0
  190. package/tests/bswhealth.spec.ts +1 -1
  191. package/tests/captain-compliance.spec.ts +15 -0
  192. package/tests/cardiff-university.spec.ts +3 -0
  193. package/tests/cgov-cookiebanner.spec.ts +6 -0
  194. package/tests/chrono24.spec.ts +3 -0
  195. package/tests/civic-govuk-cookiecontrol.spec.ts +9 -0
  196. package/tests/classbento.spec.ts +3 -0
  197. package/tests/collectingcars.spec.ts +3 -0
  198. package/tests/conscious-solutions.spec.ts +10 -0
  199. package/tests/consentik-notice.spec.ts +3 -0
  200. package/tests/consentik.spec.ts +8 -0
  201. package/tests/cookie-banner-required-only.spec.ts +9 -0
  202. package/tests/cookiebanner-closecookie.spec.ts +3 -0
  203. package/tests/cookieconsent3.spec.ts +4 -5
  204. package/tests/cookiesjsr.spec.ts +3 -0
  205. package/tests/copaair.spec.ts +3 -0
  206. package/tests/crocobet.spec.ts +11 -0
  207. package/tests/crosswater.co.uk.spec.ts +3 -0
  208. package/tests/de-volksbank.spec.ts +14 -3
  209. package/tests/derby-council.spec.ts +8 -0
  210. package/tests/detector-aero.spec.ts +3 -0
  211. package/tests/disturbia.spec.ts +6 -0
  212. package/tests/dobarkod-cookiebanner.spec.ts +8 -0
  213. package/tests/energydashboard.co.uk.spec.ts +3 -0
  214. package/tests/ensighten.spec.ts +9 -0
  215. package/tests/eon-nl-cookiewall.spec.ts +6 -0
  216. package/tests/exceed-lms.spec.ts +8 -0
  217. package/tests/expressvpn.spec.ts +3 -0
  218. package/tests/fictionexpress.spec.ts +3 -0
  219. package/tests/food-standards-agency.spec.ts +3 -0
  220. package/tests/freak-no.spec.ts +4 -0
  221. package/tests/fullertonhotels.com.spec.ts +17 -2
  222. package/tests/fundednext.spec.ts +6 -0
  223. package/tests/furniture-com.spec.ts +6 -0
  224. package/tests/globes.spec.ts +3 -0
  225. package/tests/gm-consent.spec.ts +9 -0
  226. package/tests/gotrust.spec.ts +9 -0
  227. package/tests/grocefully.spec.ts +5 -0
  228. package/tests/hds-cookie-consent.spec.ts +8 -0
  229. package/tests/headfirstbristol.spec.ts +3 -0
  230. package/tests/healthysupplies.spec.ts +3 -0
  231. package/tests/helvy.co.uk.spec.ts +3 -0
  232. package/tests/holland-watch-group.spec.ts +8 -0
  233. package/tests/hubspot-cosmetic.spec.ts +6 -0
  234. package/tests/hyperoptic.spec.ts +3 -0
  235. package/tests/hypovereinsbank.spec.ts +4 -0
  236. package/tests/incogni.spec.ts +3 -0
  237. package/tests/islamqa.org.spec.ts +3 -0
  238. package/tests/itemsatis.spec.ts +3 -0
  239. package/tests/ixo-cookie-prompt.spec.ts +8 -0
  240. package/tests/kela-fi.spec.ts +3 -0
  241. package/tests/kenstechtips.spec.ts +3 -0
  242. package/tests/keurig.com.spec.ts +3 -0
  243. package/tests/krillion.spec.ts +6 -0
  244. package/tests/lawhive.spec.ts +3 -0
  245. package/tests/laxd.spec.ts +6 -0
  246. package/tests/lessonup.spec.ts +3 -0
  247. package/tests/ligonier.spec.ts +3 -0
  248. package/tests/madeiramadeira.spec.ts +3 -0
  249. package/tests/manage-cookie-modal.spec.ts +3 -0
  250. package/tests/marriott-notice.spec.ts +8 -0
  251. package/tests/mccoysguide.spec.ts +3 -0
  252. package/tests/myfooddiary.spec.ts +3 -0
  253. package/tests/nationwidevehiclecontracts.spec.ts +3 -0
  254. package/tests/natural-intelligence.spec.ts +9 -0
  255. package/tests/naturalnews.spec.ts +3 -0
  256. package/tests/nfl.spec.ts +3 -0
  257. package/tests/noon.spec.ts +5 -0
  258. package/tests/odia.spec.ts +3 -0
  259. package/tests/op-consent-manager.spec.ts +3 -0
  260. package/tests/opencart-google-consent-v2.spec.ts +8 -0
  261. package/tests/pandectes.spec.ts +3 -0
  262. package/tests/paperlesspost.spec.ts +5 -0
  263. package/tests/passenger-cookie-opt-in.spec.ts +14 -0
  264. package/tests/peda-net.spec.ts +3 -0
  265. package/tests/peterchristian.spec.ts +3 -0
  266. package/tests/pieeye.spec.ts +16 -0
  267. package/tests/playdoit-mx.spec.ts +3 -0
  268. package/tests/pmc-privacy-banner.spec.ts +3 -0
  269. package/tests/prestigeflowers.spec.ts +5 -0
  270. package/tests/profootballmania.spec.ts +3 -0
  271. package/tests/pvh.spec.ts +8 -0
  272. package/tests/quorn.spec.ts +3 -0
  273. package/tests/randewoo.ru.spec.ts +3 -0
  274. package/tests/rct-cookies-modal.spec.ts +13 -0
  275. package/tests/realfoods-co-uk.spec.ts +3 -0
  276. package/tests/roguefitness.spec.ts +3 -0
  277. package/tests/rosbalt-ru.spec.ts +3 -0
  278. package/tests/securiti-hybrid.spec.ts +13 -0
  279. package/tests/shopblocks.spec.ts +8 -0
  280. package/tests/sicredi-frame.spec.ts +11 -0
  281. package/tests/sicredi.spec.ts +1 -1
  282. package/tests/simplepractice.com.spec.ts +4 -0
  283. package/tests/skroutz.spec.ts +6 -0
  284. package/tests/spares2repair.spec.ts +5 -0
  285. package/tests/spusu.spec.ts +3 -0
  286. package/tests/sykescottages.spec.ts +3 -0
  287. package/tests/termsfeed.spec.ts +6 -2
  288. package/tests/truecar.spec.ts +1 -1
  289. package/tests/trustarc-newcm.spec.ts +16 -0
  290. package/tests/ubuy.spec.ts +5 -0
  291. package/tests/ukplanettools.spec.ts +3 -0
  292. package/tests/vidal-ru.spec.ts +3 -0
  293. package/tests/virginwines-co-uk.spec.ts +3 -0
  294. package/tests/visualsoft.spec.ts +3 -0
  295. package/tests/vsco.spec.ts +7 -0
  296. package/tests/vystarcu.spec.ts +3 -0
  297. package/tests/web-labs-cookie-consent.spec.ts +12 -0
  298. package/tests/webnetism.spec.ts +10 -0
  299. package/tests/whatnot.spec.ts +3 -0
  300. package/tests/wow-forever.spec.ts +3 -0
  301. package/tests/wso2-identity-server.spec.ts +3 -0
  302. package/tests/xhamster-eu.spec.ts +2 -0
  303. package/tests/xhamster-us.spec.ts +2 -0
  304. package/tests/yourparkingspace.spec.ts +3 -0
  305. package/tests-wtr/heuristics/heuristics-utils.test.ts +3 -0
  306. package/rules/generated/auto_AU_u-buy.com.au_rg0.json +0 -37
  307. package/rules/generated/auto_CH_seetickets.com_4b2.json +0 -40
  308. package/rules/generated/auto_GB_charlesclinkard.co.uk_0.json +0 -37
  309. package/tests/generated/auto_AU_u-buy.com.au_rg0.spec.ts +0 -2
  310. package/tests/generated/auto_CH_seetickets.com_4b2.spec.ts +0 -6
  311. package/tests/generated/auto_GB_charlesclinkard.co.uk_0.spec.ts +0 -6
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "laxd",
3
+ "vendorUrl": "https://laxd.com/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(\\w+\\.)?laxd\\.com/"
7
+ },
8
+ "prehideSelectors": [".vpXfb2ak"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": ".vpXfb2ak button[name=\"gdpr_agree_btn\"]"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": ".vpXfb2ak"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": ".vpXfb2ak button[name=\"gdpr_agree_btn\"]"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": ".vpXfb2ak"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "lessonup",
3
+ "vendorUrl": "https://www.lessonup.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?lessonup\\.com/"
6
+ },
7
+ "prehideSelectors": ["#cookie-modal"],
8
+ "detectCmp": [{ "exists": "#cookie-modal [class*='CookieModal_changeCookies']" }],
9
+ "detectPopup": [{ "visible": "#cookie-modal [class*='CookieModal_popup']" }],
10
+ "optIn": [{ "waitForThenClick": "#cookie-modal [class*='CookieModal_acceptAll']" }],
11
+ "optOut": [
12
+ { "waitForThenClick": "#cookie-modal [class*='CookieModal_changeCookies']" },
13
+ { "waitForVisible": "form[class*='CookieBlock_form'] button" },
14
+ {
15
+ "if": { "exists": "form[class*='CookieBlock_form'] input:checked:not([disabled])" },
16
+ "then": [{ "click": "form[class*='CookieBlock_form'] input:checked:not([disabled])", "all": true }]
17
+ },
18
+ { "click": "form[class*='CookieBlock_form'] button" }
19
+ ],
20
+ "test": [
21
+ { "waitForVisible": "#cookie-modal", "check": "none", "timeout": 3000 },
22
+ { "cookieContains": "cookiePreferences-13_04_2022=[]" }
23
+ ]
24
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "ligonier",
3
+ "vendorUrl": "https://learn.ligonier.org/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?ligonier\\.org/"
6
+ },
7
+ "prehideSelectors": ["div:has(> form[action$='/api/enable-cookie-consent'])"],
8
+ "detectCmp": [{ "exists": "form[action$='/api/enable-cookie-consent'] button[name='accept-gdpr']" }],
9
+ "detectPopup": [{ "visible": "form[action$='/api/enable-cookie-consent'] button[name='accept-gdpr']" }],
10
+ "optIn": [{ "waitForThenClick": "form[action$='/api/enable-cookie-consent'] button[name='accept-gdpr'][value='true']" }],
11
+ "optOut": [{ "waitForThenClick": "form[action$='/api/enable-cookie-consent'] button[name='accept-gdpr'][value='false']" }],
12
+ "test": [{ "cookieContains": "gdpr-consent=eyJnZHByQ29uc2VudCI6ZmFsc2" }]
13
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "madeiramadeira",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.madeiramadeira.com.br/"
5
+ },
6
+ "runContext": {
7
+ "urlPattern": "^https?://(\\w+\\.)?madeiramadeira\\.com\\.br/"
8
+ },
9
+ "cosmetic": true,
10
+ "prehideSelectors": ["div.pos_fixed:has(> button[aria-label=\"Concordar e fechar\"])"],
11
+ "detectCmp": [
12
+ {
13
+ "exists": "div.pos_fixed > button[aria-label=\"Concordar e fechar\"]"
14
+ }
15
+ ],
16
+ "detectPopup": [
17
+ {
18
+ "visible": "div.pos_fixed > button[aria-label=\"Concordar e fechar\"]"
19
+ }
20
+ ],
21
+ "optIn": [
22
+ {
23
+ "waitForThenClick": "div.pos_fixed > button[aria-label=\"Concordar e fechar\"]"
24
+ }
25
+ ],
26
+ "optOut": [
27
+ {
28
+ "hide": "div.pos_fixed:has(> button[aria-label=\"Concordar e fechar\"])"
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "manage-cookie-modal",
3
+ "prehideSelectors": [".cookie-consent-banner"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": ".cookie-consent-banner #cookieBanner .manage-cookies"
7
+ },
8
+ {
9
+ "exists": "#manage-cookie-modal #cookie_settings_form"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": ".cookie-consent-banner #cookieBanner"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": ".cookie-consent-banner .accept-all-cookies"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": ".cookie-consent-banner .manage-cookies",
25
+ "retry": 5,
26
+ "retryInterval": 500
27
+ },
28
+ {
29
+ "waitForVisible": "#manage-cookie-modal #cookie_settings_form"
30
+ },
31
+ {
32
+ "if": {
33
+ "exists": "#cookie_settings_form input.cookie-selector:checked"
34
+ },
35
+ "then": [
36
+ {
37
+ "click": "#cookie_settings_form input.cookie-selector:checked",
38
+ "all": true
39
+ }
40
+ ]
41
+ },
42
+ {
43
+ "click": "#cookie_settings_form button[type=submit]"
44
+ }
45
+ ],
46
+ "test": [
47
+ {
48
+ "visible": ".cookie-consent-banner #cookieBanner",
49
+ "check": "none"
50
+ }
51
+ ]
52
+ }
@@ -0,0 +1,28 @@
1
+ {
2
+ "name": "marriott-notice",
3
+ "vendorUrl": "https://www.marriott.com/",
4
+ "prehideSelectors": ["#notice-popup"],
5
+ "detectCmp": [{ "exists": "#notice-popup #close-btn-notice, #notice-popup #close-btn-universal" }],
6
+ "detectPopup": [{ "visible": "#notice-popup .notice.show", "check": "any" }],
7
+ "optIn": [
8
+ {
9
+ "if": { "visible": "#close-btn-universal" },
10
+ "then": [{ "click": "#close-btn-universal" }]
11
+ },
12
+ {
13
+ "if": { "visible": "#close-btn-notice" },
14
+ "then": [{ "click": "#close-btn-notice" }]
15
+ }
16
+ ],
17
+ "optOut": [
18
+ {
19
+ "if": { "visible": "#close-btn-universal" },
20
+ "then": [{ "click": "#close-btn-universal" }]
21
+ },
22
+ {
23
+ "if": { "visible": "#close-btn-notice" },
24
+ "then": [{ "click": "#close-btn-notice" }]
25
+ }
26
+ ],
27
+ "test": [{ "waitForVisible": "#notice-popup .notice", "check": "none", "timeout": 2000 }]
28
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "mccoysguide",
3
+ "vendorUrl": "https://www.mccoysguide.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?mccoysguide\\.com/"
6
+ },
7
+ "prehideSelectors": [".cookie-container:has(#cookieSaveBtn)"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".cookie-container #cookieSaveBtn"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".cookie-container #cookieSaveBtn"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".cookie-container #cookieConsentBtn"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "click": ".cookie-container .cookie-option input:checked:not(:disabled)",
26
+ "all": true,
27
+ "optional": true
28
+ },
29
+ {
30
+ "waitForThenClick": ".cookie-container #cookieSaveBtn"
31
+ }
32
+ ],
33
+ "test": [
34
+ {
35
+ "waitForVisible": ".cookie-container",
36
+ "check": "none",
37
+ "timeout": 2000
38
+ }
39
+ ]
40
+ }
@@ -5,15 +5,15 @@
5
5
  "prehideSelectors": [".cookie-consent-banner-opt-out"],
6
6
  "detectCmp": [{ "exists": ".cookie-consent-banner-opt-out" }],
7
7
  "detectPopup": [{ "visible": ".cookie-consent-banner-opt-out" }],
8
- "optIn": [{ "waitForThenClick": ".cookie-consent-banner-opt-out__action--key-accept" }],
8
+ "optIn": [{ "waitForThenClick": ".cookie-consent-banner-opt-out__action--key-accept", "retry": 20, "retryInterval": 1000 }],
9
9
  "optOut": [
10
- { "waitForThenClick": ".cookie-consent-banner-opt-out__action--key-customize" },
10
+ { "waitForThenClick": ".cookie-consent-banner-opt-out__action--key-customize", "retry": 20, "retryInterval": 1000 },
11
11
  {
12
12
  "waitFor": [
13
13
  ".cookie-consent-banner-opt-out__modal iframe",
14
14
  ".pp-cookies-item-switch .andes-ui-switch:not(.andes-ui-switch--disabled) input"
15
15
  ],
16
- "timeout": 10000
16
+ "timeout": 30000
17
17
  },
18
18
  {
19
19
  "click": [
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "myfooddiary",
3
+ "vendorUrl": "https://www.myfooddiary.com/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(\\w+\\.)?myfooddiary\\.com/"
7
+ },
8
+ "prehideSelectors": [".cookie-banner"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": ".cookie-banner button.btn-dismiss-cookie-banner"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": ".cookie-banner button.btn-dismiss-cookie-banner"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": ".cookie-banner button.btn-dismiss-cookie-banner"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "waitForThenClick": ".cookie-banner button.btn-dismiss-cookie-banner"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "waitForVisible": ".cookie-banner",
32
+ "check": "none",
33
+ "timeout": 1000
34
+ }
35
+ ]
36
+ }
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "nationwidevehiclecontracts",
3
+ "vendorUrl": "https://www.nationwidevehiclecontracts.co.uk/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?nationwidevehiclecontracts\\.co\\.uk/"
6
+ },
7
+ "prehideSelectors": [".cookie-consent"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".cookie-consent [data-cookie-allow-all]"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".cookie-consent [data-cookie-allow-all]"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".cookie-consent [data-cookie-allow-all]"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".cookie-consent [data-cookie-popup]"
26
+ },
27
+ {
28
+ "waitForThenClick": "#modal-cookie [data-cookie-deny]",
29
+ "timeout": 5000
30
+ }
31
+ ],
32
+ "test": [
33
+ {
34
+ "cookieContains": "Nvc.CookieControl=1000"
35
+ }
36
+ ]
37
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "natural-intelligence",
3
+ "vendorUrl": "https://www.naturalint.com/",
4
+ "prehideSelectors": ["#cookiesDashboard,#cookieConsent.tc-privacy-override"],
5
+ "detectCmp": [{ "exists": "#cookiesDashboard #preferences_consent_top_modal,#cookieConsent #cookie_top_setting_btn" }],
6
+ "detectPopup": [{ "visible": "#cookiesDashboard,#cookieConsent", "check": "any" }],
7
+ "optIn": [{ "waitForThenClick": "#cookiesDashboard #submit_consent_top_modal,#cookieConsent #cookie_top_accept_btn" }],
8
+ "optOut": [
9
+ { "waitForThenClick": "#cookiesDashboard #preferences_consent_top_modal,#cookieConsent #cookie_top_setting_btn" },
10
+ { "waitForVisible": "#modalWindowContainer #save_consent_main_modal" },
11
+ { "click": "#modalWindowContainer .toggle-custom:checked + label", "all": true, "optional": true },
12
+ { "waitForThenClick": "#modalWindowContainer #save_consent_main_modal" }
13
+ ],
14
+ "test": [
15
+ {
16
+ "if": { "exists": "#cookiesDashboard" },
17
+ "then": [{ "cookieContains": "consent:false" }],
18
+ "else": [{ "waitForVisible": "#cookieConsent,#modalWindowContainer", "check": "none", "timeout": 2000 }]
19
+ }
20
+ ]
21
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "naturalnews",
3
+ "vendorUrl": "https://naturalnews.com/",
4
+ "prehideSelectors": [".PrivacyNotice:has(.PrivacyAccept)"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".PrivacyNotice .PrivacyContent .PrivacyAccept"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".PrivacyNotice .PrivacyContent .PrivacyAccept"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".PrivacyNotice .PrivacyContent .PrivacyAccept"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ".PrivacyNotice .PrivacyContent .PrivacyAccept"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "waitForVisible": ".PrivacyNotice .PrivacyContent .PrivacyAccept",
28
+ "check": "none",
29
+ "timeout": 2000
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "nfl",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?(nfl|49ers|atlantafalcons|azcardinals|baltimoreravens|bengals|buccaneers|buffalobills|chargers|chicagobears|chiefs|clevelandbrowns|colts|commanders|dallascowboys|denverbroncos|detroitlions|giants|houstontexans|jaguars|miamidolphins|neworleanssaints|newyorkjets|packers|panthers|patriots|philadelphiaeagles|raiders|seahawks|steelers|tennesseetitans|therams|vikings)\\.com/"
5
+ },
6
+ "prehideSelectors": ["#onetrust-banner-sdk"],
7
+ "detectCmp": [{ "exists": "body[class*='nfl-is-'] #onetrust-banner-sdk" }],
8
+ "detectPopup": [{ "visible": "#onetrust-banner-sdk" }],
9
+ "optIn": [
10
+ { "waitForVisible": "#onetrust-accept-btn-handler", "timeout": 5000 },
11
+ {
12
+ "any": [
13
+ { "eval": "EVAL_NFL_ONETRUST_ALLOW_ALL" },
14
+ { "waitForVisible": "#onetrust-banner-sdk", "timeout": 5000, "check": "none" },
15
+ { "click": "#onetrust-accept-btn-handler" }
16
+ ]
17
+ },
18
+ { "waitForVisible": "#onetrust-banner-sdk", "timeout": 5000, "check": "none" }
19
+ ],
20
+ "optOut": [
21
+ { "waitForVisible": "#onetrust-reject-all-handler", "timeout": 5000 },
22
+ {
23
+ "any": [
24
+ { "eval": "EVAL_NFL_ONETRUST_REJECT_ALL" },
25
+ { "waitForVisible": "#onetrust-banner-sdk", "timeout": 5000, "check": "none" },
26
+ { "click": "#onetrust-reject-all-handler" }
27
+ ]
28
+ },
29
+ { "waitForVisible": "#onetrust-banner-sdk", "timeout": 5000, "check": "none" }
30
+ ],
31
+ "test": [{ "eval": "EVAL_ONETRUST_1" }]
32
+ }
@@ -0,0 +1,41 @@
1
+ {
2
+ "name": "noon",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.noon.com/"
5
+ },
6
+ "runContext": {
7
+ "urlPattern": "^https?://(www\\.)?noon\\.com/"
8
+ },
9
+ "prehideSelectors": ["[class*=\"_wrapper_\"]:has(> [class*=\"_expandedContent_\"] #essential-cookie)"],
10
+ "detectCmp": [
11
+ {
12
+ "exists": "[class*=\"_wrapper_\"]:has(> [class*=\"_expandedContent_\"] #essential-cookie)"
13
+ }
14
+ ],
15
+ "detectPopup": [
16
+ {
17
+ "visible": "[class*=\"_wrapper_\"]:has(> [class*=\"_expandedContent_\"] #essential-cookie)"
18
+ }
19
+ ],
20
+ "optIn": [
21
+ {
22
+ "waitForThenClick": "[class*=\"_bannerContent_\"] [class*=\"_buttonCtr_\"] button[class*=\"_primary_\"]"
23
+ }
24
+ ],
25
+ "optOut": [
26
+ {
27
+ "waitForThenClick": "[class*=\"_bannerContent_\"] [class*=\"_buttonCtr_\"] button[class*=\"_secondary_\"]"
28
+ },
29
+ {
30
+ "waitForVisible": "[class*=\"_expandedContent_\"]:has(#performance-cookie)"
31
+ },
32
+ {
33
+ "click": "#performance-cookie:checked, #functional-cookie:checked, #advertising-cookie:checked",
34
+ "all": true,
35
+ "optional": true
36
+ },
37
+ {
38
+ "waitForThenClick": "button[class*=\"_saveButton_\"]"
39
+ }
40
+ ]
41
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "name": "odia.ig.com.br",
3
+ "runContext": {
4
+ "urlPattern": "^https?://odia\\.ig\\.com\\.br/"
5
+ },
6
+ "prehideSelectors": ["#policy-cookies-banner"],
7
+ "detectCmp": [{ "exists": "#policy-cookies-banner [onclick*='acceptLGPD']" }],
8
+ "detectPopup": [{ "visible": "#policy-cookies-banner" }],
9
+ "optIn": [{ "waitForThenClick": "#policy-cookies-banner [onclick*='acceptLGPD']" }],
10
+ "optOut": [{ "waitForThenClick": "#policy-cookies-banner [onclick*='acceptLGPD']" }],
11
+ "test": [{ "cookieContains": "LGPD-ACCEPTED=" }]
12
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "op-consent-manager",
3
+ "cosmetic": false,
4
+ "runContext": {
5
+ "main": true,
6
+ "frame": false
7
+ },
8
+ "prehideSelectors": ["#ocm-container.ocm-container--banner"],
9
+ "detectCmp": [{ "exists": "#ocm-container.ocm-container--banner .ocm-button--continue" }],
10
+ "detectPopup": [{ "visible": "#ocm-container.ocm-container--banner" }],
11
+ "optIn": [{ "waitForThenClick": "#ocm-container .ocm-button--accept-all" }],
12
+ "optOut": [
13
+ { "waitForThenClick": "#ocm-container .ocm-button--continue" },
14
+ { "waitForVisible": "#ocm-container.ocm-container--banner", "check": "none" }
15
+ ],
16
+ "test": [{ "cookieContains": "anoConsent=%7B%22categories%22%3A%5B1%2C0%2C0%2C0%5D" }]
17
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "opencart-google-consent-v2",
3
+ "prehideSelectors": ["#google-consent-mode"],
4
+ "detectCmp": [{ "exists": "#google-consent-mode #consent-window-accept" }],
5
+ "detectPopup": [{ "visible": "#google-consent-mode #google-consent-mode-window" }],
6
+ "optIn": [{ "waitForThenClick": "#google-consent-mode #consent-window-accept" }],
7
+ "optOut": [
8
+ {
9
+ "if": { "visible": "#google-consent-mode #consent-window-reject" },
10
+ "then": [{ "click": "#google-consent-mode #consent-window-reject" }],
11
+ "else": [
12
+ { "click": "#google-consent-mode #consent-window-customise", "optional": true },
13
+ {
14
+ "click": "#google-consent-mode-window-customise input[type=checkbox]:checked:not(:disabled)",
15
+ "all": true,
16
+ "optional": true
17
+ },
18
+ { "click": "#google-consent-mode #consent-window-accept" }
19
+ ]
20
+ }
21
+ ],
22
+ "test": [
23
+ {
24
+ "any": [{ "cookieContains": "google_consent_mode_v2=reject" }, { "cookieContains": "analytics_storage=denied" }]
25
+ }
26
+ ]
27
+ }
@@ -4,12 +4,18 @@
4
4
  "prehideSelectors": [".cc-window-wrapper:has(> .pd-cookie-banner-window)", "pandectes-cmp"],
5
5
  "detectCmp": [
6
6
  {
7
- "any": [{ "exists": ".cc-window-wrapper > .pd-cookie-banner-window" }, { "exists": ["pandectes-cmp", "dialog.notice"] }]
7
+ "any": [
8
+ { "exists": ".cc-window-wrapper > .pd-cookie-banner-window" },
9
+ { "exists": ["pandectes-cmp", "dialog.notice, dialog.preferences"] }
10
+ ]
8
11
  }
9
12
  ],
10
13
  "detectPopup": [
11
14
  {
12
- "any": [{ "visible": ".cc-window-wrapper:has(> .pd-cookie-banner-window)" }, { "visible": ["pandectes-cmp", "dialog.notice"] }]
15
+ "any": [
16
+ { "visible": ".cc-window-wrapper:has(> .pd-cookie-banner-window)" },
17
+ { "visible": ["pandectes-cmp", "dialog.notice, dialog.preferences"], "check": "any" }
18
+ ]
13
19
  }
14
20
  ],
15
21
  "optIn": [
@@ -21,7 +27,7 @@
21
27
  },
22
28
  { "hide": ".cc-window-wrapper:has(> .pd-cookie-banner-window)", "optional": true }
23
29
  ],
24
- "else": [{ "waitForThenClick": ["pandectes-cmp", "dialog.notice button.allow"] }]
30
+ "else": [{ "waitForThenClick": ["pandectes-cmp", "dialog.notice button.allow, dialog.preferences button.allow"] }]
25
31
  }
26
32
  ],
27
33
  "optOut": [
@@ -45,7 +51,10 @@
45
51
  "if": { "visible": ["pandectes-cmp", "dialog.notice button.deny"] },
46
52
  "then": [{ "waitForThenClick": ["pandectes-cmp", "dialog.notice button.deny"] }],
47
53
  "else": [
48
- { "waitForThenClick": ["pandectes-cmp", "dialog.notice button.preferences"] },
54
+ {
55
+ "if": { "exists": ["pandectes-cmp", "dialog.notice"] },
56
+ "then": [{ "waitForThenClick": ["pandectes-cmp", "dialog.notice button.preferences"] }]
57
+ },
49
58
  { "waitForVisible": ["pandectes-cmp", "dialog.preferences"] },
50
59
  {
51
60
  "if": { "exists": ["pandectes-cmp", "dialog.preferences button.deny"] },
@@ -0,0 +1,64 @@
1
+ {
2
+ "name": "paperlesspost",
3
+ "vendorUrl": "https://www.paperlesspost.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?paperlesspost\\.com/"
6
+ },
7
+ "prehideSelectors": ["[data-testid='cookie-consent-banner-notice'], [data-testid='cookie-consent-banner-eea']"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "[data-testid='cookie-consent-banner-notice'], [data-testid='cookie-consent-banner-eea']"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "[data-testid='cookie-consent-banner-notice'], [data-testid='cookie-consent-banner-eea']"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "if": {
21
+ "exists": "[data-testid='cookie-consent-banner-eea']"
22
+ },
23
+ "then": [
24
+ {
25
+ "waitForThenClick": "[data-testid='cookie-consent-banner-eea'] [data-testid='cookie-consent-accept']"
26
+ }
27
+ ],
28
+ "else": [
29
+ {
30
+ "waitForThenClick": "[data-testid='cookie-consent-banner-notice'] [data-testid='close-cookie-banner']"
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ "optOut": [
36
+ {
37
+ "if": {
38
+ "exists": "[data-testid='cookie-consent-banner-eea']"
39
+ },
40
+ "then": [
41
+ {
42
+ "waitForThenClick": "[data-testid='cookie-consent-banner-eea'] [data-testid='cookie-consent-decline']"
43
+ }
44
+ ],
45
+ "else": [
46
+ {
47
+ "waitForThenClick": "[data-testid='cookie-consent-banner-notice'] [data-testid='close-cookie-banner']"
48
+ }
49
+ ]
50
+ }
51
+ ],
52
+ "test": [
53
+ {
54
+ "any": [
55
+ {
56
+ "cookieContains": "consent_cookie=false"
57
+ },
58
+ {
59
+ "cookieContains": "hideCookiesBanner=true"
60
+ }
61
+ ]
62
+ }
63
+ ]
64
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "passenger-cookie-opt-in",
3
+ "_metadata": {
4
+ "vendorUrl": "https://passenger.tech/"
5
+ },
6
+ "prehideSelectors": [".cookie-opt-in[data-cookie-role='cookie-message']"],
7
+ "detectCmp": [{ "exists": "[data-cookie-role='cookie-message'] [data-cookie-role='close-and-disallow']" }],
8
+ "detectPopup": [{ "visible": "[data-cookie-role='cookie-message']" }],
9
+ "optIn": [{ "waitForThenClick": "[data-cookie-role='cookie-choice'] [data-cookie-role='close-and-allow']" }],
10
+ "optOut": [
11
+ { "waitForThenClick": "[data-cookie-role='cookie-choice'] [data-cookie-role='manage-settings']" },
12
+ { "waitForThenClick": "[data-cookie-role='cookie-settings'] [data-cookie-role='close-and-disallow']" }
13
+ ],
14
+ "test": [{ "cookieContains": "cookies_disallowed=true" }]
15
+ }