bliveproxy

B站直播websocket hook框架

Detta skript bör inte installeras direkt. Det är ett bibliotek för andra skript att inkludera med meta-direktivet // @require https://update.greasyfork.org/scripts/417560/1045452/bliveproxy.js

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Upphovsman
xfgryujk
Version
0.5
Skapad
2020-12-02
Uppdaterad
2022-04-29
Size
6,86 KB
Licens
N/A

使用方法:

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

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

GitHub

NGA帖子