'Open always the same extension popup
I am developing chrome extension and by click on button I want to open new window Here is the code for opening:
const createDialerTab = () => {
chrome.windows.create({
url: 'dialer/index.html',
type: 'popup',
state: 'normal',
height: 620,
width: 450,
}).catch(console.log)
}
The main problem is that earlier in manifest v2, there was an opportunity to open only one instance with singleton option. (Here is docs https://developer.chrome.com/docs/extensions/reference/app_window/#type-CreateWindowOptions)
But in manifest v3 I can`t find any further information about opening one window, and there one tab, but with updated URL
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
