I'm developing a Firefox WebExtension
(A new technology of Firefox Add-on, in order to make Chrome extensions compatible with Firefox).
Now I need to bring a specific tab to front by tab id.
I tried chrome.tabs.update(this.id, { selected: true }, callback);
. This works for Chrome, but Firefox doesn't support selected
property (And doesn't support highlighted
either).
Does anybody know how to do this?
Document of chrome.tabs.update
. No other property seems the one I need.