no but closer
This commit is contained in:
11
proxy.js
11
proxy.js
@@ -127,17 +127,6 @@ var handleContextProxyRequest = async function(requestDetails) {
|
||||
};
|
||||
var tabFind = async function(tabId) {
|
||||
try {
|
||||
context = await browser.contextualIdentities.query({
|
||||
name: titlepref
|
||||
});
|
||||
console.log(
|
||||
"(proxy) forcing context",
|
||||
titlepref,
|
||||
tabId.cookieStoreId,
|
||||
"=>",
|
||||
context[0].cookieStoreId
|
||||
);
|
||||
tabId.cookieStoreId = context[0].cookieStoreId;
|
||||
return tabId;
|
||||
} catch (error) {
|
||||
console.log("(proxy)Context Error", error);
|
||||
|
||||
9
scrub.js
9
scrub.js
@@ -57,15 +57,6 @@ var contextScrub = async function(requestDetails) {
|
||||
};
|
||||
var tabFind = async function(tabId) {
|
||||
try {
|
||||
context = await browser.contextualIdentities.query({
|
||||
name: titlepref
|
||||
});
|
||||
console.log(
|
||||
"(scrub) forcing context",
|
||||
titlepref,
|
||||
"=>",
|
||||
context[0].cookieStoreId
|
||||
);
|
||||
return tabId;
|
||||
} catch (error) {
|
||||
console.log("(scrub)Context Error", error);
|
||||
|
||||
Reference in New Issue
Block a user