ПерехватываетDocumentation Index
Fetch the complete documentation index at: https://bym.lonestill.uk/llms.txt
Use this file to discover all available pages before exploring further.
window.fetch. Хуки снимаются при stop() автоматически.
Для запросов во внешние API из плагинов используй api.HTTP.
api.Net — для перехвата запросов, которые YM делает сам.onRequest
filter — подстрока URL, null или '' — все запросы.
onResponse
response — клон Response, читай через .json() или .text(). YM получает оригинал без изменений.