mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-08-16 11:18:07 +08:00
feat: improve web mode notification (#309)
This commit is contained in:
@@ -143,6 +143,12 @@ Browser.runtime.onMessage.addListener(async (message, sender) => {
|
||||
}
|
||||
break
|
||||
}
|
||||
case 'SET_CHATGPT_TAB': {
|
||||
await setUserConfig({
|
||||
chatgptTabId: sender.tab.id,
|
||||
})
|
||||
break
|
||||
}
|
||||
case 'ACTIVATE_URL':
|
||||
await Browser.tabs.update(message.data.tabId, { active: true })
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user