Evtl. muss du dir die Werte in Zeile 30 bzw. 31 noch etwas anpassen.
Interessant, wie man doch mit unterschiedlichen Anpassungen zu einem ähnlichen, wenn nicht sogar gleichen Ergebnis kommen kann.
JavaScript
/* Statusleiste für Firefox */
// https://www.camp-firefox.de/forum/viewtopic.php?p=1052187&sid=d4e33b574226439c26dfb45629b71369#p1052187
// entwickelt von aborix
(function() {
if (location != AppConstants.BROWSER_CHROME_URL)
return;
var css =`
#new-toolbar {
height: 23px;
direction: rtl;
-moz-window-dragging: no-drag;
/* border-top: 1px solid black !important;
background-color: rgba(0,0,0,0) !important;
color: black !important; */
}
#statuspanel {
bottom: 18px !important;
left: 2px !important;
height: 20px !important;
max-width: 75% !important;
transition: none !important;
}
#statuspanel-label {
font: 12px Arial Rounded MT Bold !important;
font-weight: normal !important;
border: none !important;
background:#7598ff!important;
color: white !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);
var tb = document.createXULElement('toolbar');
tb.id = 'new-toolbar';
tb.setAttribute('customizable', true);
tb.setAttribute('mode', 'icons');
var vbox = document.createXULElement('vbox');
document.getElementById('navigator-toolbox').parentNode.parentNode.insertBefore(
vbox, document.getElementById('browser-bottombox'));
vbox.style.backgroundColor = '#ffe4c4';
vbox.appendChild(tb);
CustomizableUI.registerArea('new-toolbar', {legacy: true});
CustomizableUI.registerToolbarNode(tb);
})();
setTimeout(function() {
if (window.__SSi == 'window0')
return;
let tabbar = document.getElementById('TabsToolbar');
let tab = gBrowser.selectedTab;
tabbar.style.display = '-moz-box';
duplicateTabIn(tab, 'tab');
gBrowser.moveTabTo(gBrowser.selectedTab, tab._tPos);
gBrowser.removeTab(tab);
tabbar.style.display = '';
}, 1500);
Alles anzeigen