diff --git a/src/js/background/assignManager.js b/src/js/background/assignManager.js index ddf0985..5e50a63 100644 --- a/src/js/background/assignManager.js +++ b/src/js/background/assignManager.js @@ -188,7 +188,7 @@ const assignManager = { active: info.frameId !== undefined, cookieStoreId: reopenCookieStoreId, index: tab.index + 1, - openerTabId: tab.id, + openerTabId: tab.openerTabId, pinned: tab.pinned, url: tab.url, }).then(() => { @@ -362,6 +362,20 @@ const assignManager = { contexts: ["all", "tab"], }); + browser.contextMenus.create({ + id: this.getCookieStoreIdFromReloadMenuId("firefox-default"), + title: "Default", + contexts: ["all", "tab"], + parentId: this.MENU_RELOAD_IN, + }); + + browser.contextMenus.create({ + id: "reopen-separator", + contexts: ["all", "tab"], + type: "separator", + parentId: this.MENU_RELOAD_IN, + }); + const identities = await browser.contextualIdentities.query({}); identities.forEach((identity) => { this.addContainerMenuEntry(identity, (identity.cookieStoreId !== tab.cookieStoreId) ?