@duckduckgo/autoconsent 18.3.0 → 18.4.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 (103) hide show
  1. package/CHANGELOG.md +59 -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/amasty-gdpr-sidebar.json +61 -0
  13. package/rules/autoconsent/arena-pl.json +16 -0
  14. package/rules/autoconsent/bannercookie-dashboard.json +10 -0
  15. package/rules/autoconsent/blastingnews.json +36 -0
  16. package/rules/autoconsent/bn-org-pl.json +37 -0
  17. package/rules/autoconsent/ccconsent-holder.json +56 -0
  18. package/rules/autoconsent/cloudcms-cookie-alert-notice.json +12 -0
  19. package/rules/autoconsent/cloudcms-cookie-alert.json +13 -0
  20. package/rules/autoconsent/cookie-button-basic.json +47 -0
  21. package/rules/autoconsent/cookiesck.json +31 -0
  22. package/rules/autoconsent/didomi.json +5 -0
  23. package/rules/autoconsent/doc24-ch.json +33 -0
  24. package/rules/autoconsent/ernesto.json +30 -0
  25. package/rules/autoconsent/eu-cookie-compliance-legacy.json +15 -0
  26. package/rules/autoconsent/fora-se.json +13 -0
  27. package/rules/autoconsent/fusedeck.json +38 -0
  28. package/rules/autoconsent/gjerrigknark.json +38 -0
  29. package/rules/autoconsent/hemsol.se.json +22 -0
  30. package/rules/autoconsent/historiskatlas.dk.json +35 -0
  31. package/rules/autoconsent/hmi-basen-dk.json +27 -0
  32. package/rules/autoconsent/jobbland.json +17 -0
  33. package/rules/autoconsent/kadokawa-ascii.json +34 -0
  34. package/rules/autoconsent/kglakademi.json +37 -0
  35. package/rules/autoconsent/kredittbanken.json +14 -0
  36. package/rules/autoconsent/matspar-se.json +34 -0
  37. package/rules/autoconsent/mitrejsevejr.dk.json +13 -0
  38. package/rules/autoconsent/morgenlevering.no.json +46 -0
  39. package/rules/autoconsent/multicalcolo.json +37 -0
  40. package/rules/autoconsent/nutri.se.json +40 -0
  41. package/rules/autoconsent/onecall-no.json +44 -0
  42. package/rules/autoconsent/peppes.json +38 -0
  43. package/rules/autoconsent/planteportalen-no.json +32 -0
  44. package/rules/autoconsent/sian-it.json +35 -0
  45. package/rules/autoconsent/skisport.json +22 -0
  46. package/rules/autoconsent/skogforsk.json +9 -0
  47. package/rules/autoconsent/skovborghogh-cookies.json +17 -0
  48. package/rules/autoconsent/sportstiming.json +37 -0
  49. package/rules/autoconsent/squarespace-cookie-banner.json +3 -3
  50. package/rules/autoconsent/vardgivarguiden.json +45 -0
  51. package/rules/autoconsent/wbd-consent-modal.json +54 -0
  52. package/rules/autoconsent/welcome-city-yokohama.json +75 -0
  53. package/rules/autoconsent/wordpress-wordads.json +20 -0
  54. package/rules/compact-rules.json +1 -1
  55. package/rules/rule-index.json +1 -1
  56. package/rules/rules.json +1 -1
  57. package/tests/amasty-gdpr-sidebar.spec.ts +16 -0
  58. package/tests/arena-pl.spec.ts +3 -0
  59. package/tests/bannercookie-dashboard.spec.ts +3 -0
  60. package/tests/blastingnews.spec.ts +3 -0
  61. package/tests/bn-org-pl.spec.ts +3 -0
  62. package/tests/ccconsent-holder.spec.ts +11 -0
  63. package/tests/cloudcms-cookie-alert-notice.spec.ts +10 -0
  64. package/tests/cloudcms-cookie-alert.spec.ts +6 -0
  65. package/tests/cookie-button-basic.spec.ts +9 -0
  66. package/tests/cookiesck.spec.ts +5 -0
  67. package/tests/didomi.spec.ts +9 -0
  68. package/tests/doc24-ch.spec.ts +3 -0
  69. package/tests/ernesto.spec.ts +8 -0
  70. package/tests/eu-cookie-compliance-legacy.spec.ts +8 -0
  71. package/tests/fora-se.spec.ts +3 -0
  72. package/tests/fusedeck.spec.ts +9 -0
  73. package/tests/gjerrigknark.spec.ts +6 -0
  74. package/tests/hemsol.se.spec.ts +3 -0
  75. package/tests/historiskatlas.dk.spec.ts +3 -0
  76. package/tests/hmi-basen-dk.spec.ts +5 -0
  77. package/tests/jobbland.spec.ts +5 -0
  78. package/tests/kadokawa-ascii.spec.ts +5 -0
  79. package/tests/kglakademi.spec.ts +3 -0
  80. package/tests/kredittbanken.spec.ts +3 -0
  81. package/tests/matspar-se.spec.ts +3 -0
  82. package/tests/mitrejsevejr.dk.spec.ts +3 -0
  83. package/tests/morgenlevering.no.spec.ts +3 -0
  84. package/tests/multicalcolo.spec.ts +3 -0
  85. package/tests/nutri.se.spec.ts +3 -0
  86. package/tests/onecall-no.spec.ts +3 -0
  87. package/tests/peppes.spec.ts +5 -0
  88. package/tests/planteportalen-no.spec.ts +3 -0
  89. package/tests/sian-it.spec.ts +3 -0
  90. package/tests/skisport.spec.ts +9 -0
  91. package/tests/skogforsk.spec.ts +3 -0
  92. package/tests/skovborghogh-cookies.spec.ts +9 -0
  93. package/tests/sportstiming.spec.ts +8 -0
  94. package/tests/squarespace-cookie-banner.spec.ts +1 -0
  95. package/tests/vardgivarguiden.spec.ts +3 -0
  96. package/tests/wbd-consent-modal.spec.ts +6 -0
  97. package/tests/welcome-city-yokohama.spec.ts +3 -0
  98. package/tests/wordpress-wordads.spec.ts +9 -0
  99. package/tests-wtr/rules/cmp-test-urls.json +0 -1
  100. package/rules/autoconsent/delta-com.json +0 -12
  101. package/rules/generated/auto_CH_fhgr.ch_9nr.json +0 -40
  102. package/tests/delta.spec.ts +0 -3
  103. package/tests/generated/auto_CH_fhgr.ch_9nr.spec.ts +0 -2
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "welcome-city-yokohama",
3
+ "vendorUrl": "https://www.welcome.city.yokohama.jp/",
4
+ "cosmetic": true,
5
+ "runContext": {
6
+ "urlPattern": "^https?://(www\\.)?welcome\\.city\\.yokohama\\.jp/"
7
+ },
8
+ "prehideSelectors": [".cookie-consent:has(> .cookie-text + .cookie-agree:last-child)"],
9
+ "detectCmp": [
10
+ {
11
+ "exists": ".cookie-consent > .cookie-text + .cookie-agree:last-child"
12
+ }
13
+ ],
14
+ "detectPopup": [
15
+ {
16
+ "visible": ".cookie-consent > .cookie-text + .cookie-agree:last-child"
17
+ }
18
+ ],
19
+ "optIn": [
20
+ {
21
+ "waitFor": ".fc-cta-consent,.fc-li-only-placeholder",
22
+ "timeout": 8000,
23
+ "optional": true
24
+ },
25
+ {
26
+ "if": {
27
+ "exists": ".fc-cta-consent"
28
+ },
29
+ "then": [
30
+ {
31
+ "waitForThenClick": ".fc-cta-consent"
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "waitForThenClick": ".cookie-consent > .cookie-text + .cookie-agree:last-child"
37
+ }
38
+ ],
39
+ "optOut": [
40
+ {
41
+ "hide": ".cookie-consent:has(> .cookie-text + .cookie-agree:last-child)"
42
+ },
43
+ {
44
+ "waitFor": ".fc-cta-do-not-consent,.fc-cta-manage-options,.fc-li-only-placeholder",
45
+ "timeout": 8000,
46
+ "optional": true
47
+ },
48
+ {
49
+ "if": {
50
+ "exists": ".fc-cta-do-not-consent,.fc-cta-manage-options,.fc-li-only-placeholder"
51
+ },
52
+ "then": [
53
+ {
54
+ "if": {
55
+ "exists": ".fc-cta-do-not-consent,.fc-cta-manage-options"
56
+ },
57
+ "then": [
58
+ {
59
+ "waitForThenClick": ".fc-cta-do-not-consent,.fc-cta-manage-options"
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "click": ".fc-preference-consent:checked,.fc-preference-legitimate-interest:checked",
65
+ "all": true,
66
+ "optional": true
67
+ },
68
+ {
69
+ "click": ".fc-confirm-choices",
70
+ "optional": true
71
+ }
72
+ ]
73
+ }
74
+ ]
75
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "name": "wordpress-wordads",
3
+ "prehideSelectors": ["#cmp-app-container"],
4
+ "detectCmp": [{ "exists": ["#cmp-app-container iframe", ".cmp__notice, .cmp__dialog"] }],
5
+ "detectPopup": [{ "visible": ["#cmp-app-container iframe", ".cmp__notice, .cmp__dialog"], "check": "any" }],
6
+ "optIn": [
7
+ { "waitForThenClick": ["#cmp-app-container iframe", ".cmp__notice-buttons .is-primary, .cmp__dialog-footer-buttons .is-primary"] }
8
+ ],
9
+ "optOut": [
10
+ {
11
+ "if": { "exists": ["#cmp-app-container iframe", ".cmp__notice-buttons .is-secondary"] },
12
+ "then": [{ "click": ["#cmp-app-container iframe", ".cmp__notice-buttons .is-secondary"] }]
13
+ },
14
+ {
15
+ "waitForThenClick": ["#cmp-app-container iframe", ".cmp__dialog-footer-buttons .is-secondary"],
16
+ "timeout": 5000
17
+ }
18
+ ],
19
+ "test": [{ "waitForVisible": "#cmp-app-container iframe", "check": "none", "timeout": 3000 }]
20
+ }