diff --git a/src/messaging/layer2/InjectMessaging.ts b/src/messaging/layer2/InjectMessaging.ts index 79542d3..e009e0b 100644 --- a/src/messaging/layer2/InjectMessaging.ts +++ b/src/messaging/layer2/InjectMessaging.ts @@ -66,6 +66,7 @@ class InjectMessaging { name: 'bilibili-inject', }) this.portMessageHandler = new Layer1Protocol(this.messageHandler, this.port) + //握手 this.portMessageHandler.sendMessage({ from: 'inject', method: MESSAGE_TO_EXTENSION_HANDSHAKE,