mirror of
https://github.com/yaklang/yaklang-chrome-extension.git
synced 2026-09-26 21:21:53 +08:00
feat: Contro
This commit is contained in:
@@ -44,6 +44,7 @@ console.info("Chrome Extenstion Background is loaded")
|
||||
let proxyHost = "";
|
||||
|
||||
chrome.runtime.onMessage.addListener(function (msg, sender, sendResponse) {
|
||||
console.log(msg);
|
||||
if (msg.action === "connect") {
|
||||
console.info("Start to connect websocket")
|
||||
const host = msg['host'] || "127.0.0.1"
|
||||
|
||||
Reference in New Issue
Block a user