diff --git a/src/_locales b/src/_locales index 417e629..1b944a2 160000 --- a/src/_locales +++ b/src/_locales @@ -1 +1 @@ -Subproject commit 417e6294ed767914b617a5e56ccbe67482df181c +Subproject commit 1b944a2cbd8577c8ca928729ff1439dd30ce8269 diff --git a/src/js/pageAction.js b/src/js/pageAction.js deleted file mode 100644 index 8aa51e4..0000000 --- a/src/js/pageAction.js +++ /dev/null @@ -1,40 +0,0 @@ -async function init() { - const fragment = document.createDocumentFragment(); - const identities = await browser.contextualIdentities.query({}); - - for (const identity of identities) { - const tr = document.createElement("tr"); - tr.classList.add("menu-item", "hover-highlight"); - tr.setAttribute("data-cookie-store-id", identity.cookieStoreId); - const td = document.createElement("td"); - td.innerHTML = Utils.escaped` - - ${identity.name} - - `; - - tr.appendChild(td); - fragment.appendChild(tr); - - Utils.addEnterHandler(tr, async () => { - Utils.alwaysOpenInContainer(identity); - window.close(); - }); - } - - const list = document.querySelector("#picker-identities-list"); - list.innerHTML = ""; - list.appendChild(fragment); - - MozillaVPN.handleContainerList(identities); - - // Set the theme - Utils.applyTheme(); -} - -init(); diff --git a/src/manifest.json b/src/manifest.json index e0f9765..cc9fbb7 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -117,14 +117,6 @@ } ] }, - "page_action": { - "browser_style": true, - "default_icon": "img/container-openin-16.svg", - "default_title": "Always open this in a Container", - "default_popup": "pageActionPopup.html", - "pinned": false, - "show_matches": ["*://*/*"] - }, "background": { "page": "js/background/index.html" }, diff --git a/src/pageActionPopup.html b/src/pageActionPopup.html deleted file mode 100644 index ee3da9a..0000000 --- a/src/pageActionPopup.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - Multi-Account Containers - - - - - - -
-

-
-
- - - - - -
-
- - - - - -