@duckduckgo/autoconsent 17.0.0 → 17.2.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 (198) hide show
  1. package/CHANGELOG.md +106 -0
  2. package/dist/addon-firefox/compact-rules.json +1 -1
  3. package/dist/addon-firefox/content.bundle.js +15 -3
  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 +15 -3
  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 +15 -3
  13. package/dist/autoconsent.esm.js +15 -3
  14. package/dist/autoconsent.playwright.js +15 -3
  15. package/dist/autoconsent.standalone.js +16 -4
  16. package/dist/heuristics.cjs.js +15 -3
  17. package/dist/heuristics.mjs +15 -3
  18. package/lib/heuristic-patterns.ts +18 -2
  19. package/package.json +1 -1
  20. package/rules/autoconsent/1pmobile.json +44 -0
  21. package/rules/autoconsent/amasty-gdpr-hyva.json +131 -0
  22. package/rules/autoconsent/amazonforum.json +86 -0
  23. package/rules/autoconsent/autoscout24.json +34 -0
  24. package/rules/autoconsent/babylist.json +23 -0
  25. package/rules/autoconsent/babylonbee.json +36 -0
  26. package/rules/autoconsent/bathnes-cookie-banner.json +31 -0
  27. package/rules/autoconsent/bigcommerce-consent-manager.json +3 -2
  28. package/rules/autoconsent/chairish.json +17 -0
  29. package/rules/autoconsent/chemicalbook.json +13 -0
  30. package/rules/autoconsent/chimnie-co-uk.json +21 -0
  31. package/rules/autoconsent/complianz-optin.json +5 -3
  32. package/rules/autoconsent/cookie-info-banner.json +33 -0
  33. package/rules/autoconsent/cookie-pref-form.json +48 -0
  34. package/rules/autoconsent/doktorabc.json +44 -0
  35. package/rules/autoconsent/dola.json +35 -0
  36. package/rules/autoconsent/dolphinfitness.json +17 -0
  37. package/rules/autoconsent/econda-pp2.json +33 -0
  38. package/rules/autoconsent/ekd-de.json +32 -0
  39. package/rules/autoconsent/endeavorhealth.json +31 -0
  40. package/rules/autoconsent/ensighten.json +3 -3
  41. package/rules/autoconsent/etracker.json +35 -0
  42. package/rules/autoconsent/fepblue-org.json +13 -0
  43. package/rules/autoconsent/foto-erhardt.json +35 -0
  44. package/rules/autoconsent/fpl-com.json +34 -0
  45. package/rules/autoconsent/fuqer.json +11 -0
  46. package/rules/autoconsent/futoncompany.json +18 -0
  47. package/rules/autoconsent/greatschools.json +13 -0
  48. package/rules/autoconsent/hamradio-com.json +13 -0
  49. package/rules/autoconsent/hubspot.json +7 -1
  50. package/rules/autoconsent/ibkr.json +16 -0
  51. package/rules/autoconsent/in2cookiemodal.json +65 -0
  52. package/rules/autoconsent/islington-council.json +16 -0
  53. package/rules/autoconsent/jetpens.json +44 -0
  54. package/rules/autoconsent/jurahilfe-de.json +23 -0
  55. package/rules/autoconsent/justwatch-com.json +3 -2
  56. package/rules/autoconsent/kanopy.json +88 -0
  57. package/rules/autoconsent/klimatabelle.com.json +13 -0
  58. package/rules/autoconsent/kuendigung.org.json +14 -0
  59. package/rules/autoconsent/mainlinemenswear.json +39 -0
  60. package/rules/autoconsent/moebel-de-group.json +20 -0
  61. package/rules/autoconsent/money-co-uk.json +21 -0
  62. package/rules/autoconsent/myjobquote.json +19 -0
  63. package/rules/autoconsent/ncsoft-cookie-toast.json +30 -0
  64. package/rules/autoconsent/northwell-edu.json +29 -0
  65. package/rules/autoconsent/nts-org-uk.json +20 -0
  66. package/rules/autoconsent/nuxt-cookie-manager.json +22 -0
  67. package/rules/autoconsent/nyu-langone.json +30 -0
  68. package/rules/autoconsent/ofsted-reports-cosmetic.json +13 -0
  69. package/rules/autoconsent/om.json +3 -3
  70. package/rules/autoconsent/optum-legal-banner.json +10 -0
  71. package/rules/autoconsent/optum.json +35 -0
  72. package/rules/autoconsent/pandectes.json +1 -2
  73. package/rules/autoconsent/pcloud.json +18 -0
  74. package/rules/autoconsent/pcspecialist.json +13 -0
  75. package/rules/autoconsent/planned-parenthood.json +17 -0
  76. package/rules/autoconsent/plumrocket-cookie-consent.json +22 -0
  77. package/rules/autoconsent/pornhub-compact-cookie-banner.json +1 -1
  78. package/rules/autoconsent/pornhub.json +1 -1
  79. package/rules/autoconsent/react-cookie-consent.json +34 -0
  80. package/rules/autoconsent/reviewsolicitors.json +41 -0
  81. package/rules/autoconsent/ring.json +1 -1
  82. package/rules/autoconsent/rittal.json +33 -0
  83. package/rules/autoconsent/sankei-digital.json +37 -0
  84. package/rules/autoconsent/scotland-police-uk.json +13 -0
  85. package/rules/autoconsent/shimano-bike.json +29 -0
  86. package/rules/autoconsent/shoezone.json +35 -0
  87. package/rules/autoconsent/sitepark-sitekit.json +27 -0
  88. package/rules/autoconsent/texas-gov.json +22 -0
  89. package/rules/autoconsent/tiresize.com.json +17 -0
  90. package/rules/autoconsent/tplink.json +50 -10
  91. package/rules/autoconsent/tradecalculator.json +49 -0
  92. package/rules/autoconsent/trillian.json +10 -0
  93. package/rules/autoconsent/tyreseeker.json +44 -0
  94. package/rules/autoconsent/uhcprovider.json +13 -0
  95. package/rules/autoconsent/unicity.json +22 -0
  96. package/rules/autoconsent/united-online.json +66 -0
  97. package/rules/autoconsent/unitedutilities.json +52 -0
  98. package/rules/autoconsent/uttings.co.uk.json +22 -0
  99. package/rules/autoconsent/vgn-de.json +53 -0
  100. package/rules/autoconsent/watchfinder.json +16 -0
  101. package/rules/autoconsent/westminster.ac.uk.json +46 -0
  102. package/rules/autoconsent/yourspares.json +39 -0
  103. package/rules/compact-rules.json +1 -1
  104. package/rules/rule-index.json +1 -1
  105. package/rules/rules.json +1 -1
  106. package/tests/1pmobile.spec.ts +5 -0
  107. package/tests/amasty-gdpr-hyva.spec.ts +17 -0
  108. package/tests/amazonforum.spec.ts +9 -0
  109. package/tests/autoscout24.spec.ts +14 -0
  110. package/tests/babylist.spec.ts +3 -0
  111. package/tests/babylonbee.spec.ts +6 -0
  112. package/tests/bathnes-cookie-banner.spec.ts +3 -0
  113. package/tests/bigcommerce-consent-manager.spec.ts +1 -0
  114. package/tests/chairish.spec.ts +3 -0
  115. package/tests/chemicalbook.spec.ts +5 -0
  116. package/tests/chimnie-co-uk.spec.ts +3 -0
  117. package/tests/complianz-optin.spec.ts +2 -0
  118. package/tests/cookie-info-banner.spec.ts +8 -0
  119. package/tests/cookie-pref-form.spec.ts +8 -0
  120. package/tests/doktorabc.spec.ts +3 -0
  121. package/tests/dola.spec.ts +5 -0
  122. package/tests/dolphinfitness.spec.ts +3 -0
  123. package/tests/econda-pp2.spec.ts +3 -0
  124. package/tests/ekd-de.spec.ts +5 -0
  125. package/tests/endeavorhealth.spec.ts +3 -0
  126. package/tests/ensighten.spec.ts +7 -1
  127. package/tests/etracker.spec.ts +8 -0
  128. package/tests/fepblue-org.spec.ts +3 -0
  129. package/tests/foto-erhardt.spec.ts +3 -0
  130. package/tests/fpl-com.spec.ts +3 -0
  131. package/tests/fuqer.spec.ts +3 -0
  132. package/tests/futoncompany.spec.ts +3 -0
  133. package/tests/greatschools.spec.ts +3 -0
  134. package/tests/hamradio-com.spec.ts +3 -0
  135. package/tests/hubspot.spec.ts +6 -1
  136. package/tests/ibkr.spec.ts +18 -0
  137. package/tests/in2cookiemodal.spec.ts +13 -0
  138. package/tests/islington-council.spec.ts +8 -0
  139. package/tests/jetpens.spec.ts +5 -0
  140. package/tests/jurahilfe-de.spec.ts +3 -0
  141. package/tests/kanopy.spec.ts +5 -0
  142. package/tests/klimatabelle.com.spec.ts +3 -0
  143. package/tests/kuendigung.org.spec.ts +3 -0
  144. package/tests/mainlinemenswear.spec.ts +3 -0
  145. package/tests/moebel-de-group.spec.ts +9 -0
  146. package/tests/money-co-uk.spec.ts +3 -0
  147. package/tests/myjobquote.spec.ts +5 -0
  148. package/tests/ncsoft-cookie-toast.spec.ts +6 -0
  149. package/tests/northwell-edu.spec.ts +3 -0
  150. package/tests/nts-org-uk.spec.ts +3 -0
  151. package/tests/nuxt-cookie-manager.spec.ts +11 -0
  152. package/tests/nyu-langone.spec.ts +3 -0
  153. package/tests/ofsted-reports-cosmetic.spec.ts +3 -0
  154. package/tests/om.spec.ts +3 -1
  155. package/tests/optum-legal-banner.spec.ts +9 -0
  156. package/tests/optum.spec.ts +6 -0
  157. package/tests/pandectes.spec.ts +6 -0
  158. package/tests/pcloud.spec.ts +5 -0
  159. package/tests/pcspecialist.spec.ts +12 -0
  160. package/tests/planned-parenthood.spec.ts +3 -0
  161. package/tests/plumrocket-cookie-consent.spec.ts +3 -0
  162. package/tests/pornhub.spec.ts +1 -1
  163. package/tests/react-cookie-consent.spec.ts +3 -0
  164. package/tests/reviewsolicitors.spec.ts +3 -0
  165. package/tests/rittal.spec.ts +6 -0
  166. package/tests/sankei-digital.spec.ts +9 -0
  167. package/tests/scotland-police-uk.spec.ts +6 -0
  168. package/tests/shimano-bike.spec.ts +6 -0
  169. package/tests/shoezone.spec.ts +3 -0
  170. package/tests/sitepark-sitekit.spec.ts +9 -0
  171. package/tests/texas-gov.spec.ts +3 -0
  172. package/tests/tiresize.com.spec.ts +3 -0
  173. package/tests/tplink.spec.ts +1 -1
  174. package/tests/tradecalculator.spec.ts +3 -0
  175. package/tests/trillian.spec.ts +15 -0
  176. package/tests/tyreseeker.spec.ts +3 -0
  177. package/tests/uhcprovider.spec.ts +3 -0
  178. package/tests/unicity.spec.ts +9 -0
  179. package/tests/united-online.spec.ts +4 -0
  180. package/tests/unitedutilities.spec.ts +11 -0
  181. package/tests/uttings.co.uk.spec.ts +3 -0
  182. package/tests/vgn-de.spec.ts +3 -0
  183. package/tests/watchfinder.spec.ts +3 -0
  184. package/tests/westminster.ac.uk.spec.ts +3 -0
  185. package/tests/yourspares.spec.ts +3 -0
  186. package/tests-wtr/heuristics/heuristics-utils.test.ts +34 -4
  187. package/rules/generated/auto_CH_moebel24.ch_fck.json +0 -40
  188. package/rules/generated/auto_DE_moebel.de_yf1.json +0 -40
  189. package/rules/generated/auto_DE_nanu-nana.de_7my.json +0 -40
  190. package/rules/generated/auto_GB_partscentre.co.uk_s70.json +0 -40
  191. package/rules/generated/auto_NO_pcsx2.net_grl.json +0 -40
  192. package/rules/generated/auto_US_interactivebrokers.com_0.json +0 -28
  193. package/tests/generated/auto_CH_moebel24.ch_fck.spec.ts +0 -2
  194. package/tests/generated/auto_DE_moebel.de_yf1.spec.ts +0 -2
  195. package/tests/generated/auto_DE_nanu-nana.de_7my.spec.ts +0 -2
  196. package/tests/generated/auto_GB_partscentre.co.uk_s70.spec.ts +0 -6
  197. package/tests/generated/auto_NO_pcsx2.net_grl.spec.ts +0 -2
  198. package/tests/generated/auto_US_interactivebrokers.com_0.spec.ts +0 -3
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "cookie-info-banner",
3
+ "prehideSelectors": ["section.cookie-info"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "section.cookie-info .js-cookie-info__decline"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "section.cookie-info.is-visible:not(.is-hidden)"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": "section.cookie-info .js-cookie-info__accept"
17
+ }
18
+ ],
19
+ "optOut": [
20
+ {
21
+ "waitForThenClick": "section.cookie-info .js-cookie-info__decline"
22
+ }
23
+ ],
24
+ "test": [
25
+ {
26
+ "cookieContains": "accepted-cookies=functional"
27
+ },
28
+ {
29
+ "cookieContains": "accepted-cookies=functional%2C",
30
+ "negated": true
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "cookie-pref-form",
3
+ "prehideSelectors": ["form.cookie-pref-form .cookie-bar"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "form.cookie-pref-form .cookie-bar .cookie-bar--action"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "form.cookie-pref-form .cookie-bar"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": "form.cookie-pref-form .cookie-bar .cookie-bar--submit"
17
+ }
18
+ ],
19
+ "optOut": [
20
+ {
21
+ "if": {
22
+ "exists": "form.cookie-pref-form .cookie-bar .cookie-bar--reject"
23
+ },
24
+ "then": [
25
+ {
26
+ "waitForThenClick": "form.cookie-pref-form .cookie-bar .cookie-bar--reject"
27
+ }
28
+ ],
29
+ "else": [
30
+ {
31
+ "waitForThenClick": "form.cookie-pref-form .show-cookie-pref"
32
+ },
33
+ {
34
+ "waitForVisible": "form.cookie-pref-form .cookie-pref-save"
35
+ },
36
+ {
37
+ "click": "form.cookie-pref-form .cookie-pref-overlay input[type=checkbox]:checked:not(:disabled)",
38
+ "all": true,
39
+ "optional": true
40
+ },
41
+ {
42
+ "waitForThenClick": "form.cookie-pref-form .cookie-pref-save"
43
+ }
44
+ ]
45
+ }
46
+ ],
47
+ "test": []
48
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "doktorabc",
3
+ "vendorUrl": "https://www.doktorabc.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?doktorabc\\.com/"
6
+ },
7
+ "prehideSelectors": ["#cookiebanner.cookieAcceptBar"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookiebanner.cookieAcceptBar #cookiebot-container"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookiebanner.cookieAcceptBar #cookiebot-container"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookiebot-container #btn_accept_cookies"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#cookiebot-container div.manage-preferences"
26
+ },
27
+ {
28
+ "waitForVisible": "#cookiePreferencesModal-card"
29
+ },
30
+ {
31
+ "click": "#cookiePreferencesModal-card input[type=checkbox][data-type]:checked",
32
+ "all": true,
33
+ "optional": true
34
+ },
35
+ {
36
+ "waitForThenClick": "#cookiePreferencesModal-card #cookieModalButton"
37
+ }
38
+ ],
39
+ "test": [
40
+ {
41
+ "cookieContains": "marketing%3Afalse"
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "dola",
3
+ "vendorUrl": "https://www.dola.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?dola\\.com/"
6
+ },
7
+ "prehideSelectors": ["div[class*=\"cookie-banner-\"]"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "div[class*=\"cookie-banner-\"] [class*=\"cookie-footer-\"]"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "div[class*=\"cookie-banner-\"] [class*=\"cookie-footer-\"]"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "div[class*=\"cookie-banner-\"] [data-testid=\"cookie_banner_notice\"]"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "div[class*=\"cookie-banner-\"] [class*=\"cookie-footer-\"] > button:not([data-testid=\"cookie_banner_notice\"])"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "waitForVisible": "div[class*=\"cookie-banner-\"]",
31
+ "timeout": 1000,
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "dolphinfitness",
3
+ "runContext": { "urlPattern": "^https?://(www\\.)?dolphinfitness\\.co\\.uk/" },
4
+ "prehideSelectors": ["#ari-nw-x"],
5
+ "detectCmp": [{ "exists": "#ari-nw-x .ari-nw-btn" }],
6
+ "detectPopup": [{ "visible": "#ari-nw-x .ari-nw-btn" }],
7
+ "optIn": [{ "waitForThenClick": "#ari-nw-x button[data-key='consent:ok']" }],
8
+ "optOut": [
9
+ { "waitForThenClick": "#ari-nw-x button.ari-opx-btn[data-key='consent:set']" },
10
+ { "waitForVisible": "#ss-su #ss-ck-a0" },
11
+ { "click": "#ss-su #ss-ck-f0" },
12
+ { "click": "#ss-su #ss-ck-s0" },
13
+ { "click": "#ss-su #ss-ck-a0" },
14
+ { "waitForThenClick": "#ss-su #ss-rl-f1-btn" }
15
+ ],
16
+ "test": [{ "exists": "#ss-ck-f0.ari-h1" }, { "exists": "#ss-ck-s0.ari-h1" }, { "exists": "#ss-ck-a0.ari-h1" }]
17
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "econda-pp2",
3
+ "vendorUrl": "https://www.econda.de/",
4
+ "cosmetic": false,
5
+ "prehideSelectors": ["#econda-pp2-banner", "#econda-pp2-banner-modal"],
6
+ "detectCmp": [
7
+ {
8
+ "exists": "#econda-pp2-banner, #econda-pp2-banner-modal"
9
+ }
10
+ ],
11
+ "detectPopup": [
12
+ {
13
+ "comment": "the banner can be a top-layer dialog, which isElementVisible() reports as hidden",
14
+ "visible": "#econda-pp2-banner-reject-all-channels-button",
15
+ "check": "any"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#econda-pp2-banner-accept-all-channels-button"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#econda-pp2-banner-reject-all-channels-button"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "econda.privacy.protection={\"profile\":{\"state\":\"DENY\""
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "ekd.de",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?ekd\\.de/"
5
+ },
6
+ "prehideSelectors": ["#huk_cookie_prefernce_panel"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#huk_cookie_prefernce_panel #EU_OPIN_REJECT"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#huk_cookie_prefernce_panel"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#huk_cookie_prefernce_panel #EU_OPIN_CANCEL"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "#huk_cookie_prefernce_panel #EU_OPIN_REJECT"
25
+ }
26
+ ],
27
+ "test": [
28
+ {
29
+ "cookieContains": "EKD_OPTIN=1"
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "endeavorhealth",
3
+ "vendorUrl": "https://www.endeavorhealth.org/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?endeavorhealth\\.org/"
6
+ },
7
+ "prehideSelectors": ["#block-eh-default-cookiebannerfixedblock"],
8
+ "detectCmp": [{ "exists": "#block-eh-default-cookiebannerfixedblock .js-cookie-alert" }],
9
+ "detectPopup": [{ "visible": "#block-eh-default-cookiebannerfixedblock .js-cookie-alert" }],
10
+ "optIn": [
11
+ {
12
+ "waitForThenClick": "#block-eh-default-cookiebannerfixedblock .js-cookie-alert .alert-close",
13
+ "retry": 2,
14
+ "retryInterval": 1000
15
+ }
16
+ ],
17
+ "optOut": [
18
+ {
19
+ "waitForThenClick": "#block-eh-default-cookiebannerfixedblock .js-cookie-alert .alert-close",
20
+ "retry": 2,
21
+ "retryInterval": 1000
22
+ }
23
+ ],
24
+ "test": [
25
+ {
26
+ "waitForVisible": "#block-eh-default-cookiebannerfixedblock .js-cookie-alert",
27
+ "check": "none",
28
+ "timeout": 2000
29
+ }
30
+ ]
31
+ }
@@ -11,7 +11,7 @@
11
11
  "any": [{ "visible": "#ensNotifyBanner[style*=block]" }, { "visible": "#ensModalWrapper[style*=block]" }]
12
12
  }
13
13
  ],
14
- "optIn": [{ "waitForThenClick": "#ensCloseBanner,#modalAcceptButton,#ensAcceptAll,#bannerAcceptButton" }],
14
+ "optIn": [{ "waitForThenClick": "#ensCloseBanner,#modalAcceptButton,#ensAcceptAll,#ensAcceptAllConsent,#bannerAcceptButton" }],
15
15
  "optOut": [
16
16
  { "wait": 500 },
17
17
  {
@@ -19,12 +19,12 @@
19
19
  "then": [
20
20
  {
21
21
  "if": {
22
- "visible": "#ensNotifyBanner #ensRejectAll,#ensNotifyBanner #rejectAll,#ensNotifyBanner #ensRejectBanner,#ensNotifyBanner .rejectAll,#ensNotifyBanner #bannerRejectButton,#ensNotifyBanner #ensRejectAds,#ensNotifyBanner #btn-accept-essential-cookies",
22
+ "visible": "#ensNotifyBanner #ensRejectAll,#ensNotifyBanner #ensRejectAllConsent,#ensNotifyBanner #rejectAll,#ensNotifyBanner #ensRejectBanner,#ensNotifyBanner .rejectAll,#ensNotifyBanner #bannerRejectButton,#ensNotifyBanner #ensRejectAds,#ensNotifyBanner #btn-accept-essential-cookies",
23
23
  "check": "any"
24
24
  },
25
25
  "then": [
26
26
  {
27
- "waitForThenClick": "#ensNotifyBanner #ensRejectAll,#ensNotifyBanner #rejectAll,#ensNotifyBanner #ensRejectBanner,#ensNotifyBanner .rejectAll,#ensNotifyBanner #bannerRejectButton,#ensNotifyBanner #ensRejectAds,#ensNotifyBanner #btn-accept-essential-cookies"
27
+ "waitForThenClick": "#ensNotifyBanner #ensRejectAll,#ensNotifyBanner #ensRejectAllConsent,#ensNotifyBanner #rejectAll,#ensNotifyBanner #ensRejectBanner,#ensNotifyBanner .rejectAll,#ensNotifyBanner #bannerRejectButton,#ensNotifyBanner #ensRejectAds,#ensNotifyBanner #btn-accept-essential-cookies"
28
28
  }
29
29
  ],
30
30
  "else": [
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "etracker",
3
+ "vendorUrl": "https://www.etracker.com/",
4
+ "prehideSelectors": ["#et-consent-overlay", "#et-consent-overlay-bg"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#et-consent-overlay button[data-editor=buttonDeny]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#et-consent-overlay button[data-editor=buttonDeny]"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#et-consent-overlay button[data-editor=buttonAccept]"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#et-consent-overlay button[data-editor=buttonDeny]"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "waitForVisible": "#et-consent-overlay",
28
+ "timeout": 3000,
29
+ "check": "none"
30
+ },
31
+ {
32
+ "cookieContains": "et_allow_cookies=0"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "fepblue.org",
3
+ "vendorUrl": "https://www.fepblue.org/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?fepblue\\.org/"
6
+ },
7
+ "prehideSelectors": [".c-cookie-notice.js-cookie-bar"],
8
+ "detectCmp": [{ "exists": ".c-cookie-notice.js-cookie-bar .c-cookie-notice__button" }],
9
+ "detectPopup": [{ "visible": ".c-cookie-notice.js-cookie-bar.show .c-cookie-notice__button" }],
10
+ "optIn": [{ "waitForThenClick": ".c-cookie-notice.js-cookie-bar .c-cookie-notice__button" }],
11
+ "optOut": [{ "waitForThenClick": ".c-cookie-notice.js-cookie-bar .c-cookie-notice__button" }],
12
+ "test": [{ "waitForVisible": ".c-cookie-notice.js-cookie-bar .c-cookie-notice__button", "check": "none", "timeout": 2000 }]
13
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "foto-erhardt",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?foto-erhardt\\.(de|com|fr)/"
5
+ },
6
+ "prehideSelectors": [],
7
+ "detectCmp": [
8
+ {
9
+ "exists": ".cmp__consent .cmp__preferences-button"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": ".cmp__consent"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": ".cmp__consent .cmp__enable-all"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": ".cmp__consent .cmp__preferences-button"
25
+ },
26
+ {
27
+ "waitForThenClick": ".cmp__service-groups__buttons button:not(.button--primary)"
28
+ }
29
+ ],
30
+ "test": [
31
+ {
32
+ "cookieContains": "C0002:0,C0003:0,C0004:0"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "fpl-com",
3
+ "vendorUrl": "https://www.fpl.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?(fpl|fplhome)\\.com/"
6
+ },
7
+ "prehideSelectors": ["#nee_fpl_cookie_policy_banner"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#nee_fpl_cookie_policy_banner"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#nee_fpl_cookie_policy_banner"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#fpl_cookie_policy_banner_close"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#fpl_cookie_policy_banner_close"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "visible": "#nee_fpl_cookie_policy_banner",
31
+ "check": "none"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "name": "fuqer",
3
+ "vendorUrl": "https://www.fuqer.com/",
4
+ "runContext": { "urlPattern": "^https?://(\\w+\\.)?fuqer\\.com/" },
5
+ "prehideSelectors": [".cookies-block"],
6
+ "detectCmp": [{ "exists": ".cookies-block button" }],
7
+ "detectPopup": [{ "visible": ".cookies-block button" }],
8
+ "optIn": [{ "waitForThenClick": ".cookies-block button", "retry": 10, "retryInterval": 500 }],
9
+ "optOut": [{ "waitForThenClick": ".cookies-block button", "retry": 10, "retryInterval": 500 }],
10
+ "test": [{ "cookieContains": "fuqer-allow-cookies=1" }]
11
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "futoncompany",
3
+ "vendorUrl": "https://www.futoncompany.co.uk/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?futoncompany\\.co\\.uk/"
6
+ },
7
+ "prehideSelectors": [".cm-custom-cookie-line"],
8
+ "detectCmp": [{ "exists": ".cm-custom-cookie-line" }],
9
+ "detectPopup": [{ "visible": ".cm-custom-cookie-line" }],
10
+ "optIn": [{ "waitForThenClick": ".cm-custom-cookie-line a.dismiss-button" }],
11
+ "optOut": [
12
+ { "waitForThenClick": ".cm-custom-cookie-line a[onclick*='fn_show_cookie_popup']" },
13
+ { "waitForVisible": "#cookie_popup form[name=cookie_settings]" },
14
+ { "click": "#cookie_popup input.consent-checkbox:checked:not([disabled])", "all": true, "optional": true },
15
+ { "click": "#cookie_popup input[type=submit][name*='save_settings']" }
16
+ ],
17
+ "test": [{ "wait": 1500 }, { "cookieContains": "consent_cookie=%7B%22ad_storage%22%3A%22denied%22" }]
18
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "greatschools",
3
+ "vendorUrl": "https://www.greatschools.org/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?greatschools\\.org/"
6
+ },
7
+ "prehideSelectors": ["#privacy-banner"],
8
+ "detectCmp": [{ "exists": "#privacy-banner #privacy-banner-close" }],
9
+ "detectPopup": [{ "visible": "#privacy-banner" }],
10
+ "optIn": [{ "waitForThenClick": "#privacy-banner #privacy-banner-close" }],
11
+ "optOut": [{ "waitForThenClick": "#privacy-banner #privacy-banner-close" }],
12
+ "test": [{ "cookieContains": "gs_privacy_accepted=true" }]
13
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "hamradio.com",
3
+ "vendorUrl": "https://www.hamradio.com/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?hamradio\\.com/"
7
+ },
8
+ "prehideSelectors": [".cookie-banner"],
9
+ "detectCmp": [{ "exists": ".cookie-banner .closeme" }],
10
+ "detectPopup": [{ "visible": ".cookie-banner" }],
11
+ "optIn": [{ "waitForThenClick": ".cookie-banner .closeme" }],
12
+ "optOut": [{ "hide": ".cookie-banner" }]
13
+ }
@@ -3,5 +3,11 @@
3
3
  "detectCmp": [{ "exists": "#hs-eu-cookie-confirmation" }],
4
4
  "detectPopup": [{ "visible": "#hs-eu-cookie-confirmation" }],
5
5
  "optIn": [{ "click": "#hs-eu-confirmation-button" }],
6
- "optOut": [{ "click": "#hs-eu-decline-button" }]
6
+ "optOut": [
7
+ {
8
+ "if": { "exists": "#hs-eu-decline-button" },
9
+ "then": [{ "click": "#hs-eu-decline-button" }],
10
+ "else": [{ "visible": "#hs-eu-close-button" }, { "click": "#hs-eu-close-button" }]
11
+ }
12
+ ]
7
13
  }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "ibkr",
3
+ "vendorUrl": "https://www.interactivebrokers.com/",
4
+ "prehideSelectors": ["#cookie-modal"],
5
+ "detectCmp": [{ "exists": "#cookie-modal #gdpr-customize-settings" }],
6
+ "detectPopup": [{ "visible": "#cookie-modal" }],
7
+ "optIn": [{ "waitForThenClick": "#cookie-modal #btn_accept_cookies" }],
8
+ "optOut": [
9
+ {
10
+ "if": { "visible": "#cookie-modal #gdpr-reject-all" },
11
+ "then": [{ "click": "#cookie-modal #gdpr-reject-all" }],
12
+ "else": [{ "click": "#cookie-modal #gdpr-customize-settings" }, { "waitForThenClick": "#cookie-modal #gdpr-save-settings" }]
13
+ }
14
+ ],
15
+ "test": [{ "cookieContains": "IB_PRIV_PREFS=1%7C1%7C1" }]
16
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "in2cookiemodal",
3
+ "vendorUrl": "https://www.in2code.de/",
4
+ "prehideSelectors": ["[data-in2-modal-root-node]"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "[data-in2-modal-root-node]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "[data-in2-modal-root-node]"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "if": {
18
+ "visible": "[data-in2-modal-root-node] .in2-modal-more-accept-button"
19
+ },
20
+ "then": [
21
+ {
22
+ "click": "[data-in2-modal-root-node] .in2-modal-more-accept-button"
23
+ }
24
+ ],
25
+ "else": [
26
+ {
27
+ "waitForThenClick": "[data-in2-modal-root-node] [data-in2-modal-accept-button]"
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ "optOut": [
33
+ {
34
+ "if": {
35
+ "visible": "[data-in2-modal-root-node] .in2-modal-deny-button"
36
+ },
37
+ "then": [
38
+ {
39
+ "click": "[data-in2-modal-root-node] .in2-modal-deny-button"
40
+ }
41
+ ],
42
+ "else": [
43
+ {
44
+ "click": "[data-in2-modal-root-node] .in2-modal-checkbox__input:checked:not(:disabled)",
45
+ "all": true,
46
+ "optional": true
47
+ },
48
+ {
49
+ "waitForThenClick": "[data-in2-modal-root-node] [data-in2-modal-save-button]"
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "waitForVisible": "[data-in2-modal-root-node]",
55
+ "check": "none",
56
+ "timeout": 2000,
57
+ "optional": true
58
+ }
59
+ ],
60
+ "test": [
61
+ {
62
+ "cookieContains": "in2cookiemodal-selection=[%22essential%22]"
63
+ }
64
+ ]
65
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "islington-council",
3
+ "prehideSelectors": [".m-cookie-banner[data-id=\"cookie-banner\"]"],
4
+ "detectCmp": [{ "exists": ".m-cookie-banner[data-id=\"cookie-banner\"] [data-id=\"cookie-manage\"]" }],
5
+ "detectPopup": [{ "visible": ".m-cookie-banner[data-id=\"cookie-banner\"]" }],
6
+ "optIn": [
7
+ { "waitFor": "#ccc-icon", "timeout": 10000 },
8
+ { "waitForThenClick": ".m-cookie-banner[data-id=\"cookie-banner\"] [data-id=\"cookie-accept\"]" }
9
+ ],
10
+ "optOut": [
11
+ { "waitFor": "#ccc-icon", "timeout": 10000 },
12
+ { "waitForThenClick": ".m-cookie-banner[data-id=\"cookie-banner\"] [data-id=\"cookie-manage\"]" },
13
+ { "waitForThenClick": "#ccc-module .ccc-reject-button" }
14
+ ],
15
+ "test": [{ "cookieContains": "\"optionalCookies\":{" }, { "cookieContains": "\"revoked\"" }]
16
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "jetpens",
3
+ "vendorUrl": "https://www.jetpens.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?jetpens\\.com/"
6
+ },
7
+ "prehideSelectors": ["#cp-wrapper"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cp-wrapper #cp-small"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cp-wrapper"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cp-small button[onclick*='setConsentAll']"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#cp-small button[onclick*='cp-large']"
26
+ },
27
+ {
28
+ "waitForVisible": "#cp-large"
29
+ },
30
+ {
31
+ "click": "#cp-large input[type=checkbox]:checked:not([disabled])",
32
+ "all": true,
33
+ "optional": true
34
+ },
35
+ {
36
+ "click": "#cp-large form > input[type=button]:not([onclick*='setConsentAll'])"
37
+ },
38
+ {
39
+ "waitForVisible": "#cp-wrapper",
40
+ "check": "none",
41
+ "timeout": 2000
42
+ }
43
+ ]
44
+ }