@duckduckgo/autoconsent 12.12.0 → 12.14.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 (186) hide show
  1. package/.github/workflows/asana.yml +3 -2
  2. package/CHANGELOG.md +66 -0
  3. package/data/coverage.json +1524 -964
  4. package/dist/addon-firefox/background.bundle.js +7 -73
  5. package/dist/addon-firefox/content.bundle.js +193 -235
  6. package/dist/addon-firefox/manifest.json +1 -1
  7. package/dist/addon-firefox/rules.json +1400 -162
  8. package/dist/addon-mv3/background.bundle.js +7 -73
  9. package/dist/addon-mv3/content.bundle.js +193 -235
  10. package/dist/addon-mv3/manifest.json +1 -1
  11. package/dist/addon-mv3/popup.bundle.js +1 -1
  12. package/dist/addon-mv3/rules.json +1400 -162
  13. package/dist/autoconsent.cjs.js +51 -79
  14. package/dist/autoconsent.esm.js +51 -79
  15. package/dist/autoconsent.extra.cjs.js +193 -235
  16. package/dist/autoconsent.extra.esm.js +193 -235
  17. package/dist/autoconsent.playwright.js +1607 -411
  18. package/lib/cmps/base.ts +18 -3
  19. package/lib/cmps/sourcepoint-frame.ts +3 -3
  20. package/lib/dom-actions.ts +6 -0
  21. package/lib/eval-snippets.ts +4 -72
  22. package/lib/filterlist-engine.ts +2 -2
  23. package/lib/heuristics.ts +2 -2
  24. package/lib/rules.ts +11 -1
  25. package/lib/web.ts +26 -0
  26. package/package.json +7 -6
  27. package/readme.md +18 -0
  28. package/rules/autoconsent/aa.json +5 -5
  29. package/rules/autoconsent/abc.json +1 -1
  30. package/rules/autoconsent/acs.org.json +29 -0
  31. package/rules/autoconsent/adroll.json +1 -1
  32. package/rules/autoconsent/affinity-serif-com.json +5 -1
  33. package/rules/autoconsent/alaskaair.json +29 -0
  34. package/rules/autoconsent/amazon-track.json +12 -0
  35. package/rules/autoconsent/amazon.json +3 -2
  36. package/rules/autoconsent/anthropic.json +1 -1
  37. package/rules/autoconsent/arbeitsagentur.json +2 -2
  38. package/rules/autoconsent/asus.json +5 -8
  39. package/rules/autoconsent/axeptio.json +1 -1
  40. package/rules/autoconsent/b-cookie.json +26 -0
  41. package/rules/autoconsent/bbc.com.json +1 -1
  42. package/rules/autoconsent/bigcommerce-consent-manager.json +34 -0
  43. package/rules/autoconsent/bing.json +1 -1
  44. package/rules/autoconsent/blocksy.json +1 -1
  45. package/rules/autoconsent/britannica-kids.json +29 -0
  46. package/rules/autoconsent/bswhealth.json +1 -1
  47. package/rules/autoconsent/bundesregierung-de.json +1 -1
  48. package/rules/autoconsent/canva.json +1 -1
  49. package/rules/autoconsent/ckies.json +1 -1
  50. package/rules/autoconsent/clickio.json +1 -1
  51. package/rules/autoconsent/clinch.json +1 -1
  52. package/rules/autoconsent/complianz-banner.json +1 -1
  53. package/rules/autoconsent/cookie-law-info.json +1 -1
  54. package/rules/autoconsent/cookieconsent2.json +1 -1
  55. package/rules/autoconsent/cookieconsent3.json +1 -1
  56. package/rules/autoconsent/cookieinformation.json +1 -1
  57. package/rules/autoconsent/cookiejs-banner.json +1 -1
  58. package/rules/autoconsent/cookiejs-modal.json +1 -1
  59. package/rules/autoconsent/cookieyes.json +1 -1
  60. package/rules/autoconsent/ct-ultimate-gdpr.json +1 -1
  61. package/rules/autoconsent/curseforge.json +26 -0
  62. package/rules/autoconsent/dailymotion.json +1 -1
  63. package/rules/autoconsent/depop.json +1 -1
  64. package/rules/autoconsent/dji.json +34 -0
  65. package/rules/autoconsent/dndbeyond.json +1 -1
  66. package/rules/autoconsent/dsgvo.json +1 -1
  67. package/rules/autoconsent/dunelm.json +1 -1
  68. package/rules/autoconsent/eu-cookie-compliance.json +1 -1
  69. package/rules/autoconsent/eu-cookie-law.json +1 -1
  70. package/rules/autoconsent/ezoic.json +1 -1
  71. package/rules/autoconsent/fedex.json +31 -0
  72. package/rules/autoconsent/financestrategists.com.json +29 -0
  73. package/rules/autoconsent/finsweet.json +30 -0
  74. package/rules/autoconsent/geni.com.json +26 -0
  75. package/rules/autoconsent/google.json +1 -1
  76. package/rules/autoconsent/gov-uk.json +20 -4
  77. package/rules/autoconsent/gravito.json +1 -1
  78. package/rules/autoconsent/groundnews.json +40 -0
  79. package/rules/autoconsent/hema-com.json +1 -1
  80. package/rules/autoconsent/imdb.json +29 -0
  81. package/rules/autoconsent/inmobi.json +1 -1
  82. package/rules/autoconsent/instagram.json +2 -2
  83. package/rules/autoconsent/iwink.json +1 -1
  84. package/rules/autoconsent/jquery-cookiebar.json +2 -1
  85. package/rules/autoconsent/ketch.json +1 -1
  86. package/rules/autoconsent/lia.json +28 -0
  87. package/rules/autoconsent/macaron.json +1 -1
  88. package/rules/autoconsent/microcenter.com.json +29 -0
  89. package/rules/autoconsent/nutritionix.com.json +29 -0
  90. package/rules/autoconsent/ok.json +53 -0
  91. package/rules/autoconsent/openai.json +1 -1
  92. package/rules/autoconsent/opera.com.json +1 -1
  93. package/rules/autoconsent/osano.json +10 -3
  94. package/rules/autoconsent/{consent-manager.json → ouraring.json} +1 -1
  95. package/rules/autoconsent/overleaf.json +1 -1
  96. package/rules/autoconsent/paypal.json +1 -1
  97. package/rules/autoconsent/plos.json +1 -1
  98. package/rules/autoconsent/pornhat.json +26 -0
  99. package/rules/autoconsent/postnl.json +1 -1
  100. package/rules/autoconsent/povr.json +49 -0
  101. package/rules/autoconsent/pride.com.json +26 -0
  102. package/rules/autoconsent/primebox.json +1 -1
  103. package/rules/autoconsent/reddit.json +1 -1
  104. package/rules/autoconsent/remarkable.com.json +50 -0
  105. package/rules/autoconsent/roblox.json +1 -1
  106. package/rules/autoconsent/rt.json +29 -0
  107. package/rules/autoconsent/ryanair.json +36 -0
  108. package/rules/autoconsent/sandhills.json +26 -0
  109. package/rules/autoconsent/sas.json +1 -1
  110. package/rules/autoconsent/snigel.json +1 -1
  111. package/rules/autoconsent/squiz.json +1 -1
  112. package/rules/autoconsent/stripchat.com.json +37 -0
  113. package/rules/autoconsent/summitracing.json +31 -0
  114. package/rules/autoconsent/svt.se.json +1 -1
  115. package/rules/autoconsent/synology.json +4 -1
  116. package/rules/autoconsent/taunton.json +1 -1
  117. package/rules/autoconsent/tesla.json +1 -1
  118. package/rules/autoconsent/theverge.json +1 -1
  119. package/rules/autoconsent/tinyurl.json +29 -0
  120. package/rules/autoconsent/toyota.json +36 -0
  121. package/rules/autoconsent/tplink.json +1 -1
  122. package/rules/autoconsent/truecar.json +29 -0
  123. package/rules/autoconsent/truthsocial.json +29 -0
  124. package/rules/autoconsent/twcc.json +1 -1
  125. package/rules/autoconsent/ubuntu.com.json +1 -1
  126. package/rules/autoconsent/uk-cookie-consent.json +1 -1
  127. package/rules/autoconsent/waitrose.json +1 -1
  128. package/rules/autoconsent/web.de.json +33 -0
  129. package/rules/autoconsent/webflow.json +21 -11
  130. package/rules/autoconsent/wiki.gg.json +26 -0
  131. package/rules/autoconsent/wp-cookie-notice.json +1 -1
  132. package/rules/autoconsent/xe.com.json +1 -1
  133. package/rules/autoconsent/xgroovy.json +26 -0
  134. package/rules/autoconsent/xing.json +1 -1
  135. package/rules/autoconsent/youtube-desktop.json +1 -1
  136. package/rules/autoconsent/youtube-mobile.json +1 -1
  137. package/rules/autoconsent/zinio.json +1 -1
  138. package/rules/create-rule.mjs +1 -1
  139. package/rules/filterlist.txt +149 -165
  140. package/rules/rules.json +1400 -162
  141. package/tests/acs.org.spec.ts +3 -0
  142. package/tests/alaskaair.spec.ts +3 -0
  143. package/tests/amazon-track.spec.ts +3 -0
  144. package/tests/asus.spec.ts +1 -1
  145. package/tests/b-cookie.spec.ts +8 -0
  146. package/tests/bigcommerce-consent-manager.spec.ts +9 -0
  147. package/tests/britannica-kids.spec.ts +3 -0
  148. package/tests/curseforge.spec.ts +3 -0
  149. package/tests/dji.spec.ts +3 -0
  150. package/tests/fedex.spec.ts +3 -0
  151. package/tests/financestrategists.com.spec.ts +3 -0
  152. package/tests/finsweet.spec.ts +3 -0
  153. package/tests/geni.com.spec.ts +3 -0
  154. package/tests/gov-uk.spec.ts +1 -1
  155. package/tests/groundnews.spec.ts +3 -0
  156. package/tests/imdb.spec.ts +3 -0
  157. package/tests/lia.spec.ts +3 -0
  158. package/tests/microcenter.com.spec.ts +3 -0
  159. package/tests/nutritionix.com.spec.ts +3 -0
  160. package/tests/ok.spec.ts +3 -0
  161. package/tests/osano.spec.ts +1 -1
  162. package/tests/ouraring.spec.ts +3 -0
  163. package/tests/pornhat.spec.ts +9 -0
  164. package/tests/povr.spec.ts +3 -0
  165. package/tests/pride.com.spec.ts +3 -0
  166. package/tests/remarkable.com.spec.ts +3 -0
  167. package/tests/rt.spec.ts +3 -0
  168. package/tests/ryanair.spec.ts +3 -0
  169. package/tests/sandhills.spec.ts +8 -0
  170. package/tests/stripchat.com.spec.ts +3 -0
  171. package/tests/summitracing.spec.ts +3 -0
  172. package/tests/tinyurl.spec.ts +3 -0
  173. package/tests/toyota.spec.ts +3 -0
  174. package/tests/truecar.spec.ts +3 -0
  175. package/tests/truthsocial.spec.ts +3 -0
  176. package/tests/web.de.spec.ts +3 -0
  177. package/tests/webflow.spec.ts +1 -1
  178. package/tests/wiki.gg.spec.ts +9 -0
  179. package/tests/xgroovy.spec.ts +3 -0
  180. package/tests-wtr/dom-actions/dom-actions.cookieContains.html +13 -0
  181. package/tests-wtr/dom-actions/dom-actions.cookieContains.ts +38 -0
  182. package/tests-wtr/lifecycle/focus.html +18 -0
  183. package/tests-wtr/lifecycle/focus.ts +52 -0
  184. package/tests-wtr/rules/logical-rules.test.ts +105 -0
  185. package/web-test-runner.config.mjs +4 -1
  186. package/tests/consent-manager.spec.ts +0 -3
@@ -15,10 +15,11 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  steps:
17
17
  - uses: actions/checkout@v3
18
- - uses: sammacbeth/action-asana-sync@v6
18
+ - uses: sammacbeth/action-asana-sync@v9
19
19
  with:
20
20
  ASANA_ACCESS_TOKEN: ${{ secrets.ASANA_ACCESS_TOKEN }}
21
21
  ASANA_WORKSPACE_ID: ${{ secrets.ASANA_WORKSPACE_ID }}
22
22
  ASANA_PROJECT_ID: '1203409672862476'
23
23
  move_to_section_id: '1203409672862480'
24
- USER_MAP: ${{ vars.USER_MAP }}
24
+ GITHUB_PAT: ${{ secrets.GH_RO_PAT }}
25
+ ASSIGN_PR_AUTHOR: 'true'
package/CHANGELOG.md CHANGED
@@ -1,3 +1,69 @@
1
+ # v12.14.0 (Fri Mar 14 2025)
2
+
3
+ #### 🚀 Enhancement
4
+
5
+ - Update EasyList Cookie to b6ba5e180e756441787c7415b894e2ade23a758f [#692](https://github.com/duckduckgo/autoconsent/pull/692) ([@sammacbeth](https://github.com/sammacbeth) [@github-actions[bot]](https://github.com/github-actions[bot]))
6
+ - Fix sourcepoint rule for US version of ft.com [#693](https://github.com/duckduckgo/autoconsent/pull/693) ([@muodov](https://github.com/muodov))
7
+ - More site-specific rules [#676](https://github.com/duckduckgo/autoconsent/pull/676) ([@muodov](https://github.com/muodov))
8
+ - Fix a race condition with self-test in test extension [#690](https://github.com/duckduckgo/autoconsent/pull/690) ([@muodov](https://github.com/muodov))
9
+ - add rule for web.de [#691](https://github.com/duckduckgo/autoconsent/pull/691) ([@muodov](https://github.com/muodov))
10
+ - Bump the dev-dependencies group across 1 directory with 12 updates [#689](https://github.com/duckduckgo/autoconsent/pull/689) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@muodov](https://github.com/muodov))
11
+ - Bump @ghostery/adblocker-content from 2.3.1 to 2.5.0 [#607](https://github.com/duckduckgo/autoconsent/pull/607) ([@dependabot[bot]](https://github.com/dependabot[bot]))
12
+ - Bump @ghostery/adblocker from 2.3.1 to 2.5.0 [#608](https://github.com/duckduckgo/autoconsent/pull/608) ([@dependabot[bot]](https://github.com/dependabot[bot]))
13
+ - support no-reject Osano popups [#683](https://github.com/duckduckgo/autoconsent/pull/683) ([@muodov](https://github.com/muodov))
14
+ - Add rule for ok.ru [#665](https://github.com/duckduckgo/autoconsent/pull/665) ([@muodov](https://github.com/muodov))
15
+ - Automatically restore element focus after the opt-in/opt-out [#687](https://github.com/duckduckgo/autoconsent/pull/687) ([@muodov](https://github.com/muodov))
16
+
17
+ #### 🐛 Bug Fix
18
+
19
+ - Update Asana sync action [#694](https://github.com/duckduckgo/autoconsent/pull/694) ([@sammacbeth](https://github.com/sammacbeth))
20
+ - Bump tldts-experimental from 6.1.82 to 6.1.84 [#688](https://github.com/duckduckgo/autoconsent/pull/688) ([@dependabot[bot]](https://github.com/dependabot[bot]))
21
+
22
+ #### Authors: 4
23
+
24
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
25
+ - [@github-actions[bot]](https://github.com/github-actions[bot])
26
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
27
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
28
+
29
+ ---
30
+
31
+ # v12.13.0 (Fri Mar 07 2025)
32
+
33
+ #### 🚀 Enhancement
34
+
35
+ - Update EasyList Cookie to 0f2116100a57d0ec74666508d405fc4da80f1f9d [#685](https://github.com/duckduckgo/autoconsent/pull/685) ([@sammacbeth](https://github.com/sammacbeth) [@github-actions[bot]](https://github.com/github-actions[bot]))
36
+ - Several site-specific rules [#673](https://github.com/duckduckgo/autoconsent/pull/673) ([@muodov](https://github.com/muodov))
37
+ - add rule for fedex.com [#669](https://github.com/duckduckgo/autoconsent/pull/669) ([@muodov](https://github.com/muodov))
38
+ - Rule batch [#684](https://github.com/duckduckgo/autoconsent/pull/684) ([@muodov](https://github.com/muodov))
39
+ - Add rule for pornhat and a few other sites [#677](https://github.com/duckduckgo/autoconsent/pull/677) ([@muodov](https://github.com/muodov))
40
+ - Add rule for live.paloaltonetworks.com [#672](https://github.com/duckduckgo/autoconsent/pull/672) ([@muodov](https://github.com/muodov))
41
+ - Update rules for finsweet CMPs [#658](https://github.com/duckduckgo/autoconsent/pull/658) ([@muodov](https://github.com/muodov))
42
+ - add rules for povr.com and tinyurl.com [#659](https://github.com/duckduckgo/autoconsent/pull/659) ([@muodov](https://github.com/muodov))
43
+ - fix instagram rule [#668](https://github.com/duckduckgo/autoconsent/pull/668) ([@muodov](https://github.com/muodov))
44
+ - add rule for acs.org [#671](https://github.com/duckduckgo/autoconsent/pull/671) ([@muodov](https://github.com/muodov))
45
+ - Add rule for ryanair [#670](https://github.com/duckduckgo/autoconsent/pull/670) ([@muodov](https://github.com/muodov))
46
+ - [NSFW] add rule for several sites [#682](https://github.com/duckduckgo/autoconsent/pull/682) ([@muodov](https://github.com/muodov))
47
+ - Batch of site-specific rules [#680](https://github.com/duckduckgo/autoconsent/pull/680) ([@muodov](https://github.com/muodov))
48
+ - Rules for Toyota sites [#679](https://github.com/duckduckgo/autoconsent/pull/679) ([@muodov](https://github.com/muodov))
49
+ - Another batch of rules [#681](https://github.com/duckduckgo/autoconsent/pull/681) ([@muodov](https://github.com/muodov))
50
+ - Declarative rule steps for negation and for matching cookies [#663](https://github.com/duckduckgo/autoconsent/pull/663) ([@muodov](https://github.com/muodov))
51
+
52
+ #### 🐛 Bug Fix
53
+
54
+ - Bump tldts-experimental from 6.1.77 to 6.1.82 [#674](https://github.com/duckduckgo/autoconsent/pull/674) ([@dependabot[bot]](https://github.com/dependabot[bot]))
55
+ - Monthly Coverage data update [#667](https://github.com/duckduckgo/autoconsent/pull/667) ([@daxtheduck](https://github.com/daxtheduck) [@sammacbeth](https://github.com/sammacbeth))
56
+
57
+ #### Authors: 5
58
+
59
+ - [@dependabot[bot]](https://github.com/dependabot[bot])
60
+ - [@github-actions[bot]](https://github.com/github-actions[bot])
61
+ - Dax ([@daxtheduck](https://github.com/daxtheduck))
62
+ - Maxim Tsoy ([@muodov](https://github.com/muodov))
63
+ - Sam Macbeth ([@sammacbeth](https://github.com/sammacbeth))
64
+
65
+ ---
66
+
1
67
  # v12.12.0 (Fri Feb 28 2025)
2
68
 
3
69
  #### 🚀 Enhancement