Move the permission observers in the background scripts
This commit is contained in:
committed by
Lesley Norton
parent
1b165aebb5
commit
c146a0bd11
@@ -252,19 +252,6 @@ const MozillaVPN = {
|
||||
}
|
||||
return nextServer;
|
||||
},
|
||||
|
||||
async removeMozillaVpnProxies() {
|
||||
const proxies = await proxifiedContainers.retrieveAll();
|
||||
if (!proxies) {
|
||||
return;
|
||||
}
|
||||
for (const proxyObj of proxies) {
|
||||
const { proxy } = proxyObj;
|
||||
if (proxy.countryCode !== undefined) {
|
||||
await proxifiedContainers.delete(proxyObj.cookieStoreId);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
window.MozillaVPN = MozillaVPN;
|
||||
|
||||
Reference in New Issue
Block a user