OK this one might work
This commit is contained in:
4
scrub.js
4
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) {
|
||||
|
||||
Reference in New Issue
Block a user