@duckduckgo/autoconsent 16.57.0 → 16.59.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 (204) hide show
  1. package/CHANGELOG.md +123 -0
  2. package/dist/addon-firefox/background.bundle.js +1 -1
  3. package/dist/addon-firefox/compact-rules.json +1 -1
  4. package/dist/addon-firefox/manifest.json +1 -1
  5. package/dist/addon-firefox/popup.bundle.js +1 -1
  6. package/dist/addon-firefox/rule-index.json +1 -1
  7. package/dist/addon-firefox/rules.json +1 -1
  8. package/dist/addon-mv3/background.bundle.js +1 -1
  9. package/dist/addon-mv3/compact-rules.json +1 -1
  10. package/dist/addon-mv3/manifest.json +1 -1
  11. package/dist/addon-mv3/popup.bundle.js +1 -1
  12. package/dist/addon-mv3/rule-index.json +1 -1
  13. package/dist/addon-mv3/rules.json +1 -1
  14. package/dist/autoconsent.standalone.js +1 -1
  15. package/package.json +4 -6
  16. package/rules/autoconsent/123inkt.json +9 -0
  17. package/rules/autoconsent/aemet.json +35 -0
  18. package/rules/autoconsent/animatetimes.json +34 -0
  19. package/rules/autoconsent/asahi-interactive.json +30 -0
  20. package/rules/autoconsent/avada-privacy-bar-cosmetic.json +28 -0
  21. package/rules/autoconsent/avada-privacy-bar.json +70 -0
  22. package/rules/autoconsent/axesor.json +13 -0
  23. package/rules/autoconsent/bakeca.json +13 -0
  24. package/rules/autoconsent/bleau-cookiecontrol.json +10 -0
  25. package/rules/autoconsent/blitzrechner.json +16 -0
  26. package/rules/autoconsent/brainsum-cookieconsent.json +25 -0
  27. package/rules/autoconsent/bwr-cookie.json +13 -0
  28. package/rules/autoconsent/capitalone-ca.json +13 -0
  29. package/rules/autoconsent/carpetaciudadana.json +51 -0
  30. package/rules/autoconsent/cf-gdpr-cookie-consent.json +23 -0
  31. package/rules/autoconsent/chatgpt.json +3 -3
  32. package/rules/autoconsent/chomikuj.json +13 -0
  33. package/rules/autoconsent/cksmodal.json +9 -0
  34. package/rules/autoconsent/consent-studio.json +29 -0
  35. package/rules/autoconsent/cookie-popup-cookieno.json +29 -0
  36. package/rules/autoconsent/cookie-popup-cookieok.json +25 -0
  37. package/rules/autoconsent/cookieconsent2.json +1 -1
  38. package/rules/autoconsent/cookieman.json +23 -4
  39. package/rules/autoconsent/costco.json +5 -2
  40. package/rules/autoconsent/daikin.json +10 -0
  41. package/rules/autoconsent/danskebank.json +17 -0
  42. package/rules/autoconsent/dintel.json +13 -0
  43. package/rules/autoconsent/e-grip.json +63 -0
  44. package/rules/autoconsent/eccmm.json +30 -0
  45. package/rules/autoconsent/educamadrid.json +37 -0
  46. package/rules/autoconsent/england-nhs-uk.json +18 -0
  47. package/rules/autoconsent/erdee-media.json +24 -0
  48. package/rules/autoconsent/escorteintime.json +15 -0
  49. package/rules/autoconsent/gays-cruising.json +18 -0
  50. package/rules/autoconsent/gobiernodecanarias.json +46 -0
  51. package/rules/autoconsent/gov-pl-cookies-info.json +28 -0
  52. package/rules/autoconsent/grupa-pracuj.json +73 -0
  53. package/rules/autoconsent/grupa-rmf.json +21 -0
  54. package/rules/autoconsent/gsb-cookiebanner-selection.json +12 -0
  55. package/rules/autoconsent/gwo.json +53 -0
  56. package/rules/autoconsent/hsbc-au.json +35 -0
  57. package/rules/autoconsent/ign-es.json +35 -0
  58. package/rules/autoconsent/impress-co-jp.json +10 -0
  59. package/rules/autoconsent/iworks-footer-notice.json +19 -0
  60. package/rules/autoconsent/juzaphoto.json +13 -0
  61. package/rules/autoconsent/leukhuis-nl.json +35 -0
  62. package/rules/autoconsent/lg-cookiecontrol.json +16 -0
  63. package/rules/autoconsent/libris.nl.json +19 -0
  64. package/rules/autoconsent/librus.json +21 -0
  65. package/rules/autoconsent/lineagrafica-reject.json +32 -0
  66. package/rules/autoconsent/matemaks.json +29 -0
  67. package/rules/autoconsent/mega-io.json +24 -0
  68. package/rules/autoconsent/merito.pl.json +44 -0
  69. package/rules/autoconsent/minitool.json +31 -0
  70. package/rules/autoconsent/miteco.json +41 -0
  71. package/rules/autoconsent/mobile-de.json +13 -0
  72. package/rules/autoconsent/mq-edu-au.json +26 -0
  73. package/rules/autoconsent/nowaera.json +44 -0
  74. package/rules/autoconsent/olvg.json +45 -0
  75. package/rules/autoconsent/optyczne-pl.json +28 -0
  76. package/rules/autoconsent/orbys.json +35 -0
  77. package/rules/autoconsent/payfip.json +36 -0
  78. package/rules/autoconsent/pdf24.json +48 -0
  79. package/rules/autoconsent/pekao24.json +33 -0
  80. package/rules/autoconsent/praca-pl.json +17 -0
  81. package/rules/autoconsent/pubtech.json +13 -1
  82. package/rules/autoconsent/rabobank.json +62 -0
  83. package/rules/autoconsent/remove-cookie-notice.json +18 -0
  84. package/rules/autoconsent/rijksoverheid-notification-bar.json +34 -0
  85. package/rules/autoconsent/route-inn.json +13 -0
  86. package/rules/autoconsent/sc-cookie-banner.json +29 -0
  87. package/rules/autoconsent/sedlak-gdpr-cookie.json +10 -0
  88. package/rules/autoconsent/seniorweb.json +42 -0
  89. package/rules/autoconsent/shouldianswer.json +14 -0
  90. package/rules/autoconsent/shueisha-gigaviewer.json +10 -0
  91. package/rules/autoconsent/snb.ch.json +18 -0
  92. package/rules/autoconsent/soteshop.json +29 -0
  93. package/rules/autoconsent/sujetdebac.fr.json +10 -0
  94. package/rules/autoconsent/swisscom-ecare.json +31 -0
  95. package/rules/autoconsent/tealium.json +6 -4
  96. package/rules/autoconsent/telegram-im.json +36 -0
  97. package/rules/autoconsent/thomsonlocal.com.json +10 -0
  98. package/rules/autoconsent/tinder.json +23 -0
  99. package/rules/autoconsent/todostuslibros.json +51 -0
  100. package/rules/autoconsent/turkishairlines.com.json +33 -0
  101. package/rules/autoconsent/usherbrooke.json +16 -0
  102. package/rules/autoconsent/vd-ch.json +34 -0
  103. package/rules/autoconsent/vdg-cookies.json +36 -0
  104. package/rules/autoconsent/warszawa19115.pl.json +52 -0
  105. package/rules/autoconsent/wirtualna-polska.json +38 -0
  106. package/rules/autoconsent/wojsko-polskie-pl.json +28 -0
  107. package/rules/autoconsent/xtb.json +18 -0
  108. package/rules/autoconsent/zurich-cookies-notification-banner.json +17 -0
  109. package/rules/compact-rules.json +1 -1
  110. package/rules/rule-index.json +1 -1
  111. package/rules/rules.json +1 -1
  112. package/tests/123inkt.spec.ts +5 -0
  113. package/tests/aemet.spec.ts +3 -0
  114. package/tests/animatetimes.spec.ts +3 -0
  115. package/tests/asahi-interactive.spec.ts +6 -0
  116. package/tests/avada-privacy-bar-cosmetic.spec.ts +3 -0
  117. package/tests/avada-privacy-bar.spec.ts +12 -0
  118. package/tests/axesor.spec.ts +3 -0
  119. package/tests/bakeca.spec.ts +3 -0
  120. package/tests/bleau-cookiecontrol.spec.ts +3 -0
  121. package/tests/blitzrechner.spec.ts +3 -0
  122. package/tests/brainsum-cookieconsent.spec.ts +9 -0
  123. package/tests/bwr-cookie.spec.ts +3 -0
  124. package/tests/capitalone-ca.spec.ts +3 -0
  125. package/tests/carpetaciudadana.spec.ts +6 -0
  126. package/tests/cf-gdpr-cookie-consent.spec.ts +3 -0
  127. package/tests/chatgpt.spec.ts +3 -1
  128. package/tests/chomikuj.spec.ts +3 -0
  129. package/tests/cksmodal.spec.ts +3 -0
  130. package/tests/consent-studio.spec.ts +10 -0
  131. package/tests/cookie-popup-cookieno.spec.ts +8 -0
  132. package/tests/cookie-popup-cookieok.spec.ts +9 -0
  133. package/tests/cookieconsent2.spec.ts +2 -2
  134. package/tests/cookieman.spec.ts +1 -0
  135. package/tests/costco.spec.ts +1 -1
  136. package/tests/daikin.spec.ts +3 -0
  137. package/tests/danskebank.spec.ts +12 -0
  138. package/tests/dintel.spec.ts +10 -0
  139. package/tests/e-grip.spec.ts +8 -0
  140. package/tests/eccmm.spec.ts +6 -0
  141. package/tests/educamadrid.spec.ts +7 -0
  142. package/tests/england-nhs-uk.spec.ts +3 -0
  143. package/tests/erdee-media.spec.ts +3 -0
  144. package/tests/escorteintime.spec.ts +3 -0
  145. package/tests/gays-cruising.spec.ts +3 -0
  146. package/tests/gobiernodecanarias.spec.ts +10 -0
  147. package/tests/gov-pl-cookies-info.spec.ts +3 -0
  148. package/tests/grupa-pracuj.spec.ts +8 -0
  149. package/tests/grupa-rmf.spec.ts +5 -0
  150. package/tests/gsb-cookiebanner-selection.spec.ts +7 -0
  151. package/tests/gwo.spec.ts +6 -0
  152. package/tests/hsbc-au.spec.ts +6 -0
  153. package/tests/ign-es.spec.ts +3 -0
  154. package/tests/impress-co-jp.spec.ts +8 -0
  155. package/tests/iworks-footer-notice.spec.ts +3 -0
  156. package/tests/juzaphoto.spec.ts +7 -0
  157. package/tests/leukhuis-nl.spec.ts +3 -0
  158. package/tests/lg-cookiecontrol.spec.ts +10 -0
  159. package/tests/libris.nl.spec.ts +3 -0
  160. package/tests/librus.spec.ts +6 -0
  161. package/tests/lineagrafica-reject.spec.ts +8 -0
  162. package/tests/matemaks.spec.ts +3 -0
  163. package/tests/mega-io.spec.ts +3 -0
  164. package/tests/merito.pl.spec.ts +3 -0
  165. package/tests/minitool.spec.ts +8 -0
  166. package/tests/miteco.spec.ts +8 -0
  167. package/tests/mobile-de.spec.ts +3 -0
  168. package/tests/mq-edu-au.spec.ts +3 -0
  169. package/tests/nowaera.spec.ts +3 -0
  170. package/tests/olvg.spec.ts +6 -0
  171. package/tests/optyczne-pl.spec.ts +3 -0
  172. package/tests/orbys.spec.ts +3 -0
  173. package/tests/payfip.spec.ts +3 -0
  174. package/tests/pdf24.spec.ts +3 -0
  175. package/tests/pekao24.spec.ts +3 -0
  176. package/tests/praca-pl.spec.ts +3 -0
  177. package/tests/pubtech.spec.ts +6 -4
  178. package/tests/rabobank.spec.ts +17 -0
  179. package/tests/remove-cookie-notice.spec.ts +3 -0
  180. package/tests/rijksoverheid-notification-bar.spec.ts +3 -0
  181. package/tests/route-inn.spec.ts +3 -0
  182. package/tests/sc-cookie-banner.spec.ts +12 -0
  183. package/tests/sedlak-gdpr-cookie.spec.ts +6 -0
  184. package/tests/seniorweb.spec.ts +3 -0
  185. package/tests/shouldianswer.spec.ts +8 -0
  186. package/tests/shueisha-gigaviewer.spec.ts +3 -0
  187. package/tests/snb.ch.spec.ts +3 -0
  188. package/tests/soteshop.spec.ts +3 -0
  189. package/tests/sujetdebac.fr.spec.ts +3 -0
  190. package/tests/swisscom-ecare.spec.ts +7 -0
  191. package/tests/tealium.spec.ts +6 -0
  192. package/tests/telegram-im.spec.ts +6 -0
  193. package/tests/thomsonlocal.com.spec.ts +3 -0
  194. package/tests/tinder.spec.ts +3 -0
  195. package/tests/todostuslibros.spec.ts +3 -0
  196. package/tests/turkishairlines.com.spec.ts +3 -0
  197. package/tests/usherbrooke.spec.ts +6 -0
  198. package/tests/vd-ch.spec.ts +3 -0
  199. package/tests/vdg-cookies.spec.ts +8 -0
  200. package/tests/warszawa19115.pl.spec.ts +3 -0
  201. package/tests/wirtualna-polska.spec.ts +3 -0
  202. package/tests/wojsko-polskie-pl.spec.ts +3 -0
  203. package/tests/xtb.spec.ts +3 -0
  204. package/tests/zurich-cookies-notification-banner.spec.ts +3 -0
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "rabobank",
3
+ "vendorUrl": "https://www.rabobank.com/",
4
+ "prehideSelectors": ["feature-modular-cookiebanner-variant-one .cookiebanner-container"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "feature-modular-cookiebanner-variant-one .cookiebanner-container"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "feature-modular-cookiebanner-variant-one .cookiebanner-container"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "if": {
18
+ "exists": "#modular-cookiebanner-variant-one-consent-level-button-3"
19
+ },
20
+ "then": [
21
+ {
22
+ "waitForThenClick": "#modular-cookiebanner-variant-one-consent-level-button-3",
23
+ "retry": 10,
24
+ "retryInterval": 500
25
+ }
26
+ ],
27
+ "else": [
28
+ {
29
+ "waitForThenClick": "feature-modular-cookiebanner-variant-one .cookiebanner-default-consent-button",
30
+ "retry": 10,
31
+ "retryInterval": 500
32
+ }
33
+ ]
34
+ }
35
+ ],
36
+ "optOut": [
37
+ {
38
+ "if": {
39
+ "exists": "#modular-cookiebanner-variant-one-consent-level-button-1"
40
+ },
41
+ "then": [
42
+ {
43
+ "waitForThenClick": "#modular-cookiebanner-variant-one-consent-level-button-1",
44
+ "retry": 10,
45
+ "retryInterval": 500
46
+ }
47
+ ],
48
+ "else": [
49
+ {
50
+ "waitForThenClick": "feature-modular-cookiebanner-variant-one .cookiebanner-default-consent-button",
51
+ "retry": 10,
52
+ "retryInterval": 500
53
+ }
54
+ ]
55
+ }
56
+ ],
57
+ "test": [
58
+ {
59
+ "cookieContains": "RABO_PSL=1"
60
+ }
61
+ ]
62
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "remove-cookie-notice",
3
+ "prehideSelectors": ["#cookie:has(a.remove_cookie[onclick*=\"/cookie/close\"])"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "xpath///div[@id='cookie']//a[contains(@class,'remove_cookie') and contains(@onclick,'/cookie/close') and (normalize-space(.)='OK' or normalize-space(.)='x' or normalize-space(.)='×')]"
7
+ }
8
+ ],
9
+ "detectPopup": [{ "visible": "#cookie a.remove_cookie[onclick*=\"/cookie/close\"]" }],
10
+ "optIn": [{ "waitForThenClick": "#cookie a.remove_cookie[onclick*=\"/cookie/close\"]" }],
11
+ "optOut": [
12
+ {
13
+ "waitForThenClick": "xpath///div[@id='cookie']//a[contains(@class,'remove_cookie') and contains(@onclick,'/cookie/close') and (normalize-space(.)='OK' or normalize-space(.)='x' or normalize-space(.)='×')]"
14
+ },
15
+ { "waitForVisible": "#cookie", "check": "none", "timeout": 2000 }
16
+ ],
17
+ "test": [{ "visible": "#cookie", "check": "none" }]
18
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "rijksoverheid-notification-bar",
3
+ "cosmetic": false,
4
+ "runContext": {
5
+ "main": true,
6
+ "frame": false
7
+ },
8
+ "prehideSelectors": ["#notification-bar:has(> #close-notification[aria-label=\"Sluit de cookiebanner\"])"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "#notification-bar > #close-notification[aria-label=\"Sluit de cookiebanner\"]"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "#notification-bar"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "#notification-bar > #close-notification"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "waitForThenClick": "#notification-bar > #close-notification"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "cookieContains": "cookie_notification_shown=true"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "name": "route-inn",
3
+ "vendorUrl": "https://www.route-inn.co.jp/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?(route-inn|ark-hotel)\\.co\\.jp/"
6
+ },
7
+ "prehideSelectors": [".cookie-consent"],
8
+ "detectCmp": [{ "exists": ".cookie-consent .cookie-close" }],
9
+ "detectPopup": [{ "visible": ".cookie-consent.is-show .cookie-close" }],
10
+ "optIn": [{ "waitForThenClick": ".cookie-consent .cookie-agree" }],
11
+ "optOut": [{ "waitForThenClick": ".cookie-consent .cookie-close" }],
12
+ "test": [{ "cookieContains": "cookie=true" }]
13
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "sc-cookie-banner",
3
+ "prehideSelectors": ["#scCookieBanner:has(.sc-cookie-reject)"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "#scCookieBanner .sc-cookie-reject"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "#scCookieBanner"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": "#scCookieBanner .sc-cookie-accept"
17
+ }
18
+ ],
19
+ "optOut": [
20
+ {
21
+ "waitForThenClick": "#scCookieBanner .sc-cookie-reject"
22
+ }
23
+ ],
24
+ "test": [
25
+ {
26
+ "cookieContains": "_consent=denied"
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "sedlak-gdpr-cookie",
3
+ "vendorUrl": "https://sedlak.pl/",
4
+ "prehideSelectors": ["#gdpr-cookie"],
5
+ "detectCmp": [{ "exists": "#gdpr-cookie .js-allow-required" }],
6
+ "detectPopup": [{ "visible": "#gdpr-cookie .js-allow-required" }],
7
+ "optIn": [{ "waitForThenClick": "#gdpr-cookie .js-allow-all" }],
8
+ "optOut": [{ "waitForThenClick": "#gdpr-cookie .js-allow-required" }],
9
+ "test": [{ "cookieContains": "gdpr-cookie=eyJwcmVmZXJlbmNlIjpmYWxzZSwic3RhdGlzdGljIjpmYWxzZSwibWFya2V0aW5nIjpmYWxzZX0" }]
10
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "seniorweb",
3
+ "vendorUrl": "https://www.seniorweb.nl/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?seniorweb\\.nl/"
6
+ },
7
+ "prehideSelectors": ["#cookie-info"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookie-info"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookie-info"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookie-info .button-row button.save-button:not(.btn-cta)"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#cookie-info .button-row button.btn-secondary"
26
+ },
27
+ {
28
+ "waitForVisible": "#cookie-info #no-ad-cookies"
29
+ },
30
+ {
31
+ "click": "#cookie-info #no-ad-cookies"
32
+ },
33
+ {
34
+ "waitForThenClick": "#cookie-info form button.save-button"
35
+ }
36
+ ],
37
+ "test": [
38
+ {
39
+ "cookieContains": ".sw-cookie=1"
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "shouldianswer",
3
+ "vendorUrl": "https://www.shouldianswer.com/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "main": true,
7
+ "frame": false
8
+ },
9
+ "prehideSelectors": ["footer.pageFooter #cookieBanner.cookieBanner"],
10
+ "detectCmp": [{ "exists": "footer.pageFooter #cookieBanner.cookieBanner" }],
11
+ "detectPopup": [{ "visible": "footer.pageFooter #cookieBanner.cookieBanner.visible" }],
12
+ "optIn": [{ "hide": "footer.pageFooter #cookieBanner.cookieBanner" }],
13
+ "optOut": [{ "hide": "footer.pageFooter #cookieBanner.cookieBanner" }]
14
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "shueisha-gigaviewer",
3
+ "vendorUrl": "https://gigaviewer.com/",
4
+ "prehideSelectors": [".js-top-modal-window-container"],
5
+ "detectCmp": [{ "exists": ".js-top-modal-window-container .modal-link[href*='shueisha.co.jp/privacy']" }],
6
+ "detectPopup": [{ "visible": ".js-top-modal-window-container .js-top-modal-content" }],
7
+ "optIn": [{ "waitForThenClick": ".js-top-modal-window-container button.close-modal.js-top-modal-close-button" }],
8
+ "optOut": [{ "waitForThenClick": ".js-top-modal-window-container button.close-modal.js-top-modal-close-button" }],
9
+ "test": [{ "waitForVisible": ".js-top-modal-window-container", "timeout": 1000, "check": "none" }]
10
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "snb.ch",
3
+ "vendorUrl": "https://www.snb.ch/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?snb\\.ch/"
6
+ },
7
+ "prehideSelectors": [".m-gdpr-banner", ".o-overlay--gdpr"],
8
+ "detectCmp": [{ "exists": ".m-gdpr-banner .js-m-gdpr-banner__button-manage" }],
9
+ "detectPopup": [{ "visible": ".m-gdpr-banner.state-m-gdpr-banner--visible" }],
10
+ "optIn": [{ "waitForThenClick": ".m-gdpr-banner .js-m-gdpr-banner__button-all" }],
11
+ "optOut": [
12
+ { "waitForThenClick": ".m-gdpr-banner .js-m-gdpr-banner__button-manage" },
13
+ { "waitForVisible": ".m-gdpr-settings .js-m-gdpr-settings__button-custom" },
14
+ { "click": ".m-gdpr-settings input:checked:not(:disabled)", "all": true, "optional": true },
15
+ { "click": ".m-gdpr-settings .js-m-gdpr-settings__button-custom" }
16
+ ],
17
+ "test": [{ "visible": ".m-gdpr-banner", "check": "none" }]
18
+ }
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "soteshop",
3
+ "vendorUrl": "https://www.soteshop.com/",
4
+ "prehideSelectors": ["#cookies_message", "#cookies-message-modal"],
5
+ "detectCmp": [{ "exists": "#cookies-close-deny, #cookies_frame > #cookies_close" }],
6
+ "detectPopup": [{ "visible": "#cookies-close-deny, #cookies_frame > #cookies_close", "check": "any" }],
7
+ "optIn": [
8
+ {
9
+ "if": { "exists": "#cookies-close-accept" },
10
+ "then": [{ "waitForThenClick": "#cookies-close-accept" }],
11
+ "else": [{ "click": "#cookies_frame > #cookies_close" }]
12
+ }
13
+ ],
14
+ "optOut": [
15
+ {
16
+ "if": { "exists": "#cookies-close-deny" },
17
+ "then": [{ "waitForThenClick": "#cookies-close-deny" }],
18
+ "else": [{ "click": "#cookies_frame > #cookies_close" }]
19
+ },
20
+ { "waitForVisible": "#cookies-close-deny, #cookies_frame > #cookies_close", "check": "none" }
21
+ ],
22
+ "test": [
23
+ {
24
+ "if": { "exists": "#cookies-close-deny" },
25
+ "then": [{ "cookieContains": "cookies_message_bar_hidden=true" }, { "cookieContains": "cookies_google_targeting=false" }],
26
+ "else": [{ "cookieContains": "cookies_message_hidden=true" }]
27
+ }
28
+ ]
29
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "sujetdebac.fr",
3
+ "runContext": { "urlPattern": "^https?://(www\\.)?sujetdebac\\.fr/" },
4
+ "prehideSelectors": ["#banniere_cookies"],
5
+ "detectCmp": [{ "exists": "#banniere_cookies" }],
6
+ "detectPopup": [{ "visible": "#banniere_cookies" }],
7
+ "optIn": [{ "waitForThenClick": "#banniere_cookies span[onclick]" }],
8
+ "optOut": [{ "waitForThenClick": "#banniere_cookies span[onclick]" }],
9
+ "test": [{ "visible": "#banniere_cookies", "check": "none" }]
10
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "name": "swisscom-ecare",
3
+ "prehideSelectors": [".js-consent-modal"],
4
+ "detectCmp": [{ "exists": ".js-consent-modal #validate_cookie_btn, .js-consent-modal #validate_cookie_foreign_btn" }],
5
+ "detectPopup": [{ "visible": ".js-consent-modal .modal-content" }],
6
+ "optIn": [
7
+ {
8
+ "if": { "visible": ".js-consent-modal #validate_cookie_foreign_btn" },
9
+ "then": [{ "waitForThenClick": ".js-consent-modal #validate_cookie_foreign_btn", "retry": 3, "retryInterval": 500 }],
10
+ "else": [{ "waitForThenClick": ".js-consent-modal #validate_cookie_btn", "retry": 3, "retryInterval": 500 }]
11
+ }
12
+ ],
13
+ "optOut": [
14
+ {
15
+ "if": { "visible": ".js-consent-modal #validate_cookie_foreign_btn" },
16
+ "then": [{ "waitForThenClick": ".js-consent-modal #validate_cookie_foreign_btn", "retry": 3, "retryInterval": 500 }],
17
+ "else": [
18
+ { "click": ".js-consent-modal #unfold_cookie_btn" },
19
+ { "waitForVisible": ".js-consent-modal .cookie-selection" },
20
+ {
21
+ "click": ".js-consent-modal .cookie-selection input[type=checkbox]:checked:not(:disabled)",
22
+ "all": true,
23
+ "optional": true
24
+ },
25
+ { "waitForThenClick": ".js-consent-modal #validate_cookie_btn", "retry": 3, "retryInterval": 500 }
26
+ ]
27
+ },
28
+ { "waitForVisible": ".js-consent-modal .modal-content", "check": "none" }
29
+ ],
30
+ "test": [{ "cookieContains": "_gtm_consent_prod=" }]
31
+ }
@@ -7,12 +7,14 @@
7
7
  { "eval": "EVAL_TEALIUM_1" },
8
8
  { "eval": "EVAL_TEALIUM_DONOTSELL" },
9
9
  {
10
- "if": { "exists": "#__tealiumGDPRecModal #rejectAll" },
11
- "then": [{ "waitForThenClick": "#__tealiumGDPRecModal #rejectAll" }],
10
+ "if": { "exists": "#__tealiumGDPRecModal #rejectAll,#__tealiumGDPRcpPrefs #preferences_prompt_reject_all_submit" },
11
+ "then": [
12
+ { "waitForThenClick": "#__tealiumGDPRecModal #rejectAll,#__tealiumGDPRcpPrefs #preferences_prompt_reject_all_submit" }
13
+ ],
12
14
  "else": [
13
15
  { "hide": "#__tealiumGDPRecModal,#__tealiumGDPRcpPrefs,#__tealiumImplicitmodal" },
14
16
  {
15
- "waitForThenClick": "#cm-acceptNone,.js-accept-essential-cookies,#continueWithoutAccepting,#no_consent,#consent_prompt_decline,#teal-decline-consent",
17
+ "waitForThenClick": "#cm-acceptNone,.js-accept-essential-cookies,#continueWithoutAccepting,#no_consent,#consent_prompt_decline,#teal-decline-consent,#deny_full_submit_1",
16
18
  "timeout": 1000,
17
19
  "optional": true
18
20
  }
@@ -23,6 +25,6 @@
23
25
  "test": [
24
26
  { "eval": "EVAL_TEALIUM_3" },
25
27
  { "eval": "EVAL_TEALIUM_DONOTSELL_CHECK" },
26
- { "visible": "#__tealiumGDPRecModal,#__tealiumGDPRcpPrefs", "check": "none" }
28
+ { "visible": "#__tealiumGDPRecModal,#__tealiumGDPRcpPrefs > *", "check": "none" }
27
29
  ]
28
30
  }
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "telegram-im",
3
+ "vendorUrl": "https://telegram.im/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?(telegram\\.im|telegramcn\\.org\\.cn|telegramim\\.ru)/"
6
+ },
7
+ "prehideSelectors": ["#myModal.showmodal"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#myModal.showmodal .showmodal-close"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#myModal.showmodal"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "comment": "the OK button sits inside a privacy policy link, clicking the backdrop stores consent without opening a new tab",
21
+ "waitForThenClick": "#myModal.showmodal"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "comment": "notice-only banner: acknowledge via the backdrop, the OK button would also open the privacy policy in a new tab",
27
+ "waitForThenClick": "#myModal.showmodal"
28
+ }
29
+ ],
30
+ "test": [
31
+ {
32
+ "visible": "#myModal.showmodal",
33
+ "check": "none"
34
+ }
35
+ ]
36
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "name": "thomsonlocal.com",
3
+ "runContext": { "urlPattern": "^https?://(www\\.)?thomsonlocal\\.com/" },
4
+ "prehideSelectors": ["#cookie-notification"],
5
+ "detectCmp": [{ "exists": "#cookie-notification #accept-cookie" }],
6
+ "detectPopup": [{ "visible": "#cookie-notification:not(.hide)" }],
7
+ "optIn": [{ "waitForThenClick": "#cookie-notification #accept-cookie" }],
8
+ "optOut": [{ "waitForThenClick": "#cookie-notification #accept-cookie" }],
9
+ "test": [{ "cookieContains": "cookies-accepted=true" }]
10
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "tinder",
3
+ "vendorUrl": "https://tinder.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?tinder\\.com/"
6
+ },
7
+ "prehideSelectors": ["div[role=alertdialog][data-nosnippet][aria-describedby]"],
8
+ "detectCmp": [{ "exists": "div[role=alertdialog][data-nosnippet][aria-describedby]" }],
9
+ "detectPopup": [{ "visible": "div[role=alertdialog][data-nosnippet][aria-describedby]" }],
10
+ "optIn": [
11
+ { "waitForThenClick": "div[role=alertdialog][data-nosnippet][aria-describedby] > div > div:last-child > div:last-child > button" },
12
+ {
13
+ "waitForThenClick": "div[role=dialog][data-nosnippet][aria-labelledby] > div > div:last-of-type > div > div:nth-child(1) > button"
14
+ }
15
+ ],
16
+ "optOut": [
17
+ { "waitForThenClick": "div[role=alertdialog][data-nosnippet][aria-describedby] > div > div:last-child > div:last-child > button" },
18
+ {
19
+ "waitForThenClick": "div[role=dialog][data-nosnippet][aria-labelledby] > div > div:last-of-type > div > div:nth-child(2) > button"
20
+ }
21
+ ],
22
+ "test": [{ "waitForVisible": "div[role=alertdialog][data-nosnippet][aria-describedby]", "check": "none", "timeout": 2000 }]
23
+ }
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "todostuslibros",
3
+ "vendorUrl": "https://www.todostuslibros.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?todostuslibros\\.com/"
6
+ },
7
+ "prehideSelectors": ["#cookie-compliant"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookie-compliant #saveAndAcceptCookies"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookie-compliant"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookie-compliant #accept-cookies"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#cookie-compliant #cookies-config"
26
+ },
27
+ {
28
+ "waitForVisible": "#cookie-compliant #saveAndAcceptCookies"
29
+ },
30
+ {
31
+ "if": { "exists": "#cookie-compliant #cookie_b:checked" },
32
+ "then": [{ "click": "#cookie-compliant #cookie_b" }]
33
+ },
34
+ {
35
+ "if": { "exists": "#cookie-compliant #cookie_c:checked" },
36
+ "then": [{ "click": "#cookie-compliant #cookie_c" }]
37
+ },
38
+ {
39
+ "click": "#cookie-compliant #saveAndAcceptCookies"
40
+ }
41
+ ],
42
+ "test": [
43
+ {
44
+ "cookieContains": "ALLOW_COOKIES=a"
45
+ },
46
+ {
47
+ "cookieContains": "ALLOW_COOKIES=a-",
48
+ "negated": true
49
+ }
50
+ ]
51
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "turkishairlines.com",
3
+ "vendorUrl": "https://www.turkishairlines.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?turkishairlines\\.com/"
6
+ },
7
+ "prehideSelectors": ["[class*=\"cookie-warning-wrapper\"]"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "[class*=\"cookie-warning-wrapper\"] #notAllowCookiesButton"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#notAllowCookiesButton"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#allowCookiesButton"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#notAllowCookiesButton"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "COOKIE_WARNING_REJECTED=true"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "usherbrooke",
3
+ "runContext": { "urlPattern": "^https?://(\\w+\\.)?usherbrooke\\.ca/" },
4
+ "prehideSelectors": ["#modal-consent-banner"],
5
+ "detectCmp": [{ "exists": "#modal-consent-banner #btn-edit-cookie-consent" }],
6
+ "detectPopup": [{ "visible": "#cookie-consent-banner" }],
7
+ "optIn": [{ "waitForThenClick": "#cookie-consent-banner #btn-accept-all" }],
8
+ "optOut": [
9
+ { "waitForThenClick": "#cookie-consent-banner #btn-edit-cookie-consent" },
10
+ { "waitForVisible": "#cookie-consent-dialog #btn-accept-some" },
11
+ { "if": { "exists": "#consent-analytics:checked" }, "then": [{ "click": "#consent-analytics" }] },
12
+ { "if": { "exists": "#consent-ad:checked" }, "then": [{ "click": "#consent-ad" }] },
13
+ { "waitForThenClick": "#cookie-consent-dialog #btn-accept-some", "retry": 3, "retryInterval": 600 },
14
+ { "waitForVisible": "#cookie-consent-dialog", "check": "none" }
15
+ ]
16
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "vd-ch",
3
+ "vendorUrl": "https://www.vd.ch/",
4
+ "cosmetic": false,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(\\w+\\.)?vd\\.ch/"
7
+ },
8
+ "prehideSelectors": [],
9
+ "detectCmp": [
10
+ {
11
+ "exists": ".alert-cookie #dismiss-cookie-banner-button"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": ".alert-cookie #dismiss-cookie-banner-button"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": ".alert-cookie #dismiss-cookie-banner-button"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "waitForThenClick": ".alert-cookie #dismiss-cookie-banner-button"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "cookieContains": "vd_cookie_warning=1"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "vdg-cookies",
3
+ "prehideSelectors": ["#cookie-banner[data-once~='vdg-cookies-block']"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "#cookie-banner[data-once~='vdg-cookies-block']"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "#cookie-banner[data-once~='vdg-cookies-block']"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": "#cookie-banner__accept-all"
17
+ }
18
+ ],
19
+ "optOut": [
20
+ {
21
+ "waitForThenClick": "#cookie-banner__config"
22
+ },
23
+ {
24
+ "waitForThenClick": "#cookie-banner__reject"
25
+ },
26
+ {
27
+ "waitForVisible": "#cookie-banner[data-once~='vdg-cookies-block']",
28
+ "check": "none"
29
+ }
30
+ ],
31
+ "test": [
32
+ {
33
+ "cookieContains": "%22analytics%22:false"
34
+ }
35
+ ]
36
+ }