Fix #930 - Disable extension in incognito mode

This commit is contained in:
Roman Rodriguez
2019-10-03 12:39:56 -05:00
parent a328e5bf91
commit 8eceb0d298
5 changed files with 24 additions and 35 deletions
-3
View File
@@ -141,9 +141,6 @@ const messageHandler = {
}, {urls: ["<all_urls>"], types: ["main_frame"]});
browser.tabs.onCreated.addListener((tab) => {
if (tab.incognito) {
badge.disableAddon(tab.id);
}
// lets remember the last tab created so we can close it if it looks like a redirect
this.lastCreatedTab = tab;
if (tab.cookieStoreId) {