javascript - No result from chrome.tabs.query in Opera - Stack Overflow
It seems that Opera does not include the concept of a highlighted tab, which is already pretty obscure in Chrome.
Your query is excessive anyway: in Chrome, the active tab cannot be non-highlighted.
So, for a query that works in both, use {active: true, currentWindow: true}
.
Read full article from javascript - No result from chrome.tabs.query in Opera - Stack Overflow
No comments:
Post a Comment