mirror of
https://github.com/mdn/webextensions-examples.git
synced 2026-04-16 06:18:35 +02:00
6 lines
145 B
JavaScript
6 lines
145 B
JavaScript
browser.tabs.onUpdated.addListener((tabId, changeInfo, tab) => {
|
|
if (!tab.url.match(/^about:/)) {
|
|
browser.pageAction.show(tab.id);
|
|
}
|
|
});
|