You've already forked bilibili-subtitle
优化
This commit is contained in:
@@ -66,6 +66,7 @@ class InjectMessaging {
|
|||||||
name: 'bilibili-inject',
|
name: 'bilibili-inject',
|
||||||
})
|
})
|
||||||
this.portMessageHandler = new Layer1Protocol<L2ReqMsg, L2ResMsg>(this.messageHandler, this.port)
|
this.portMessageHandler = new Layer1Protocol<L2ReqMsg, L2ResMsg>(this.messageHandler, this.port)
|
||||||
|
//握手
|
||||||
this.portMessageHandler.sendMessage({
|
this.portMessageHandler.sendMessage({
|
||||||
from: 'inject',
|
from: 'inject',
|
||||||
method: MESSAGE_TO_EXTENSION_HANDSHAKE,
|
method: MESSAGE_TO_EXTENSION_HANDSHAKE,
|
||||||
|
Reference in New Issue
Block a user