Am I missing something in the Chrome tabs documentation or is there a way for an extension to change the currently active tab?
I have an extension which, once the tab ha
Not sure, but could you try adding a content script in an inactive tab (or just in all tabs), then sending a request to a non-active tab (sendRequest
)? The content script should execute window.focus()
. Again, not sure whether this works.
Update the inactive tab, and pass { selected: true }
. That should work, since it's listed as an available setting there.