5 lines
199 B
JavaScript
5 lines
199 B
JavaScript
|
browser.runtime.onMessage.addListener((request, sender, responsewi) => {
|
||
|
browser.tabs.update(sender.tab.id, {active: true});
|
||
|
browser.windows.update(sender.tab.windowId, {focused: true});
|
||
|
});
|