Start the pageaction branch

This commit is contained in:
idk
2020-02-26 13:03:09 -05:00
parent e9e3ce085a
commit aeeedc8d4c
2 changed files with 9 additions and 3 deletions

View File

@@ -182,9 +182,12 @@ function themeWindow(window) {
}
});
}
browser.pageAction.setPopup({tabId: tabInfo[0].id, popup: "security.html"})
browser.pageAction.setPopup({
tabId: tabInfo[0].id,
popup: "security.html"
});
//console.log("(background) tabinfo", tabInfo[0].id)
browser.pageAction.show(tabInfo[0].id)
browser.pageAction.show(tabInfo[0].id);
} else if (context.name == routerpref) {
console.log("Active in Router Console window");
if (window.incognito) {

View File

@@ -108,7 +108,10 @@ var contextSetup = function(requestDetails) {
console.log("with context", tab.cookieStoreId);
browser.tabs.remove(tabId.id);
}
browser.pageAction.setPopup({tabId: tabId[0].id, popup: "security.html"})
browser.pageAction.setPopup({
tabId: tabId[0].id,
popup: "security.html"
});
browser.pageAction.show(tabId.id);
}
closeOldTab(tab);