mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 14:15:36 +07:00
@@ -651,7 +651,9 @@ function start() {
|
|||||||
function handleActivated(activeInfo) {
|
function handleActivated(activeInfo) {
|
||||||
tabid = activeInfo.tabId;
|
tabid = activeInfo.tabId;
|
||||||
browser.tabs.get(tabid).then(function (tab) {
|
browser.tabs.get(tabid).then(function (tab) {
|
||||||
|
if (!browser.runtime.lastError) { // https://gitlab.com/KevinRoebert/ClearUrls/issues/346
|
||||||
currentURL = tab.url;
|
currentURL = tab.url;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user