diff --git a/.gitignore b/.gitignore index 6ff00a9..5e16ffe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store +package-lock.json node_modules README.html *.xpi diff --git a/index.js b/index.js index da9cf8d..4ebce44 100644 --- a/index.js +++ b/index.js @@ -1213,6 +1213,7 @@ ContainerWindow.prototype = { const menuItemElement = this._window.document.createElementNS(XUL_NS, "menuitem"); this._panelElement.appendChild(menuItemElement); menuItemElement.className = "menuitem-iconic"; + menuItemElement.setAttribute("tooltiptext", identity.name); menuItemElement.setAttribute("label", identity.name); menuItemElement.setAttribute("data-usercontextid", identity.userContextId); menuItemElement.setAttribute("data-identity-icon", identity.icon); diff --git a/webextension/js/popup.js b/webextension/js/popup.js index 51c6cd6..6ec07ad 100644 --- a/webextension/js/popup.js +++ b/webextension/js/popup.js @@ -520,7 +520,9 @@ Logic.registerPanel(P_CONTAINERS_LIST, { context.classList.add("userContext-wrapper", "open-newtab", "clickable"); manage.classList.add("show-tabs", "pop-button"); + manage.title = escaped`View ${identity.name} container`; context.setAttribute("tabindex", "0"); + context.title = escaped`Create ${identity.name} tab`; context.innerHTML = escaped`