I am currently developing a MV3 Chromium extension. In this extension, I am trying to implement a feature where a new tab is created using chrome.tabs.create
and the user is directed to a specific site. The main requirement is for the new tab to open in the background without changing the active tab.
While this functionality works as expected on the desktop Chrome browser, there seems to be an issue on mobile Chromium-based browsers that support extensions like the Kiwi browser. Instead of opening in the background, the new tab steals focus and becomes the foreground tab.
Is there a way to resolve this problem?
chrome.tabs.create({ url, active: false, pinned: false, selected: false });