Im 154 geht dies, im Nightly kann ich ja noch nicht testen:
JavaScript
(function() {
if (!window.gBrowser)
return;
const orig = document.getElementById('context_closeOtherTabs');
const clone = orig.cloneNode();
const ref = document.getElementById('context_bookmarkTab');
tabContextMenu.insertBefore(clone, ref.nextSibling);
var css =`
#context_closeTabOptions {
display: none !important;
}
`;
var sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService);
var uri = makeURI('data:text/css;charset=UTF=8,' + encodeURIComponent(css));
sss.loadAndRegisterSheet(uri, sss.AUTHOR_SHEET);
})();
Alles anzeigen