@duckduckgo/autoconsent 16.54.0 → 16.56.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 (121) hide show
  1. package/CHANGELOG.md +75 -0
  2. package/dist/addon-firefox/compact-rules.json +1 -1
  3. package/dist/addon-firefox/manifest.json +1 -1
  4. package/dist/addon-firefox/rule-index.json +1 -1
  5. package/dist/addon-firefox/rules.json +1 -1
  6. package/dist/addon-mv3/compact-rules.json +1 -1
  7. package/dist/addon-mv3/manifest.json +1 -1
  8. package/dist/addon-mv3/rule-index.json +1 -1
  9. package/dist/addon-mv3/rules.json +1 -1
  10. package/dist/autoconsent.standalone.js +1 -1
  11. package/package.json +1 -1
  12. package/rules/autoconsent/accept-cookie-box.json +25 -0
  13. package/rules/autoconsent/amasty-gdpr.json +63 -0
  14. package/rules/autoconsent/arena-ai.json +24 -0
  15. package/rules/autoconsent/aspnet-cookieinfo.json +30 -0
  16. package/rules/autoconsent/automattic-cmp-optout.json +4 -4
  17. package/rules/autoconsent/avacy.json +15 -0
  18. package/rules/autoconsent/breuninger.json +33 -0
  19. package/rules/autoconsent/bringatrailer.json +34 -0
  20. package/rules/autoconsent/canva.json +23 -0
  21. package/rules/autoconsent/chefcookie.json +42 -0
  22. package/rules/autoconsent/ciaopeople-it.json +6 -15
  23. package/rules/autoconsent/close-cookie-notice-snippet.json +9 -0
  24. package/rules/autoconsent/cookie-bar-frame.json +9 -0
  25. package/rules/autoconsent/cookieman.json +14 -0
  26. package/rules/autoconsent/cookiepermission-cp-overlay.json +14 -0
  27. package/rules/autoconsent/dfactory-cookie-notice.json +16 -0
  28. package/rules/autoconsent/diag.pl.json +35 -0
  29. package/rules/autoconsent/eventfrog.json +39 -0
  30. package/rules/autoconsent/first-visit-notice.json +25 -0
  31. package/rules/autoconsent/forsakringskassan.se.json +33 -0
  32. package/rules/autoconsent/gear4music.json +42 -0
  33. package/rules/autoconsent/gsb-cookie-banner.json +9 -0
  34. package/rules/autoconsent/handelsbanken.json +30 -0
  35. package/rules/autoconsent/ilovepdf.json +33 -0
  36. package/rules/autoconsent/jcookie.json +25 -0
  37. package/rules/autoconsent/kamsoft-cookiesmanager.json +47 -0
  38. package/rules/autoconsent/lab-network-consent.json +30 -0
  39. package/rules/autoconsent/latrobe-edu-au.json +22 -0
  40. package/rules/autoconsent/lawwwing.json +35 -0
  41. package/rules/autoconsent/legally-ok.json +30 -0
  42. package/rules/autoconsent/midway-usa.json +4 -4
  43. package/rules/autoconsent/modelsociety.json +26 -0
  44. package/rules/autoconsent/musti.json +32 -0
  45. package/rules/autoconsent/openai.json +3 -3
  46. package/rules/autoconsent/piwik-pro.json +40 -21
  47. package/rules/autoconsent/popupsmart-cookie-notice.json +27 -0
  48. package/rules/autoconsent/pornhub.json +1 -1
  49. package/rules/autoconsent/privacylab-elmo.json +33 -0
  50. package/rules/autoconsent/r42-consent-iframe.json +38 -0
  51. package/rules/autoconsent/racv.json +23 -0
  52. package/rules/autoconsent/radboud-cookie-overlay.json +30 -0
  53. package/rules/autoconsent/seg-social.json +33 -0
  54. package/rules/autoconsent/silktide.json +16 -0
  55. package/rules/autoconsent/sitevision-cookie-consent.json +48 -0
  56. package/rules/autoconsent/sitevision-iw-cookie.json +21 -0
  57. package/rules/autoconsent/sitevision.json +14 -0
  58. package/rules/autoconsent/sl-se.json +33 -0
  59. package/rules/autoconsent/sogei-cookiebar.json +47 -0
  60. package/rules/autoconsent/spaggiari-pvw.json +31 -0
  61. package/rules/autoconsent/sportsmans.com.json +10 -0
  62. package/rules/autoconsent/tagconcierge.json +21 -2
  63. package/rules/autoconsent/txxx-network.json +31 -0
  64. package/rules/autoconsent/u-cookie-consent.json +12 -6
  65. package/rules/autoconsent/webtoffee-cookie-consent.json +45 -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/accept-cookie-box.spec.ts +9 -0
  70. package/tests/amasty-gdpr.spec.ts +11 -0
  71. package/tests/arena-ai.spec.ts +5 -0
  72. package/tests/aspnet-cookieinfo.spec.ts +3 -0
  73. package/tests/automattic-cmp-optout.spec.ts +1 -1
  74. package/tests/avacy.spec.ts +7 -0
  75. package/tests/breuninger.spec.ts +3 -0
  76. package/tests/bringatrailer.spec.ts +5 -0
  77. package/tests/canva.spec.ts +5 -0
  78. package/tests/chefcookie.spec.ts +9 -0
  79. package/tests/ciaopeople-it.spec.ts +7 -1
  80. package/tests/close-cookie-notice-snippet.spec.ts +13 -0
  81. package/tests/cookie-bar-frame.spec.ts +7 -0
  82. package/tests/cookieman.spec.ts +10 -0
  83. package/tests/cookiepermission-cp-overlay.spec.ts +3 -0
  84. package/tests/dfactory-cookie-notice.spec.ts +7 -0
  85. package/tests/diag.pl.spec.ts +3 -0
  86. package/tests/eventfrog.spec.ts +6 -0
  87. package/tests/first-visit-notice.spec.ts +7 -0
  88. package/tests/forsakringskassan.se.spec.ts +3 -0
  89. package/tests/gear4music.spec.ts +8 -0
  90. package/tests/gsb-cookie-banner.spec.ts +14 -0
  91. package/tests/handelsbanken.spec.ts +11 -0
  92. package/tests/ilovepdf.spec.ts +5 -0
  93. package/tests/jcookie.spec.ts +8 -0
  94. package/tests/kamsoft-cookiesmanager.spec.ts +8 -0
  95. package/tests/lab-network-consent.spec.ts +3 -0
  96. package/tests/latrobe-edu-au.spec.ts +3 -0
  97. package/tests/lawwwing.spec.ts +8 -0
  98. package/tests/legally-ok.spec.ts +6 -0
  99. package/tests/modelsociety.spec.ts +6 -0
  100. package/tests/musti.spec.ts +3 -0
  101. package/tests/openai.spec.ts +3 -1
  102. package/tests/piwik-pro.spec.ts +6 -0
  103. package/tests/popupsmart-cookie-notice.spec.ts +9 -0
  104. package/tests/pornhub.spec.ts +1 -1
  105. package/tests/privacylab-elmo.spec.ts +9 -0
  106. package/tests/r42-consent-iframe.spec.ts +18 -0
  107. package/tests/racv.spec.ts +3 -0
  108. package/tests/radboud-cookie-overlay.spec.ts +10 -0
  109. package/tests/seg-social.spec.ts +6 -0
  110. package/tests/silktide.spec.ts +9 -0
  111. package/tests/sitevision-cookie-consent.spec.ts +18 -0
  112. package/tests/sitevision-iw-cookie.spec.ts +10 -0
  113. package/tests/sitevision.spec.ts +9 -0
  114. package/tests/sl-se.spec.ts +3 -0
  115. package/tests/sogei-cookiebar.spec.ts +15 -0
  116. package/tests/spaggiari-pvw.spec.ts +14 -0
  117. package/tests/sportsmans.com.spec.ts +7 -0
  118. package/tests/tagconcierge.spec.ts +4 -3
  119. package/tests/txxx-network.spec.ts +10 -0
  120. package/tests/u-cookie-consent.spec.ts +3 -0
  121. package/tests/webtoffee-cookie-consent.spec.ts +20 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckduckgo/autoconsent",
3
- "version": "16.54.0",
3
+ "version": "16.56.0",
4
4
  "description": "",
5
5
  "types": "./dist/types/web.d.ts",
6
6
  "exports": {
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "accept-cookie-box",
3
+ "cosmetic": true,
4
+ "prehideSelectors": ["div[id$=\"_cookie_box\"]:has(a[onclick^=\"accept_\"][onclick*=\"_cookie_box()\"])"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "div[id$=\"_cookie_box\"] a[onclick^=\"accept_\"][onclick*=\"_cookie_box()\"]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "div[id$=\"_cookie_box\"]:has(a[onclick^=\"accept_\"][onclick*=\"_cookie_box()\"])"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "div[id$=\"_cookie_box\"] a[onclick^=\"accept_\"][onclick*=\"_cookie_box()\"]"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "hide": "div[id$=\"_cookie_box\"]:has(a[onclick^=\"accept_\"][onclick*=\"_cookie_box()\"])"
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "name": "amasty-gdpr",
3
+ "vendorUrl": "https://amasty.com/gdpr-for-magento-2.html",
4
+ "cosmetic": false,
5
+ "prehideSelectors": [],
6
+ "detectCmp": [
7
+ {
8
+ "exists": ".amgdprcookie-bar-container"
9
+ }
10
+ ],
11
+ "detectPopup": [
12
+ {
13
+ "visible": ".amgdprcookie-bar-container"
14
+ }
15
+ ],
16
+ "optIn": [
17
+ {
18
+ "waitForThenClick": ".amgdprcookie-bar-container [data-amgdprcookie-js=\"accept\"]:not([disabled])",
19
+ "timeout": 10000
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitFor": ".amgdprcookie-bar-container [data-amgdprcookie-js=\"accept\"]:not([disabled])",
25
+ "timeout": 10000
26
+ },
27
+ {
28
+ "if": {
29
+ "visible": ".amgdprcookie-bar-container [data-amgdprcookie-js=\"decline\"]"
30
+ },
31
+ "then": [
32
+ {
33
+ "waitForThenClick": ".amgdprcookie-bar-container [data-amgdprcookie-js=\"decline\"]:not([disabled])"
34
+ }
35
+ ],
36
+ "else": [
37
+ {
38
+ "click": ".amgdprcookie-bar-container [data-amgdprcookie-js=\"settings\"], .amgdprcookie-bar-container [data-amgdprcookie-js=\"custom_settings\"]"
39
+ },
40
+ {
41
+ "waitForVisible": ".amgdprcookie-settings-form"
42
+ },
43
+ {
44
+ "click": ".amgdprcookie-settings-form input.amgdprcookie-input:checked:not([disabled])",
45
+ "all": true,
46
+ "optional": true
47
+ },
48
+ {
49
+ "waitForThenClick": ".amgdprcookie-settings-form .amgdprcookie-done",
50
+ "retry": 3,
51
+ "retryInterval": 500
52
+ }
53
+ ]
54
+ }
55
+ ],
56
+ "test": [
57
+ {
58
+ "waitForVisible": ".amgdprcookie-bar-container",
59
+ "check": "none",
60
+ "timeout": 5000
61
+ }
62
+ ]
63
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "name": "arena.ai",
3
+ "vendorUrl": "https://arena.ai/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?arena\\.ai/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [{ "exists": "xpath///div[@role='dialog'][.//h2[normalize-space(.)='This website uses cookies']]" }],
9
+ "detectPopup": [{ "visible": "xpath///div[@role='dialog'][.//h2[normalize-space(.)='This website uses cookies']]" }],
10
+ "optIn": [
11
+ {
12
+ "waitForThenClick": "xpath///div[@role='dialog'][.//h2[normalize-space(.)='This website uses cookies']]//button[normalize-space(.)='Accept Cookies']"
13
+ }
14
+ ],
15
+ "optOut": [
16
+ {
17
+ "waitForThenClick": "xpath///div[@role='dialog'][.//h2[normalize-space(.)='This website uses cookies']]//button[normalize-space(.)='Manage Cookies']"
18
+ },
19
+ { "waitForVisible": "[role='dialog'] button[role='switch']#advertising" },
20
+ { "click": "[role='dialog'] button[role='switch'][aria-checked='true']", "all": true, "optional": true },
21
+ { "waitForThenClick": "xpath///div[@role='dialog'][.//button[@role='switch']]//button[normalize-space(.)='Save Preferences']" }
22
+ ],
23
+ "test": [{ "cookieContains": "\"advertising\":false" }]
24
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "aspnet-cookieinfo",
3
+ "cosmetic": false,
4
+ "prehideSelectors": ["#divCookieInfo"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#divCookieInfo #ctl00_CookieInfo_btnLinkNO"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#divCookieInfo"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#divCookieInfo #ctl00_CookieInfo_btnLink"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#divCookieInfo #ctl00_CookieInfo_btnLinkNO"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": " - OFF - "
28
+ }
29
+ ]
30
+ }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "automattic-cmp-optout",
3
- "prehideSelectors": ["form[class*=\"cookie-banner\"][method=\"post\"]"],
4
- "detectCmp": [{ "exists": "form[class*=\"cookie-banner\"][method=\"post\"]" }],
5
- "detectPopup": [{ "visible": "form[class*=\"cookie-banner\"][method=\"post\"]" }],
3
+ "prehideSelectors": ["form[class*=\"a8c-cookie-banner\"][method=\"post\"]"],
4
+ "detectCmp": [{ "exists": "form[class*=\"a8c-cookie-banner\"][method=\"post\"]" }],
5
+ "detectPopup": [{ "visible": "form[class*=\"a8c-cookie-banner\"][method=\"post\"]" }],
6
6
  "optIn": [{ "click": "a[class*=\"accept-all-button\"]" }],
7
7
  "optOut": [
8
8
  {
9
- "click": "form[class*=\"cookie-banner\"] div[class*=\"simple-options\"] a[class*=\"customize-button\"]"
9
+ "click": "form[class*=\"a8c-cookie-banner\"] div[class*=\"simple-options\"] a[class*=\"customize-button\"]"
10
10
  },
11
11
  {
12
12
  "waitForThenClick": "input[type=checkbox][checked]:not([disabled])",
@@ -0,0 +1,15 @@
1
+ {
2
+ "name": "avacy",
3
+ "vendorUrl": "https://avacy.eu/",
4
+ "prehideSelectors": [".as-oil", ".AvacyBanner"],
5
+ "detectCmp": [{ "exists": ".as-oil, .AvacyBanner" }],
6
+ "detectPopup": [{ "visible": ".as-oil, .AvacyBanner", "check": "any" }],
7
+ "optIn": [{ "waitForThenClick": ".as-oil .as-js-optin, .AvacyBanner .as-js-optin, .AvacyBanner .as-js-accept-all" }],
8
+ "optOut": [
9
+ {
10
+ "if": { "visible": ".as-oil .as-js-reject-all, .AvacyBanner .as-js-reject-all", "check": "any" },
11
+ "then": [{ "waitForThenClick": ".as-oil .as-js-reject-all, .AvacyBanner .as-js-reject-all" }],
12
+ "else": [{ "waitForThenClick": ".as-oil .as-js-close-banner, .AvacyBanner .as-js-close-banner" }]
13
+ }
14
+ ]
15
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "breuninger",
3
+ "vendorUrl": "https://www.breuninger.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https://(www\\.)?breuninger\\.com/"
6
+ },
7
+ "prehideSelectors": [".keks-privacy-layer"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".keks-privacy-layer #cube-cmp-reject-all"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".keks-privacy-layer[open]"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".keks-privacy-layer .keks-accept-all"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".keks-privacy-layer #cube-cmp-reject-all"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "acceptedCategories%22%3A%5B%22REQRD%22%5D"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "bringatrailer",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?bringatrailer\\.com/"
5
+ },
6
+ "detectCmp": [
7
+ {
8
+ "exists": "#banner-terms-dismiss"
9
+ },
10
+ {
11
+ "cookieContains": "\"haveConsent\":true"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "#banner-terms"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "#banner-terms-dismiss"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "waitForThenClick": "#banner-terms-dismiss"
27
+ }
28
+ ],
29
+ "test": [
30
+ {
31
+ "cookieContains": "dismissedTermsNotice"
32
+ }
33
+ ]
34
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "canva",
3
+ "vendorUrl": "https://www.canva.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?canva\\.com/"
6
+ },
7
+ "prehideSelectors": ["[role=\"dialog\"][aria-modal=\"false\"]:has(a[data-anchor-id=\"cookie-policy\"])"],
8
+ "detectCmp": [{ "exists": "[role=\"dialog\"][aria-modal=\"false\"]:has(a[data-anchor-id=\"cookie-policy\"])" }],
9
+ "detectPopup": [{ "visible": "[role=\"dialog\"][aria-modal=\"false\"]:has(a[data-anchor-id=\"cookie-policy\"])" }],
10
+ "optIn": [
11
+ { "waitForThenClick": "[role=\"dialog\"][aria-modal=\"false\"]:has(a[data-anchor-id=\"cookie-policy\"]) button:first-child" }
12
+ ],
13
+ "optOut": [
14
+ { "waitForThenClick": "[role=\"dialog\"][aria-modal=\"false\"]:has(a[data-anchor-id=\"cookie-policy\"]) button:last-child" },
15
+ {
16
+ "waitForThenClick": "div:has(> h3):has(> p a[data-anchor-id=\"cookie-policy\"]) + div > button:last-child"
17
+ },
18
+ {
19
+ "waitForThenClick": "div:has(> h3):has(> p a[data-anchor-id=\"cookie-policy\"]) ~ div:last-child > button:only-child"
20
+ }
21
+ ],
22
+ "test": [{ "wait": 1000 }, { "cookieContains": "CTC=" }]
23
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "chefcookie",
3
+ "vendorUrl": "https://github.com/vielhuber/chefcookie",
4
+ "prehideSelectors": [".chefcookie"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": ".chefcookie .chefcookie__buttons"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": ".chefcookie .chefcookie__box"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "if": {
18
+ "exists": ".chefcookie a[href=\"#chefcookie__accept_all\"]"
19
+ },
20
+ "then": [
21
+ {
22
+ "waitForThenClick": ".chefcookie a[href=\"#chefcookie__accept_all\"]"
23
+ }
24
+ ],
25
+ "else": [
26
+ {
27
+ "waitForThenClick": ".chefcookie .chefcookie__buttons a[href=\"#chefcookie__accept\"]"
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ "optOut": [
33
+ {
34
+ "waitForThenClick": ".chefcookie .chefcookie__buttons a[href=\"#chefcookie__decline\"]"
35
+ }
36
+ ],
37
+ "test": [
38
+ {
39
+ "cookieContains": "hide_prompt=1"
40
+ }
41
+ ]
42
+ }
@@ -1,18 +1,9 @@
1
1
  {
2
2
  "name": "ciaopeople.it",
3
- "prehideSelectors": ["#cp-gdpr-choices"],
4
- "detectCmp": [{ "exists": "#cp-gdpr-choices" }],
5
- "detectPopup": [{ "visible": "#cp-gdpr-choices" }],
6
- "optIn": [{ "waitForThenClick": ".gdpr-btm__right > button:nth-child(2)" }],
7
- "optOut": [
8
- { "waitForThenClick": ".gdpr-top-content > button" },
9
- { "waitFor": ".gdpr-top-back" },
10
- { "waitForThenClick": ".gdpr-btm__right > button:nth-child(1)" }
11
- ],
12
- "test": [
13
- {
14
- "visible": "#cp-gdpr-choices",
15
- "check": "none"
16
- }
17
- ]
3
+ "prehideSelectors": [".gdpr-modal:has(img[src*=\".ciaopeople.it/\"])"],
4
+ "detectCmp": [{ "exists": ".gdpr-modal .gdpr-modal__box-top-sx img[src*=\".ciaopeople.it/\"]" }],
5
+ "detectPopup": [{ "visible": ".gdpr-modal .gdpr-modal__box" }],
6
+ "optIn": [{ "waitForThenClick": ".gdpr-modal__box-bottom-dx > button.gdpr-btn--icon" }],
7
+ "optOut": [{ "waitForThenClick": ".gdpr-modal__box-top-dx > button" }],
8
+ "test": [{ "waitForVisible": ".gdpr-modal .gdpr-modal__box", "check": "none", "timeout": 5000 }]
18
9
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "close-cookie-notice-snippet",
3
+ "cosmetic": true,
4
+ "prehideSelectors": ["#cookie-notice:has(.cookie-notice-close[onclick^='closeCookieNotice'])"],
5
+ "detectCmp": [{ "exists": "#cookie-notice .cookie-notice-close[onclick^='closeCookieNotice']" }],
6
+ "detectPopup": [{ "visible": "#cookie-notice:has(.cookie-notice-close[onclick^='closeCookieNotice'])" }],
7
+ "optIn": [{ "waitForThenClick": "#cookie-notice .cookie-notice-close[onclick^='closeCookieNotice']" }],
8
+ "optOut": [{ "hide": "#cookie-notice:has(.cookie-notice-close[onclick^='closeCookieNotice'])" }]
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "cookie-bar-frame",
3
+ "prehideSelectors": ["#cookie-bar"],
4
+ "detectCmp": [{ "exists": "#cookie-bar .cookie-bar-frame #decline" }],
5
+ "detectPopup": [{ "visible": "#cookie-bar .cookie-bar-frame" }],
6
+ "optIn": [{ "waitForThenClick": "#cookie-bar .cookie-bar-frame #accept-all" }],
7
+ "optOut": [{ "waitForThenClick": "#cookie-bar .cookie-bar-frame #decline" }],
8
+ "test": [{ "cookieContains": "cookies-state=decline" }]
9
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "cookieman",
3
+ "_metadata": { "vendorUrl": "https://extensions.typo3.org/extension/cookieman" },
4
+ "runContext": { "main": true, "frame": false },
5
+ "prehideSelectors": ["#cookieman-modal"],
6
+ "detectCmp": [{ "exists": "#cookieman-modal [data-cookieman-accept-none]" }],
7
+ "detectPopup": [{ "visible": "#cookieman-modal [data-cookieman-accept-none]" }],
8
+ "optIn": [{ "waitForThenClick": "#cookieman-modal [data-cookieman-accept-all]" }],
9
+ "optOut": [{ "waitForThenClick": "#cookieman-modal [data-cookieman-accept-none]", "retry": 3, "retryInterval": 500 }],
10
+ "test": [
11
+ { "cookieContains": "CookieConsent=" },
12
+ { "waitForVisible": "#cookieman-modal [data-cookieman-accept-none]", "timeout": 2000, "check": "none" }
13
+ ]
14
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "cookiepermission-cp-overlay",
3
+ "cosmetic": false,
4
+ "runContext": {
5
+ "main": true,
6
+ "frame": false
7
+ },
8
+ "prehideSelectors": ["#cp-overlay"],
9
+ "detectCmp": [{ "exists": "#cp-overlay #cp-no a" }],
10
+ "detectPopup": [{ "visible": "#cp-overlay" }],
11
+ "optIn": [{ "waitForThenClick": "#cp-overlay #cp-yes a" }],
12
+ "optOut": [{ "waitForThenClick": "#cp-overlay #cp-no a" }, { "waitForVisible": "#cp-overlay", "check": "none" }],
13
+ "test": [{ "cookieContains": "cookiepermission=no" }]
14
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "dfactory-cookie-notice",
3
+ "vendorUrl": "https://wordpress.org/plugins/cookie-notice/",
4
+ "prehideSelectors": ["#cookie-notice"],
5
+ "detectCmp": [{ "exists": "#cookie-notice :is(#cn-refuse-cookie, #cn-close-notice)" }],
6
+ "detectPopup": [{ "visible": "#cookie-notice.cookie-notice-visible #cn-notice-buttons" }],
7
+ "optIn": [{ "waitForThenClick": "#cookie-notice #cn-accept-cookie" }],
8
+ "optOut": [
9
+ {
10
+ "if": { "exists": "#cookie-notice #cn-refuse-cookie" },
11
+ "then": [{ "waitForThenClick": "#cookie-notice #cn-refuse-cookie" }],
12
+ "else": [{ "waitForThenClick": "#cookie-notice #cn-close-notice" }]
13
+ }
14
+ ],
15
+ "test": [{ "cookieContains": "cookie_notice_accepted=false" }]
16
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "diag.pl",
3
+ "vendorUrl": "https://diag.pl/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?diag\\.pl/"
6
+ },
7
+ "prehideSelectors": [],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".MuiDialog-root [role=dialog] button[aria-label^=\"Odrzuć wszystkie i zamknij popup\"]"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".MuiDialog-root [role=dialog] button[aria-label^=\"Odrzuć wszystkie i zamknij popup\"]"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".MuiDialog-root [role=dialog] button[aria-label^=\"Zaakceptuj i zamknij popup\"]"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".MuiDialog-root [role=dialog] button[aria-label^=\"Odrzuć wszystkie i zamknij popup\"]"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "waitForVisible": ".MuiDialog-root [role=dialog] button[aria-label^=\"Odrzuć wszystkie i zamknij popup\"]",
31
+ "check": "none",
32
+ "timeout": 3000
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "eventfrog",
3
+ "vendorUrl": "https://eventfrog.ch/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?eventfrog\\.(ch|de|at)/"
6
+ },
7
+ "prehideSelectors": ["#tf-modal-container:has(.cookie-modal__footer)"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#tf-modal-container .cookie-modal__footer .js-nl-modal-decline"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#tf-modal-container .cookie-modal__footer"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#tf-modal-container .cookie-modal__footer .js-nl-modal-confirm"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForVisible": "#tf-modal-container .cookie-modal__footer .js-nl-modal-decline"
26
+ },
27
+ {
28
+ "wait": 500
29
+ },
30
+ {
31
+ "click": "#tf-modal-container .cookie-modal__footer .js-nl-modal-decline"
32
+ }
33
+ ],
34
+ "test": [
35
+ {
36
+ "cookieContains": "efrg_v1_tracking_full=0"
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "first-visit-notice",
3
+ "cosmetic": true,
4
+ "prehideSelectors": ["#first-visit.first-visit"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#first-visit.first-visit a.js-first"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#first-visit.first-visit"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#first-visit a.js-first"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "hide": "#first-visit.first-visit"
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "forsakringskassan.se",
3
+ "vendorUrl": "https://www.forsakringskassan.se/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?forsakringskassan\\.se/"
6
+ },
7
+ "prehideSelectors": [".fk-cookie-warning"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": ".fk-cookie-warning .cookie-warning-content"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": ".fk-cookie-warning .cookie-warning-content"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": ".fk-cookie-warning .cookie-warning-content button:nth-of-type(1)"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": ".fk-cookie-warning .cookie-warning-content button:nth-of-type(2)"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "fk_hide_cookie_warning=true"
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "gear4music",
3
+ "vendorUrl": "https://www.gear4music.com/",
4
+ "runContext": {
5
+ "main": true,
6
+ "frame": false
7
+ },
8
+ "prehideSelectors": ["#cookieConsentWidgetDiv .cookie-banner"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": "#cookieConsentWidgetDiv #banner-cookie-consent-reject-all"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": "#cookieConsentWidgetDiv .cookie-banner"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitForThenClick": "#banner-cookie-consent-eu-allow-all"
22
+ }
23
+ ],
24
+ "optOut": [
25
+ {
26
+ "waitForThenClick": "#banner-cookie-consent-reject-all"
27
+ },
28
+ {
29
+ "waitForVisible": "#cookieConsentWidgetDiv .cookie-banner",
30
+ "check": "none",
31
+ "timeout": 2000
32
+ }
33
+ ],
34
+ "test": [
35
+ {
36
+ "wait": 1000
37
+ },
38
+ {
39
+ "cookieContains": "g4m_cookie_consent=CONSENT_ESSENTIAL"
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "gsb-cookie-banner",
3
+ "prehideSelectors": [".bhh-cookie-banner"],
4
+ "detectCmp": [{ "exists": ".bhh-cookie-banner .bhh-cookie-banner__btn--close, .cookie-banner .cookie-banner__btn--close" }],
5
+ "detectPopup": [{ "visible": ".bhh-cookie-banner__btn--close, .cookie-banner__btn--close", "check": "any" }],
6
+ "optIn": [{ "waitForThenClick": ".bhh-cookie-banner__btn--all, .cookie-banner__btn--all" }],
7
+ "optOut": [{ "waitForThenClick": ".bhh-cookie-banner__btn--close, .cookie-banner__btn--close" }],
8
+ "test": [{ "cookieContains": "cookie-allow-tracking=0" }]
9
+ }
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "handelsbanken",
3
+ "vendorUrl": "https://www.handelsbanken.com/",
4
+ "prehideSelectors": ["shb-cookie-consent"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "shb-cookie-consent [data-testid=\"CookieConsent_modal\"]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "shb-cookie-consent [data-testid=\"CookieConsent_modal\"]"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "shb-cookie-consent [data-testid=\"cookie_consent_accept_all_btn\"]"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "shb-cookie-consent [data-testid=\"cookie_consent_accept_only_necessary_btn\"]"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "cookieContains": "shb-cookies-consent=false"
28
+ }
29
+ ]
30
+ }