Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e3a616d8cc | |||
| 1019f592c0 | |||
| a901ac3550 | |||
| 98b8fd18ca |
+7
-8
@@ -2,30 +2,29 @@
|
||||
"name": "testpilot-containers",
|
||||
"title": "Multi-Account Containers",
|
||||
"description": "Containers helps you keep all the parts of your online life contained in different tabs. Custom labels and color-coded tabs help keep different activities — like online shopping, travel planning, or checking work email — separate.",
|
||||
"version": "8.0.2",
|
||||
"version": "8.0.3",
|
||||
"author": "Andrea Marchesini, Luke Crouch, Lesley Norton, Kendall Werts, Maxx Crawford, Jonathan Kingston",
|
||||
"bugs": {
|
||||
"url": "https://github.com/mozilla/multi-account-containers/issues"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"addons-linter": "^1.3.2",
|
||||
"ajv": "^6.6.3",
|
||||
"chai": "^4.2.0",
|
||||
"eslint": "^6.6.0",
|
||||
"eslint": "^8.3.0",
|
||||
"eslint-plugin-no-unsanitized": "^2.0.0",
|
||||
"eslint-plugin-promise": "^3.4.0",
|
||||
"htmllint-cli": "0.0.7",
|
||||
"htmllint-cli": "^0.0.6",
|
||||
"json": ">=10.0.0",
|
||||
"mocha": "^6.2.2",
|
||||
"mocha": "^9.1.3",
|
||||
"npm-run-all": "^4.0.0",
|
||||
"nyc": "^15.0.0",
|
||||
"sinon": "^7.5.0",
|
||||
"sinon-chai": "^3.3.0",
|
||||
"sinon": "^8.1.1",
|
||||
"sinon-chai": "^3.7.0",
|
||||
"stylelint": "^13.5.0",
|
||||
"stylelint-config-standard": "^20.0.0",
|
||||
"stylelint-order": "^4.0.0",
|
||||
"web-ext": "^5.4.1",
|
||||
"web-ext": "^6.6.0",
|
||||
"webextensions-jsdom": "^1.2.1"
|
||||
},
|
||||
"homepage": "https://github.com/mozilla/multi-account-containers#readme",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
<br />
|
||||
<div class="button-container">
|
||||
<button id="deny" class="button" data-message-id="openInContainer" data-message-arg="current-container-name"></button>
|
||||
<button id="confirm" class="button primary" data-message-id="openInContainer" data-message-arg="container-name"></button>
|
||||
<button id="confirm" class="button primary" autofocus data-message-id="openInContainer" data-message-arg="container-name"></button>
|
||||
</div>
|
||||
</form>
|
||||
</main>
|
||||
|
||||
@@ -188,13 +188,13 @@ window.assignManager = {
|
||||
// The following blocks potentially dangerous requests for privacy that come without a tabId
|
||||
|
||||
if(requestInfo.tabId === -1) {
|
||||
return {type: "direct"};
|
||||
return {};
|
||||
}
|
||||
|
||||
const tab = await browser.tabs.get(requestInfo.tabId);
|
||||
const result = await proxifiedContainers.retrieve(tab.cookieStoreId);
|
||||
if (!result || !result.proxy) {
|
||||
return {type: "direct"};
|
||||
return {};
|
||||
}
|
||||
|
||||
if (!result.proxy.mozProxyEnabled) {
|
||||
|
||||
+2
-2
@@ -1582,7 +1582,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
||||
this.mozProxyEnabledInput.value = proxyInfo.mozProxyEnabled;
|
||||
this.proxyAddressInput.value = `${proxyInfo.type}://${proxyInfo.host}:${proxyInfo.port}`;
|
||||
|
||||
if (typeof(proxyInfo.countryCode) === "undefined" && proxyInfo.type !== "direct") {
|
||||
if (typeof(proxyInfo.countryCode) === "undefined" && proxyInfo.type) {
|
||||
// Set custom proxy URL below 'Advanced proxy settings' button label
|
||||
this.advancedProxyAddress.textContent = `${proxyInfo.type}://${proxyInfo.host}:${proxyInfo.port}`;
|
||||
}
|
||||
@@ -1948,7 +1948,7 @@ Logic.registerPanel(P_ADVANCED_PROXY_SETTINGS, {
|
||||
};
|
||||
|
||||
const edit_proxy_dom = function(proxy) {
|
||||
if (proxy.type === "direct" || typeof proxy.type === "undefined" || MozillaVPN.proxyIsDisabled(proxy)) {
|
||||
if (!proxy.type || MozillaVPN.proxyIsDisabled(proxy)) {
|
||||
resetProxyInput();
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -51,7 +51,7 @@ proxifiedContainers = {
|
||||
}
|
||||
|
||||
if (mozillaVpnData && mozillaVpnData.mozProxyEnabled === undefined) {
|
||||
matches.groups.type = "direct";
|
||||
matches.groups.type = null;
|
||||
}
|
||||
|
||||
if (!mozillaVpnData) {
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Firefox Multi-Account Containers",
|
||||
"version": "8.0.2",
|
||||
"version": "8.0.3",
|
||||
"incognito": "not_allowed",
|
||||
"description": "__MSG_extensionDescription__",
|
||||
"icons": {
|
||||
|
||||
Reference in New Issue
Block a user