remove tabfind. Never create a window, ever.
This commit is contained in:
4
scrub.js
4
scrub.js
@@ -62,8 +62,8 @@ var contextScrub = async function(requestDetails) {
|
||||
return tabInfo;
|
||||
} catch (error) {
|
||||
console.log("(scrub)Context Error", error);
|
||||
let tabInfo = await browser.tabs.getCurrent();
|
||||
return tabInfo;
|
||||
//let tabInfo = await browser.tabs.getCurrent();
|
||||
//return tabInfo;
|
||||
}
|
||||
};
|
||||
if (requestDetails.tabId > 0) {
|
||||
|
||||
Reference in New Issue
Block a user