feat: Open Conversation Window in any program (#32, #100, #101)

This commit is contained in:
josc146
2023-04-08 21:41:13 +08:00
parent fe5081d9ab
commit aed27f7e44
15 changed files with 81 additions and 5 deletions
+11
View File
@@ -21,4 +21,15 @@ export const config = {
openUrl(Browser.runtime.getURL('IndependentPanel.html'))
},
},
openConversationWindow: {
label: 'Open Conversation Window',
action: async () => {
Browser.windows.create({
url: Browser.runtime.getURL('IndependentPanel.html'),
type: 'popup',
width: 500,
height: 650,
})
},
},
}