@duckduckgo/autoconsent 17.0.0 → 17.1.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 (115) hide show
  1. package/CHANGELOG.md +57 -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/babylist.json +23 -0
  24. package/rules/autoconsent/babylonbee.json +36 -0
  25. package/rules/autoconsent/bathnes-cookie-banner.json +31 -0
  26. package/rules/autoconsent/chairish.json +17 -0
  27. package/rules/autoconsent/chemicalbook.json +13 -0
  28. package/rules/autoconsent/chimnie-co-uk.json +21 -0
  29. package/rules/autoconsent/complianz-optin.json +5 -3
  30. package/rules/autoconsent/cookie-pref-form.json +48 -0
  31. package/rules/autoconsent/endeavorhealth.json +31 -0
  32. package/rules/autoconsent/ensighten.json +3 -3
  33. package/rules/autoconsent/fepblue-org.json +13 -0
  34. package/rules/autoconsent/fpl-com.json +34 -0
  35. package/rules/autoconsent/fuqer.json +11 -0
  36. package/rules/autoconsent/greatschools.json +13 -0
  37. package/rules/autoconsent/hamradio-com.json +13 -0
  38. package/rules/autoconsent/hubspot.json +7 -1
  39. package/rules/autoconsent/ibkr.json +16 -0
  40. package/rules/autoconsent/jetpens.json +44 -0
  41. package/rules/autoconsent/kanopy.json +88 -0
  42. package/rules/autoconsent/mainlinemenswear.json +39 -0
  43. package/rules/autoconsent/money-co-uk.json +21 -0
  44. package/rules/autoconsent/myjobquote.json +19 -0
  45. package/rules/autoconsent/northwell-edu.json +29 -0
  46. package/rules/autoconsent/nts-org-uk.json +20 -0
  47. package/rules/autoconsent/nyu-langone.json +30 -0
  48. package/rules/autoconsent/ofsted-reports-cosmetic.json +13 -0
  49. package/rules/autoconsent/optum-legal-banner.json +10 -0
  50. package/rules/autoconsent/optum.json +35 -0
  51. package/rules/autoconsent/planned-parenthood.json +17 -0
  52. package/rules/autoconsent/pornhub-compact-cookie-banner.json +1 -1
  53. package/rules/autoconsent/pornhub.json +1 -1
  54. package/rules/autoconsent/reviewsolicitors.json +41 -0
  55. package/rules/autoconsent/ring.json +1 -1
  56. package/rules/autoconsent/sankei-digital.json +37 -0
  57. package/rules/autoconsent/texas-gov.json +22 -0
  58. package/rules/autoconsent/tiresize.com.json +17 -0
  59. package/rules/autoconsent/trillian.json +10 -0
  60. package/rules/autoconsent/tyreseeker.json +44 -0
  61. package/rules/autoconsent/uhcprovider.json +13 -0
  62. package/rules/autoconsent/united-online.json +66 -0
  63. package/rules/autoconsent/unitedutilities.json +52 -0
  64. package/rules/autoconsent/uttings.co.uk.json +22 -0
  65. package/rules/autoconsent/watchfinder.json +16 -0
  66. package/rules/compact-rules.json +1 -1
  67. package/rules/rule-index.json +1 -1
  68. package/rules/rules.json +1 -1
  69. package/tests/1pmobile.spec.ts +5 -0
  70. package/tests/amasty-gdpr-hyva.spec.ts +17 -0
  71. package/tests/amazonforum.spec.ts +9 -0
  72. package/tests/babylist.spec.ts +3 -0
  73. package/tests/babylonbee.spec.ts +6 -0
  74. package/tests/bathnes-cookie-banner.spec.ts +3 -0
  75. package/tests/chairish.spec.ts +3 -0
  76. package/tests/chemicalbook.spec.ts +5 -0
  77. package/tests/chimnie-co-uk.spec.ts +3 -0
  78. package/tests/complianz-optin.spec.ts +2 -0
  79. package/tests/cookie-pref-form.spec.ts +8 -0
  80. package/tests/endeavorhealth.spec.ts +3 -0
  81. package/tests/ensighten.spec.ts +7 -1
  82. package/tests/fepblue-org.spec.ts +3 -0
  83. package/tests/fpl-com.spec.ts +3 -0
  84. package/tests/fuqer.spec.ts +3 -0
  85. package/tests/greatschools.spec.ts +3 -0
  86. package/tests/hamradio-com.spec.ts +3 -0
  87. package/tests/hubspot.spec.ts +6 -1
  88. package/tests/ibkr.spec.ts +18 -0
  89. package/tests/jetpens.spec.ts +5 -0
  90. package/tests/kanopy.spec.ts +5 -0
  91. package/tests/mainlinemenswear.spec.ts +3 -0
  92. package/tests/money-co-uk.spec.ts +3 -0
  93. package/tests/myjobquote.spec.ts +5 -0
  94. package/tests/northwell-edu.spec.ts +3 -0
  95. package/tests/nts-org-uk.spec.ts +3 -0
  96. package/tests/nyu-langone.spec.ts +3 -0
  97. package/tests/ofsted-reports-cosmetic.spec.ts +3 -0
  98. package/tests/optum-legal-banner.spec.ts +9 -0
  99. package/tests/optum.spec.ts +6 -0
  100. package/tests/planned-parenthood.spec.ts +3 -0
  101. package/tests/pornhub.spec.ts +1 -1
  102. package/tests/reviewsolicitors.spec.ts +3 -0
  103. package/tests/sankei-digital.spec.ts +9 -0
  104. package/tests/texas-gov.spec.ts +3 -0
  105. package/tests/tiresize.com.spec.ts +3 -0
  106. package/tests/trillian.spec.ts +15 -0
  107. package/tests/tyreseeker.spec.ts +3 -0
  108. package/tests/uhcprovider.spec.ts +3 -0
  109. package/tests/united-online.spec.ts +4 -0
  110. package/tests/unitedutilities.spec.ts +11 -0
  111. package/tests/uttings.co.uk.spec.ts +3 -0
  112. package/tests/watchfinder.spec.ts +3 -0
  113. package/tests-wtr/heuristics/heuristics-utils.test.ts +34 -4
  114. package/rules/generated/auto_US_interactivebrokers.com_0.json +0 -28
  115. package/tests/generated/auto_US_interactivebrokers.com_0.spec.ts +0 -3
@@ -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,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,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,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,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
+ }
@@ -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,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,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,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,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
+ }
@@ -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
+ }
@@ -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
+ }
@@ -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,41 @@
1
+ {
2
+ "name": "reviewsolicitors.co.uk",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?reviewsolicitors\\.co\\.uk/"
5
+ },
6
+ "prehideSelectors": ["#cookiePopUp", "#manageCookieSettingsPopUp"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#cookiePopUp[data-control=cookies]"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#cookiePopUp"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#accept-all-cookies-button"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "#cookiePopUp [data-bs-target='#manageCookieSettingsPopUp']"
25
+ },
26
+ {
27
+ "waitForVisible": "#decline-cookies-button"
28
+ },
29
+ {
30
+ "wait": 500
31
+ },
32
+ {
33
+ "click": "#decline-cookies-button"
34
+ }
35
+ ],
36
+ "test": [
37
+ {
38
+ "cookieContains": "cookie_consents="
39
+ }
40
+ ]
41
+ }
@@ -4,7 +4,7 @@
4
4
  "prehideSelectors": [],
5
5
  "detectCmp": [
6
6
  {
7
- "exists": ".consent-banner .consent-banner-copy"
7
+ "exists": ".consent-banner .consent--manage"
8
8
  }
9
9
  ],
10
10
  "detectPopup": [