@duckduckgo/autoconsent 17.1.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 (97) hide show
  1. package/CHANGELOG.md +49 -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/autoscout24.json +34 -0
  13. package/rules/autoconsent/bigcommerce-consent-manager.json +3 -2
  14. package/rules/autoconsent/cookie-info-banner.json +33 -0
  15. package/rules/autoconsent/doktorabc.json +44 -0
  16. package/rules/autoconsent/dola.json +35 -0
  17. package/rules/autoconsent/dolphinfitness.json +17 -0
  18. package/rules/autoconsent/econda-pp2.json +33 -0
  19. package/rules/autoconsent/ekd-de.json +32 -0
  20. package/rules/autoconsent/etracker.json +35 -0
  21. package/rules/autoconsent/foto-erhardt.json +35 -0
  22. package/rules/autoconsent/futoncompany.json +18 -0
  23. package/rules/autoconsent/in2cookiemodal.json +65 -0
  24. package/rules/autoconsent/islington-council.json +16 -0
  25. package/rules/autoconsent/jurahilfe-de.json +23 -0
  26. package/rules/autoconsent/justwatch-com.json +3 -2
  27. package/rules/autoconsent/klimatabelle.com.json +13 -0
  28. package/rules/autoconsent/kuendigung.org.json +14 -0
  29. package/rules/autoconsent/moebel-de-group.json +20 -0
  30. package/rules/autoconsent/ncsoft-cookie-toast.json +30 -0
  31. package/rules/autoconsent/nuxt-cookie-manager.json +22 -0
  32. package/rules/autoconsent/om.json +3 -3
  33. package/rules/autoconsent/pandectes.json +1 -2
  34. package/rules/autoconsent/pcloud.json +18 -0
  35. package/rules/autoconsent/pcspecialist.json +13 -0
  36. package/rules/autoconsent/plumrocket-cookie-consent.json +22 -0
  37. package/rules/autoconsent/react-cookie-consent.json +34 -0
  38. package/rules/autoconsent/rittal.json +33 -0
  39. package/rules/autoconsent/scotland-police-uk.json +13 -0
  40. package/rules/autoconsent/shimano-bike.json +29 -0
  41. package/rules/autoconsent/shoezone.json +35 -0
  42. package/rules/autoconsent/sitepark-sitekit.json +27 -0
  43. package/rules/autoconsent/tplink.json +50 -10
  44. package/rules/autoconsent/tradecalculator.json +49 -0
  45. package/rules/autoconsent/unicity.json +22 -0
  46. package/rules/autoconsent/vgn-de.json +53 -0
  47. package/rules/autoconsent/westminster.ac.uk.json +46 -0
  48. package/rules/autoconsent/yourspares.json +39 -0
  49. package/rules/compact-rules.json +1 -1
  50. package/rules/rule-index.json +1 -1
  51. package/rules/rules.json +1 -1
  52. package/tests/autoscout24.spec.ts +14 -0
  53. package/tests/bigcommerce-consent-manager.spec.ts +1 -0
  54. package/tests/cookie-info-banner.spec.ts +8 -0
  55. package/tests/doktorabc.spec.ts +3 -0
  56. package/tests/dola.spec.ts +5 -0
  57. package/tests/dolphinfitness.spec.ts +3 -0
  58. package/tests/econda-pp2.spec.ts +3 -0
  59. package/tests/ekd-de.spec.ts +5 -0
  60. package/tests/etracker.spec.ts +8 -0
  61. package/tests/foto-erhardt.spec.ts +3 -0
  62. package/tests/futoncompany.spec.ts +3 -0
  63. package/tests/in2cookiemodal.spec.ts +13 -0
  64. package/tests/islington-council.spec.ts +8 -0
  65. package/tests/jurahilfe-de.spec.ts +3 -0
  66. package/tests/klimatabelle.com.spec.ts +3 -0
  67. package/tests/kuendigung.org.spec.ts +3 -0
  68. package/tests/moebel-de-group.spec.ts +9 -0
  69. package/tests/ncsoft-cookie-toast.spec.ts +6 -0
  70. package/tests/nuxt-cookie-manager.spec.ts +11 -0
  71. package/tests/om.spec.ts +3 -1
  72. package/tests/pandectes.spec.ts +6 -0
  73. package/tests/pcloud.spec.ts +5 -0
  74. package/tests/pcspecialist.spec.ts +12 -0
  75. package/tests/plumrocket-cookie-consent.spec.ts +3 -0
  76. package/tests/react-cookie-consent.spec.ts +3 -0
  77. package/tests/rittal.spec.ts +6 -0
  78. package/tests/scotland-police-uk.spec.ts +6 -0
  79. package/tests/shimano-bike.spec.ts +6 -0
  80. package/tests/shoezone.spec.ts +3 -0
  81. package/tests/sitepark-sitekit.spec.ts +9 -0
  82. package/tests/tplink.spec.ts +1 -1
  83. package/tests/tradecalculator.spec.ts +3 -0
  84. package/tests/unicity.spec.ts +9 -0
  85. package/tests/vgn-de.spec.ts +3 -0
  86. package/tests/westminster.ac.uk.spec.ts +3 -0
  87. package/tests/yourspares.spec.ts +3 -0
  88. package/rules/generated/auto_CH_moebel24.ch_fck.json +0 -40
  89. package/rules/generated/auto_DE_moebel.de_yf1.json +0 -40
  90. package/rules/generated/auto_DE_nanu-nana.de_7my.json +0 -40
  91. package/rules/generated/auto_GB_partscentre.co.uk_s70.json +0 -40
  92. package/rules/generated/auto_NO_pcsx2.net_grl.json +0 -40
  93. package/tests/generated/auto_CH_moebel24.ch_fck.spec.ts +0 -2
  94. package/tests/generated/auto_DE_moebel.de_yf1.spec.ts +0 -2
  95. package/tests/generated/auto_DE_nanu-nana.de_7my.spec.ts +0 -2
  96. package/tests/generated/auto_GB_partscentre.co.uk_s70.spec.ts +0 -6
  97. package/tests/generated/auto_NO_pcsx2.net_grl.spec.ts +0 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckduckgo/autoconsent",
3
- "version": "17.1.0",
3
+ "version": "17.2.0",
4
4
  "description": "",
5
5
  "types": "./dist/types/web.d.ts",
6
6
  "exports": {
@@ -0,0 +1,34 @@
1
+ {
2
+ "name": "autoscout24",
3
+ "vendorUrl": "https://www.autoscout24.com/",
4
+ "prehideSelectors": ["#as24-cmp-popup"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#as24-cmp-popup [data-testid=\"as24-cmp-container\"]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#as24-cmp-popup [data-testid=\"as24-cmp-container\"]"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#as24-cmp-popup [data-testid=\"as24-cmp-accept-all-button\"]"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#as24-cmp-popup [data-testid=\"as24-cmp-decline-all-button\"]"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "wait": 500,
28
+ "comment": "consent cookie is written asynchronously after the popup closes"
29
+ },
30
+ {
31
+ "cookieContains": "%22consents%22%3A%5B%5D%7D%2C%22vendor%22"
32
+ }
33
+ ]
34
+ }
@@ -5,7 +5,7 @@
5
5
  "prehideSelectors": ["#consent-manager"],
6
6
  "detectCmp": [
7
7
  {
8
- "exists": "#consent-manager"
8
+ "visible": "#consent-manager"
9
9
  },
10
10
  {
11
11
  "eval": "EVAL_BIGCOMMERCE_CONSENT_MANAGER_DETECT"
@@ -13,7 +13,8 @@
13
13
  ],
14
14
  "detectPopup": [
15
15
  {
16
- "visible": "#consent-manager button"
16
+ "visible": "#consent-manager button",
17
+ "check": "any"
17
18
  }
18
19
  ],
19
20
  "optIn": [
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "cookie-info-banner",
3
+ "prehideSelectors": ["section.cookie-info"],
4
+ "detectCmp": [
5
+ {
6
+ "exists": "section.cookie-info .js-cookie-info__decline"
7
+ }
8
+ ],
9
+ "detectPopup": [
10
+ {
11
+ "visible": "section.cookie-info.is-visible:not(.is-hidden)"
12
+ }
13
+ ],
14
+ "optIn": [
15
+ {
16
+ "waitForThenClick": "section.cookie-info .js-cookie-info__accept"
17
+ }
18
+ ],
19
+ "optOut": [
20
+ {
21
+ "waitForThenClick": "section.cookie-info .js-cookie-info__decline"
22
+ }
23
+ ],
24
+ "test": [
25
+ {
26
+ "cookieContains": "accepted-cookies=functional"
27
+ },
28
+ {
29
+ "cookieContains": "accepted-cookies=functional%2C",
30
+ "negated": true
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "doktorabc",
3
+ "vendorUrl": "https://www.doktorabc.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?doktorabc\\.com/"
6
+ },
7
+ "prehideSelectors": ["#cookiebanner.cookieAcceptBar"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "#cookiebanner.cookieAcceptBar #cookiebot-container"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "#cookiebanner.cookieAcceptBar #cookiebot-container"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#cookiebot-container #btn_accept_cookies"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#cookiebot-container div.manage-preferences"
26
+ },
27
+ {
28
+ "waitForVisible": "#cookiePreferencesModal-card"
29
+ },
30
+ {
31
+ "click": "#cookiePreferencesModal-card input[type=checkbox][data-type]:checked",
32
+ "all": true,
33
+ "optional": true
34
+ },
35
+ {
36
+ "waitForThenClick": "#cookiePreferencesModal-card #cookieModalButton"
37
+ }
38
+ ],
39
+ "test": [
40
+ {
41
+ "cookieContains": "marketing%3Afalse"
42
+ }
43
+ ]
44
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "dola",
3
+ "vendorUrl": "https://www.dola.com/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(www\\.)?dola\\.com/"
6
+ },
7
+ "prehideSelectors": ["div[class*=\"cookie-banner-\"]"],
8
+ "detectCmp": [
9
+ {
10
+ "exists": "div[class*=\"cookie-banner-\"] [class*=\"cookie-footer-\"]"
11
+ }
12
+ ],
13
+ "detectPopup": [
14
+ {
15
+ "visible": "div[class*=\"cookie-banner-\"] [class*=\"cookie-footer-\"]"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "div[class*=\"cookie-banner-\"] [data-testid=\"cookie_banner_notice\"]"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "div[class*=\"cookie-banner-\"] [class*=\"cookie-footer-\"] > button:not([data-testid=\"cookie_banner_notice\"])"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "waitForVisible": "div[class*=\"cookie-banner-\"]",
31
+ "timeout": 1000,
32
+ "check": "none"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,17 @@
1
+ {
2
+ "name": "dolphinfitness",
3
+ "runContext": { "urlPattern": "^https?://(www\\.)?dolphinfitness\\.co\\.uk/" },
4
+ "prehideSelectors": ["#ari-nw-x"],
5
+ "detectCmp": [{ "exists": "#ari-nw-x .ari-nw-btn" }],
6
+ "detectPopup": [{ "visible": "#ari-nw-x .ari-nw-btn" }],
7
+ "optIn": [{ "waitForThenClick": "#ari-nw-x button[data-key='consent:ok']" }],
8
+ "optOut": [
9
+ { "waitForThenClick": "#ari-nw-x button.ari-opx-btn[data-key='consent:set']" },
10
+ { "waitForVisible": "#ss-su #ss-ck-a0" },
11
+ { "click": "#ss-su #ss-ck-f0" },
12
+ { "click": "#ss-su #ss-ck-s0" },
13
+ { "click": "#ss-su #ss-ck-a0" },
14
+ { "waitForThenClick": "#ss-su #ss-rl-f1-btn" }
15
+ ],
16
+ "test": [{ "exists": "#ss-ck-f0.ari-h1" }, { "exists": "#ss-ck-s0.ari-h1" }, { "exists": "#ss-ck-a0.ari-h1" }]
17
+ }
@@ -0,0 +1,33 @@
1
+ {
2
+ "name": "econda-pp2",
3
+ "vendorUrl": "https://www.econda.de/",
4
+ "cosmetic": false,
5
+ "prehideSelectors": ["#econda-pp2-banner", "#econda-pp2-banner-modal"],
6
+ "detectCmp": [
7
+ {
8
+ "exists": "#econda-pp2-banner, #econda-pp2-banner-modal"
9
+ }
10
+ ],
11
+ "detectPopup": [
12
+ {
13
+ "comment": "the banner can be a top-layer dialog, which isElementVisible() reports as hidden",
14
+ "visible": "#econda-pp2-banner-reject-all-channels-button",
15
+ "check": "any"
16
+ }
17
+ ],
18
+ "optIn": [
19
+ {
20
+ "waitForThenClick": "#econda-pp2-banner-accept-all-channels-button"
21
+ }
22
+ ],
23
+ "optOut": [
24
+ {
25
+ "waitForThenClick": "#econda-pp2-banner-reject-all-channels-button"
26
+ }
27
+ ],
28
+ "test": [
29
+ {
30
+ "cookieContains": "econda.privacy.protection={\"profile\":{\"state\":\"DENY\""
31
+ }
32
+ ]
33
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "name": "ekd.de",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(\\w+\\.)?ekd\\.de/"
5
+ },
6
+ "prehideSelectors": ["#huk_cookie_prefernce_panel"],
7
+ "detectCmp": [
8
+ {
9
+ "exists": "#huk_cookie_prefernce_panel #EU_OPIN_REJECT"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": "#huk_cookie_prefernce_panel"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": "#huk_cookie_prefernce_panel #EU_OPIN_CANCEL"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": "#huk_cookie_prefernce_panel #EU_OPIN_REJECT"
25
+ }
26
+ ],
27
+ "test": [
28
+ {
29
+ "cookieContains": "EKD_OPTIN=1"
30
+ }
31
+ ]
32
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "etracker",
3
+ "vendorUrl": "https://www.etracker.com/",
4
+ "prehideSelectors": ["#et-consent-overlay", "#et-consent-overlay-bg"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "#et-consent-overlay button[data-editor=buttonDeny]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "#et-consent-overlay button[data-editor=buttonDeny]"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "waitForThenClick": "#et-consent-overlay button[data-editor=buttonAccept]"
18
+ }
19
+ ],
20
+ "optOut": [
21
+ {
22
+ "waitForThenClick": "#et-consent-overlay button[data-editor=buttonDeny]"
23
+ }
24
+ ],
25
+ "test": [
26
+ {
27
+ "waitForVisible": "#et-consent-overlay",
28
+ "timeout": 3000,
29
+ "check": "none"
30
+ },
31
+ {
32
+ "cookieContains": "et_allow_cookies=0"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "foto-erhardt",
3
+ "runContext": {
4
+ "urlPattern": "^https?://(www\\.)?foto-erhardt\\.(de|com|fr)/"
5
+ },
6
+ "prehideSelectors": [],
7
+ "detectCmp": [
8
+ {
9
+ "exists": ".cmp__consent .cmp__preferences-button"
10
+ }
11
+ ],
12
+ "detectPopup": [
13
+ {
14
+ "visible": ".cmp__consent"
15
+ }
16
+ ],
17
+ "optIn": [
18
+ {
19
+ "waitForThenClick": ".cmp__consent .cmp__enable-all"
20
+ }
21
+ ],
22
+ "optOut": [
23
+ {
24
+ "waitForThenClick": ".cmp__consent .cmp__preferences-button"
25
+ },
26
+ {
27
+ "waitForThenClick": ".cmp__service-groups__buttons button:not(.button--primary)"
28
+ }
29
+ ],
30
+ "test": [
31
+ {
32
+ "cookieContains": "C0002:0,C0003:0,C0004:0"
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "futoncompany",
3
+ "vendorUrl": "https://www.futoncompany.co.uk/",
4
+ "runContext": {
5
+ "urlPattern": "^https?://(\\w+\\.)?futoncompany\\.co\\.uk/"
6
+ },
7
+ "prehideSelectors": [".cm-custom-cookie-line"],
8
+ "detectCmp": [{ "exists": ".cm-custom-cookie-line" }],
9
+ "detectPopup": [{ "visible": ".cm-custom-cookie-line" }],
10
+ "optIn": [{ "waitForThenClick": ".cm-custom-cookie-line a.dismiss-button" }],
11
+ "optOut": [
12
+ { "waitForThenClick": ".cm-custom-cookie-line a[onclick*='fn_show_cookie_popup']" },
13
+ { "waitForVisible": "#cookie_popup form[name=cookie_settings]" },
14
+ { "click": "#cookie_popup input.consent-checkbox:checked:not([disabled])", "all": true, "optional": true },
15
+ { "click": "#cookie_popup input[type=submit][name*='save_settings']" }
16
+ ],
17
+ "test": [{ "wait": 1500 }, { "cookieContains": "consent_cookie=%7B%22ad_storage%22%3A%22denied%22" }]
18
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "in2cookiemodal",
3
+ "vendorUrl": "https://www.in2code.de/",
4
+ "prehideSelectors": ["[data-in2-modal-root-node]"],
5
+ "detectCmp": [
6
+ {
7
+ "exists": "[data-in2-modal-root-node]"
8
+ }
9
+ ],
10
+ "detectPopup": [
11
+ {
12
+ "visible": "[data-in2-modal-root-node]"
13
+ }
14
+ ],
15
+ "optIn": [
16
+ {
17
+ "if": {
18
+ "visible": "[data-in2-modal-root-node] .in2-modal-more-accept-button"
19
+ },
20
+ "then": [
21
+ {
22
+ "click": "[data-in2-modal-root-node] .in2-modal-more-accept-button"
23
+ }
24
+ ],
25
+ "else": [
26
+ {
27
+ "waitForThenClick": "[data-in2-modal-root-node] [data-in2-modal-accept-button]"
28
+ }
29
+ ]
30
+ }
31
+ ],
32
+ "optOut": [
33
+ {
34
+ "if": {
35
+ "visible": "[data-in2-modal-root-node] .in2-modal-deny-button"
36
+ },
37
+ "then": [
38
+ {
39
+ "click": "[data-in2-modal-root-node] .in2-modal-deny-button"
40
+ }
41
+ ],
42
+ "else": [
43
+ {
44
+ "click": "[data-in2-modal-root-node] .in2-modal-checkbox__input:checked:not(:disabled)",
45
+ "all": true,
46
+ "optional": true
47
+ },
48
+ {
49
+ "waitForThenClick": "[data-in2-modal-root-node] [data-in2-modal-save-button]"
50
+ }
51
+ ]
52
+ },
53
+ {
54
+ "waitForVisible": "[data-in2-modal-root-node]",
55
+ "check": "none",
56
+ "timeout": 2000,
57
+ "optional": true
58
+ }
59
+ ],
60
+ "test": [
61
+ {
62
+ "cookieContains": "in2cookiemodal-selection=[%22essential%22]"
63
+ }
64
+ ]
65
+ }
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "islington-council",
3
+ "prehideSelectors": [".m-cookie-banner[data-id=\"cookie-banner\"]"],
4
+ "detectCmp": [{ "exists": ".m-cookie-banner[data-id=\"cookie-banner\"] [data-id=\"cookie-manage\"]" }],
5
+ "detectPopup": [{ "visible": ".m-cookie-banner[data-id=\"cookie-banner\"]" }],
6
+ "optIn": [
7
+ { "waitFor": "#ccc-icon", "timeout": 10000 },
8
+ { "waitForThenClick": ".m-cookie-banner[data-id=\"cookie-banner\"] [data-id=\"cookie-accept\"]" }
9
+ ],
10
+ "optOut": [
11
+ { "waitFor": "#ccc-icon", "timeout": 10000 },
12
+ { "waitForThenClick": ".m-cookie-banner[data-id=\"cookie-banner\"] [data-id=\"cookie-manage\"]" },
13
+ { "waitForThenClick": "#ccc-module .ccc-reject-button" }
14
+ ],
15
+ "test": [{ "cookieContains": "\"optionalCookies\":{" }, { "cookieContains": "\"revoked\"" }]
16
+ }
@@ -0,0 +1,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,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,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,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,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
+ }
@@ -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": [
@@ -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
+ }