In the process of developing a Chrome extension, I am focusing on the functionality of creating a new tab from context menus within an incognito window. My current approach involves using the following script:
chrome.windows.create({url: "https://google.com", incognito: true});
While this script successfully opens a new tab in an incognito window, it unfortunately always results in launching a new window each time it is activated. Are there any methods available to open a new tab within an existing incognito window instead?