diff --git a/scrub.js b/scrub.js index 9e23436..1819bd8 100644 --- a/scrub.js +++ b/scrub.js @@ -61,9 +61,7 @@ var contextScrub = async function(requestDetails) { let tabInfo = await browser.tabs.get(tabId); return tabInfo; } catch (error) { - //console.log("(scrub)Context Error", error); - let tabInfo = await browser.tabs.getCurrent(); - return tabInfo; + console.log("(scrub)Context Error", error); } }; if (requestDetails.tabId > 0) {