@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,23 @@
1
+ {
2
+ "name": "jurahilfe-de",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?jurahilfe\\.de/"
5
+ },
6
+ "prehideSelectors": ["div.fixed:has(#marketingCookies)"],
7
+ "detectCmp": [{ "exists": "#marketingCookies" }],
8
+ "detectPopup": [{ "visible": "#marketingCookies" }],
9
+ "optIn": [{ "waitForThenClick": "xpath///div[.//button[@id='marketingCookies']]//button[normalize-space()='Alle akzeptieren']" }],
10
+ "optOut": [
11
+ {
12
+ "click": "#statisticCookies[aria-checked=\"true\"], #marketingCookies[aria-checked=\"true\"]",
13
+ "all": true,
14
+ "optional": true
15
+ },
16
+ { "waitForThenClick": "xpath///div[.//button[@id='marketingCookies']]//button[normalize-space()='Auswahl bestätigen']" }
17
+ ],
18
+ "test": [
19
+ { "cookieContains": "cookieChoiceDone=true" },
20
+ { "cookieContains": "acceptMarketing=false" },
21
+ { "cookieContains": "acceptStatistic=false" }
22
+ ]
23
+ }
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "justwatch.com",
3
+ "runContext": { "urlPattern": "^https?://(\\w+\\.)?justwatch\\.com/" },
3
4
  "prehideSelectors": [".consent-banner"],
4
- "detectCmp": [{ "exists": ".consent-banner .consent-banner__actions" }],
5
- "detectPopup": [{ "visible": ".consent-banner .consent-banner__actions" }],
5
+ "detectCmp": [{ "exists": ".consent-banner .consent-banner__actions button.basic-button" }],
6
+ "detectPopup": [{ "visible": ".consent-banner .consent-banner__actions button.basic-button" }],
6
7
  "optIn": [{ "click": ".consent-banner__actions button.basic-button.primary" }],
7
8
  "optOut": [
8
9
  { "click": ".consent-banner__actions button.basic-button.secondary" },
@@ -0,0 +1,88 @@
1
+ {
2
+ "name": "kanopy",
3
+ "vendorUrl": "https://www.kanopy.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?kanopy\\.com/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".content-container.gdpr-banner, .content-container.non-gdpr-banner"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".content-container.gdpr-banner, .content-container.non-gdpr-banner"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "if": {
21
+ "exists": ".gdpr-banner .allow-all-button"
22
+ },
23
+ "then": [
24
+ {
25
+ "waitForThenClick": ".gdpr-banner .allow-all-button"
26
+ }
27
+ ],
28
+ "else": [
29
+ {
30
+ "waitForThenClick": ".non-gdpr-banner .close-button"
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ "optOut": [
36
+ {
37
+ "if": {
38
+ "exists": ".gdpr-banner .customize-button"
39
+ },
40
+ "then": [
41
+ {
42
+ "waitForThenClick": ".gdpr-banner .customize-button"
43
+ }
44
+ ],
45
+ "else": [
46
+ {
47
+ "waitForThenClick": ".non-gdpr-banner .privacy-text-content button"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "waitForVisible": "[role=dialog] .confirm-choices"
53
+ },
54
+ {
55
+ "if": {
56
+ "exists": "[role=dialog] input.toggle-switch[aria-labelledby=performance]:checked"
57
+ },
58
+ "then": [
59
+ {
60
+ "click": "[role=dialog] input.toggle-switch[aria-labelledby=performance]:checked"
61
+ }
62
+ ]
63
+ },
64
+ {
65
+ "if": {
66
+ "exists": "[role=dialog] input.toggle-switch[aria-labelledby=research]:checked"
67
+ },
68
+ "then": [
69
+ {
70
+ "click": "[role=dialog] input.toggle-switch[aria-labelledby=research]:checked"
71
+ }
72
+ ]
73
+ },
74
+ {
75
+ "if": {
76
+ "exists": "[role=dialog] input.toggle-switch[aria-labelledby=remarketing]:checked"
77
+ },
78
+ "then": [
79
+ {
80
+ "click": "[role=dialog] input.toggle-switch[aria-labelledby=remarketing]:checked"
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "click": "[role=dialog] .confirm-choices"
86
+ }
87
+ ]
88
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "klimatabelle.com",
3
+ "vendorUrl": "https://klimatabelle.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?klimatabelle\\.com/"
6
+ },
7
+ "prehideSelectors": ["#cookie-notice"],
8
+ "detectCmp": [{ "exists": "#cookie-notice #close-notice" }],
9
+ "detectPopup": [{ "visible": "#cookie-notice #close-notice" }],
10
+ "optIn": [{ "waitForThenClick": "#cookie-notice #close-notice" }],
11
+ "optOut": [{ "waitForThenClick": "#cookie-notice #close-notice" }],
12
+ "test": [{ "cookieContains": "notice=true" }]
13
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "kuendigung.org",
3
+ "vendorUrl": "https://www.kuendigung.org/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?kuendigung\\.org/"
7
+ },
8
+ "prehideSelectors": ["#cookie-notice-full-consent"],
9
+ "detectCmp": [{ "exists": "#cookie-notice-full-consent .cn-accept-all-cookies" }],
10
+ "detectPopup": [{ "visible": "#cookie-notice-full-consent" }],
11
+ "optIn": [{ "waitForThenClick": "#cookie-notice-full-consent .cn-accept-all-cookies" }],
12
+ "optOut": [{ "hide": "#cookie-notice-full-consent" }],
13
+ "test": [{ "visible": "#cookie-notice-full-consent", "check": "none" }]
14
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "mainlinemenswear",
3
+ "vendorUrl": "https://www.mainlinemenswear.co.uk/",
4
+ "runContext": {
5
+ "urlPattern": "^https://(www\\.)?mainlinemenswear\\.co\\.uk/"
6
+ },
7
+ "prehideSelectors": [".c-cookie-modal"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".c-cookie-modal #cookieModal"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".c-cookie-modal #cookieModal"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".c-cookie-modal__buttons--container button[aria-label=\"Accept All Cookies\"]"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".c-cookie-modal__buttons--container button[aria-label=\"Settings\"]"
26
+ },
27
+ {
28
+ "waitForVisible": ".c-cookie-modal__options"
29
+ },
30
+ {
31
+ "click": ".c-cookie-modal__options input[role=\"switch\"]:checked:not([disabled])",
32
+ "all": true,
33
+ "optional": true
34
+ },
35
+ {
36
+ "waitForThenClick": ".c-cookie-modal__buttons--container button[aria-label=\"Save Cookie Settings\"]"
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "moebel-de-group",
3
+ "vendorUrl": "https://www.moebel.de/",
4
+ "prehideSelectors": ["dialog[data-testid=\"modal-dialog\"]:has([data-testid=\"uc-button-decline\"])"],
5
+ "detectCmp": [{ "exists": "dialog[data-testid=\"modal-dialog\"] [data-testid=\"uc-button-decline\"]" }],
6
+ "detectPopup": [{ "visible": "dialog[data-testid=\"modal-dialog\"] [data-testid=\"uc-button-decline\"]" }],
7
+ "optIn": [
8
+ { "waitForThenClick": "dialog[data-testid=\"modal-dialog\"] [data-testid=\"uc-button-accept\"]", "retry": 2, "retryInterval": 3500 }
9
+ ],
10
+ "optOut": [
11
+ {
12
+ "waitForThenClick": "dialog[data-testid=\"modal-dialog\"] [data-testid=\"uc-button-decline\"]",
13
+ "retry": 2,
14
+ "retryInterval": 3500
15
+ }
16
+ ],
17
+ "test": [
18
+ { "waitForVisible": "dialog[data-testid=\"modal-dialog\"] [data-testid=\"uc-button-decline\"]", "timeout": 4000, "check": "none" }
19
+ ]
20
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "name": "money.co.uk",
3
+ "runContext": {
4
+ "main": true,
5
+ "frame": false,
6
+ "urlPattern": "^https?://(www\\.)?money\\.co\\.uk/"
7
+ },
8
+ "prehideSelectors": ["#cookie-banner-wrapper"],
9
+ "detectCmp": [{ "exists": "#cookie-banner-wrapper #cookie_banner_save" }],
10
+ "detectPopup": [{ "visible": "#cookie-banner-wrapper #cookie_banner_save" }],
11
+ "optIn": [{ "waitForThenClick": "#cookie-banner-wrapper #cookie_banner_accept" }],
12
+ "optOut": [
13
+ {
14
+ "click": "#cookie-banner-wrapper input[type=checkbox]:checked:not(:disabled)",
15
+ "all": true,
16
+ "optional": true
17
+ },
18
+ { "waitForThenClick": "#cookie-banner-wrapper #cookie_banner_save" }
19
+ ],
20
+ "test": [{ "cookieContains": "\"marketing\":false" }]
21
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "name": "myjobquote",
3
+ "_metadata": {
4
+ "vendorUrl": "https://www.myjobquote.co.uk/"
5
+ },
6
+ "runContext": {
7
+ "urlPattern": "^https?://(www\\.)?myjobquote\\.co\\.uk/"
8
+ },
9
+ "prehideSelectors": [".cookie-new-bg"],
10
+ "detectCmp": [{ "exists": "#cookie-popup-short" }],
11
+ "detectPopup": [{ "visible": "#cookie-popup-short" }],
12
+ "optIn": [{ "waitForThenClick": "#cookie-popup-short .accept-all" }],
13
+ "optOut": [
14
+ { "waitForThenClick": "#cookie-popup-short .manage-cookies" },
15
+ { "waitForVisible": "#cookie-popup-detailed .save-settings" },
16
+ { "click": "#cookie-popup-detailed input.cookie-toggle:checked", "all": true, "optional": true },
17
+ { "click": "#cookie-popup-detailed .save-settings" }
18
+ ]
19
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "ncsoft-cookie-toast",
3
+ "vendorUrl": "https://www.nc.com/",
4
+ "prehideSelectors": ["#gCookieConfirmToast", "#gCookieConfirmDimmed"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#gCookieConfirmToast"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#gCookieConfirmToast .g-cookie-btn-deny"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#gCookieConfirmToast .g-cookie-btn-apply"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#gCookieConfirmToast .g-cookie-btn-deny"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "applyCookie=%7B%22typeArr%22%3A%5B%22NECESSARY%22%5D"
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "northwell.edu",
3
+ "vendorUrl": "https://www.northwell.edu/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(\\w+\\.)?northwell\\.edu/"
7
+ },
8
+ "prehideSelectors": ["nwhlit-gdpr-banner"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": ["nwhlit-gdpr-banner", ".nwhlit-gdpr-banner"]
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": ["nwhlit-gdpr-banner", ".nwhlit-gdpr-banner"]
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "nwhlit-gdpr-banner .nwh_footer_banner--button button"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "hide": "nwhlit-gdpr-banner"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "nts-org-uk",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?nts\\.org\\.uk/"
5
+ },
6
+ "prehideSelectors": [".cookie-control"],
7
+ "detectCmp": [{ "exists": ".cookie-control [data-cc-capture] button[name=\"save\"]" }],
8
+ "detectPopup": [{ "visible": ".cookie-control .cc-capture__message" }],
9
+ "optIn": [{ "waitForThenClick": ".cookie-control [data-cc-set-recommended]" }],
10
+ "optOut": [
11
+ { "waitForThenClick": ".cookie-control [data-expandable-trigger]" },
12
+ { "waitForVisible": ".cookie-control [data-cc-capture] button[name=\"save\"]", "timeout": 2000 },
13
+ {
14
+ "if": { "exists": ".cookie-control input[name=\"cookie_control_optin_level[]\"]:checked" },
15
+ "then": [{ "click": ".cookie-control input[name=\"cookie_control_optin_level[]\"]:checked", "all": true }]
16
+ },
17
+ { "click": ".cookie-control [data-cc-capture] button[name=\"save\"]" }
18
+ ],
19
+ "test": [{ "cookieContains": "cookie_control_optin_level=0" }]
20
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "nuxt-cookie-manager",
3
+ "prehideSelectors": [".cookie-manager .modal-mask"],
4
+ "detectCmp": [{ "exists": ".cookie-manager .modal-mask .accept-cookie-settings" }],
5
+ "detectPopup": [{ "visible": ".cookie-manager .modal-mask" }],
6
+ "optIn": [{ "waitForThenClick": ".cookie-manager .modal-mask .accept-cookie-settings" }],
7
+ "optOut": [
8
+ {
9
+ "if": { "exists": ".cookie-manager .modal-mask .decline-cookie-settings" },
10
+ "then": [{ "waitForThenClick": ".cookie-manager .modal-mask .decline-cookie-settings" }],
11
+ "else": [
12
+ {
13
+ "click": ".cookie-manager .modal-mask input[type=\"checkbox\"]:checked:not(:disabled)",
14
+ "all": true,
15
+ "optional": true
16
+ },
17
+ { "waitForThenClick": ".cookie-manager .modal-mask .save-cookie-settings" }
18
+ ]
19
+ }
20
+ ],
21
+ "test": [{ "waitForVisible": ".cookie-manager .modal-mask", "check": "none", "timeout": 2000 }]
22
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "nyu-langone",
3
+ "vendorUrl": "https://nyulangone.org/",
4
+ "prehideSelectors": ["#privacy-banner.nyuuninav--privacy-banner"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".nyuuninav--privacy-banner .nyuuninav--privacy-banner__accept-button"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".nyuuninav--privacy-banner:not(.nyuuninav--privacy-banner--hide)"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": ".nyuuninav--privacy-banner__accept-button"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": ".nyuuninav--privacy-banner__accept-button"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "privacy_banner="
28
+ }
29
+ ]
30
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "ofsted-reports-cosmetic",
3
+ "cosmetic": true,
4
+ "runContext": {
5
+ "urlPattern": "^https?://reports\\.ofsted\\.gov\\.uk/"
6
+ },
7
+ "prehideSelectors": [".cookie-banner:has(.cookie-banner__close)"],
8
+ "detectCmp": [{ "exists": ".cookie-banner .cookie-banner__close" }],
9
+ "detectPopup": [{ "visible": ".cookie-banner .cookie-banner__close" }],
10
+ "optIn": [{ "waitForThenClick": ".cookie-banner .cookie-banner__close" }],
11
+ "optOut": [{ "hide": ".cookie-banner:has(.cookie-banner__close)" }],
12
+ "test": [{ "visible": ".cookie-banner .cookie-banner__close", "check": "none" }]
13
+ }
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "om",
3
3
  "vendorUrl": "https://olli-machts.de/en/extension/cookie-manager",
4
- "prehideSelectors": [".tx-om-cookie-consent"],
4
+ "prehideSelectors": [".tx-om-cookie-consent", ".om-cookie-panel[data-omcookie-panel]"],
5
5
  "detectCmp": [
6
6
  {
7
- "exists": ".tx-om-cookie-consent .active[data-omcookie-panel]"
7
+ "exists": ".active[data-omcookie-panel]"
8
8
  }
9
9
  ],
10
10
  "detectPopup": [
11
11
  {
12
- "exists": ".tx-om-cookie-consent .active[data-omcookie-panel]"
12
+ "exists": ".active[data-omcookie-panel]"
13
13
  }
14
14
  ],
15
15
  "optIn": [
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "optum-legal-banner",
3
+ "vendorUrl": "https://www.optum.com/",
4
+ "prehideSelectors": ["#o5-legal-banner-container"],
5
+ "detectCmp": [{ "exists": "#o5-legal-banner-container .o5-legal-banner-container__close" }],
6
+ "detectPopup": [{ "visible": "#o5-legal-banner-container" }],
7
+ "optIn": [{ "waitForThenClick": "#o5-legal-banner-container .o5-legal-banner-container__close" }],
8
+ "optOut": [{ "waitForThenClick": "#o5-legal-banner-container .o5-legal-banner-container__close" }],
9
+ "test": [{ "waitForVisible": "#o5-legal-banner-container", "check": "none", "timeout": 2000 }]
10
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "optum",
3
+ "vendorUrl": "https://www.optum.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?optum\\.com/"
6
+ },
7
+ "prehideSelectors": [".o5-dynamic-alerts__container:has(a[href*=\"privacy-policy\"])"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".o5-dynamic-alerts__container:has(a[href*=\"privacy-policy\"]) .o5-dynamic-alerts__close"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".o5-dynamic-alerts__container:has(a[href*=\"privacy-policy\"]) .o5-dynamic-alerts__close"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".o5-dynamic-alerts__container:has(a[href*=\"privacy-policy\"]) .o5-dynamic-alerts__close"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".o5-dynamic-alerts__container:has(a[href*=\"privacy-policy\"]) .o5-dynamic-alerts__close"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "waitForVisible": ".o5-dynamic-alerts__container:has(a[href*=\"privacy-policy\"])",
31
+ "check": "none",
32
+ "timeout": 2000
33
+ }
34
+ ]
35
+ }
@@ -33,9 +33,8 @@
33
33
  "then": [{ "waitForThenClick": "#pandectes-banner .cc-deny" }],
34
34
  "else": [
35
35
  { "waitForThenClick": "#pandectes-banner .cc-settings" },
36
- { "waitForVisible": ".pd-cp-ui-rejectAll" },
37
- { "click": ".pd-cp-ui-rejectAll" },
38
36
  { "waitForVisible": ".pd-cp-ui-save" },
37
+ { "click": ".pd-cp-ui-rejectAll" },
39
38
  { "click": ".pd-cp-ui-save" }
40
39
  ]
41
40
  },
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "pcloud",
3
+ "vendorUrl": "https://www.pcloud.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?pcloud\\.com/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [{ "exists": ".cookie-consent-wrapper" }],
9
+ "detectPopup": [{ "visible": ".cookie-consent-wrapper" }],
10
+ "optIn": [{ "waitForThenClick": ".cookie-consent-wrapper a[color=cyan]" }],
11
+ "optOut": [
12
+ { "waitForThenClick": ".cookie-consent-wrapper a[color=transparent]" },
13
+ { "waitForVisible": "input[name=ga-cookies]" },
14
+ { "click": "input[name=ga-cookies]:checked, input[name=fbq-cookies]:checked", "all": true, "optional": true },
15
+ { "click": "[class*=CookieConsentModal__ButtonContainer] a:not(.cancel-btn)" }
16
+ ],
17
+ "test": [{ "cookieContains": "cookieconsent=0" }]
18
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "pcspecialist",
3
+ "vendorUrl": "https://www.pcspecialist.co.uk/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?pcspecialist\\.[a-z.]+/"
6
+ },
7
+ "prehideSelectors": [".cc-policy-overlay", ".cc-policy"],
8
+ "detectCmp": [{ "exists": ".cc-policy .cc-settings" }],
9
+ "detectPopup": [{ "visible": ".cc-policy" }],
10
+ "optIn": [{ "waitForThenClick": ".cc-policy .cc-accept" }],
11
+ "optOut": [{ "waitForThenClick": ".cc-policy .cc-settings" }],
12
+ "test": [{ "cookieContains": "consent=S.false-T.false" }]
13
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "planned-parenthood",
3
+ "vendorUrl": "https://www.plannedparenthood.org/",
4
+ "prehideSelectors": ["#cookieBanner"],
5
+ "detectCmp": [
6
+ { "exists": "#cookieBanner #openCookieBannerSettings" },
7
+ { "exists": "#cookieBannerSettings #CookieBannerSettingsRejectAll" }
8
+ ],
9
+ "detectPopup": [{ "visible": "#cookieBanner" }],
10
+ "optIn": [{ "waitForThenClick": "#cookieBanner #CookieBannerAllowAll" }],
11
+ "optOut": [
12
+ { "waitForThenClick": "#cookieBanner #openCookieBannerSettings" },
13
+ { "waitForVisible": "#cookieBannerSettings" },
14
+ { "waitForThenClick": "#cookieBannerSettings #CookieBannerSettingsRejectAll" }
15
+ ],
16
+ "test": [{ "cookieContains": "hpa=true" }]
17
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "name": "plumrocket-cookie-consent",
3
+ "vendorUrl": "https://plumrocket.com/magento-cookie-consent",
4
+ "prehideSelectors": [],
5
+ "detectCmp": [{ "exists": "#pr-cookie-notice #btn-cookie-allow" }],
6
+ "detectPopup": [
7
+ { "visible": "#pr-cookie-notice #btn-cookie-allow" },
8
+ { "exists": ".pr-cookie-modal:not(._show) #pr-cookie-notice", "negated": true }
9
+ ],
10
+ "optIn": [{ "waitForThenClick": "#pr-cookie-notice #btn-cookie-allow" }],
11
+ "optOut": [
12
+ {
13
+ "if": { "exists": "#pr-cookie-notice #btn-cookie-decline" },
14
+ "then": [{ "waitForThenClick": "#pr-cookie-notice #btn-cookie-decline" }],
15
+ "else": [
16
+ { "waitForThenClick": "#pr-cookie-notice .pr-cookie-setting-btn" },
17
+ { "waitForThenClick": "#pr-cookie-setting-bar .pr-actions-buttons button.decline" }
18
+ ]
19
+ }
20
+ ],
21
+ "test": [{ "cookieContains": "pr-cookie-consent=%5B%5D" }]
22
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pornhub-compact-cookie-banner",
3
3
  "runContext": {
4
- "urlPattern": "^https://(www\\.)?pornhub\\.com/"
4
+ "urlPattern": "^https://(\\w+\\.)?pornhub\\.(com|org)/"
5
5
  },
6
6
  "cosmetic": false,
7
7
  "prehideSelectors": ["#cookieBanner.cbShort"],
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pornhub.com",
3
3
  "runContext": {
4
- "urlPattern": "^https://(\\w+\\.)?pornhub\\.com/"
4
+ "urlPattern": "^https://(\\w+\\.)?pornhub\\.(com|org)/"
5
5
  },
6
6
  "cosmetic": false,
7
7
  "prehideSelectors": ["#cookieBanner #cookieBannerContent"],
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "react-cookie-consent",
3
+ "_metadata": {
4
+ "vendorUrl": "https://github.com/Mastermindzh/react-cookie-consent"
5
+ },
6
+ "prehideSelectors": [],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#rcc-decline-button"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#rcc-decline-button"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#rcc-confirm-button"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "#rcc-decline-button"
25
+ }
26
+ ],
27
+ "test": [
28
+ {
29
+ "waitForVisible": "#rcc-decline-button",
30
+ "timeout": 1000,
31
+ "check": "none"
32
+ }
33
+ ]
34
+ }