Compare commits

..

4 Commits

Author SHA1 Message Date
luke crouch 532abbf032 Merge pull request #1706 from mozilla/version-6.2.5
bump version to 6.2.5
2020-04-13 11:23:44 -05:00
groovecoder d8f99ada77 bump version to 6.2.5 2020-04-13 07:49:31 -05:00
luke crouch 35cf2c95d4 Merge pull request #1686 from DeadlySurprise/fixCurrentContainerBtn
Fixes #1682 'open in current container button' not working
2020-04-11 15:05:42 -05:00
DeadlySurprise 19e694d8eb Fixed 'open in current container button' not working 2020-03-15 17:42:52 +01:00
3 changed files with 10 additions and 21 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"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": "6.2.3",
"version": "6.2.5",
"author": "Andrea Marchesini, Luke Crouch and Jonathan Kingston",
"bugs": {
"url": "https://github.com/mozilla/multi-account-containers/issues"
+7 -18
View File
@@ -17,25 +17,14 @@ async function load() {
const currentContainer = await browser.contextualIdentities.get(currentCookieStoreId);
document.getElementById("current-container-name").textContent = currentContainer.name;
}
document.getElementById("redirect-form").addEventListener("submit", (e) => {
document.getElementById("deny").addEventListener("click", (e) => {
e.preventDefault();
let button = "confirm"; // Confirm is the form default.
let buttonTarget = e.explicitOriginalTarget;
if (buttonTarget.tagName !== "BUTTON") {
buttonTarget = buttonTarget.closest("button");
}
if (buttonTarget && buttonTarget.id) {
button = buttonTarget.id;
}
switch (button) {
case "deny":
denySubmit(redirectUrl);
break;
case "confirm":
confirmSubmit(redirectUrl, cookieStoreId);
break;
}
denySubmit(redirectUrl);
});
document.getElementById("confirm").addEventListener("click", (e) => {
e.preventDefault();
confirmSubmit(redirectUrl, cookieStoreId);
});
}
+2 -2
View File
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Firefox Multi-Account Containers",
"version": "6.2.3",
"version": "6.2.5",
"incognito": "not_allowed",
"description": "Multi-Account 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.",
"icons": {
@@ -77,4 +77,4 @@
"options_ui": {
"page": "options.html"
}
}
}