1. Nachrichten
  2. Forum
    1. Unerledigte Themen
    2. Forenregeln
  3. Spenden
  • Anmelden
  • Registrieren
  • Suche
Alles
  • Alles
  • Artikel
  • Seiten
  • Forum
  • Erweiterte Suche
  1. camp-firefox.de
  2. lenny2

Beiträge von lenny2

  • Tabgruppen verschieben, Größe der Tabgruppen-Namen

    • lenny2
    • 24. April 2025 um 12:30

    Ctwx Die Höhe wird größer, wenn Sie die Schrift vergrößern. CSS von 2002Andreas.

    CSS
    .tab-group-label {
        tab-group[collapsed] > .tab-group-label-container > & {
        font-size: 17px  !important;
       font-family: cursive; !important;
        padding-inline: 8px !important;
     }
    }
    .tab-group-label {
        tab-group > .tab-group-label-container > & {
        font-size: 17px  !important;
       font-family: cursive; !important;
        padding-inline: 8px !important;
     }
    }
    Alles anzeigen
  • Firefox v136.0a1 - Skript „saveTo“ funktioniert nicht mehr

    • lenny2
    • 21. April 2025 um 12:50
    Zitat von 2002Andreas

    Teste bitte:

    Danke, funktioniert.

  • Firefox v136.0a1 - Skript „saveTo“ funktioniert nicht mehr

    • lenny2
    • 20. April 2025 um 13:26

    BrokenHeart Vielen Dank :thumbup:  2002Andreas Danke für das CSS für das Skript :thumbup:

    Nur zur Info.
    Die alte Version aus Beitrag Nr. 1, angepasst für v136.0a1, hat ein starkes positives Feature – sie legt die Breite des Dropdown-Menüs automatisch abhängig vom längsten Elementnamen fest. Diese Option wäre im Skript für v139.0a1 nützlich.

  • Firefox v136.0a1 - Skript „saveTo“ funktioniert nicht mehr

    • lenny2
    • 18. April 2025 um 15:02
    Zitat von BrokenHeart

    Beim Skript von Endor (#8) kann man als Workaround die Zeile 69 anpassen und zwar so:

    Bestätigt, es funktioniert, Fehler in der Konsole

    Uncaught TypeError: can't access property "getButton", document.getElementById(...) is null    saveTo debugger eval code:45

    Der Code aus Beitrag #1 funktioniert genauso, wenn Sie die Änderungen aus Beitrag #2 (fügt Unterstützung für v136, v137, v138 hinzu) und Beitrag #13 (fügt Unterstützung für v139 hinzu) vornehmen. Fehler in der Konsole

    Uncaught TypeError: can't access property "getButton", document.getElementById(...) is null     saveTo debugger eval code:25

    Dies gilt wahrscheinlich nicht für den Konsolenfehler und es macht keinen Sinn, es zu posten? saveTo debugger eval code:25

  • Firefox v136.0a1 - Skript „saveTo“ funktioniert nicht mehr

    • lenny2
    • 18. April 2025 um 07:59

    Hm und es gibt keine Analogie im Internet :rolleyes:

  • Nur die Anzeige der Ordner/Lesezeichenanzahl in einer anderen Farbe darstellen

    • lenny2
    • 18. April 2025 um 07:52
    Zitat von Mira_Belle

    Hier mein Skript:

    Funktioniert im Bereich v128.9.0esr - v139.0a1

  • Firefox v136.0a1 - Skript „saveTo“ funktioniert nicht mehr

    • lenny2
    • 17. April 2025 um 15:14
    Zitat von Boersenfeger

    Ungetestet !

  • Firefox v136.0a1 - Skript „saveTo“ funktioniert nicht mehr

    • lenny2
    • 17. April 2025 um 10:31
    Zitat von Sören Hentzschel

    Gibt es Fehler in der Konsole?

  • Firefox v136.0a1 - Skript „saveTo“ funktioniert nicht mehr

    • lenny2
    • 17. April 2025 um 09:01

    Das Skript hat wieder aufgehört zu funktionieren, diesmal in v139.0a1 Nightly, im Dropdown-Menü passiert nichts, wenn Sie auf die Schaltflächen klicken (v137.0.2 alles Ok, mit Änderungen aus Beitrag #2 von milupo ).

  • Nur die Anzeige der Ordner/Lesezeichenanzahl in einer anderen Farbe darstellen

    • lenny2
    • 16. April 2025 um 17:47

    Nur Lesezeichen sind nummeriert, Ordner sind nicht nummeriert

  • Skripte funktionieren nicht mehr

    • lenny2
    • 15. April 2025 um 09:07

    Ich habe die Ursache des Problems entdeckt. Ich fügte den getesteten Code am Ende von userContent.css ein, und die Änderungen wurden nicht übernommen, ohne den Browser neu zu starten. Wenn ich den Testcode am Anfang von userContent.css einfügte oder ihn aus einer .css-Datei eines Drittanbieters importierte, wurden die Änderungen erfolgreich ohne Neustart übernommen.

    Das Skript verfügt über eine Funktion: Nach der ersten Anwendung der Änderungen können Sie den getesteten Code teilweise ändern und erneut erfolgreich anwenden. Wenn Sie den Testcode jedoch vollständig LÖSCHEN, hat die Anwendung der Änderungen keine Auswirkungen – Sie müssen Firefox neu starten.

    Vielleicht muss es einen neutralen Code geben, der, wenn er anstelle des Testcodes verwendet wird, die Änderungen ohne Neustart auf den Ausgangszustand zurücksetzt?

    2002Andreas Danke für Ihre Hilfe

  • Skripte funktionieren nicht mehr

    • lenny2
    • 14. April 2025 um 13:18
    Zitat von 2002Andreas

    du brauchst dafür eine extra Datei, und nicht die userChrome.css.

    Zitat von 2002Andreas

    Die Datei Test.css befindet sich hier im Unterordner CSS im Ordner chrome.

    Ich verstehe das. Ich mache alles richtig, aber die V-Schaltfläche wendet den neuen Code, der zu Test.css hinzugefügt wurde, nicht an. Ebenso wendet das Skript im letzten Beitrag nicht den Code an, der in userContent.css hinzugefügt wurde.
    Es bleibt zu prüfen, ob ein Skriptkonflikt vorliegt.
    Vielen Dank für Ihre Hilfe!

  • Skripte funktionieren nicht mehr

    • lenny2
    • 14. April 2025 um 08:49
    Zitat von 2002Andreas

    Ich nutze dieses Skript:

    Der zweite Teil des Skripts (V-Button) funktioniert nicht, es startet userChrome nicht neu. Überprüft in v138, v137.

  • Dauerhaftes Abstellen von Hovern über die Taskleiste

    • lenny2
    • 14. April 2025 um 08:43

    Die Vorschau in der Taskleiste ist eine Windows Einstellung, und zwar für alle Applicatios gleichzeitig. Vielleicht meinen Sie die Vorschau in der Firefox Tab-Leiste? Diese ist in about:config.

  • userChrome.css und userContent.css Code für den Fuchs (Diskussion)

    • lenny2
    • 10. April 2025 um 12:22

    Bitte fügen Sie am Ende des Codes hinzu

    Code
    /* Context menu String background color */
    #context_pinTab, #context_unpinTab {
        background-color: lightgrey;
    }
  • userChrome.css und userContent.css Code für den Fuchs (Diskussion)

    • lenny2
    • 9. April 2025 um 16:05

    Pinned Tab Style

    CSS
    /****** Pinned Tab ******/
    /* Pinned Tab width and marker */
    .tabbrowser-tab[pinned] {
        width: 120px !important;
     }
    .tabbrowser-tab[pinned] .tab-background:after {
        content: "📌";
        font-size: 12px;
        right: -2px;
        position: absolute;
        top: -2px;
     }
    /* Pinned Tab label */
    .tab-label-container[pinned] {
        margin-inline-start: 5px !important;    /* you can use this оr next string */
    /*    padding: 0 0 0 5px !important;    /**/
    /*    visibility: hidden !important;    /**/
    }
    Alles anzeigen
  • Mehrzeilige Tableiste für aktuelle Firefox-Versionen

    • lenny2
    • 9. April 2025 um 08:44
    Zitat von Endor

    Der Autor hat was neues:

    MultiRowTabLiteforFx.uc.js Config-Section vom Japanischen ins Englische übersetzt

    JavaScript
    // ==UserScript==
    // @name           MultiRowTabLiteforFx.uc.js
    // @namespace      Based on Alice0775's zzzz-MultiRowTab_LiteforFx48.uc.js
    // @description    Multi-Row tabs experimental version with embedded CSS, Lite version
    // @include        main
    // @compatibility  Firefox138+
    // @version        2025/04/07 12:00
    // ==/UserScript==
    "use strict";
    MultiRowTabLiteforFx();
    function MultiRowTabLiteforFx() {
    if (!window.gBrowser) { return; }
       // -- Config --
       // If you write similar CSS, “userChrome.css” will take priority
       const                                                // Multi-Row tab, On/Off Number of tabs in tab bar
       MultiRowTab_OnOff_and_TabBar_Rows =         -1       ,// [-1]  = Multi-Row tab, On Unlimited number of columns
                                                            //  0    = Multi-Row tab Off
                                                            //  1    = Multi-Row tab On Normally, one tier is used and the second and subsequent tiers are displayed up to the specified number of tiers when the tab bar is moused over. *Specify the number of rows with “TabBar_Rows_on_MouseOver”.
                                                            //  2~  = Multi-Row tab On Specify the number of columns
       TabBar_Rows_on_MouseOver =                  3       ,// Specify the number of tiers you want to display when you mouse over the tab bar, usually one tier. Prerequisite: “MultiRowTab_OnOff_and_TabBar_Rows” is set to “1”.
       TabBar_DisplayTime_on_MouseOver =           1       ,// You can set the display time (in seconds) when the second and subsequent rows are displayed on mouse-over. The display will return to the first Row after displaying the set number of seconds.
                                                            // Tab bar position
       TabBar_Position =                           0       ,// [0] = Above Toolbar Default
                                                            //  1  = Under the toolbar
                                                            //  2  = Under Site Content
                                                            // For people who want to swap the position of the tab bar and bookmark toolbar after setting the tab bar position below the toolbar.
                                                            // Prerequisite: “TabBar_Position” is set to “1”.
       Bookmark_Toolbar_Position =                 true    ,// [true] = Menu bar, navigation bar, bookmark bar, tab bar
                                                            //  false = Menu bar, navigation bar, tab bar, bookmark bar
                                                            // Tab Height UI Density
       UI_Density_Compact =                        29       ,// Default 29px, Compact
       UI_Density_Normal =                         36       ,// Default 36px, Normal (set here your own Tab Height)
       UI_Density_Touch =                          41       ,// Default 41px, Touch
                                                            // Tab Width
       Tab_Min_Width =                             212       ,// Default 76px, Min.
       Tab_Max_Width =                             212       ,// Default 225px, Max.
                                                            // If both values are the same, the width will be fixed.
                                                            // Close Tab button
       Tab_Close_Button =                          0       ,// [0] = Default
                                                            //  1  = Hidden
                                                            //  2  = Show in all tabs
                                                            //  3  = Display tabs with mouse over
                                                            //  4  = Active tabs are always visible, inactive tabs are shown on mouse-over *Default for vertical tab mode.
                                                            // Tab Appearance ProtonUI
       Proton_Margins =                            true    ,// [true] = ProtonUI Default
                                                            //  false = Make it look like it did when “browser.proton.enabled” was set to “false” in the Firefox 90 or earlier settings.
                                                            // The space around the tabs is set to 0 and the UI density height is set to 0, so the tabs are 4px wider horizontally and 8px lower in height than the default.
                                                            // Borders next to tabs
       Tab_Separators  =                           false    ,// [false] = Do not show
                                                            //  true   = Show
                                                            // The CSS of the border that could be displayed when “browser.proton.enabled” was set to “false” in Firefox 90 or earlier is extracted and adjusted.
                                                            // Hide the title bar button [-□×] and use the wider width of the tab bar for it.
                                                            // Prerequisite: “TabBar_Position” is set to “0”.
       TitleBar_Button_Autohide =                  false    ,// [false] = Not used
                                                            //  true   = Use Normally, the outer frame of the title bar button [-□×] is made small and transparent; if you want to display it, return the trigger area (36px x 6px) in the upper right corner of the tab bar to its original size with a mouseover to remove transparency.
       TitleBar_Button_DisplayTime =               0.6       ,// You can set the display time (in seconds) after the transparency is released by returning it to its original size on mouse over. The image will be displayed for the set number of seconds before it is hidden.
                                                            // Set the tab bar to the height of the specified number of columns from the beginning.
                                                            // Prerequisite: “MultiRowTab_OnOff_and_TabBar_Rows” is set to “2” or higher.
       Set_the_TabBar_to_the_Specified_Height =    false    ,// [false] = Not used
                                                            //  true   = Use  The tab bar is set to the height of the specified number of columns from the beginning, and tabs are lined up as usual, starting from the upper left corner.
                                                            // Replacement of “.tabDropIndicator” that displays tabs during drag & drop movement
                                                            // Prerequisite: Set “MultiRowTab_OnOff_and_TabBar_Rows” to something other than “0”.
       Tab_Drop_Indicator =                        false    ,// [false] = No Pin icon Default
                                                            //  true   = Red line icon(2px×29px)
                                                            // Pinning tab position
                                                            // Prerequisite: Set “MultiRowTab_OnOff_and_TabBar_Rows” to something other than “0”.
       Separate_Tabs_and_PinnedTabs =              false    ,// [false] = Default
                                                            //  true   = Move pinned tabs to a line that can be separated from and above the row of tabs.
                                                            // Adjust width of pinned tabs
                                                            // Prerequisite: Set “Separate_Tabs_and_PinnedTabs” to “true”.
       PinnedTab_Width =                           false    ,// [false] = Not default
                                                            //  true   = The width of the pinned tabs can be adjusted to match the width of the tabs.
       PinnedTab_Min_Width =                       76       ,// Default 76px Min.
       PinnedTab_Max_Width =                       225       ,// Default 225px Max.
                                                            // If both values are the same, the width will be fixed.
                                                            // Pinned tabs Close tab button
                                                            // Prerequisite: Set “Separate_Tabs_and_PinnedTabs” to “true”.
       PinnedTab_Close_Button =                    0       ,// [0] = Default
                                                            //  1  = Show in all tabs
                                                            //  2  = Show tabs on mouse over
                                                            //  3  = Active tabs are always visible, inactive tabs are shown on mouse-over *Vertical tab mode is the default.
                                                            // Drag area on tab bar
       Left_Drag_Area =                            0       ,// Default 40px left drag area
       Right_Drag_Area =                           0       ,// Default 40px right drag area
       Maximize_Left_Drag_Area =                   false    ,// [false] = Default
                                                            //  true   = When the window is maximized, the left drag area, which is hidden, can be displayed.
       Fullscreen_Drag_Area =                      false    ,// [false] = Default
                                                            //  true   = The left and right drag areas that are hidden when in full-screen mode can be displayed.
                                                            // When the title bar is displayed, “.titlebar-spacer” does not function as a drag area.
       // -- Config End --
    Alles anzeigen
  • userChrome.js Scripte für den Fuchs (Diskussion)

    • lenny2
    • 2. April 2025 um 17:06

    Öffnen Sie die Sidebar, um diese Schaltfläche zu sehen.

    CSS
    // sidebar_expand_collapse_button.uc.js
    // LMB: expand all Folders in sidebar; Ctrl + LMB: collapse all Folders
    try {(lst => {
        var type = "MozBeforeInitialXULLayout", sidebar = document.getElementById("sidebar");
        sidebar.addEventListener(type, lst, true);
        document.addEventListener("unload", () => sidebar.removeEventListener(type, lst, true), {once: true});
    })({
        handleEvent(e) {
            var parent = e.target.querySelector(":root:is(#bookmarksPanel,#history-panel) > #sidebar-search-container");
            parent && this.insert(parent);
        },
        insert(parent) {
            var df = parent.ownerGlobal.MozXULElement.parseXULToFragment(`
                <hbox>
                    <toolbarbutton 
                        id="sidebar-button-toggle-state"
                        tooltiptext=" L: expand Folders &#xA; Ctrl+L: collapse Folders"
                    />
                </hbox>
            `);
            var sidebarImg = 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16" viewBox="0 0 48 48"><g><path d="M 2.438,0 C 1.087,0 0,1.088 0,2.438 V 45.56 C 0,46.91 1.087,48 2.438,48 H 45.56 C 46.91,48 48,46.91 48,45.56 V 2.438 C 48,1.088 46.91,0 45.56,0 Z" style="fill:%230078ad;fill-opacity:1;" /><path style="opacity:0.25;fill:%23000000;" d="M 5,11 V 39.5 L 13.5,48 H 45.5 C 47,47.9 47.9,47 48,45.5 V 13.6 L 43.4,9 10,8 Z"/><path style="fill:%23ffffff;" d="M 10.9,6 H 37.1 C 41.6,6 45,9.48 45,13.7 V 34.3 C 45,38.7 41.6,42 37.1,42 H 10.9 C 6.51,42 3,38.7 3,34.3 V 13.7 C 3.03,9.48 6.54,6.03 10.9,6 Z M 39.7,34.3 V 13.7 C 39.7,12.3 38.7,11.1 37.1,11.1 H 24 V 36.8 H 37.1 C 38.7,36.8 39.7,35.8 39.7,34.3 Z M 8.25,34.3 C 8.25,35.8 9.42,36.8 10.9,36.8 H 21.4 V 11.1 H 10.9 C 9.42,11.1 8.25,12.3 8.25,13.7 Z" /><path style="fill:%23ffffff;" d="M 12,16.3 H 17.7 C 18.4,16.3 19,15.7 19,15 19,14 18.4,13.4 17.7,13.4 H 12 C 11.2,13.4 10.6,14 10.6,15 10.6,15.7 11.2,16.3 12,16.3 Z M 12,21.8 H 17.7 C 18.4,21.8 19,21.3 19,20.5 19,19.6 18.4,19 17.7,19 H 12 C 11.2,19 10.6,19.6 10.6,20.5 10.6,21.3 11.2,21.8 12,21.8 Z M 14.9,27.4 H 17.7 C 18.4,27.4 19,26.8 19,26.1 19,25.1 18.4,24.6 17.7,24.6 H 14.9 C 14,24.6 13.4,25.1 13.4,26.1 13.4,26.8 14,27.4 14.9,27.4 Z" /></g></svg>';
            Services.io.getProtocolHandler("resource")
                .QueryInterface(Ci.nsIResProtocolHandler)
                .setSubstitution("sidebar-button-toggle-state", Services.io.newURI(sidebarImg));
            (this.insert = pn => {
                pn.prepend(pn.ownerDocument.importNode(df, true));
                var btn = pn.firstChild.firstChild;
                btn.toggleState = this.toggleState;
                btn.tree = pn.nextSibling;
                btn.style = "-moz-appearance: none !important; min-width: 2.5em !important; min-height: 2em !important";
                btn.style.listStyleImage = 'url("resource://sidebar-button-toggle-state")';
                btn.style.MozContextProperties = "fill";
                btn.style.setProperty("fill", "currentColor");
                btn.addEventListener("click", event => {event.target.toggleState(event);});
            })(parent);
        },
        toggleState(e) {
            if (this.start) return;
            this.start = true;
            var {view} = this.tree;
            var close = e.button < 0;
            var closeAll = e.button == 1 || e.button == 0 && (e.ctrlKey || e.shiftKey);
            var index = view.rowCount, i;
            if (closeAll) for(i = index; i >= 0; i--)
                view.isContainer(i) && view.isContainerOpen(i) && view.toggleOpenState(i);
            else for(i = 0; i < index; i++) {
                if (!view.isContainer(i) || view.isContainerOpen(i) != close) continue;
                view.toggleOpenState(i);
                index = view.rowCount;
                if (close) continue;
                var node = view._rows[i];
                if (node.type == node.RESULT_TYPE_QUERY) i += node.childCount;
            }
            this.start = false;
        }
    });} catch(ex) {Cu.reportError(ex);}
    Alles anzeigen
  • Firefox Tab-Gruppen v137.0. Schriftgröße und Hintergrundhöhe erhöhen

    • lenny2
    • 2. April 2025 um 11:05
    Zitat von 2002Andreas

    Wenn ja, dann teste bitte.

    Danke, ich werde es überprüfen. In der Zwischenzeit habe ich mir selbst folgenden Code ausgedacht

    CSS
    .tab-group-label {
        tab-group[collapsed] > .tab-group-label-container > & {
        font-size: 16px  !important;
     }
    }
    .tab-group-label {
        tab-group > .tab-group-label-container > & {
        font-size: 16px  !important;
     }
    }
  • Firefox Tab-Gruppen v137.0. Schriftgröße und Hintergrundhöhe erhöhen

    • lenny2
    • 1. April 2025 um 12:52

    Hallo,
    In der Button für die Tabs Gruppe muss ich die Schriftgröße und die Höhe des Hintergrunds ändern (erhöhen), um sie etwas näher an den Anzeigestil der Registerkarten anzupassen. Vielen Dank für Ihre Hilfe.

Unterstütze uns!

Jährlich (2025)

92,9 %

92,9% (604,17 von 650 EUR)

Jetzt spenden
  1. Kontakt
  2. Datenschutz
  3. Impressum
Community-Software: WoltLab Suite™
Mastodon