Is it possible to create a menu of tab titles open in the browser from which users can click to set the active tab? For example, please consider the scenario of having the browser in fullscreen view and having a menu from which to choose which tab to view, without having to leave fullscreen view.
I can see how to generate the menu, but couldn’t find a method for setting the active tab in “Working with tabs” and other tabs API information. It appears that it isn’t permitted but I figured it prudent to ask here before giving up on it.
My real interest in this is that part of my extension opens local html pages and, in some cases, I don’t want to permit opening the same page in two spearate tabs to avoid confusion. I can check for this scenario and prevent it, but instead of just displaying a warning message and closing the tab, I’d prefer to have the duplicate tab close and move the user to the tab that was already open. I just can’t figure out how to make the already opened tab become the active tab. If a user navigates through the extension tool by using the tool menus only, this isn’t an issue; but I would like to prevent potential failures for scenarios in which a user navigates to a page through a bookmark, back button, browser file menu, etcetera.