oder stelle es am besten hier ein.
JavaScript
// 15_mehr_in_Chronik.uc.js
// mehr Einträge im Chronik-Menü
// 210629: aborix von hier:
// https://www.camp-firefox.de/forum/thema/132919-men%C3%BC-chronik-anzahl-der-eintr%C3%A4ge/?postID=1176248#post1176248
(function() {
if (!window.gBrowser)
return;
const maxItems = 40;
let HistoryMenuOriginal = HistoryMenu;
HistoryMenu = function HistoryMenu(aPopupShowingEvent) {
this.__proto__.__proto__ = PlacesMenu.prototype;
Object.keys(this._elements).forEach(name => {
this[name] = document.getElementById(this._elements[name]);
});
PlacesMenu.call(this, aPopupShowingEvent, "place:sort=4&maxResults=" + maxItems);
};
HistoryMenu.prototype = HistoryMenuOriginal.prototype;
})();
Alles anzeigen
Kann das sein, dass mit dieser Code und 0px der Neuer Tab so gross bleibt?
Ich würde ihn gern kleiner machen.
Was passiert denn, wenn Du statt 0px dort 50px nimmst?
