@browserless.io/browserless 2.33.0 → 2.34.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 (568) hide show
  1. package/CHANGELOG.md +13 -1
  2. package/README.md +1 -1
  3. package/build/config.d.ts +1 -1
  4. package/build/config.js +1 -1
  5. package/build/http.d.ts +10 -0
  6. package/build/http.js +5 -0
  7. package/build/limiter.spec.js +1 -1
  8. package/build/routes/chrome/http/content.post.body.json +18 -109
  9. package/build/routes/chrome/http/pdf.post.body.json +18 -109
  10. package/build/routes/chrome/http/scrape.post.body.json +18 -109
  11. package/build/routes/chrome/http/screenshot.post.body.json +18 -109
  12. package/build/routes/chrome/tests/content.spec.js +12 -12
  13. package/build/routes/chrome/tests/page-websocket.spec.js +3 -3
  14. package/build/routes/chrome/tests/pdf.spec.js +13 -13
  15. package/build/routes/chrome/tests/performance.spec.js +4 -4
  16. package/build/routes/chrome/tests/scrape.spec.js +13 -13
  17. package/build/routes/chrome/tests/screenshot.spec.js +14 -14
  18. package/build/routes/chromium/http/content.post.body.json +18 -109
  19. package/build/routes/chromium/http/pdf.post.body.json +18 -109
  20. package/build/routes/chromium/http/scrape.post.body.json +18 -109
  21. package/build/routes/chromium/http/screenshot.post.body.json +18 -109
  22. package/build/routes/chromium/tests/content.spec.js +13 -13
  23. package/build/routes/chromium/tests/page-websocket.spec.js +3 -3
  24. package/build/routes/chromium/tests/pdf.spec.js +13 -13
  25. package/build/routes/chromium/tests/performance.spec.js +4 -4
  26. package/build/routes/chromium/tests/scrape.spec.js +13 -13
  27. package/build/routes/chromium/tests/screenshot.spec.js +14 -14
  28. package/build/routes/edge/http/content.post.body.json +18 -109
  29. package/build/routes/edge/http/pdf.post.body.json +18 -109
  30. package/build/routes/edge/http/scrape.post.body.json +18 -109
  31. package/build/routes/edge/http/screenshot.post.body.json +18 -109
  32. package/build/routes/edge/tests/content.spec.js +12 -12
  33. package/build/routes/edge/tests/page-websocket.spec.js +3 -3
  34. package/build/routes/edge/tests/pdf.spec.js +13 -13
  35. package/build/routes/edge/tests/performance.spec.js +4 -4
  36. package/build/routes/edge/tests/scrape.spec.js +13 -13
  37. package/build/routes/edge/tests/screenshot.spec.js +14 -14
  38. package/build/routes/management/http/kill.get.d.ts +1 -1
  39. package/build/routes/management/http/kill.get.query.json +0 -3
  40. package/build/routes/management/http/pressure.get.d.ts +1 -1
  41. package/build/routes/management/http/pressure.get.js +12 -4
  42. package/build/routes/management/http/sessions.get.d.ts +1 -1
  43. package/build/routes/management/http/sessions.get.query.json +0 -3
  44. package/build/routes/management/tests/management.spec.js +13 -13
  45. package/build/server.js +12 -4
  46. package/build/shared/content.http.js +9 -2
  47. package/build/shared/pdf.http.js +9 -2
  48. package/build/shared/scrape.http.js +9 -2
  49. package/build/shared/screenshot.http.js +9 -2
  50. package/build/shim.d.ts +5 -0
  51. package/build/shim.js +13 -0
  52. package/build/shim.spec.js +28 -1
  53. package/build/types.d.ts +21 -1
  54. package/build/types.js +14 -0
  55. package/build/utils.d.ts +1 -0
  56. package/build/utils.js +4 -3
  57. package/extensions/ublocklite/_locales/ar/messages.json +8 -8
  58. package/extensions/ublocklite/_locales/be/messages.json +8 -8
  59. package/extensions/ublocklite/_locales/fi/messages.json +18 -18
  60. package/extensions/ublocklite/_locales/hi/messages.json +21 -21
  61. package/extensions/ublocklite/_locales/hu/messages.json +8 -8
  62. package/extensions/ublocklite/_locales/id/messages.json +15 -15
  63. package/extensions/ublocklite/_locales/ja/messages.json +23 -23
  64. package/extensions/ublocklite/_locales/nl/messages.json +1 -1
  65. package/extensions/ublocklite/_locales/pt_BR/messages.json +15 -15
  66. package/extensions/ublocklite/_locales/pt_PT/messages.json +18 -18
  67. package/extensions/ublocklite/_locales/ru/messages.json +1 -1
  68. package/extensions/ublocklite/_locales/th/messages.json +30 -30
  69. package/extensions/ublocklite/_locales/tr/messages.json +1 -1
  70. package/extensions/ublocklite/_locales/uk/messages.json +10 -10
  71. package/extensions/ublocklite/_locales/vi/messages.json +8 -8
  72. package/extensions/ublocklite/css/dashboard.css +9 -4
  73. package/extensions/ublocklite/css/picker-ui.css +1 -1
  74. package/extensions/ublocklite/css/report.css +0 -8
  75. package/extensions/ublocklite/css/settings.css +17 -13
  76. package/extensions/ublocklite/dashboard.html +16 -12
  77. package/extensions/ublocklite/js/background.js +75 -19
  78. package/extensions/ublocklite/js/config.js +2 -1
  79. package/extensions/ublocklite/js/dashboard.js +9 -5
  80. package/extensions/ublocklite/js/debug.js +69 -6
  81. package/extensions/ublocklite/js/develop.js +1 -1
  82. package/extensions/ublocklite/js/ext-compat.js +9 -2
  83. package/extensions/ublocklite/js/ext.js +6 -0
  84. package/extensions/ublocklite/js/fetch.js +3 -1
  85. package/extensions/ublocklite/js/filter-lists.js +17 -9
  86. package/extensions/ublocklite/js/filter-manager.js +80 -28
  87. package/extensions/ublocklite/js/jsonpath.js +65 -26
  88. package/extensions/ublocklite/js/mode-manager.js +5 -1
  89. package/extensions/ublocklite/js/picker-ui.js +32 -41
  90. package/extensions/ublocklite/js/popup.js +11 -11
  91. package/extensions/ublocklite/js/redirect-resources.js +1 -0
  92. package/extensions/ublocklite/js/report.js +4 -2
  93. package/extensions/ublocklite/js/ro-dnr-editor.js +6 -1
  94. package/extensions/ublocklite/js/ruleset-manager.js +38 -13
  95. package/extensions/ublocklite/js/scripting/css-generic.js +0 -1
  96. package/extensions/ublocklite/js/scripting/css-procedural-api.js +821 -0
  97. package/extensions/ublocklite/js/scripting/css-procedural.js +62 -718
  98. package/extensions/ublocklite/{rulesets/scripting/declarative/ubol-tests.js → js/scripting/css-user-terminate.js} +16 -13
  99. package/extensions/ublocklite/js/scripting/css-user.js +12 -1
  100. package/extensions/ublocklite/js/scripting/picker.js +46 -13
  101. package/extensions/ublocklite/js/scripting/tool-overlay.js +14 -8
  102. package/extensions/ublocklite/js/scripting/unpicker.js +5 -9
  103. package/extensions/ublocklite/js/scripting/zapper.js +1 -1
  104. package/extensions/ublocklite/js/scripting-manager.js +4 -75
  105. package/extensions/ublocklite/js/settings.js +3 -5
  106. package/extensions/ublocklite/js/static-filtering-parser.js +3 -3
  107. package/extensions/ublocklite/js/tool-overlay-ui.js +20 -24
  108. package/extensions/ublocklite/js/troubleshooting.js +11 -19
  109. package/extensions/ublocklite/js/ubo-parser.js +1 -1
  110. package/extensions/ublocklite/js/unpicker-ui.js +16 -9
  111. package/extensions/ublocklite/js/zapper-ui.js +3 -2
  112. package/extensions/ublocklite/manifest.json +12 -2
  113. package/extensions/ublocklite/picker-ui.html +1 -1
  114. package/extensions/ublocklite/report.html +0 -1
  115. package/extensions/ublocklite/rulesets/generic-details.json +28 -16
  116. package/extensions/ublocklite/rulesets/main/adguard-mobile.json +5 -2
  117. package/extensions/ublocklite/rulesets/main/annoyances-cookies.json +27 -15
  118. package/extensions/ublocklite/rulesets/main/annoyances-notifications.json +276 -0
  119. package/extensions/ublocklite/rulesets/main/annoyances-others.json +4 -3
  120. package/extensions/ublocklite/rulesets/main/annoyances-overlays.json +4 -4
  121. package/extensions/ublocklite/rulesets/main/annoyances-widgets.json +3 -2
  122. package/extensions/ublocklite/rulesets/main/bgr-0.json +54 -68
  123. package/extensions/ublocklite/rulesets/main/block-lan.json +3 -2
  124. package/extensions/ublocklite/rulesets/main/chn-0.json +28 -21
  125. package/extensions/ublocklite/rulesets/main/deu-0.json +7 -6
  126. package/extensions/ublocklite/rulesets/main/dpollock-0.json +8 -41
  127. package/extensions/ublocklite/rulesets/main/easylist.json +68 -42
  128. package/extensions/ublocklite/rulesets/main/easyprivacy.json +89 -12
  129. package/extensions/ublocklite/rulesets/main/fra-0.json +19 -19
  130. package/extensions/ublocklite/rulesets/main/hrv-0.json +5 -5
  131. package/extensions/ublocklite/rulesets/main/hun-0.json +5 -3
  132. package/extensions/ublocklite/rulesets/main/idn-0.json +13 -2
  133. package/extensions/ublocklite/rulesets/main/ind-0.json +34 -26
  134. package/extensions/ublocklite/rulesets/main/irn-0.json +676 -635
  135. package/extensions/ublocklite/rulesets/main/isr-0.json +1 -0
  136. package/extensions/ublocklite/rulesets/main/jpn-1.json +55 -31
  137. package/extensions/ublocklite/rulesets/main/kor-1.json +9 -4
  138. package/extensions/ublocklite/rulesets/main/mkd-0.json +1 -1
  139. package/extensions/ublocklite/rulesets/main/nld-0.json +2 -1
  140. package/extensions/ublocklite/rulesets/main/nor-0.json +35 -13
  141. package/extensions/ublocklite/rulesets/main/pgl.json +36 -15
  142. package/extensions/ublocklite/rulesets/main/pol-0.json +3 -2
  143. package/extensions/ublocklite/rulesets/main/rus-0.json +37 -37
  144. package/extensions/ublocklite/rulesets/main/rus-1.json +7 -3
  145. package/extensions/ublocklite/rulesets/main/spa-1.json +15 -33
  146. package/extensions/ublocklite/rulesets/main/stevenblack-hosts.json +15675 -15915
  147. package/extensions/ublocklite/rulesets/main/swe-1.json +46 -34
  148. package/extensions/ublocklite/rulesets/main/tur-0.json +56 -32
  149. package/extensions/ublocklite/rulesets/main/ublock-badware.json +87 -89
  150. package/extensions/ublocklite/rulesets/main/ublock-experimental.json +3 -0
  151. package/extensions/ublocklite/rulesets/main/ublock-filters.json +139 -69
  152. package/extensions/ublocklite/rulesets/main/ukr-0.json +5 -7
  153. package/extensions/ublocklite/rulesets/main/urlhaus-full.json +546 -1235
  154. package/extensions/ublocklite/rulesets/main/vie-1.json +55 -57
  155. package/extensions/ublocklite/rulesets/modify-headers/chn-0.json +4 -2
  156. package/extensions/ublocklite/rulesets/modify-headers/fra-0.json +2 -1
  157. package/extensions/ublocklite/rulesets/modify-headers/irn-0.json +14 -14
  158. package/extensions/ublocklite/rulesets/modify-headers/ublock-filters.json +4 -8
  159. package/extensions/ublocklite/rulesets/modify-headers/vie-1.json +1 -1
  160. package/extensions/ublocklite/rulesets/redirect/annoyances-overlays.json +1 -1
  161. package/extensions/ublocklite/rulesets/redirect/easyprivacy.json +35 -0
  162. package/extensions/ublocklite/rulesets/redirect/irn-0.json +23 -23
  163. package/extensions/ublocklite/rulesets/redirect/kor-1.json +1 -1
  164. package/extensions/ublocklite/rulesets/redirect/rus-0.json +2 -1
  165. package/extensions/ublocklite/rulesets/redirect/spa-1.json +1 -2
  166. package/extensions/ublocklite/rulesets/redirect/tur-0.json +2 -3
  167. package/extensions/ublocklite/rulesets/redirect/ublock-badware.json +18 -0
  168. package/extensions/ublocklite/rulesets/redirect/ublock-filters.json +20 -15
  169. package/extensions/ublocklite/rulesets/redirect/vie-1.json +5 -22
  170. package/extensions/ublocklite/rulesets/regex/chn-0.json +1 -1
  171. package/extensions/ublocklite/rulesets/regex/ita-0.json +1 -0
  172. package/extensions/ublocklite/rulesets/regex/jpn-1.json +1 -1
  173. package/extensions/ublocklite/rulesets/regex/tur-0.json +4 -1
  174. package/extensions/ublocklite/rulesets/regex/ublock-badware.json +3 -8
  175. package/extensions/ublocklite/rulesets/regex/ublock-filters.json +14 -9
  176. package/extensions/ublocklite/rulesets/regex/ukr-0.json +3 -5
  177. package/extensions/ublocklite/rulesets/removeparam/adguard-spyware-url.json +26 -11
  178. package/extensions/ublocklite/rulesets/removeparam/irn-0.json +16 -15
  179. package/extensions/ublocklite/rulesets/removeparam/rus-1.json +3 -2
  180. package/extensions/ublocklite/rulesets/removeparam/ublock-filters.json +6 -5
  181. package/extensions/ublocklite/rulesets/ruleset-details.json +332 -324
  182. package/extensions/ublocklite/rulesets/scripting/generic/annoyances-cookies.js +3 -3
  183. package/extensions/ublocklite/rulesets/scripting/generic/annoyances-notifications.js +87 -0
  184. package/extensions/ublocklite/rulesets/scripting/generic/annoyances-social.js +2 -2
  185. package/extensions/ublocklite/rulesets/scripting/generic/bgr-0.js +3 -3
  186. package/extensions/ublocklite/rulesets/scripting/generic/chn-0.js +2 -2
  187. package/extensions/ublocklite/rulesets/scripting/generic/deu-0.js +1 -1
  188. package/extensions/ublocklite/rulesets/scripting/generic/easylist.js +3 -3
  189. package/extensions/ublocklite/rulesets/scripting/generic/est-0.js +1 -1
  190. package/extensions/ublocklite/rulesets/scripting/generic/fra-0.js +2 -2
  191. package/extensions/ublocklite/rulesets/scripting/generic/hrv-0.js +1 -1
  192. package/extensions/ublocklite/rulesets/scripting/generic/idn-0.js +2 -2
  193. package/extensions/ublocklite/rulesets/scripting/generic/ind-0.js +2 -2
  194. package/extensions/ublocklite/rulesets/scripting/generic/irn-0.js +3 -3
  195. package/extensions/ublocklite/rulesets/scripting/generic/jpn-1.js +3 -3
  196. package/extensions/ublocklite/rulesets/scripting/generic/kor-1.js +2 -2
  197. package/extensions/ublocklite/rulesets/scripting/generic/nor-0.js +1 -1
  198. package/extensions/ublocklite/rulesets/scripting/generic/pol-0.js +1 -1
  199. package/extensions/ublocklite/rulesets/scripting/generic/rou-1.js +2 -2
  200. package/extensions/ublocklite/rulesets/scripting/generic/rus-0.js +1 -1
  201. package/extensions/ublocklite/rulesets/scripting/generic/swe-1.js +1 -1
  202. package/extensions/ublocklite/rulesets/scripting/generic/tur-0.js +1 -1
  203. package/extensions/ublocklite/rulesets/scripting/generic/ublock-filters.js +3 -3
  204. package/extensions/ublocklite/rulesets/scripting/generic/ukr-0.js +3 -3
  205. package/extensions/ublocklite/rulesets/scripting/generic/vie-1.js +1 -1
  206. package/extensions/ublocklite/rulesets/scripting/{declarative/isr-0.js → generichigh/annoyances-notifications.css} +15 -21
  207. package/extensions/ublocklite/rulesets/scripting/generichigh/chn-0.css +14 -0
  208. package/extensions/ublocklite/rulesets/scripting/generichigh/easylist.css +3 -0
  209. package/extensions/ublocklite/rulesets/scripting/generichigh/est-0.css +1 -0
  210. package/extensions/ublocklite/rulesets/scripting/generichigh/idn-0.css +34 -0
  211. package/extensions/ublocklite/rulesets/scripting/generichigh/irn-0.css +27 -0
  212. package/extensions/ublocklite/rulesets/scripting/generichigh/nor-0.css +17 -0
  213. package/extensions/ublocklite/rulesets/scripting/generichigh/pol-0.css +8 -0
  214. package/extensions/ublocklite/rulesets/scripting/generichigh/rou-1.css +1 -0
  215. package/extensions/ublocklite/rulesets/scripting/generichigh/rus-0.css +107 -0
  216. package/extensions/ublocklite/rulesets/scripting/generichigh/rus-1.css +3 -0
  217. package/extensions/ublocklite/rulesets/scripting/generichigh/swe-1.css +1 -0
  218. package/extensions/ublocklite/rulesets/scripting/generichigh/tur-0.css +1 -0
  219. package/extensions/ublocklite/rulesets/scripting/generichigh/ublock-filters.css +6 -2
  220. package/extensions/ublocklite/rulesets/scripting/generichigh/vie-1.css +1 -0
  221. package/extensions/ublocklite/rulesets/scripting/procedural/adguard-mobile.js +3 -3
  222. package/extensions/ublocklite/rulesets/scripting/procedural/alb-0.js +4 -4
  223. package/extensions/ublocklite/rulesets/scripting/procedural/annoyances-cookies.js +4 -4
  224. package/extensions/ublocklite/rulesets/scripting/procedural/annoyances-notifications.js +42 -0
  225. package/extensions/ublocklite/rulesets/scripting/procedural/annoyances-others.js +3 -3
  226. package/extensions/ublocklite/rulesets/scripting/procedural/annoyances-overlays.js +3 -3
  227. package/extensions/ublocklite/rulesets/scripting/procedural/annoyances-social.js +3 -3
  228. package/extensions/ublocklite/rulesets/scripting/procedural/chn-0.js +3 -3
  229. package/extensions/ublocklite/rulesets/scripting/procedural/cze-0.js +3 -3
  230. package/extensions/ublocklite/rulesets/scripting/procedural/deu-0.js +1 -1
  231. package/extensions/ublocklite/rulesets/scripting/procedural/easylist.js +3 -3
  232. package/extensions/ublocklite/rulesets/scripting/{declarative → procedural}/easyprivacy.js +5 -5
  233. package/extensions/ublocklite/rulesets/scripting/procedural/est-0.js +3 -3
  234. package/extensions/ublocklite/rulesets/scripting/procedural/fin-0.js +3 -3
  235. package/extensions/ublocklite/rulesets/scripting/procedural/fra-0.js +4 -4
  236. package/extensions/ublocklite/rulesets/scripting/procedural/grc-0.js +3 -3
  237. package/extensions/ublocklite/rulesets/scripting/procedural/hrv-0.js +3 -3
  238. package/extensions/ublocklite/rulesets/scripting/procedural/hun-0.js +3 -3
  239. package/extensions/ublocklite/rulesets/scripting/procedural/idn-0.js +3 -3
  240. package/extensions/ublocklite/rulesets/scripting/procedural/ind-0.js +3 -3
  241. package/extensions/ublocklite/rulesets/scripting/procedural/irn-0.js +3 -3
  242. package/extensions/ublocklite/rulesets/scripting/procedural/isl-0.js +1 -1
  243. package/extensions/ublocklite/rulesets/scripting/procedural/isr-0.js +3 -3
  244. package/extensions/ublocklite/rulesets/scripting/procedural/ita-0.js +3 -3
  245. package/extensions/ublocklite/rulesets/scripting/procedural/jpn-1.js +3 -3
  246. package/extensions/ublocklite/rulesets/scripting/procedural/kor-1.js +3 -3
  247. package/extensions/ublocklite/rulesets/scripting/procedural/ltu-0.js +3 -3
  248. package/extensions/ublocklite/rulesets/scripting/procedural/lva-0.js +1 -1
  249. package/extensions/ublocklite/rulesets/scripting/{declarative → procedural}/mkd-0.js +4 -4
  250. package/extensions/ublocklite/rulesets/scripting/procedural/nld-0.js +3 -3
  251. package/extensions/ublocklite/rulesets/scripting/procedural/nor-0.js +4 -4
  252. package/extensions/ublocklite/rulesets/scripting/procedural/pol-0.js +3 -3
  253. package/extensions/ublocklite/rulesets/scripting/procedural/rou-1.js +3 -3
  254. package/extensions/ublocklite/rulesets/scripting/procedural/rus-0.js +3 -3
  255. package/extensions/ublocklite/rulesets/scripting/procedural/rus-1.js +3 -3
  256. package/extensions/ublocklite/rulesets/scripting/procedural/spa-0.js +1 -1
  257. package/extensions/ublocklite/rulesets/scripting/procedural/spa-1.js +4 -4
  258. package/extensions/ublocklite/rulesets/scripting/procedural/svn-0.js +1 -1
  259. package/extensions/ublocklite/rulesets/scripting/procedural/swe-1.js +3 -3
  260. package/extensions/ublocklite/rulesets/scripting/procedural/tha-0.js +1 -1
  261. package/extensions/ublocklite/rulesets/scripting/procedural/tur-0.js +4 -4
  262. package/extensions/ublocklite/rulesets/scripting/procedural/ublock-badware.js +3 -3
  263. package/extensions/ublocklite/rulesets/scripting/procedural/ublock-filters.js +3 -3
  264. package/extensions/ublocklite/rulesets/scripting/procedural/ubol-tests.js +1 -1
  265. package/extensions/ublocklite/rulesets/scripting/procedural/ukr-0.js +3 -3
  266. package/extensions/ublocklite/rulesets/scripting/procedural/vie-1.js +3 -3
  267. package/extensions/ublocklite/rulesets/scripting/scriptlet/adguard-mobile.abort-current-script.js +6 -5
  268. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.abort-current-script.js +4 -3
  269. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.set-constant.js +2 -2
  270. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.set-cookie-reload.js +446 -0
  271. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.set-cookie.js +2 -2
  272. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.set-local-storage-item.js +2 -2
  273. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.set-session-storage-item.js +2 -2
  274. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.trusted-click-element.js +2 -2
  275. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.trusted-set-cookie.js +2 -2
  276. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-cookies.trusted-set-local-storage-item.js +2 -2
  277. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-notifications.abort-current-script.js +452 -0
  278. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-notifications.abort-on-property-write.js +347 -0
  279. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-notifications.addEventListener-defuser.js +498 -0
  280. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-notifications.remove-attr.js +405 -0
  281. package/extensions/ublocklite/rulesets/scripting/scriptlet/{tur-0.set-attr.js → annoyances-notifications.remove-class.js} +90 -119
  282. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-notifications.set-constant.js +541 -0
  283. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-notifications.set-cookie.js +442 -0
  284. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-notifications.set-local-storage-item.js +399 -0
  285. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-notifications.set-session-storage-item.js +399 -0
  286. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.abort-current-script.js +5 -4
  287. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.abort-on-property-read.js +1 -1
  288. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.addEventListener-defuser.js +2 -2
  289. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.prevent-setTimeout.js +2 -2
  290. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.prevent-window-open.js +1 -1
  291. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.remove-node-text.js +2 -2
  292. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.set-constant.js +2 -2
  293. package/extensions/ublocklite/rulesets/scripting/scriptlet/annoyances-overlays.set-cookie.js +2 -2
  294. package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.abort-current-script.js +6 -5
  295. package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.addEventListener-defuser.js +1 -1
  296. package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.adjust-setTimeout.js +1 -1
  297. package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.json-prune.js +3 -3
  298. package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.prevent-fetch.js +2 -2
  299. package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.prevent-setTimeout.js +2 -2
  300. package/extensions/ublocklite/rulesets/scripting/scriptlet/chn-0.set-constant.js +2 -2
  301. package/extensions/ublocklite/rulesets/scripting/scriptlet/cze-0.abort-current-script.js +4 -3
  302. package/extensions/ublocklite/rulesets/scripting/scriptlet/easyprivacy.abort-current-script.js +5 -4
  303. package/extensions/ublocklite/rulesets/scripting/scriptlet/easyprivacy.set-constant.js +1 -1
  304. package/extensions/ublocklite/rulesets/scripting/scriptlet/easyprivacy.set-local-storage-item.js +1 -1
  305. package/extensions/ublocklite/rulesets/scripting/scriptlet/fin-0.abort-current-script.js +4 -3
  306. package/extensions/ublocklite/rulesets/scripting/scriptlet/fra-0.abort-current-script.js +4 -3
  307. package/extensions/ublocklite/rulesets/scripting/scriptlet/fra-0.prevent-requestAnimationFrame.js +407 -0
  308. package/extensions/ublocklite/rulesets/scripting/scriptlet/fra-0.prevent-setTimeout.js +2 -2
  309. package/extensions/ublocklite/rulesets/scripting/scriptlet/fra-0.prevent-window-open.js +1 -1
  310. package/extensions/ublocklite/rulesets/scripting/scriptlet/fra-0.remove-node-text.js +449 -0
  311. package/extensions/ublocklite/rulesets/scripting/scriptlet/hun-0.abort-current-script.js +6 -5
  312. package/extensions/ublocklite/rulesets/scripting/scriptlet/hun-0.set-local-storage-item.js +399 -0
  313. package/extensions/ublocklite/rulesets/scripting/scriptlet/idn-0.abort-current-script.js +7 -6
  314. package/extensions/ublocklite/rulesets/scripting/scriptlet/idn-0.abort-on-property-read.js +3 -3
  315. package/extensions/ublocklite/rulesets/scripting/scriptlet/idn-0.addEventListener-defuser.js +2 -2
  316. package/extensions/ublocklite/rulesets/scripting/scriptlet/irn-0.abort-current-script.js +4 -3
  317. package/extensions/ublocklite/rulesets/scripting/scriptlet/irn-0.set-local-storage-item.js +2 -2
  318. package/extensions/ublocklite/rulesets/scripting/scriptlet/irn-0.set-session-storage-item.js +2 -2
  319. package/extensions/ublocklite/rulesets/scripting/scriptlet/isr-0.abort-current-script.js +4 -3
  320. package/extensions/ublocklite/rulesets/scripting/scriptlet/jpn-1.abort-current-script.js +6 -5
  321. package/extensions/ublocklite/rulesets/scripting/scriptlet/jpn-1.abort-on-property-write.js +2 -2
  322. package/extensions/ublocklite/rulesets/scripting/scriptlet/jpn-1.addEventListener-defuser.js +2 -2
  323. package/extensions/ublocklite/rulesets/scripting/scriptlet/jpn-1.adjust-setTimeout.js +1 -1
  324. package/extensions/ublocklite/rulesets/scripting/scriptlet/jpn-1.href-sanitizer.js +2 -2
  325. package/extensions/ublocklite/rulesets/scripting/scriptlet/jpn-1.remove-attr.js +2 -2
  326. package/extensions/ublocklite/rulesets/scripting/scriptlet/jpn-1.remove-node-text.js +2 -2
  327. package/extensions/ublocklite/rulesets/scripting/scriptlet/jpn-1.set-constant.js +2 -2
  328. package/extensions/ublocklite/rulesets/scripting/scriptlet/kor-1.abort-current-script.js +4 -3
  329. package/extensions/ublocklite/rulesets/scripting/scriptlet/kor-1.set-constant.js +2 -2
  330. package/extensions/ublocklite/rulesets/scripting/scriptlet/kor-1.spoof-css.js +422 -0
  331. package/extensions/ublocklite/rulesets/scripting/scriptlet/ltu-0.abort-current-script.js +4 -3
  332. package/extensions/ublocklite/rulesets/scripting/scriptlet/nld-0.abort-current-script.js +4 -3
  333. package/extensions/ublocklite/rulesets/scripting/scriptlet/nld-0.prevent-setTimeout.js +2 -2
  334. package/extensions/ublocklite/rulesets/scripting/scriptlet/nld-0.prevent-xhr.js +584 -0
  335. package/extensions/ublocklite/rulesets/scripting/scriptlet/nor-0.abort-current-script.js +4 -3
  336. package/extensions/ublocklite/rulesets/scripting/scriptlet/pol-0.abort-current-script.js +4 -3
  337. package/extensions/ublocklite/rulesets/scripting/scriptlet/rou-1.abort-current-script.js +4 -3
  338. package/extensions/ublocklite/rulesets/scripting/scriptlet/rou-1.prevent-setInterval.js +2 -2
  339. package/extensions/ublocklite/rulesets/scripting/scriptlet/rou-1.prevent-setTimeout.js +2 -2
  340. package/extensions/ublocklite/rulesets/scripting/scriptlet/rou-1.prevent-window-open.js +2 -2
  341. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.abort-current-script.js +5 -4
  342. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.abort-on-property-read.js +2 -2
  343. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.addEventListener-defuser.js +3 -3
  344. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.adjust-setInterval.js +1 -1
  345. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.href-sanitizer.js +2 -2
  346. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.json-prune-fetch-response.js +2 -2
  347. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.prevent-fetch.js +3 -3
  348. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.remove-node-text.js +2 -2
  349. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.set-constant.js +3 -3
  350. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-0.set-cookie.js +2 -2
  351. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-1.prevent-xhr.js +1 -1
  352. package/extensions/ublocklite/rulesets/scripting/scriptlet/rus-1.set-constant.js +3 -3
  353. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.abort-current-script.js +6 -5
  354. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.abort-on-property-read.js +2 -2
  355. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.abort-on-property-write.js +2 -2
  356. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.addEventListener-defuser.js +3 -3
  357. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.adjust-setTimeout.js +2 -2
  358. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.noeval-if.js +3 -3
  359. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.prevent-fetch.js +2 -2
  360. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.prevent-setTimeout.js +2 -2
  361. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.prevent-window-open.js +1 -1
  362. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.remove-attr.js +2 -2
  363. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.set-constant.js +2 -2
  364. package/extensions/ublocklite/rulesets/scripting/scriptlet/spa-1.set-local-storage-item.js +1 -1
  365. package/extensions/ublocklite/rulesets/scripting/scriptlet/swe-1.abort-current-script.js +5 -4
  366. package/extensions/ublocklite/rulesets/scripting/scriptlet/swe-1.noeval-if.js +1 -1
  367. package/extensions/ublocklite/rulesets/scripting/scriptlet/swe-1.prevent-xhr.js +1 -1
  368. package/extensions/ublocklite/rulesets/scripting/scriptlet/swe-1.set-constant.js +1 -1
  369. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.abort-current-script.js +4 -3
  370. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.abort-on-property-read.js +1 -1
  371. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.abort-on-property-write.js +2 -2
  372. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.adjust-setInterval.js +2 -2
  373. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.adjust-setTimeout.js +332 -0
  374. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.m3u-prune.js +2 -2
  375. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.prevent-window-open.js +1 -1
  376. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.remove-attr.js +2 -2
  377. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.set-constant.js +2 -2
  378. package/extensions/ublocklite/rulesets/scripting/scriptlet/tur-0.set-local-storage-item.js +3 -3
  379. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-badware.abort-current-script.js +4 -3
  380. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.abort-current-script.js +7 -6
  381. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.abort-on-property-read.js +2 -2
  382. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.abort-on-property-write.js +2 -2
  383. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.abort-on-stack-trace.js +3 -3
  384. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.addEventListener-defuser.js +3 -3
  385. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.adjust-setInterval.js +3 -3
  386. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.adjust-setTimeout.js +3 -3
  387. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.close-window.js +3 -3
  388. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.href-sanitizer.js +2 -2
  389. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.json-edit.js +69 -29
  390. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.json-prune-fetch-response.js +2 -2
  391. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.json-prune.js +2 -2
  392. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.jsonl-edit-xhr-response.js +70 -30
  393. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.noeval-if.js +2 -2
  394. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.nowebrtc.js +1 -1
  395. package/extensions/ublocklite/rulesets/scripting/scriptlet/{irn-0.close-window.js → ublock-filters.prevent-canvas.js} +14 -21
  396. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-fetch.js +2 -2
  397. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-requestAnimationFrame.js +2 -2
  398. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-setInterval.js +3 -3
  399. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-setTimeout.js +2 -2
  400. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-window-open.js +2 -2
  401. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.prevent-xhr.js +3 -3
  402. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.remove-attr.js +2 -2
  403. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.remove-cookie.js +2 -2
  404. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.remove-node-text.js +3 -3
  405. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.set-constant.js +3 -3
  406. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.set-cookie.js +2 -2
  407. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.set-local-storage-item.js +2 -2
  408. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.set-session-storage-item.js +2 -2
  409. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-click-element.js +2 -2
  410. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-create-html.js +2 -2
  411. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-json-edit-fetch-response.js +927 -0
  412. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-override-element-method.js +3 -3
  413. package/extensions/ublocklite/rulesets/scripting/scriptlet/{hun-0.prevent-fetch.js → ublock-filters.trusted-prevent-fetch.js} +7 -7
  414. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-replace-argument.js +2 -2
  415. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-replace-fetch-response.js +2 -2
  416. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-replace-node-text.js +3 -3
  417. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-replace-outbound-text.js +3 -3
  418. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-set-attr.js +2 -2
  419. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-set-constant.js +4 -4
  420. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-set-cookie.js +3 -3
  421. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-set-local-storage-item.js +1 -1
  422. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.trusted-suppress-native-method.js +2 -2
  423. package/extensions/ublocklite/rulesets/scripting/scriptlet/ubol-tests.jsonl-edit-fetch-response.js +68 -28
  424. package/extensions/ublocklite/rulesets/scripting/scriptlet/ubol-tests.jsonl-edit-xhr-response.js +68 -28
  425. package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.abort-current-script.js +4 -3
  426. package/extensions/ublocklite/rulesets/scripting/scriptlet/ukr-0.abort-on-property-read.js +1 -1
  427. package/extensions/ublocklite/rulesets/scripting/scriptlet/vie-1.abort-current-script.js +6 -5
  428. package/extensions/ublocklite/rulesets/scripting/scriptlet/vie-1.abort-on-property-read.js +2 -2
  429. package/extensions/ublocklite/rulesets/scripting/scriptlet/vie-1.set-constant.js +1 -1
  430. package/extensions/ublocklite/rulesets/scripting/specific/adguard-mobile.js +3 -3
  431. package/extensions/ublocklite/rulesets/scripting/specific/annoyances-cookies.js +3 -3
  432. package/extensions/ublocklite/rulesets/scripting/specific/annoyances-notifications.js +42 -0
  433. package/extensions/ublocklite/rulesets/scripting/specific/annoyances-others.js +3 -3
  434. package/extensions/ublocklite/rulesets/scripting/specific/annoyances-overlays.js +3 -3
  435. package/extensions/ublocklite/rulesets/scripting/specific/annoyances-social.js +3 -3
  436. package/extensions/ublocklite/rulesets/scripting/specific/bgr-0.js +3 -3
  437. package/extensions/ublocklite/rulesets/scripting/specific/chn-0.js +3 -3
  438. package/extensions/ublocklite/rulesets/scripting/specific/cze-0.js +1 -1
  439. package/extensions/ublocklite/rulesets/scripting/specific/deu-0.js +3 -3
  440. package/extensions/ublocklite/rulesets/scripting/specific/easylist.js +3 -3
  441. package/extensions/ublocklite/rulesets/scripting/specific/fin-0.js +3 -3
  442. package/extensions/ublocklite/rulesets/scripting/specific/fra-0.js +3 -3
  443. package/extensions/ublocklite/rulesets/scripting/specific/hrv-0.js +3 -3
  444. package/extensions/ublocklite/rulesets/scripting/specific/hun-0.js +3 -3
  445. package/extensions/ublocklite/rulesets/scripting/specific/idn-0.js +3 -3
  446. package/extensions/ublocklite/rulesets/scripting/specific/ind-0.js +3 -3
  447. package/extensions/ublocklite/rulesets/scripting/specific/irn-0.js +3 -3
  448. package/extensions/ublocklite/rulesets/scripting/specific/isr-0.js +3 -3
  449. package/extensions/ublocklite/rulesets/scripting/specific/ita-0.js +3 -3
  450. package/extensions/ublocklite/rulesets/scripting/specific/jpn-1.js +3 -3
  451. package/extensions/ublocklite/rulesets/scripting/specific/kor-1.js +3 -3
  452. package/extensions/ublocklite/rulesets/scripting/specific/nld-0.js +3 -3
  453. package/extensions/ublocklite/rulesets/scripting/specific/nor-0.js +3 -3
  454. package/extensions/ublocklite/rulesets/scripting/specific/pol-0.js +3 -3
  455. package/extensions/ublocklite/rulesets/scripting/specific/rou-1.js +3 -3
  456. package/extensions/ublocklite/rulesets/scripting/specific/rus-0.js +3 -3
  457. package/extensions/ublocklite/rulesets/scripting/specific/rus-1.js +3 -3
  458. package/extensions/ublocklite/rulesets/scripting/specific/spa-1.js +3 -3
  459. package/extensions/ublocklite/rulesets/scripting/specific/swe-1.js +3 -3
  460. package/extensions/ublocklite/rulesets/scripting/specific/tur-0.js +3 -3
  461. package/extensions/ublocklite/rulesets/scripting/specific/ublock-filters.js +3 -3
  462. package/extensions/ublocklite/rulesets/scripting/specific/ukr-0.js +3 -3
  463. package/extensions/ublocklite/rulesets/scripting/specific/vie-1.js +3 -3
  464. package/extensions/ublocklite/rulesets/scriptlet-details.json +408 -341
  465. package/extensions/ublocklite/rulesets/strictblock/adguard-mobile.json +13 -1
  466. package/extensions/ublocklite/rulesets/strictblock/annoyances-cookies.json +0 -1
  467. package/extensions/ublocklite/rulesets/strictblock/annoyances-notifications.json +41 -0
  468. package/extensions/ublocklite/rulesets/strictblock/bgr-0.json +1 -2
  469. package/extensions/ublocklite/rulesets/strictblock/chn-0.json +278 -1
  470. package/extensions/ublocklite/rulesets/strictblock/dpollock-0.json +8 -41
  471. package/extensions/ublocklite/rulesets/strictblock/easylist.json +13 -14
  472. package/extensions/ublocklite/rulesets/strictblock/easyprivacy.json +74 -3
  473. package/extensions/ublocklite/rulesets/strictblock/fra-0.json +500 -41
  474. package/extensions/ublocklite/rulesets/strictblock/hun-0.json +2 -0
  475. package/extensions/ublocklite/rulesets/strictblock/irn-0.json +6 -2
  476. package/extensions/ublocklite/rulesets/strictblock/jpn-1.json +182 -171
  477. package/extensions/ublocklite/rulesets/strictblock/kor-1.json +5 -0
  478. package/extensions/ublocklite/rulesets/strictblock/mkd-0.json +1 -0
  479. package/extensions/ublocklite/rulesets/strictblock/nor-0.json +6 -4
  480. package/extensions/ublocklite/rulesets/strictblock/pgl.json +36 -15
  481. package/extensions/ublocklite/rulesets/strictblock/pol-0.json +1 -0
  482. package/extensions/ublocklite/rulesets/strictblock/rus-1.json +1 -0
  483. package/extensions/ublocklite/rulesets/strictblock/spa-1.json +1 -0
  484. package/extensions/ublocklite/rulesets/strictblock/stevenblack-hosts.json +15675 -15915
  485. package/extensions/ublocklite/rulesets/strictblock/swe-1.json +6 -55
  486. package/extensions/ublocklite/rulesets/strictblock/tur-0.json +0 -1
  487. package/extensions/ublocklite/rulesets/strictblock/ublock-badware.json +677 -670
  488. package/extensions/ublocklite/rulesets/strictblock/ublock-filters.json +1 -1
  489. package/extensions/ublocklite/rulesets/strictblock/ukr-0.json +1 -4
  490. package/extensions/ublocklite/rulesets/strictblock/urlhaus-full.json +546 -1235
  491. package/extensions/ublocklite/rulesets/strictblock/vie-1.json +2 -2
  492. package/extensions/ublocklite/rulesets/urlskip/ublock-filters.json +97 -14
  493. package/extensions/ublocklite/ublock.zip +0 -0
  494. package/extensions/ublocklite/web_accessible_resources/fingerprint2.js +1 -1
  495. package/package.json +12 -12
  496. package/src/config.ts +1 -1
  497. package/src/http.ts +5 -0
  498. package/src/limiter.spec.ts +1 -1
  499. package/src/routes/chrome/tests/content.spec.ts +12 -12
  500. package/src/routes/chrome/tests/page-websocket.spec.ts +3 -3
  501. package/src/routes/chrome/tests/pdf.spec.ts +13 -13
  502. package/src/routes/chrome/tests/performance.spec.ts +4 -4
  503. package/src/routes/chrome/tests/scrape.spec.ts +13 -13
  504. package/src/routes/chrome/tests/screenshot.spec.ts +14 -14
  505. package/src/routes/chromium/tests/content.spec.ts +13 -13
  506. package/src/routes/chromium/tests/page-websocket.spec.ts +3 -3
  507. package/src/routes/chromium/tests/pdf.spec.ts +13 -13
  508. package/src/routes/chromium/tests/performance.spec.ts +4 -4
  509. package/src/routes/chromium/tests/scrape.spec.ts +13 -13
  510. package/src/routes/chromium/tests/screenshot.spec.ts +14 -14
  511. package/src/routes/edge/tests/content.spec.ts +12 -12
  512. package/src/routes/edge/tests/page-websocket.spec.ts +3 -3
  513. package/src/routes/edge/tests/pdf.spec.ts +13 -13
  514. package/src/routes/edge/tests/performance.spec.ts +4 -4
  515. package/src/routes/edge/tests/scrape.spec.ts +13 -13
  516. package/src/routes/edge/tests/screenshot.spec.ts +14 -14
  517. package/src/routes/management/http/kill.get.ts +1 -1
  518. package/src/routes/management/http/pressure.get.ts +15 -3
  519. package/src/routes/management/http/sessions.get.ts +1 -1
  520. package/src/routes/management/tests/management.spec.ts +13 -13
  521. package/src/server.ts +17 -3
  522. package/src/shared/content.http.ts +9 -1
  523. package/src/shared/pdf.http.ts +9 -1
  524. package/src/shared/scrape.http.ts +9 -1
  525. package/src/shared/screenshot.http.ts +9 -1
  526. package/src/shim.spec.ts +40 -1
  527. package/src/shim.ts +17 -0
  528. package/src/types.ts +32 -1
  529. package/src/utils.ts +5 -3
  530. package/static/docs/swagger.json +455 -150
  531. package/static/docs/swagger.min.json +454 -149
  532. package/static/function/client.js +46 -8
  533. package/static/function/index.html +46 -8
  534. package/extensions/ublocklite/js/scripting/css-declarative.js +0 -116
  535. package/extensions/ublocklite/rulesets/scripting/declarative/adguard-mobile.js +0 -42
  536. package/extensions/ublocklite/rulesets/scripting/declarative/alb-0.js +0 -42
  537. package/extensions/ublocklite/rulesets/scripting/declarative/annoyances-cookies.js +0 -42
  538. package/extensions/ublocklite/rulesets/scripting/declarative/annoyances-others.js +0 -42
  539. package/extensions/ublocklite/rulesets/scripting/declarative/annoyances-overlays.js +0 -42
  540. package/extensions/ublocklite/rulesets/scripting/declarative/annoyances-social.js +0 -42
  541. package/extensions/ublocklite/rulesets/scripting/declarative/chn-0.js +0 -42
  542. package/extensions/ublocklite/rulesets/scripting/declarative/cze-0.js +0 -42
  543. package/extensions/ublocklite/rulesets/scripting/declarative/easylist.js +0 -42
  544. package/extensions/ublocklite/rulesets/scripting/declarative/est-0.js +0 -42
  545. package/extensions/ublocklite/rulesets/scripting/declarative/fin-0.js +0 -42
  546. package/extensions/ublocklite/rulesets/scripting/declarative/fra-0.js +0 -42
  547. package/extensions/ublocklite/rulesets/scripting/declarative/grc-0.js +0 -42
  548. package/extensions/ublocklite/rulesets/scripting/declarative/hrv-0.js +0 -42
  549. package/extensions/ublocklite/rulesets/scripting/declarative/hun-0.js +0 -42
  550. package/extensions/ublocklite/rulesets/scripting/declarative/idn-0.js +0 -42
  551. package/extensions/ublocklite/rulesets/scripting/declarative/irn-0.js +0 -42
  552. package/extensions/ublocklite/rulesets/scripting/declarative/jpn-1.js +0 -42
  553. package/extensions/ublocklite/rulesets/scripting/declarative/kor-1.js +0 -42
  554. package/extensions/ublocklite/rulesets/scripting/declarative/ltu-0.js +0 -42
  555. package/extensions/ublocklite/rulesets/scripting/declarative/nld-0.js +0 -42
  556. package/extensions/ublocklite/rulesets/scripting/declarative/nor-0.js +0 -42
  557. package/extensions/ublocklite/rulesets/scripting/declarative/pol-0.js +0 -42
  558. package/extensions/ublocklite/rulesets/scripting/declarative/rou-1.js +0 -42
  559. package/extensions/ublocklite/rulesets/scripting/declarative/rus-0.js +0 -42
  560. package/extensions/ublocklite/rulesets/scripting/declarative/rus-1.js +0 -42
  561. package/extensions/ublocklite/rulesets/scripting/declarative/spa-1.js +0 -42
  562. package/extensions/ublocklite/rulesets/scripting/declarative/swe-1.js +0 -42
  563. package/extensions/ublocklite/rulesets/scripting/declarative/tur-0.js +0 -42
  564. package/extensions/ublocklite/rulesets/scripting/declarative/ublock-badware.js +0 -42
  565. package/extensions/ublocklite/rulesets/scripting/declarative/ublock-filters.js +0 -42
  566. package/extensions/ublocklite/rulesets/scripting/declarative/ukr-0.js +0 -42
  567. package/extensions/ublocklite/rulesets/scripting/declarative/vie-1.js +0 -42
  568. package/extensions/ublocklite/rulesets/scripting/scriptlet/ublock-filters.overlay-buster.js +0 -165
@@ -318,8 +318,8 @@ function safeSelf() {
318
318
  /******************************************************************************/
319
319
 
320
320
  const scriptletGlobals = {}; // eslint-disable-line
321
- const argsList = [["CMPList","$currentDate$"],["cv:cookiesAllowed","{\"mandatoryCookies\":true,\"statsCookies\":false,\"marketingCookies\":false}"],["elementor","{\"__expiration\":{},\"pageViews\":1,\"popup_1276_times\":1}"],["dlnews:settings","{\"state\":{\"cookiesConsent\":{\"marketing\":false,\"analytical\":false},\"chartsOptions\":[{\"id\":\"defi-tvl\"},{\"id\":\"top-protocol\"},{\"id\":\"dexs-volume\"},{\"id\":\"chains-tvl-pie\"}],\"isPriceFeedPaused\":false,\"showSubscriptionModal\":false},\"version\":2}"],["kmt_config_web","{\"created_at\":\"$currentDate$\",\"anonymous\":\"\",\"gdpr_ga\":false,\"gdpr_exp\":false}"],["cookies_settings","{\"json\":{\"state\":\"only-essential\"}}"],["cookiesSettings","{\"remarketing\":false,\"personalisation\":false,\"statistics\":false}"],["acceptConsent","{\"acceptAnalysis\":false,\"acceptMarketing\":false,\"showCookie\":1}"],["cookieConsent","{\"consented\":true,\"levels\":{\"level1\":true,\"level2\":false,\"level3\":false,\"level4\":false}}"],["_cmpRepromptHash","CP20-YAP20-YAAKAyBENAfEgAAAAAAAAAAwIAAAI8gBAGfAR4AAA.YAAAAAAAAAAA.1.l4yppBwRRyXiPrnFNrkJzQ==.P21TmRP21TmRAKAaAB4AAAAA"],["noniabvendorconsent","P21TmRP21TmRAKAaAB4AAAAA"],["UserCookieConsent","{\"__typename\":\"CookieConfigModel\",\"cookieSettings\":[],\"essential\":true,\"statistics\":false,\"marketing\":false}"],["trackingAllowedOrDeniedAt","$currentISODate$"],["cookies","{\"essential\":true,\"performance\":false,\"marketing\":false}"],["cookie_consent","{\"consent\":true,\"necessary\":true,\"preference\":false,\"statistics\":false,\"marketing\":false}"],["acceptedCookies","{\"security\":true,\"analytics\":false,\"sentry\":false}"],["cookieManagement","{\"googleAnalytics\":false,\"facebook\":false}"],["cookie.settings","{\"required\":true,\"experience\":false,\"performance\":false,\"analytics\":false,\"date\":$now$,\"version\":1}"],["reduxStore","{\"tracking\":{\"consents\":{\"All\":false,\"functional\":false,\"Segment.io\":true},\"dialog\":{\"open\":false,\"dirty\":false},\"isConfigured\":true},\"loyalty\":{\"hasSeenLoyaltyPage\":false}}"],["cookie-data","{\"version\":\"20210906\",\"value\":\"-ga-ads-fbp-htj-yt\"}"],["Cookies","{\"googleAnalytics\":false,\"facebookPixel\":false,\"tikTokPixel\":false,\"googleConversionTag\":false}"],["cc_cookie","{\"categories\":[\"necessary\"],\"revision\":0,\"data\":null,\"consentTimestamp\":\"$currentISODate$\",\"consentId\":\"00000000-0000-0000-000-000000000000\",\"services\":{\"necessary\":[],\"analytics\":[],\"marketing\":[]},\"lastConsentTimestamp\":\"$currentISODate$\",\"expirationTime\":1779124118406}"],["consent","{\"statistics\":false}"],["cookieSettings","{\"technical\":true,\"bugsnag\":false,\"adjust\":false}"],["appconsent","{\"consents\":{},\"i18n\":{},\"ui\":{},\"vendorlist\":{},\"CMP_VERSION\":10,\"xchange\":{},\"events\":[],\"client\":{\"externalIds\":{},\"floatingPurposes\":[{\"id\":\"\",\"version\":0}],\"floatingPurposesConsent\":[{\"extra_id\":\"\",\"type\":0,\"given_at\":null,\"version\":0}]},\"consentstring\":\"CPzBFAAPzBFAAACAKAFRDUCoAAAAAH_AAAqIIzNF_H_dSSNj8X5_Yft0eY1P5dAz7uQxBhaJg6QFyBLEsJwXwmAIIEnqAKgKGBIEskJAIQBlCAHABUEAYIEBISGMAEAQIQAAJiAEEEERAmJICBBJG4AgEAIQglgCABQAgAsESFsoQMhAAIAABUJAAAgggIABAgAIBDAAQAAAAAAAAgAAEAAAAAAAAAAEABBHYAkw1LiABsiAkJpAwigRAjCIICKBQAAACQMEAACQIAlBGASgwAQAgRQAEBAAAAFEAAAAAAIAEIAAgACBAABAIBAAAABAAAAAQAAAgAIAQAAAABADAEAABAAAAAAACAECEIAAIACAgAAgAEAIAAAAAAIBAIBAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAgAAAA.YAAAAAAAAAAA\",\"consentstringUpdatedAt\":{}}"],["acceptedCookiesAt","$now$"],["am-last-cookie-acceptance","$now$"],["cookie_setting","{\"analytical_cookies\":false,\"functional_cookies\":true}"],["cookieNotification","{\"value\":\"1\"}"],["solvia-consents","{\"tec\":true,\"pers\":false,\"ana\":false,\"publi\":false}"],["COOKIE_CONSENT","\"TECHNICAL_SELECTED\""],["persist:privacy","{\"allowExternalContent\":\"false\",\"allowTracking\":\"false\",\"allowFunctionalCookies\":\"true\",\"allowRequiredCookies\":\"true\",\"showConsentBanner\":\"false\",\"_persist\":\"{\\\"version\\\":-1,\\\"rehydrated\\\":true}\"}"],["consents","{\"*\":true}"],["cookieSettings","{\"fullOptIn\":false,\"googleAnalytics\":false,\"facebookTrackingPixel\":false,\"googleAds\":false}"],["CookiesConsent","{\"necessary\":true,\"functional\":true}"],["aw-thirds","{\"mode\":\"forced-choice\",\"google_analytics\":\"deny\",\"google_tag_manager\":\"deny\",\"facebook_pixel\":\"deny\",\"linkedin\":\"deny\",\"youtube\":\"allow\",\"google_maps\":\"allow\"}"],["lms_cookies","nk9jfSLYwDn7O5xP0UhgFw=="],["partner-cookies","{\"value\":{\"isAnalyticsCookies\":false,\"isFunctionalCookies\":true}}"],["cookieConsent","{\"created\":\"1\",\"versionNumber\":2,\"consents\":[{\"type\":\"ANALYTICS_STORAGE\",\"status\":\"DENIED\"},{\"type\":\"AD_STORAGE\",\"status\":\"DENIED\"},{\"type\":\"AD_USER_DATA\",\"status\":\"DENIED\"},{\"type\":\"AD_PERSONALIZATION\",\"status\":\"DENIED\"}],\"gtmParams\":{\"analytics_storage\":\"granted\",\"ad_storage\":\"denied\",\"ad_user_data\":\"denied\",\"ad_personalization\":\"denied\"}}"],["ccm_consent","{\"/\":{\"gen\":2,\"ucid\":\"1\",\"consent\":true,\"embeddings\":[\"1e76acf\",\"8ed8d9a\",\"b429e86\",\"f22e6ed\",\"0b25af3\",\"6079a42\"],\"created\":\"$currentDate$\",\"updated\":\"$currentDate$\",\"clickedButton\":\"acceptAll\",\"iframeConsentDomains\":[],\"tcf\":{\"p\":[],\"lip\":[],\"sf\":[],\"v\":[],\"liv\":[],\"gad\":[]},\"lang\":\"de_DE\"}}"],["userConsents","{\"functional-technology\":true}"],["gtagConsents","{\"ad_personalization\":\"denied\",\"analytics_storage\":\"denied\",\"ad_user_data\":\"denied\",\"ad_storage\":\"denied\"}"],["speedtestUI.Consent","{\"analytics\":false,\"bugReports\":false,\"timestamp\":\"$currentISODate$\"}"],["consentMode","{\"functionality_storage\":\"granted\",\"security_storage\":\"granted\",\"ad_storage\":\"denied\",\"analytics_storage\":\"denied\",\"ad_personalization\":\"denied\",\"ad_user_data\":\"denied\"}"],["cookieConsent","{\"requiredCookies\":true,\"functionality\":true,\"advertisingAndRetargeting\":false,\"analytics\":false}"],["acceptedCookies","{\"\":false,\"AMCV_###@AdobeOrg /\":true,\"AMCVS_###@AdobeOrg\":true,\"APISID, HSID, SAPISID, SID ja SSID cookies\":true,\"(auch GTM)\":true,\"NID cookie\":true,\"SIDCC cookie\":true,\"Youtube cookies\":true,\"mbox\":true,\"consent_adform\":false,\"consent_adobeanalytics\":false,\"consent_adobetarget\":false,\"consent_googleanalytics\":false,\"consent_googleads\":false,\"consent_facebook\":false,\"consent_giosg\":false,\"consent_nid\":true}"],["userTrackingConsent","{\"necessary\":true,\"marketing\":false}"],["cookieConsent","{\"optional\":[{\"id\":\"google\",\"accepted\":false}]}"],["cookies-consent-674994311cb8576b78bbaad6","{\"functional\":true,\"performance\":false,\"marketing\":false}"],["privacy_preferences_2024-04","{\"required\":true,\"functional\":false,\"analytics\":false,\"marketing\":false}"],["COOKIES_CONSENTS","{\"marketingAndStatistics\":false,\"personalization\":false,\"at\":1}"],["mage_consent","{\"timestamp\":1,\"data\":{\"functional\":true,\"marketing\":false}}"],["spaseekers:cookie-preferences","{\"necessary\":\"granted\",\"functional\":\"denied\",\"analytics\":\"denied\",\"marketing\":\"denied\"}"],["cookieformData","option0=1&analytical=0&performance=0&targeting=0&functional=0&marketing=0"],["lib-cookieconsent","[]"],["lib-cookieconsent-expire","1870726742772"],["procookie-dismissed","$now$"],["procookie-services","[\"cookie_notice\"]"],["user_cookies_acceptance","{\"necessary\":true,\"analytics\":false,\"functional\":false,\"marketing\":false}"],["cookiesManager","{\"acceptedCategories\":[\"necessary\"]}"],["policyAcceptedDate","$currentDate$"],["consent","{\"version\":1,\"consent\":{\"essential\":\"1\",\"analytics\":0,\"marketing\":0,\"external\":\"1\"}}"],["consentMode","{\"functionality_storage\":\"denied\",\"security_storage\":\"denied\",\"ad_storage\":\"denied\",\"analytics_storage\":\"denied\",\"preferences_storage\":\"denied\"}"],["cookieMonster","war schon da"],["consentMode","{\"ad_storage\":\"denied\",\"analytics_storage\":\"denied\",\"functionality_storage\":\"denied\"}"],["partner-cookies","{\"value\":{\"isAnalyticsCookies\":false,\"isFunctionalCookies\":false},\"expireIn\":1868839599999}"],["iracingCookieSettings","{\"performance-cookies\":false,\"functional-cookies\":false,\"marketing-cookies\":false}"],["cookieSettings","\"{\\\"necessary\\\":true,\\\"functional\\\":false,\\\"performance\\\":false,\\\"targeting\\\":false}\""],["consentState","{\"marketing\":false,\"analytics\":false,\"preferences\":false}"],["userAgreeOfCookieOfData","{\"isUserAgreeCollectionOfCookies\":true,\"userConsentDataStorageTime\":1}"],["cookieConsent","{\"functional\":true,\"statistical\":false,\"marketing\":false}"],["cookiefirst-consent","{\"necessary\":true,\"performance\":false,\"functional\":false,\"advertising\":false,\"timestamp\":1,\"type\":\"category\",\"version\":\"1\"}"],["flipdish-cookies-expiry","$now$"],["CXAgreeTerms","{\"agreed\":true}"],["cookiePrefs","{\"cookies.notice.actioned\":true,\"cookies.marketing.accepted\":false,\"cookies.usage.accepted\":false}"],["consent","\"granted\""],["consentMode","{\"functionality_storage\":\"granted\",\"security_storage\":\"granted\",\"analytics_storage\":\"denied\",\"personalization_storage\":\"granted\",\"ad_storage\":\"denied\",\"ad_user_data\":\"denied\",\"ad_personalization\":\"denied\"}"],["consentSettings","{\"essential\":true,\"embeds\":true}"],["cookies.consent","{\"chosen\":true,\"internal\":true,\"external\":false}"],["cookieSettings","{\"essential\":true,\"statistics\":false,\"thirdparty\":false,\"cookiesAccepted\":true}"],["cookieConsent","{\"preferences\":{\"technical\":true},\"timestamp\":1}"],["user_anonymous_profile","{\"config\":{\"tracking\":false,\"userprofile\":false,\"youtube\":true,\"twitter\":true,\"facebook\":true,\"iframe\":true,\"video\":{\"useSubtitles\":true,\"useAudioDescription\":true}},\"votings\":[],\"msgflash\":[],\"history\":[]}"],["ntd_storage_prefer","ntd-gdpr-basic"],["accepted_tos","20241119"],["cookiesAllowed","[\"strictly\"]"],["btdm.cookies","[0,1]"],["cookie-preferences","{\"analytics-cookies\":false,\"profiling-cookies\":false}"],["cookie_policy","{\"data\":\"agreed\"}"],["consent_preferences","{\"analytics_storage\":\"denied\",\"ad_storage\":\"denied\",\"ad_user_data\":\"denied\",\"ad_personalization\":\"denied\"}"],["cookieConsents","{\"required\":true,\"linkedin\":true,\"googleAnalytics\":false,\"googleAdsense\":false,\"facebook\":false,\"comfort\":false,\"personalization\":false}"],["hasConsented","{\"hasConsented\":true,\"timestamp\":1}"],["cookieOptions","{\"essential\":true,\"analytics\":false,\"socialMedia\":true}"],["cookiePreferences","allow-required"],["cookie-consent","{\"name\":\"cookie-consent\",\"default\":false,\"date\":\"$currentDate$\",\"permissions\":{\"ad_personalization\":\"denied\",\"ad_storage\":\"denied\",\"ad_user_data\":\"denied\",\"analytics_storage\":\"denied\",\"personalization_storage\":\"denied\",\"functionality_storage\":\"granted\",\"security_storage\":\"granted\"}}"],["privacySettings","{\"consent\":true,\"additionalSettings\":{\"preferences\":true,\"statistics\":false,\"marketing\":false},\"version\":2}"]];
322
- const hostnamesMap = new Map([["express.co.uk",0],["carvertical.com",1],["easyfind.ch",2],["dlnews.com",3],["komoot.com",4],["screen.studio",5],["vivantis.*",6],["vivantis-shop.at",6],["krasa.cz",6],["spv.no",7],["vr.fi",8],["forums.tomsguide.com",[9,10]],["online.depo-diy.ee",11],["auf1.tv",12],["steuerbot.com",13],["vadhander.hogakusten.com",14],["vadhander.kramfors.se",14],["monkeytype.com",15],["wesendit.com",16],["onelink.to",17],["linasmatkasse.se",18],["veikkaus.fi",19],["deltaforce.garena.com",20],["imusic.*",21],["feedbutler.app",22],["app.solit-kapital.de",23],["lachainemeteo.com",24],["alan.com",25],["primor.eu",26],["manta.net",27],["login.flex.paychex.com",28],["solvia.es",29],["terviseportaal.ee",30],["vreden.de",31],["if-cdn.com",32],["cnmaarthouse.de",33],["adventisten.de",34],["hopetv.de",34],["soprema.es",35],["luminousindia.com",36],["21vek.by",[37,64,65]],["auto.nl",38],["eurobaustoff.com",39],["weather.com",40],["wedding.pl",41],["speedtest.vodafone.de",42],["interactivebrokers.*",43],["florence.com.tr",44],["bestdrive.fi",45],["bestdrive.no",45],["crumblcookies.com",46],["stadtwerke-heidenheim.de",47],["vivenu-tickets-usa.sailgp.com",48],["aelia.pl",49],["erli.pl",50],["smartphonehoesjes.nl",51],["ploonk.fr",51],["handyhuellen.de",51],["spaseekers.com",52],["superwatchman.com",53],["statech.*",[54,55]],["ebz-business-school.de",[56,57]],["neonet.pl",58],["wildernesshotels.fi",59],["incomeshares.com",60],["germany.travel",61],["townsmith.de",62],["pointomega.de",63],["iracing.com",66],["passes.com",67],["surnamedb.com",68],["puravita.ch",69],["imu.nl",70],["slankmetlinda.nl",70],["choircompany.nl",70],["capaciteitentestoefenen.com",70],["thehuddle.nl",70],["borgch.nl",70],["mcnetiq.nl",70],["gasterijkruisberg.nl",70],["skinnyminds.nl",70],["dewit-elektro.nl",70],["enluse.com",70],["back2front.be",70],["fortressgroup.nl",70],["wel-com.nl",70],["huispromotie.nl",70],["automathoogeveen.nl",70],["icverpleegkundige.com",70],["jenrmarketing.nl",70],["technotrafficcontrol.nl",70],["iclas.org",70],["evac.nl",71],["prenatal.nl",71],["pizzadelight-menu.co.uk",72],["clipix.com",73],["signalrgb.com",74],["beatsperminuteonline.com",75],["tavaratalohurrikaani.fi",76],["ioplus.nl",77],["versteigerungspool.de",78],["banja-tellig.de",79],["adultfriendfinder.com",80],["phoenix.de",81],["epochtimes.fr",82],["archiveofourown.org",83],["nomorobo.com",84],["beststuff.hu",85],["evernote.com",86],["zipair.net",87],["nuvomagazine.com",88],["steirerjobs.at",89],["arredabook.it",90],["condok.org",90],["dietz-motoren.de",90],["lahella.fi",91],["cloud.samsungsds.com",92],["kabasakalonline.com",93],["pizzahut.fi",94]]);
321
+ const argsList = [["CMPList","$currentDate$"],["cv:cookiesAllowed","{\"mandatoryCookies\":true,\"statsCookies\":false,\"marketingCookies\":false}"],["elementor","{\"__expiration\":{},\"pageViews\":1,\"popup_1276_times\":1}"],["dlnews:settings","{\"state\":{\"cookiesConsent\":{\"marketing\":false,\"analytical\":false},\"chartsOptions\":[{\"id\":\"defi-tvl\"},{\"id\":\"top-protocol\"},{\"id\":\"dexs-volume\"},{\"id\":\"chains-tvl-pie\"}],\"isPriceFeedPaused\":false,\"showSubscriptionModal\":false},\"version\":2}"],["kmt_config_web","{\"created_at\":\"$currentDate$\",\"anonymous\":\"\",\"gdpr_ga\":false,\"gdpr_exp\":false}"],["cookies_settings","{\"json\":{\"state\":\"only-essential\"}}"],["cookiesSettings","{\"remarketing\":false,\"personalisation\":false,\"statistics\":false}"],["acceptConsent","{\"acceptAnalysis\":false,\"acceptMarketing\":false,\"showCookie\":1}"],["cookieConsent","{\"consented\":true,\"levels\":{\"level1\":true,\"level2\":false,\"level3\":false,\"level4\":false}}"],["_cmpRepromptHash","CP20-YAP20-YAAKAyBENAfEgAAAAAAAAAAwIAAAI8gBAGfAR4AAA.YAAAAAAAAAAA.1.l4yppBwRRyXiPrnFNrkJzQ==.P21TmRP21TmRAKAaAB4AAAAA"],["noniabvendorconsent","P21TmRP21TmRAKAaAB4AAAAA"],["UserCookieConsent","{\"__typename\":\"CookieConfigModel\",\"cookieSettings\":[],\"essential\":true,\"statistics\":false,\"marketing\":false}"],["trackingAllowedOrDeniedAt","$currentISODate$"],["cookies","{\"essential\":true,\"performance\":false,\"marketing\":false}"],["cookie_consent","{\"consent\":true,\"necessary\":true,\"preference\":false,\"statistics\":false,\"marketing\":false}"],["acceptedCookies","{\"security\":true,\"analytics\":false,\"sentry\":false}"],["cookieManagement","{\"googleAnalytics\":false,\"facebook\":false}"],["cookie.settings","{\"required\":true,\"experience\":false,\"performance\":false,\"analytics\":false,\"date\":$now$,\"version\":1}"],["reduxStore","{\"tracking\":{\"consents\":{\"All\":false,\"functional\":false,\"Segment.io\":true},\"dialog\":{\"open\":false,\"dirty\":false},\"isConfigured\":true},\"loyalty\":{\"hasSeenLoyaltyPage\":false}}"],["cookie-data","{\"version\":\"20210906\",\"value\":\"-ga-ads-fbp-htj-yt\"}"],["Cookies","{\"googleAnalytics\":false,\"facebookPixel\":false,\"tikTokPixel\":false,\"googleConversionTag\":false}"],["cc_cookie","{\"categories\":[\"necessary\"],\"revision\":0,\"data\":null,\"consentTimestamp\":\"$currentISODate$\",\"consentId\":\"00000000-0000-0000-000-000000000000\",\"services\":{\"necessary\":[],\"analytics\":[],\"marketing\":[]},\"lastConsentTimestamp\":\"$currentISODate$\",\"expirationTime\":1779124118406}"],["consent","{\"statistics\":false}"],["user_consent","{\"analytics_storage\":\"denied\",\"ad_storage\":\"denied\",\"ad_user_data\":\"denied\",\"ad_personalization\":\"denied\"}"],["cookieSettings","{\"technical\":true,\"bugsnag\":false,\"adjust\":false}"],["appconsent","{\"consents\":{},\"i18n\":{},\"ui\":{},\"vendorlist\":{},\"CMP_VERSION\":10,\"xchange\":{},\"events\":[],\"client\":{\"externalIds\":{},\"floatingPurposes\":[{\"id\":\"\",\"version\":0}],\"floatingPurposesConsent\":[{\"extra_id\":\"\",\"type\":0,\"given_at\":null,\"version\":0}]},\"consentstring\":\"CPzBFAAPzBFAAACAKAFRDUCoAAAAAH_AAAqIIzNF_H_dSSNj8X5_Yft0eY1P5dAz7uQxBhaJg6QFyBLEsJwXwmAIIEnqAKgKGBIEskJAIQBlCAHABUEAYIEBISGMAEAQIQAAJiAEEEERAmJICBBJG4AgEAIQglgCABQAgAsESFsoQMhAAIAABUJAAAgggIABAgAIBDAAQAAAAAAAAgAAEAAAAAAAAAAEABBHYAkw1LiABsiAkJpAwigRAjCIICKBQAAACQMEAACQIAlBGASgwAQAgRQAEBAAAAFEAAAAAAIAEIAAgACBAABAIBAAAABAAAAAQAAAgAIAQAAAABADAEAABAAAAAAACAECEIAAIACAgAAgAEAIAAAAAAIBAIBAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAgAAAA.YAAAAAAAAAAA\",\"consentstringUpdatedAt\":{}}"],["acceptedCookiesAt","$now$"],["am-last-cookie-acceptance","$now$"],["cookie_setting","{\"analytical_cookies\":false,\"functional_cookies\":true}"],["cookieNotification","{\"value\":\"1\"}"],["solvia-consents","{\"tec\":true,\"pers\":false,\"ana\":false,\"publi\":false}"],["COOKIE_CONSENT","\"TECHNICAL_SELECTED\""],["persist:privacy","{\"allowExternalContent\":\"false\",\"allowTracking\":\"false\",\"allowFunctionalCookies\":\"true\",\"allowRequiredCookies\":\"true\",\"showConsentBanner\":\"false\",\"_persist\":\"{\\\"version\\\":-1,\\\"rehydrated\\\":true}\"}"],["consents","{\"*\":true}"],["cookieSettings","{\"fullOptIn\":false,\"googleAnalytics\":false,\"facebookTrackingPixel\":false,\"googleAds\":false}"],["CookiesConsent","{\"necessary\":true,\"functional\":true}"],["aw-thirds","{\"mode\":\"forced-choice\",\"google_analytics\":\"deny\",\"google_tag_manager\":\"deny\",\"facebook_pixel\":\"deny\",\"linkedin\":\"deny\",\"youtube\":\"allow\",\"google_maps\":\"allow\"}"],["lms_cookies","nk9jfSLYwDn7O5xP0UhgFw=="],["partner-cookies","{\"value\":{\"isAnalyticsCookies\":false,\"isFunctionalCookies\":true}}"],["cookieConsent","{\"created\":\"1\",\"versionNumber\":2,\"consents\":[{\"type\":\"ANALYTICS_STORAGE\",\"status\":\"DENIED\"},{\"type\":\"AD_STORAGE\",\"status\":\"DENIED\"},{\"type\":\"AD_USER_DATA\",\"status\":\"DENIED\"},{\"type\":\"AD_PERSONALIZATION\",\"status\":\"DENIED\"}],\"gtmParams\":{\"analytics_storage\":\"granted\",\"ad_storage\":\"denied\",\"ad_user_data\":\"denied\",\"ad_personalization\":\"denied\"}}"],["ccm_consent","{\"/\":{\"gen\":2,\"ucid\":\"1\",\"consent\":true,\"embeddings\":[\"1e76acf\",\"8ed8d9a\",\"b429e86\",\"f22e6ed\",\"0b25af3\",\"6079a42\"],\"created\":\"$currentDate$\",\"updated\":\"$currentDate$\",\"clickedButton\":\"acceptAll\",\"iframeConsentDomains\":[],\"tcf\":{\"p\":[],\"lip\":[],\"sf\":[],\"v\":[],\"liv\":[],\"gad\":[]},\"lang\":\"de_DE\"}}"],["userConsents","{\"functional-technology\":true}"],["gtagConsents","{\"ad_personalization\":\"denied\",\"analytics_storage\":\"denied\",\"ad_user_data\":\"denied\",\"ad_storage\":\"denied\"}"],["speedtestUI.Consent","{\"analytics\":false,\"bugReports\":false,\"timestamp\":\"$currentISODate$\"}"],["consentMode","{\"functionality_storage\":\"granted\",\"security_storage\":\"granted\",\"ad_storage\":\"denied\",\"analytics_storage\":\"denied\",\"ad_personalization\":\"denied\",\"ad_user_data\":\"denied\"}"],["cookieConsent","{\"requiredCookies\":true,\"functionality\":true,\"advertisingAndRetargeting\":false,\"analytics\":false}"],["acceptedCookies","{\"\":false,\"AMCV_###@AdobeOrg /\":true,\"AMCVS_###@AdobeOrg\":true,\"APISID, HSID, SAPISID, SID ja SSID cookies\":true,\"(auch GTM)\":true,\"NID cookie\":true,\"SIDCC cookie\":true,\"Youtube cookies\":true,\"mbox\":true,\"consent_adform\":false,\"consent_adobeanalytics\":false,\"consent_adobetarget\":false,\"consent_googleanalytics\":false,\"consent_googleads\":false,\"consent_facebook\":false,\"consent_giosg\":false,\"consent_nid\":true}"],["wbdLTP","687f8fa8"],["userTrackingConsent","{\"necessary\":true,\"marketing\":false}"],["cookieConsent","{\"optional\":[{\"id\":\"google\",\"accepted\":false}]}"],["cookieConsent","{\"consentedAt\":\"$currentISODate$\"}"],["cookies-consent-674994311cb8576b78bbaad6","{\"functional\":true,\"performance\":false,\"marketing\":false}"],["privacy_preferences_2024-04","{\"required\":true,\"functional\":false,\"analytics\":false,\"marketing\":false}"],["COOKIES_CONSENTS","{\"marketingAndStatistics\":false,\"personalization\":false,\"at\":1}"],["mage_consent","{\"timestamp\":1,\"data\":{\"functional\":true,\"marketing\":false}}"],["spaseekers:cookie-preferences","{\"necessary\":\"granted\",\"functional\":\"denied\",\"analytics\":\"denied\",\"marketing\":\"denied\"}"],["cookieformData","option0=1&analytical=0&performance=0&targeting=0&functional=0&marketing=0"],["lib-cookieconsent","[]"],["lib-cookieconsent-expire","1870726742772"],["procookie-dismissed","$now$"],["procookie-services","[\"cookie_notice\"]"],["collage_public/web/CookieSettings","{\"lastModified\":1,\"functional\":false,\"analytics\":false,\"targeting\":null}"],["user_cookies_acceptance","{\"necessary\":true,\"analytics\":false,\"functional\":false,\"marketing\":false}"],["cookiesManager","{\"acceptedCategories\":[\"necessary\"]}"],["policyAcceptedDate","$currentDate$"],["consent","{\"version\":1,\"consent\":{\"essential\":\"1\",\"analytics\":0,\"marketing\":0,\"external\":\"1\"}}"],["consentMode","{\"functionality_storage\":\"denied\",\"security_storage\":\"denied\",\"ad_storage\":\"denied\",\"analytics_storage\":\"denied\",\"preferences_storage\":\"denied\"}"],["cookieMonster","war schon da"],["consentMode","{\"ad_storage\":\"denied\",\"analytics_storage\":\"denied\",\"functionality_storage\":\"denied\"}"],["partner-cookies","{\"value\":{\"isAnalyticsCookies\":false,\"isFunctionalCookies\":false},\"expireIn\":1868839599999}"],["iracingCookieSettings","{\"performance-cookies\":false,\"functional-cookies\":false,\"marketing-cookies\":false}"],["cookieSettings","\"{\\\"necessary\\\":true,\\\"functional\\\":false,\\\"performance\\\":false,\\\"targeting\\\":false}\""],["consentState","{\"marketing\":false,\"analytics\":false,\"preferences\":false}"],["userAgreeOfCookieOfData","{\"isUserAgreeCollectionOfCookies\":true,\"userConsentDataStorageTime\":1}"],["cookieConsent","{\"functional\":true,\"statistical\":false,\"marketing\":false}"],["cookiefirst-consent","{\"necessary\":true,\"performance\":false,\"functional\":false,\"advertising\":false,\"timestamp\":1,\"type\":\"category\",\"version\":\"1\"}"],["flipdish-cookies-expiry","$now$"],["CXAgreeTerms","{\"agreed\":true}"],["cookiePrefs","{\"cookies.notice.actioned\":true,\"cookies.marketing.accepted\":false,\"cookies.usage.accepted\":false}"],["consent","\"granted\""],["consentMode","{\"functionality_storage\":\"granted\",\"security_storage\":\"granted\",\"analytics_storage\":\"denied\",\"personalization_storage\":\"granted\",\"ad_storage\":\"denied\",\"ad_user_data\":\"denied\",\"ad_personalization\":\"denied\"}"],["consentSettings","{\"essential\":true,\"embeds\":true}"],["cookies.consent","{\"chosen\":true,\"internal\":true,\"external\":false}"],["cookieSettings","{\"essential\":true,\"statistics\":false,\"thirdparty\":false,\"cookiesAccepted\":true}"],["cookieConsent","{\"preferences\":{\"technical\":true},\"timestamp\":1}"],["user_anonymous_profile","{\"config\":{\"tracking\":false,\"userprofile\":false,\"youtube\":true,\"twitter\":true,\"facebook\":true,\"iframe\":true,\"video\":{\"useSubtitles\":true,\"useAudioDescription\":true}},\"votings\":[],\"msgflash\":[],\"history\":[]}"],["ntd_storage_prefer","ntd-gdpr-basic"],["accepted_tos","20241119"],["terra_cookie_consent","{\"Ads\":false,\"Analytics\":false}"],["cookieSelection","[true,false,false]"],["cookiesAllowed","[\"strictly\"]"],["btdm.cookies","[0,1]"],["cookie-preferences","{\"analytics-cookies\":false,\"profiling-cookies\":false}"],["cookie_policy","{\"data\":\"agreed\"}"],["consent_preferences","{\"analytics_storage\":\"denied\",\"ad_storage\":\"denied\",\"ad_user_data\":\"denied\",\"ad_personalization\":\"denied\"}"],["cookieConsents","{\"required\":true,\"linkedin\":true,\"googleAnalytics\":false,\"googleAdsense\":false,\"facebook\":false,\"comfort\":false,\"personalization\":false}"],["hasConsented","{\"hasConsented\":true,\"timestamp\":1}"],["cookieOptions","{\"essential\":true,\"analytics\":false,\"socialMedia\":true}"],["cookiePreferences","allow-required"],["cookie-consent","{\"name\":\"cookie-consent\",\"default\":false,\"date\":\"$currentDate$\",\"permissions\":{\"ad_personalization\":\"denied\",\"ad_storage\":\"denied\",\"ad_user_data\":\"denied\",\"analytics_storage\":\"denied\",\"personalization_storage\":\"denied\",\"functionality_storage\":\"granted\",\"security_storage\":\"granted\"}}"],["privacySettings","{\"consent\":true,\"additionalSettings\":{\"preferences\":true,\"statistics\":false,\"marketing\":false},\"version\":2}"],["cookie-banner-preferences","{\"necessary\":true,\"performance\":false,\"functional\":true,\"targeting\":false}"],["cookie_bar","manually closed"]];
322
+ const hostnamesMap = new Map([["express.co.uk",0],["carvertical.com",1],["easyfind.ch",2],["dlnews.com",3],["komoot.com",4],["screen.studio",5],["vivantis.*",6],["vivantis-shop.at",6],["krasa.cz",6],["spv.no",7],["vr.fi",8],["forums.tomsguide.com",[9,10]],["online.depo-diy.ee",11],["auf1.tv",12],["steuerbot.com",13],["vadhander.hogakusten.com",14],["vadhander.kramfors.se",14],["monkeytype.com",15],["wesendit.com",16],["onelink.to",17],["linasmatkasse.se",18],["veikkaus.fi",19],["deltaforce.garena.com",20],["imusic.*",21],["feedbutler.app",22],["ditjesendatjes.nl",23],["app.solit-kapital.de",24],["lachainemeteo.com",25],["alan.com",26],["primor.eu",27],["manta.net",28],["login.flex.paychex.com",29],["solvia.es",30],["terviseportaal.ee",31],["vreden.de",32],["if-cdn.com",33],["cnmaarthouse.de",34],["adventisten.de",35],["hopetv.de",35],["soprema.es",36],["luminousindia.com",37],["21vek.by",[38,68,69]],["auto.nl",39],["eurobaustoff.com",40],["weather.com",41],["wedding.pl",42],["speedtest.vodafone.de",43],["interactivebrokers.*",44],["florence.com.tr",45],["bestdrive.fi",46],["bestdrive.no",46],["cnn.com",47],["crumblcookies.com",48],["stadtwerke-heidenheim.de",49],["goodtape.io",50],["vivenu-tickets-usa.sailgp.com",51],["aelia.pl",52],["erli.pl",53],["smartphonehoesjes.nl",54],["ploonk.fr",54],["handyhuellen.de",54],["spaseekers.com",55],["superwatchman.com",56],["statech.*",[57,58]],["ebz-business-school.de",[59,60]],["londonpicturearchive.org.uk",61],["neonet.pl",62],["wildernesshotels.fi",63],["incomeshares.com",64],["germany.travel",65],["townsmith.de",66],["pointomega.de",67],["iracing.com",70],["passes.com",71],["surnamedb.com",72],["puravita.ch",73],["imu.nl",74],["slankmetlinda.nl",74],["choircompany.nl",74],["capaciteitentestoefenen.com",74],["thehuddle.nl",74],["borgch.nl",74],["mcnetiq.nl",74],["gasterijkruisberg.nl",74],["skinnyminds.nl",74],["dewit-elektro.nl",74],["enluse.com",74],["back2front.be",74],["fortressgroup.nl",74],["wel-com.nl",74],["huispromotie.nl",74],["automathoogeveen.nl",74],["icverpleegkundige.com",74],["jenrmarketing.nl",74],["technotrafficcontrol.nl",74],["iclas.org",74],["evac.nl",75],["prenatal.nl",75],["pizzadelight-menu.co.uk",76],["clipix.com",77],["signalrgb.com",78],["beatsperminuteonline.com",79],["tavaratalohurrikaani.fi",80],["ioplus.nl",81],["versteigerungspool.de",82],["banja-tellig.de",83],["adultfriendfinder.com",84],["phoenix.de",85],["epochtimes.fr",86],["archiveofourown.org",87],["tryterra.co",88],["casalepanayiotis.com",89],["nomorobo.com",90],["beststuff.hu",91],["evernote.com",92],["zipair.net",93],["nuvomagazine.com",94],["steirerjobs.at",95],["arredabook.it",96],["condok.org",96],["dietz-motoren.de",96],["lahella.fi",97],["cloud.samsungsds.com",98],["kabasakalonline.com",99],["pizzahut.fi",100],["healf.com",101],["supreme.com",102]]);
323
323
  const exceptionsMap = new Map([["logistics.vr.fi",[8]]]);
324
324
  const hasEntities = true;
325
325
  const hasAncestors = false;
@@ -0,0 +1,452 @@
1
+ /*******************************************************************************
2
+
3
+ uBlock Origin Lite - a comprehensive, MV3-compliant content blocker
4
+ Copyright (C) 2014-present Raymond Hill
5
+
6
+ This program is free software: you can redistribute it and/or modify
7
+ it under the terms of the GNU General Public License as published by
8
+ the Free Software Foundation, either version 3 of the License, or
9
+ (at your option) any later version.
10
+
11
+ This program is distributed in the hope that it will be useful,
12
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
+ GNU General Public License for more details.
15
+
16
+ You should have received a copy of the GNU General Public License
17
+ along with this program. If not, see {http://www.gnu.org/licenses/}.
18
+
19
+ Home: https://github.com/gorhill/uBlock
20
+
21
+ */
22
+
23
+ // ruleset: annoyances-notifications
24
+
25
+ // Important!
26
+ // Isolate from global scope
27
+
28
+ // Start of local scope
29
+ (function uBOL_abortCurrentScript() {
30
+
31
+ /******************************************************************************/
32
+
33
+ function abortCurrentScript(...args) {
34
+ runAtHtmlElementFn(( ) => {
35
+ abortCurrentScriptFn(...args);
36
+ });
37
+ }
38
+
39
+ function abortCurrentScriptFn(
40
+ target = '',
41
+ needle = '',
42
+ context = ''
43
+ ) {
44
+ if ( typeof target !== 'string' ) { return; }
45
+ if ( target === '' ) { return; }
46
+ const safe = safeSelf();
47
+ const logPrefix = safe.makeLogPrefix('abort-current-script', target, needle, context);
48
+ const reNeedle = safe.patternToRegex(needle);
49
+ const reContext = safe.patternToRegex(context);
50
+ const extraArgs = safe.getExtraArgs(Array.from(arguments), 3);
51
+ const thisScript = document.currentScript;
52
+ const chain = safe.String_split.call(target, '.');
53
+ let owner = window;
54
+ let prop;
55
+ for (;;) {
56
+ prop = chain.shift();
57
+ if ( chain.length === 0 ) { break; }
58
+ if ( prop in owner === false ) { break; }
59
+ owner = owner[prop];
60
+ if ( owner instanceof Object === false ) { return; }
61
+ }
62
+ let value;
63
+ let desc = Object.getOwnPropertyDescriptor(owner, prop);
64
+ if (
65
+ desc instanceof Object === false ||
66
+ desc.get instanceof Function === false
67
+ ) {
68
+ value = owner[prop];
69
+ desc = undefined;
70
+ }
71
+ const debug = shouldDebug(extraArgs);
72
+ const exceptionToken = getExceptionTokenFn();
73
+ const scriptTexts = new WeakMap();
74
+ const textContentGetter = Object.getOwnPropertyDescriptor(Node.prototype, 'textContent').get;
75
+ const getScriptText = elem => {
76
+ let text = textContentGetter.call(elem);
77
+ if ( text.trim() !== '' ) { return text; }
78
+ if ( scriptTexts.has(elem) ) { return scriptTexts.get(elem); }
79
+ const [ , mime, content ] =
80
+ /^data:([^,]*),(.+)$/.exec(elem.src.trim()) ||
81
+ [ '', '', '' ];
82
+ try {
83
+ switch ( true ) {
84
+ case mime.endsWith(';base64'):
85
+ text = self.atob(content);
86
+ break;
87
+ default:
88
+ text = self.decodeURIComponent(content);
89
+ break;
90
+ }
91
+ } catch {
92
+ }
93
+ scriptTexts.set(elem, text);
94
+ return text;
95
+ };
96
+ const validate = ( ) => {
97
+ const e = document.currentScript;
98
+ if ( e instanceof HTMLScriptElement === false ) { return; }
99
+ if ( e === thisScript ) { return; }
100
+ if ( context !== '' && reContext.test(e.src) === false ) {
101
+ // eslint-disable-next-line no-debugger
102
+ if ( debug === 'nomatch' || debug === 'all' ) { debugger; }
103
+ return;
104
+ }
105
+ if ( safe.logLevel > 1 && context !== '' ) {
106
+ safe.uboLog(logPrefix, `Matched src\n${e.src}`);
107
+ }
108
+ const scriptText = getScriptText(e);
109
+ if ( reNeedle.test(scriptText) === false ) {
110
+ // eslint-disable-next-line no-debugger
111
+ if ( debug === 'nomatch' || debug === 'all' ) { debugger; }
112
+ return;
113
+ }
114
+ if ( safe.logLevel > 1 ) {
115
+ safe.uboLog(logPrefix, `Matched text\n${scriptText}`);
116
+ }
117
+ // eslint-disable-next-line no-debugger
118
+ if ( debug === 'match' || debug === 'all' ) { debugger; }
119
+ safe.uboLog(logPrefix, 'Aborted');
120
+ throw new ReferenceError(exceptionToken);
121
+ };
122
+ // eslint-disable-next-line no-debugger
123
+ if ( debug === 'install' ) { debugger; }
124
+ try {
125
+ Object.defineProperty(owner, prop, {
126
+ get: function() {
127
+ validate();
128
+ return desc instanceof Object
129
+ ? desc.get.call(owner)
130
+ : value;
131
+ },
132
+ set: function(a) {
133
+ validate();
134
+ if ( desc instanceof Object ) {
135
+ desc.set.call(owner, a);
136
+ } else {
137
+ value = a;
138
+ }
139
+ }
140
+ });
141
+ } catch(ex) {
142
+ safe.uboErr(logPrefix, `Error: ${ex}`);
143
+ }
144
+ }
145
+
146
+ function runAtHtmlElementFn(fn) {
147
+ if ( document.documentElement ) {
148
+ fn();
149
+ return;
150
+ }
151
+ const observer = new MutationObserver(( ) => {
152
+ observer.disconnect();
153
+ fn();
154
+ });
155
+ observer.observe(document, { childList: true });
156
+ }
157
+
158
+ function getExceptionTokenFn() {
159
+ const token = getRandomTokenFn();
160
+ const oe = self.onerror;
161
+ self.onerror = function(msg, ...args) {
162
+ if ( typeof msg === 'string' && msg.includes(token) ) { return true; }
163
+ if ( oe instanceof Function ) {
164
+ return oe.call(this, msg, ...args);
165
+ }
166
+ }.bind();
167
+ return token;
168
+ }
169
+
170
+ function safeSelf() {
171
+ if ( scriptletGlobals.safeSelf ) {
172
+ return scriptletGlobals.safeSelf;
173
+ }
174
+ const self = globalThis;
175
+ const safe = {
176
+ 'Array_from': Array.from,
177
+ 'Error': self.Error,
178
+ 'Function_toStringFn': self.Function.prototype.toString,
179
+ 'Function_toString': thisArg => safe.Function_toStringFn.call(thisArg),
180
+ 'Math_floor': Math.floor,
181
+ 'Math_max': Math.max,
182
+ 'Math_min': Math.min,
183
+ 'Math_random': Math.random,
184
+ 'Object': Object,
185
+ 'Object_defineProperty': Object.defineProperty.bind(Object),
186
+ 'Object_defineProperties': Object.defineProperties.bind(Object),
187
+ 'Object_fromEntries': Object.fromEntries.bind(Object),
188
+ 'Object_getOwnPropertyDescriptor': Object.getOwnPropertyDescriptor.bind(Object),
189
+ 'Object_hasOwn': Object.hasOwn.bind(Object),
190
+ 'RegExp': self.RegExp,
191
+ 'RegExp_test': self.RegExp.prototype.test,
192
+ 'RegExp_exec': self.RegExp.prototype.exec,
193
+ 'Request_clone': self.Request.prototype.clone,
194
+ 'String': self.String,
195
+ 'String_fromCharCode': String.fromCharCode,
196
+ 'String_split': String.prototype.split,
197
+ 'XMLHttpRequest': self.XMLHttpRequest,
198
+ 'addEventListener': self.EventTarget.prototype.addEventListener,
199
+ 'removeEventListener': self.EventTarget.prototype.removeEventListener,
200
+ 'fetch': self.fetch,
201
+ 'JSON': self.JSON,
202
+ 'JSON_parseFn': self.JSON.parse,
203
+ 'JSON_stringifyFn': self.JSON.stringify,
204
+ 'JSON_parse': (...args) => safe.JSON_parseFn.call(safe.JSON, ...args),
205
+ 'JSON_stringify': (...args) => safe.JSON_stringifyFn.call(safe.JSON, ...args),
206
+ 'log': console.log.bind(console),
207
+ // Properties
208
+ logLevel: 0,
209
+ // Methods
210
+ makeLogPrefix(...args) {
211
+ return this.sendToLogger && `[${args.join(' \u205D ')}]` || '';
212
+ },
213
+ uboLog(...args) {
214
+ if ( this.sendToLogger === undefined ) { return; }
215
+ if ( args === undefined || args[0] === '' ) { return; }
216
+ return this.sendToLogger('info', ...args);
217
+
218
+ },
219
+ uboErr(...args) {
220
+ if ( this.sendToLogger === undefined ) { return; }
221
+ if ( args === undefined || args[0] === '' ) { return; }
222
+ return this.sendToLogger('error', ...args);
223
+ },
224
+ escapeRegexChars(s) {
225
+ return s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
226
+ },
227
+ initPattern(pattern, options = {}) {
228
+ if ( pattern === '' ) {
229
+ return { matchAll: true, expect: true };
230
+ }
231
+ const expect = (options.canNegate !== true || pattern.startsWith('!') === false);
232
+ if ( expect === false ) {
233
+ pattern = pattern.slice(1);
234
+ }
235
+ const match = /^\/(.+)\/([gimsu]*)$/.exec(pattern);
236
+ if ( match !== null ) {
237
+ return {
238
+ re: new this.RegExp(
239
+ match[1],
240
+ match[2] || options.flags
241
+ ),
242
+ expect,
243
+ };
244
+ }
245
+ if ( options.flags !== undefined ) {
246
+ return {
247
+ re: new this.RegExp(this.escapeRegexChars(pattern),
248
+ options.flags
249
+ ),
250
+ expect,
251
+ };
252
+ }
253
+ return { pattern, expect };
254
+ },
255
+ testPattern(details, haystack) {
256
+ if ( details.matchAll ) { return true; }
257
+ if ( details.re ) {
258
+ return this.RegExp_test.call(details.re, haystack) === details.expect;
259
+ }
260
+ return haystack.includes(details.pattern) === details.expect;
261
+ },
262
+ patternToRegex(pattern, flags = undefined, verbatim = false) {
263
+ if ( pattern === '' ) { return /^/; }
264
+ const match = /^\/(.+)\/([gimsu]*)$/.exec(pattern);
265
+ if ( match === null ) {
266
+ const reStr = this.escapeRegexChars(pattern);
267
+ return new RegExp(verbatim ? `^${reStr}$` : reStr, flags);
268
+ }
269
+ try {
270
+ return new RegExp(match[1], match[2] || undefined);
271
+ }
272
+ catch {
273
+ }
274
+ return /^/;
275
+ },
276
+ getExtraArgs(args, offset = 0) {
277
+ const entries = args.slice(offset).reduce((out, v, i, a) => {
278
+ if ( (i & 1) === 0 ) {
279
+ const rawValue = a[i+1];
280
+ const value = /^\d+$/.test(rawValue)
281
+ ? parseInt(rawValue, 10)
282
+ : rawValue;
283
+ out.push([ a[i], value ]);
284
+ }
285
+ return out;
286
+ }, []);
287
+ return this.Object_fromEntries(entries);
288
+ },
289
+ onIdle(fn, options) {
290
+ if ( self.requestIdleCallback ) {
291
+ return self.requestIdleCallback(fn, options);
292
+ }
293
+ return self.requestAnimationFrame(fn);
294
+ },
295
+ offIdle(id) {
296
+ if ( self.requestIdleCallback ) {
297
+ return self.cancelIdleCallback(id);
298
+ }
299
+ return self.cancelAnimationFrame(id);
300
+ }
301
+ };
302
+ scriptletGlobals.safeSelf = safe;
303
+ if ( scriptletGlobals.bcSecret === undefined ) { return safe; }
304
+ // This is executed only when the logger is opened
305
+ safe.logLevel = scriptletGlobals.logLevel || 1;
306
+ let lastLogType = '';
307
+ let lastLogText = '';
308
+ let lastLogTime = 0;
309
+ safe.toLogText = (type, ...args) => {
310
+ if ( args.length === 0 ) { return; }
311
+ const text = `[${document.location.hostname || document.location.href}]${args.join(' ')}`;
312
+ if ( text === lastLogText && type === lastLogType ) {
313
+ if ( (Date.now() - lastLogTime) < 5000 ) { return; }
314
+ }
315
+ lastLogType = type;
316
+ lastLogText = text;
317
+ lastLogTime = Date.now();
318
+ return text;
319
+ };
320
+ try {
321
+ const bc = new self.BroadcastChannel(scriptletGlobals.bcSecret);
322
+ let bcBuffer = [];
323
+ safe.sendToLogger = (type, ...args) => {
324
+ const text = safe.toLogText(type, ...args);
325
+ if ( text === undefined ) { return; }
326
+ if ( bcBuffer === undefined ) {
327
+ return bc.postMessage({ what: 'messageToLogger', type, text });
328
+ }
329
+ bcBuffer.push({ type, text });
330
+ };
331
+ bc.onmessage = ev => {
332
+ const msg = ev.data;
333
+ switch ( msg ) {
334
+ case 'iamready!':
335
+ if ( bcBuffer === undefined ) { break; }
336
+ bcBuffer.forEach(({ type, text }) =>
337
+ bc.postMessage({ what: 'messageToLogger', type, text })
338
+ );
339
+ bcBuffer = undefined;
340
+ break;
341
+ case 'setScriptletLogLevelToOne':
342
+ safe.logLevel = 1;
343
+ break;
344
+ case 'setScriptletLogLevelToTwo':
345
+ safe.logLevel = 2;
346
+ break;
347
+ }
348
+ };
349
+ bc.postMessage('areyouready?');
350
+ } catch {
351
+ safe.sendToLogger = (type, ...args) => {
352
+ const text = safe.toLogText(type, ...args);
353
+ if ( text === undefined ) { return; }
354
+ safe.log(`uBO ${text}`);
355
+ };
356
+ }
357
+ return safe;
358
+ }
359
+
360
+ function shouldDebug(details) {
361
+ if ( details instanceof Object === false ) { return false; }
362
+ return scriptletGlobals.canDebug && details.debug;
363
+ }
364
+
365
+ function getRandomTokenFn() {
366
+ const safe = safeSelf();
367
+ return safe.String_fromCharCode(Date.now() % 26 + 97) +
368
+ safe.Math_floor(safe.Math_random() * 982451653 + 982451653).toString(36);
369
+ }
370
+
371
+ /******************************************************************************/
372
+
373
+ const scriptletGlobals = {}; // eslint-disable-line
374
+ const argsList = [["requestPermission"],["serviceworker.register"]];
375
+ const hostnamesMap = new Map([["downace.com",0],["news18.com",1]]);
376
+ const exceptionsMap = new Map([]);
377
+ const hasEntities = false;
378
+ const hasAncestors = false;
379
+
380
+ const collectArgIndices = (hn, map, out) => {
381
+ let argsIndices = map.get(hn);
382
+ if ( argsIndices === undefined ) { return; }
383
+ if ( typeof argsIndices !== 'number' ) {
384
+ for ( const argsIndex of argsIndices ) {
385
+ out.add(argsIndex);
386
+ }
387
+ } else {
388
+ out.add(argsIndices);
389
+ }
390
+ };
391
+
392
+ const indicesFromHostname = (hostname, suffix = '') => {
393
+ const hnParts = hostname.split('.');
394
+ const hnpartslen = hnParts.length;
395
+ if ( hnpartslen === 0 ) { return; }
396
+ for ( let i = 0; i < hnpartslen; i++ ) {
397
+ const hn = `${hnParts.slice(i).join('.')}${suffix}`;
398
+ collectArgIndices(hn, hostnamesMap, todoIndices);
399
+ collectArgIndices(hn, exceptionsMap, tonotdoIndices);
400
+ }
401
+ if ( hasEntities ) {
402
+ const n = hnpartslen - 1;
403
+ for ( let i = 0; i < n; i++ ) {
404
+ for ( let j = n; j > i; j-- ) {
405
+ const en = `${hnParts.slice(i,j).join('.')}.*${suffix}`;
406
+ collectArgIndices(en, hostnamesMap, todoIndices);
407
+ collectArgIndices(en, exceptionsMap, tonotdoIndices);
408
+ }
409
+ }
410
+ }
411
+ };
412
+
413
+ const entries = (( ) => {
414
+ const docloc = document.location;
415
+ const origins = [ docloc.origin ];
416
+ if ( docloc.ancestorOrigins ) {
417
+ origins.push(...docloc.ancestorOrigins);
418
+ }
419
+ return origins.map((origin, i) => {
420
+ const beg = origin.lastIndexOf('://');
421
+ if ( beg === -1 ) { return; }
422
+ const hn = origin.slice(beg+3)
423
+ const end = hn.indexOf(':');
424
+ return { hn: end === -1 ? hn : hn.slice(0, end), i };
425
+ }).filter(a => a !== undefined);
426
+ })();
427
+ if ( entries.length === 0 ) { return; }
428
+
429
+ const todoIndices = new Set();
430
+ const tonotdoIndices = new Set();
431
+
432
+ indicesFromHostname(entries[0].hn);
433
+ if ( hasAncestors ) {
434
+ for ( const entry of entries ) {
435
+ if ( entry.i === 0 ) { continue; }
436
+ indicesFromHostname(entry.hn, '>>');
437
+ }
438
+ }
439
+
440
+ // Apply scriplets
441
+ for ( const i of todoIndices ) {
442
+ if ( tonotdoIndices.has(i) ) { continue; }
443
+ try { abortCurrentScript(...argsList[i]); }
444
+ catch { }
445
+ }
446
+
447
+ /******************************************************************************/
448
+
449
+ // End of local scope
450
+ })();
451
+
452
+ void 0;