Greasy Fork is available in English.

bliveproxy

B站直播websocket hook框架

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/417560/1045452/bliveproxy.js

Autor
xfgryujk
Verzija
0.5
Napravljeno
02/12/2020
Ažurirano
29/04/2022
Licenca
Nije dostupno

使用方法:

bliveproxy.addCommandHandler('DANMU_MSG', command => {
  console.log(command)
  let info = command.info
  info[1] = '测试'
})

如果@grant不是none,则要使用unsafeWindow.bliveproxy

GitHub

NGA帖子