Beiträge von Mira_Belle
-
-
Off topping, sorry!
Du hast da so zwei ganz tolle Symbole, könntest Du sie mir zukommen lassen?
1. In der Adressleiste das dritte von links
und gleich das erste nach der Adressleiste, (Reload?)
-
@Horstmann
Oh, ich hätte da was!
Es geht um ein Skript, welches Icons in der Adresszeile einfügt!
Kannst ja mal reinschnuppern.
Es geht um diesen Teil!
JavaScript
Alles anzeigenvar myPath = PathUtils.toFileURI(PathUtils.join(PathUtils.profileDir, 'chrome', 'icons')); // Pfadangabe zum Profilordner var myPrefix = "firefox_logo_2004.svg"; // Name (& Dateiendung) des anzuzeigenden Symbols var mySuffix = ' '; // Dateiendung des anzuzeigenden Symbols var Symbol = myPath + myPrefix + mySuffix; var i_icon = 'chrome://global/skin/icons/info.svg'; var sheet = 'chrome://global/skin/icons/Portrait.png'; var brand = 'chrome://branding/content/icon32.png'; var globe = 'chrome://global/skin/icons/defaultFavicon.svg'; var all = 'chrome://global/skin/icons/settings.svg'; var avatar = 'chrome://browser/skin/fxa/avatar-empty.svg'; var icon_for_pages_without_favicon = Symbol; // i_icon, sheet, brand, globe or all (colorized Fx channel icon) (function() { if (location.href !== 'chrome://browser/content/browser.xhtml') return; let fav = document.createXULElement('image'); fav.setAttribute('id', 'faviconid'); fav.setAttribute('class', 'faviconclass'); gBrowser.tabContainer.addEventListener('TabAttrModified', function() { let favicon = gBrowser.selectedTab.image; if (favicon && favicon.indexOf('icon32.png') === -1) { // if favicon is present and not 'icon32.png', set it as the source fav.src = favicon; var position = document.getElementById('identity-icon'); position.parentNode.insertBefore(fav, position.previousSibling); } else { // if no favicon is present or it is 'icon32.png', set a custom one fav.src = icon_for_pages_without_favicon; var position = document.getElementById('identity-icon'); position.parentNode.insertBefore(fav, position.previousSibling); } }, false); fav.style.height = '16px'; fav.style.width = '16px'; fav.style.marginLeft = '7px'; fav.style.marginRight = '3px'; fav.style.marginTop = '2px';Da wird erst geprüft, ob es ein Favicon gibt, und es wird genutzt,
oder, wenn es keines gibt, wird ein festgelegtes genommen.
Hier ist z.B. gerade Symbol, also ein Icon im Pfad ausgewählt.
Hier der Link zum kompletten Thread.
RE: Eigene Icons für about:xxx in der Urlbar, bzw. im Container
-
Sorry, habe ich leider überlesen, das mit den "neuen" Profilen.
Aber, wenn das Verhalten auch bei anderen Versionen des Firefox so ist, vermute ich eher den Fehler in Deinem BS!
Irgendeine "Sicherheitssoftware" installiert?
Erweiterungen in allen Firefoxinstallationen?
Auf jeden Fall würde ich vermuten, dass da ein anderes Programm reingrätscht.
-
Das ist aber das gleiche wie das von #230, nur mit 2 Änderungen provisorisch reingedrängt.
Das aktuelle Script von Mira_Belle ist hier, wenn ich das noch alles richtig überblicke.

Tust Du, glaube ich!

-
Hast Du schon eine user.js in Verwendung?
-
-
Ich werde den FF komplett neu installieren, mit neuem Profil.
Deine Einsicht erfreut mich!
Wir alle hier werden Dir immer zur Seite stehen.
-
Danke, hat funktioniert.
Zur user.js, die werde ich erstmal rausnehmen und mich mit der Sicherheit von FF mal selber beschäftigen.
Wie gesagt, Vielen Dank.
Nur mit "löschen" oder "rausnehmen" ist es aber nicht getan!
Du musst die Änderungen, die diese Datei gemacht hat, alle händisch zurücknehmen

-
Mein letzter Beitrag in diesem Thread!
Ich denke, es wird das gescheiteste sein, Du erstellst Dir ein neues Profil!
Fängst noch einmal ganz von vorne an.
Lässt aber das mit der user.js sein und schaust auch, dass Du keine Erweiterung installierst,
die Deinen User-Agent ständig ändert.
Wenn dann mit diesem Profil dann alles so weit Fehlerfrei klappt,
kannst Du dann an Deine individuellen Anpassungen per CSS gehen.
Nur wenn Du dazu bereit bist, werde ich, so weit mir möglich ist, weiter helfen.
Wie das 2002Andreas handhabt, ist seine Sache.

-
AH

Nun verstehe ich Deinen Code! @Horstmann
Wenn omar1979 seinen Code
CSS/* Menü-Separator von allen Menüs im Menübar entfernen*/ #main-menubar menuseparator { display: none !important; }durch diesen ersetzt
erhält er das von ihm erwünschte Ergebnis.
Es werden ALLE Separatoren entfernt, bis auf den gewünschten
und das sogar in den Pop-ups!
-
Alles anzeigen
Hallo,
ich hoffe man reisst mir nicht den Kopf ab,aber ich komme nicht weiter.
Bin technisch leider nicht so versiert.
Ich hatte zuletzt FF 113 laufen, mit einer eigenen userchrome.css und einer user.js.
Die user.js habe ich von privacy-handbuch.de um Telemetry etc sicher abzuschalten bzw. zu sichern.
Die userchrome.css eigentlich nur um Tabs unter die Lesezeicheliste zu schieben und die Tabs zu verkleinern.
Nach dem Update funktioniert das aber nicht mehr so richtig, die Tabs hängen jetzt über dem normalen FF Menu.
Ich würde gerne wieder die Tabs kleiner haben und unter den Lesezeichen.
Vielleicht kann jemand helfen. Danke !
Ich kann Dir aus leidvoller Erfahrung glaubhaft versichern, dass diese Datei user.js von dort Sch...e ist!
Du wirst nicht umhinkommen ein neues Profil zu erstellen, oder alle Einstellungen, die durch diese verfluchte
user.js gemacht wurde, Händisch zurückzunehmen.
Kannst ja hier im Forum mal danach suchen, was ich für Schelte bezogen habe und was für ein Zinnober das war.
Zumal ich aber auch recht bockig war.
Was Dein Bestreben wegen der Telemetrie angeht, kann ich Dir versichern, das kannst Du alles sicher unter
Einstellungen deaktivieren!
Ich mach mal den Code lesbar.
CSS
Alles anzeigen#titlebar { -moz-box-ordinal-group: 100 !important; } /* space above tabs toolbar */ #main-window[tabsintitlebar][sizemode="maximized"] * #titlebar { margin-top: -8px !important; } /* space for menubar above navigation toolbar (Firefox titlebar) */ #main-window[tabsintitlebar]:not([sizemode="fullscreen"]) #nav-bar { margin-top: 40px !important; } #main-window[tabsintitlebar][sizemode="maximized"]:not([sizemode="fullscreen"]) #nav- bar { margin-top: 6px !important; } /* add 'drag' feature to space above navigation toolbar */ #main-window[tabsintitlebar] #navigator-toolbox, #main-window[tabsintitlebar] #nav-bar { -moz-window-dragging: drag !important; } /* move menubar to the top and extend its with to full window width */ #toolbar-menubar { position: fixed !important; width: 100vw !important; -moz-window-dragging: drag !important; } /* move menubars / tab toolbars caption buttons to windows top right position */ #main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) .titlebar-buttonbox-container { position: fixed !important; right: 0 !important; visibility: visible !important; display: block !important; } /* menubar postion after moving to the top */ #toolbar-menubar { top: 10px !important; } /* Linux/macOS */ /* space above navigation toolbar (OS titlebar) */ /* set to '0', if no menubar is used */ #main-window:not([tabsintitlebar]):not([sizemode="fullscreen"]) #nav-bar { margin-top: 18px !important; } /* menubar postion in maximized mode after moving to the top */ #main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar { top: 10px !important; } /* caption button position in maximized mode after moving to the top */ #main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) .titlebar-buttonbox-container, #main-window[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen="true"]) .titlebar-buttonbox-container { top: 4px !important; } /* Windows */ Media (-moz-os-version:windows-win10), (-moz-os-version:windows-win8), (-moz-os- version:windows-win7) { /* set to '0', if no menubar is used */ #main-window:not([tabsintitlebar]):not([sizemode="fullscreen"]) #nav-bar { margin-top: 8px !important; } /* set to '0', if no menubar is used */ #main-window[tabsintitlebar][sizemode="maximized"]:not ([sizemode="fullscreen"]) #nav-bar { margin-top: 4px !important; } #main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar { top: 8px !important; } #main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) .titlebar-buttonbox- container { top: 0px !important; } #main-window[tabsintitlebar][sizemode="maximized"]:not ([inDOMFullscreen="true"]) .titlebar-buttonbox-container { top: 8px !important; } } /* hide line above navigation toolbar appearing in some cases */ #main-window:not([tabsintitlebar]) #nav-bar, #main-window:not([tabsintitlebar]) #navigator-toolbox { border-top: 0 !important; box-shadow: unset !important; } /* tweaks for fullscreen mode */ #main-window[tabsintitlebar][sizemode="fullscreen"] * #TabsToolbar { -moz-padding-start: 0px !important; } /* tweaks for fullscreen mode */ #main-window[tabsintitlebar][sizemode="fullscreen"]:not([inDOMFullscreen="true"]) .titlebar-buttonbox-container, #main-window[tabsintitlebar][sizemode="fullscreen"] #toolbar-menubar[autohide="true"] ~ #TabsToolbar .titlebar-buttonbox-container, #main-window[tabsintitlebar][sizemode="fullscreen"] #navigator-toolbox #PanelUI-button, #main-window #TabsToolbar #window-controls { display: none !important; } /* hide non-required items */ #TabsToolbar .private-browsing-indicator, #TabsToolbar #window-controls, #TabsToolbar *[type="caption-buttons"], #TabsToolbar *[type="pre-tabs"], #TabsToolbar *[type="post-tabs"] { display: none !important; } /* Windows 7 extra tweaks */ Media (-moz-os-version: windows-win7) { Media all and (-moz-windows-compositor) { #main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) * .titlebar- buttonbox-container { display: none !important; } } Media not all and (-moz-windows-compositor) { #main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) .titlebar-buttonbox- container { top: -8px !important; } #main-window[tabsintitlebar][sizemode="maximized"]:not ([inDOMFullscreen="true"]) .titlebar-buttonbox-container { top: 0px !important; } } } /* Windows 10 extra tweaks */ Media (-moz-os-version: windows-win10) { #main-window:not([tabsintitlebar]) menubar > menu:not(:-moz-lwtheme):hover:not ([disabled="true"]), #main-window:not([tabsintitlebar]) menubar > menu:not(:-moz-lwtheme)[_moz- menuactive="true"]:not([disabled="true"]) { background-color: Highlight !important; color: HighlightText !important; } } /* disable Mozillas tab jumping nonsense when moving tabs */ #navigator-toolbox[movingtab] > #titlebar > #TabsToolbar { padding-bottom: unset !important; } #navigator-toolbox[movingtab] #tabbrowser-tabs { padding-bottom: unset !important; margin-bottom: unset !important; } #navigator-toolbox[movingtab] > #nav-bar { margin-top: unset !important; } #context_toggleMuteTab, #context_pinTab, #context_duplicateTab, #context_selectAllTabs, #context_bookmarkTab, #context_moveTabOptions, #context_sendTabToDevice, #context_closeTabsToTheEnd, #context_closeOtherTabs{ display: none !important; } #context-sendpagetodevice, #context-sep-sendpagetodevice { display: none !important; } #context-sendlinktodevice, #context-sep-sendlinktodevice { display: none !important; } .tab-close-button { display: -moz-box !important; } .tab-close-button { color: blue !important; } /* Lesezeichen Sidebar - Ordnericon stehend blau */ @-moz-document url("chrome://browser/content/bookmarks/bookmarksPanel.xul"), url("chrome://browser/content/history/history-panel.xul") { treechildren::-moz-tree-image(container) { list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABNElEQVR42mNkoBAwgoiaRc82sTH99wWx//9nfPPq0yePqdkaZ4k2IG/hvf0sTP8dYIL/IQbh1fjnH8POKQlKHow1Cx+WfPr7J/Mfwz8lUpzOxMB0j5+FZTqjetrtR4zMDGJAt7CT5Pn/DD///2V4xSiT/fTaP0ag7Yz/STSA8SfTf6Z7jNJFb0/9+v9Xj4HxH4kGMP1kY2S+xKhZ93Hfjz+/rYAipBnAwPiTg4X1GKNF55dNX3/9dgcawEaiAb+42Fh3MrpP/b7s0/dfwcB4I80ARsZfvJxsaxnDF/6a9f7Lr4T///+xkqaf6bcAN9sCxrQ1f/tef/iZ+///fxbSDGD8I8zHPpnRqfxI4yc2jVoGaKokAfzn+X2nGWgQkwTQ+YZAAWYSDfjLyMR8nlRbMb1CqQEACmp1y80wWngAAAAASUVORK5CYII=') !important; } } /* Lesezeichen verwalten - Ordnericon stehend blau */ @-moz-document url-prefix("chrome://browser/content/places/places.xul") { treechildren::-moz-tree-image(container) { list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABNElEQVR42mNkoBAwgoiaRc82sTH99wWx//9nfPPq0yePqdkaZ4k2IG/hvf0sTP8dYIL/IQbh1fjnH8POKQlKHow1Cx+WfPr7J/Mfwz8lUpzOxMB0j5+FZTqjetrtR4zMDGJAt7CT5Pn/DD///2V4xSiT/fTaP0ag7Yz/STSA8SfTf6Z7jNJFb0/9+v9Xj4HxH4kGMP1kY2S+xKhZ93Hfjz+/rYAipBnAwPiTg4X1GKNF55dNX3/9dgcawEaiAb+42Fh3MrpP/b7s0/dfwcB4I80ARsZfvJxsaxnDF/6a9f7Lr4T///+xkqaf6bcAN9sCxrQ1f/tef/iZ+///fxbSDGD8I8zHPpnRqfxI4yc2jVoGaKokAfzn+X2nGWgQkwTQ+YZAAWYSDfjLyMR8nlRbMb1CqQEACmp1y80wWngAAAAASUVORK5CYII=') !important; } } /* Lesezeichen - Ordnericon blau */ @-moz-document url-prefix("chrome://browser/content/browser.xul") { .bookmark-item[container="true"] { list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAABNElEQVR42mNkoBAwgoiaRc82sTH99wWx//9nfPPq0yePqdkaZ4k2IG/hvf0sTP8dYIL/IQbh1fjnH8POKQlKHow1Cx+WfPr7J/Mfwz8lUpzOxMB0j5+FZTqjetrtR4zMDGJAt7CT5Pn/DD///2V4xSiT/fTaP0ag7Yz/STSA8SfTf6Z7jNJFb0/9+v9Xj4HxH4kGMP1kY2S+xKhZ93Hfjz+/rYAipBnAwPiTg4X1GKNF55dNX3/9dgcawEaiAb+42Fh3MrpP/b7s0/dfwcB4I80ARsZfvJxsaxnDF/6a9f7Lr4T///+xkqaf6bcAN9sCxrQ1f/tef/iZ+///fxbSDGD8I8zHPpnRqfxI4yc2jVoGaKokAfzn+X2nGWgQkwTQ+YZAAWYSDfjLyMR8nlRbMb1CqQEACmp1y80wWngAAAAASUVORK5CYII=') !important; -moz-image-region: rect(0px 16px 16px 0px) !important; } @-moz-document url-prefix(chrome://browser/content/browser.xul){ #back-button > .toolbarbutton-icon{ filter:none!important; list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAA/CAYAAAAGyyO8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAANBElEQVR42mJsnLeagZPnH8O//wwM/xj+M/xmYGTgY2BgYOHkY2BhZGT+++dP4d/f/y1+fv9WChS+/x+oBoSu3n7A8P/fPwYQAAggJgbcgJWJialMRcugW0BcQuP3n3/CQMzw6u0zhgcv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-moz-image-region: rect(0px 16px 16px 0px) !important;} #forward-button > .toolbarbutton-icon{ filter:none!important; list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAA/CAYAAADpCUiCAAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VGAAAM70lEQVR42mLsXLmagZldmIGL4TcDIwMcFP368cPpx48fOf+ZGB4y/mf4/5+RkeEfkKPM/o/hBhMDAx8Qf3rFyAAQQCwwHd/EFRn0pQQZmBjBxrB+fvvO+9G9O3zfvn7OBvKvAvE/BiwAIICY4Kz//xkuPHjJ8OHrD4bP334xyCkqMOgbGdly8PAuYmBgtAaqYMFmAEAAgQwAWckKwsxMjKy3X7xl/vDrL/O/Hz8Y1BXEGdT1jQ3Y+fgXMTAy+gDVsKEbABBAIFMFGBkZfYGaWZj+M/1nZGH59OH7L4MP/5gZWD7+YRCQEGOQ/Wug8Pj65XnfPnwo+M/AsBao5yvMAIAAYvnPxKzNKyi4UF1SiOH3n38Mv/7/Y/jDDLSImZnh9tc/DG9+/mIQ4BdjEFTXE/x348qcT1/fiACDaS5Q70eQAQABxPLtzx82eXEpBlM5YYZbX4CifxkYvv/5w/Di22+G5z/+M3wAGvrk+2cGYR5hBhYVXdb3d671sn55IfCfiXECUP87gABiefvm+9/3374zXPzwn2HX868M738DwxMYb3///QcHDiiQgM5m+PDuEwMXFx8Dh5w6A9v9v7X/v74SBMrWAQQQy48P3xhef//N8OzXf4aXv/4xfARi5v9AZ/z7C0RAGuil/3/+Ag35x/DmzRsGZl5+Bm4xFQbBC49ymP/+2wIQQCyf375heAl0LteX3wzvv/9k+PETmKD+/QFq/gPU+xdCAw36//sXMCJZGFj+MTIwP73F8PjJkxsc7OyPAAKI5cPXr4x/P31l+PjsLcO3T5+BGn4Dk8R/sGaw7UDN//78ZmBmY2dgYQR66PIJho93L5+Xk5VMvfH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fYIwwAAQQC1AQlHa+g6oDoPP+gwIVaNMfUAwcP36c9caNG++AljwEqvsFNJgVmJg+pqenwwMJIIBA/gU5+SMkAbLwAw3hA2pm379/PzMwvj/p6uq+kZeX/wsM7L9AV70HuvQrMD3AyzeAAAKlRFAr9CswtJ8BJZ4LCwv/uHLlCvPLly9/mJqavgU68yPQvy8TEhJAyffjf3C9hwAAAQQrVP9DXfJm7dq13wIDA78AvcIHdPJ7oNNf3r59G1Q6/cWWGwECCL0//B8Y8l+BGm8Cow7YOP0LKhv+QxufWAFAgAEAUBtjxulwCvIAAAAASUVORK5CYII=") !important; margin-left:-3px!important; -moz-image-region: rect(0px 16px 16px 0px) !important;} } /*Flexibler Leerraum, die Breite ist anpassbar*/ toolbarpaletteitem[id^="wrapper-customizableui-special-spring"] { min-width: 15px!important; max-width: 15px!important; } toolbarspring { -moz-box-flex: 1; min-width: 15px!important; max-width: 15px!important; } /*Urlbar Vorschläge ausblenden*/ #urlbar-results { display: none !important; } -
Den kannst Du ignorieren, der betrifft nur die Separatoren in den Pop-ups!
In etwa so sollte der zu ersetzende Code ausschauen!
CSS
Alles anzeigen#menu_FilePopup > menuseparator, #menu_EditPopup > menuseparator, #menu_viewPopup > menuseparator, #sanitizeSeparator, #startHistorySeparator, #devToolsSeparator, #prefSep, #aboutSeparator, #bookmarksMenuPopup > menuseparator:nth-child(4), #bookmarksMenuPopup > menuseparator:nth-child(7), #bookmarksMenuPopup > menuseparator:nth-child(11), #bookmarksMenuPopup > menuseparator:nth-child(13) { display: none !important; }Bei den Separatoren in dem Lesezeichenmenü #bookmarksMenuPopup > menuseparator:nth-child(X!)
kann es sein, dass die Werte X! andere sind, da musst Du halt mal schauen!
-
Du wirst diesen Code ersetzen müssen!
D.H. Du musst jeden Separator in Deinen Menüs einzeln ansprechen müssen,
also alle, die Du ausblenden willst, bis auf den Einen, den Du halt behalten willst.
Es sei denn, es gäbe eine Möglichkeit per CSS EINE Ausnahme für genau EIN Element zu definieren.
Glaube ich aber nicht!
-
Probier spasseshalber mal das:
JavaScript
Alles anzeigen// BookmarkCount.uc.js /* ******************************************************************************************************************* */ /* Author BrokenHeart => https://www.camp-firefox.de/forum/thema/136572/?postID=1229536#post1229536 **** */ /* Correction from BrokenHeart => https://www.camp-firefox.de/forum/thema/136572/?postID=1229696#post1229696 **** */ /* Extension from Sören Henschel => https://www.camp-firefox.de/forum/thema/136572/?postID=1229555#post1229555 **** */ /* Customized by Mira inspired by grisu2099 ********************************************************************** */ /* Source => https://www.camp-firefox.de/forum/thema/136572/?postID=1229875#post1229883 **** */ /* Customized by Mira inspired by Horstmann ********************************************************************** */ /* Source => https://www.camp-firefox.de/forum/thema/136572/?postID=1229993#post1229993 **** */ /* ******************************************************************************************************************* */ /* Finaly Source => https://www.camp-firefox.de/forum/thema/136572/?postID=1230128#post1230128 **** */ /* ******************************************************************************************************************* */ /* Custom Counter in the Bookmarks for folders and links ************************************************************* */ /* ******************************************************************************************************************* */ (function() { if (!window.gBrowser) return; setTimeout(function() { setFunction(); },50); let profilePath = PathUtils.toFileURI(PathUtils.join(PathUtils.profileDir, 'chrome', 'icons')) let icon1 = "Folder.png" let icon2 = "Link.png" function setFunction() { const css =` .countClass1::before { content: ""; background-image: url(${profilePath}/${icon1}); background-repeat: no-repeat; background-size: 16px; /* icon size */ //background-position: center; margin-right: -10px !important; /* Abstand bis zum "Wert" der Ordner */ margin-left: 15px !important; /* Abstand bis zum Icon der Ordner */ height: 16px; width: 16px; fill: #c0c0c0; fill-opacity: 1; } .countClass1::after { content: attr(data-value1) !important; font-family: Consolas, "Lucida Console", "Courier New", monospace !important; font-size: 12px !important; font-weight: 900 !important; color: #FFB90F !important; padding-top: 1px !important; } .countClass2::before { content: ""; background-image: url(${profilePath}/${icon2}); background-repeat: no-repeat; background-size: 16px; /* icon size */ background-position: center; margin-right: 6px !important; /* Abstand bis zum "Wert" der Links */ margin-left: 10px !important; /* Abstand bis zum Icon der Links */ height: 16px; width: 16px; fill: #c0c0c0; fill-opacity: 1; } .countClass2::after { content: attr(data-value2); font-family: Consolas, "Lucida Console", "Courier New", monospace !important; font-size: 12px !important; font-weight: 900 !important; color: #FFD700 !important; margin-right: -6px !important; /* Abstand zum Pfeil rechts */ } .countClass2 image { order: 1; /* Pfeil hinter dem "Wert" der Links */ } /* Ergaenzungen */ .countClass1 label { margin-inline: 0px !important; } .menu-right.countClass2 { margin-inline: 0px !important; } `; const sss = Cc['@mozilla.org/content/style-sheet-service;1'].getService(Ci.nsIStyleSheetService); const uri = Services.io.newURI('data:text/css,' + encodeURIComponent(css)); sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET); let newbarMenu = document.getElementById('fp-statusbar-1'); let bmbMenu = document.getElementById('bookmarks-menu-button'); let bookMenu = document.getElementById('bookmarksMenu'); let persToolBar = document.getElementById('PersonalToolbar'); if(newbarMenu) newbarMenu.addEventListener('popupshowing', onPopupShowing ); if(bmbMenu) bmbMenu.addEventListener('popupshowing', onPopupShowing ); if(bookMenu) bookMenu.addEventListener('popupshowing', onPopupShowing ); if(persToolBar) persToolBar.addEventListener('popupshowing', onPopupShowing ); } function onPopupShowing(aEvent) { let popup = aEvent.originalTarget; for (let item of popup.children) { if (item.localName != 'menu' || item.id?.startsWith('history')) { continue; } setTimeout(() => { let itemPopup = item.menupopup; itemPopup.hidden = true; itemPopup.collapsed = true; itemPopup.openPopup(); itemPopup.hidePopup(); let menuitemCount = 0; let menuCount = 0; for (let subitem of itemPopup.children) { if (subitem.classList.contains('bookmark-item') && !subitem.disabled && !subitem.hidden) { if (subitem.localName == 'menuitem') { menuitemCount++; } else if (subitem.localName == 'menu') { menuCount++; } } } itemPopup.hidden = false; itemPopup.collapsed = false; item.style.color = '#c0c0c0'; let label1 = item.childNodes[3]; label1.classList.add('countClass1'); let strCountOut1 = String(menuCount).padEnd(2) + '\xa0'; // padEnd2 => zwei Stellen, plus Abstand label1.setAttribute('data-value1', strCountOut1); let label2 = item.childNodes[4]; label2.classList.add('countClass2'); let strCountOut2 = String(menuitemCount).padEnd(3, '\xa0'); // padEnd3 => drei Stellen, Abstand bei nur einer Ziffer label2.setAttribute('data-value2', strCountOut2); }, 100); } } })(); //Fügt in den Lesezeichen Ordner ganz oben die Anzahl von Links und Unterordner hinzu. (function() { if (!window.gBrowser) return; function setFunction() { PlacesViewBase.prototype._mayAddCommandsItems = function PVB__mayAddCommandsItems(aPopup) { let hasMultipleURIs = false; let menuitemCount = 0; let menuCount = 0; if (aPopup._placesNode.childCount > 0) { for (let item of aPopup.children) { if (item._placesNode) { if (item.localName == 'menuitem') { menuitemCount++; } else if (item.localName == 'menu') { menuCount++; } } } if (menuitemCount > 0 || menuCount > 0) { hasMultipleURIs = true; } } if (!hasMultipleURIs) { aPopup.setAttribute("nofooterpopup", "true"); if (aPopup._endOptOpenAllInTabs) { aPopup.removeChild(aPopup._endOptOpenAllInTabs); aPopup._endOptOpenAllInTabs = null; aPopup.removeChild(aPopup._endOptSeparator); aPopup._endOptSeparator = null; } return; } aPopup.removeAttribute("nofooterpopup"); if (!aPopup._endOptOpenAllInTabs) { aPopup._endOptSeparator = document.createXULElement("menuseparator"); aPopup._endOptSeparator.className = "bookmarks-actions-menuseparator"; aPopup.insertBefore(aPopup._endOptSeparator, aPopup.firstChild); aPopup._endOptOpenAllInTabs = document.createXULElement("menuitem"); aPopup._endOptOpenAllInTabs.className = "openintabs-menuitem"; if (this.options?.extraClasses?.entry) { aPopup._endOptOpenAllInTabs.classList.add( this.options.extraClasses.entry ); } aPopup._endOptOpenAllInTabs.setAttribute( "oncommand", "PlacesUIUtils.openMultipleLinksInTabs(this.parentNode._placesNode, event, " + "PlacesUIUtils.getViewForNode(this));" ); aPopup._endOptOpenAllInTabs.setAttribute( "onclick", "checkForMiddleClick(this, event); event.stopPropagation();" ); aPopup.insertBefore(aPopup._endOptOpenAllInTabs, aPopup.firstChild); } let label = menuitemCount + " Link"; if (menuitemCount != 1) { label += "s"; } label += " / " + menuCount + " Ordner." if (menuitemCount == 1) { label += " -> Link in Tab öffnen." } else if (menuitemCount > 1) { label += " -> Links in Tabs öffnen." } aPopup._endOptOpenAllInTabs.setAttribute("label", label); } } setTimeout(function() { setFunction(); },50); })();Was hast Du denn geändert?
omar1979 hat sein ganzes Lesezeichenmenü verbogen.Glaube nicht, dass der Fehler am Skript liegt, eher an einem der Maßnahmen, die er fürs Verbiegen verwendet.
-
Habe bei mir auf der Lesezeichenleiste einen Ordner erstellt, in diesem auch wieder einen
und dort mehrere Links abgelegt.
Schaut gut aus!
Also keinen Fehler entdeckt, sieht genau so aus, wie unter Lesezeichen,
und zwar so, wie ich das eben für die Lesezeichen eingestellt habe.
Jetzt habe ich mir Deine Screenshots noch mal angeschaut, was genau stimmt denn da nicht?
Und sehe ich das richtig, hast Du auch das Lesezeichenmenü angepasst?
Nur per CSS oder auch mittels Javascript?
Denn die zwei Menüpunkte Lesezeichen von HTML importieren…
& Lesezeichen nach HTML exportieren… gehören DA doch gar nicht hin!
Außerdem fehlen Diese Lesezeichen bearbeiten & Weitere Lesezeichen.
So wie im Grunde alle weiteren Lesezeichen

Du legst Deine Lesezeichen ALLE in einem Unterordner unter "Meine Lesezeichen" ab,
der dann auf Deine Zusatzleiste abgelegt ist?
Ist mir ehrlich gesagt zu hoch!
Wie legst Du die denn dann an? Jedes Mal über ein Menü, welches Du erst in diesem Ordner öffnen musst?
-
-
-
Code dazu, zack-zack!

Wollte nur mal sehen, wie genau du den Trennstrich nach dem ersten Zähler eingebaut hast; kann's mir zwar ungefähr vorstellen, wäre aber prima wenn du das Script nachreichen könntest.

z.B.
let strCountOut1 = + menuCount + '\xa0' + "|"
ganz weit unten im Skript.
Dann halt auch den Abstand noch anpassen.
-
Nur unter News.
Entweder hätte ich etwas genauer lesen sollen,oder halt auch mal weiter klicken sollen, als nur die Startseite zu betrachten.
Ja, funktioniert auch bei mir,
warum auch nicht?
