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. 2002Andreas

Beiträge von 2002Andreas

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 16. September 2026 um 18:21
    Zitat von Mira_Belle

    in der Stilbearbeitung hat es nichts bewirkt!

    Das ist leider in der letzten Zeit so, viele Codes funktionieren dort nicht mehr.

    Ich nutze es fast nur noch um die genauen Bezeichnungen zu haben.


    Siehe dazu auch hier:

    Beitrag

    Entwickler-Werkzeuge..Stilbearbeitung..Vorschau geht nicht

    Hallo @ all.
    Ich bin mir nicht sicher ob ich etwas verpasst habe:/
    Beispiel:
    Firefox Version 141

    Mit den Entwickler-Werkzeugen möchte ich den Hintergrund einfärben. Dann trage ich den Code unter: Stilbearbeitung ein und erhalte:



    Das Ergebnis vom Code wird angezeigt.

    In Fx 145 funktioniert das hier nicht mehr.



    Die Änderung wird nicht angezeigt.

    Ändere ich den Code aber hier, dann passt es:



    Ist das jetzt neu und soll so sein, oder mache ich etwas falsch?

    Wie immer vielen Dank vorweg für jegliche Hilfe:)
    2002Andreas
    14. November 2025 um 15:18
  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 16. September 2026 um 17:47
    Zitat von Boersenfeger

    Treffer versenkt!

    :):thumbup:

    Zitat von Boersenfeger

    melde ich mich für heute ab!

    schönen Abend dann.

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 16. September 2026 um 17:39
    Zitat von Boersenfeger

    und soll weg.

    teste bitte:

    CSS
    [data-l10n-id="firefoxview-search-results-count"],
    [data-l10n-id="firefoxview-search-results-header"] {
      display: none !important;
    }
  • Script für Datums- & Zeitanzeige

    • 2002Andreas
    • 16. September 2026 um 15:32
    Zitat von V_B

    wie heißt dieses Script bei dir

    Uhr.uc.js

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 16. September 2026 um 15:26
    Zitat von Mira_Belle

    keinen solchen Rand!

    Sieh bitte mal genau hin;)

    Links ist ein schmaler schwarzer Rand bei dir.


    So soll das aussehen:

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 16. September 2026 um 15:06
    Zitat von Boersenfeger

    dann blendet sich die Sidebar nicht mehr ein

    Einfach mal den Wert in Zeile 94 ändern, z.B. -3px

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 16. September 2026 um 14:58
    Zitat von Boersenfeger

    Sollte dies nicht zu beseitigen sein, kann ich damit aber leben.

    teste bitte:

    CSS
    @-moz-document url("chrome://browser/content/sidebar/sidebar-bookmarks.html"),
                   url("chrome://browser/content/browser.xhtml") {
    
        /* "Einstellungs" Sidebar ausblenden */           
        .buttons-wrapper {
            display: none !important;
        }
    
        /* Rechter Rand ausblenden */
        #sidebar-splitter {
            display: none !important;
        }
    
        /* Suchsymbol in der Sidebar ausblenden */
        #input[type="search"] {
            padding-inline-start: var(--space-medium) !important;
            background-image: none !important;
        }
    
        /* Ordner aus der Sidebar ausblenden */
        [data-guid="unfiled_____"],
        [data-guid="toolbar_____"] {
            display: none !important;
        }	
    
        sidebar-bookmark-row {
            height: 20px !important;
        }
    
        ::placeholder  {
            color: transparent !important;
        }
    
        .sidebar-panel-heading {
            display: none !important;
        }
    
        details summary, 
        .bookmark-folder-label {
            font-size: 16px !important;
            font-family: Comic Sans MS, sans-serif !important;
        }
    
        .fxview-tab-row-main, .fxview-tab-row-title {
            font-size: 16px !important;
            font-family: Comic Sans MS, sans-serif !important;
            margin-top: -13px !important;
            margin-bottom: -13px !important;
            padding-top: 0px !important;
            padding-bottom: 0px !important;
        }
    
        #input {
            &[type="search"] {
                &.with-icon {
                    font-size: 16px !important;
                    font-family: Comic Sans MS, sans-serif !important;
                }
            }
        }
    
        .sidebar-panel {
            background: #c1e7bb !important;
        }
    
        details {
            margin-top: -3px !important;
            margin-left: -8px !important;
        }
    
        details summary {
            &::before {
                content: "" !important;
                display: none !important;
            }
        }
    
        details summary, .bookmark-folder-label {
            &::before {
                background-image: url("..//icons/Ordner.png")!important;
            }
    	}
    
        details > summary { 
            background-image: url("..//icons/Ordner.png")!important;	 
        }
    				   
        #sidebar-main > sidebar-main {
            display: none !important;
        }
    
         #sidebar-box {
        position: fixed !important;
        left: -7px !important;
        top: 123px !important;
        bottom: 0 !important;
        width: 2px !important;
        min-width: 2px !important;
        max-width: 2px !important;
        z-index: 99999 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        background: var(--toolbar-bgcolor) !important;
        transition: .4s linear !important;
      }
    
      #sidebar-box:hover {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        transition: .4s linear !important;
        opacity: 1 !important;
      }
    
      #sidebar {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 280px !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
      }
    
      #sidebar-box + #sidebar-splitter {
        display: none !important;
      }
    } 
    
        /* Sidebar Hintergrundfarbe */
        #sidebar {
            background: #c1e7bb !important;
            opacity: 1 !important;
        }
    }
    Alles anzeigen

    Der kompl. Teil für hover unten ist neu.

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 16. September 2026 um 14:46
    Zitat von Mira_Belle

    Version 156.

    Es geht um Version 158...bei 156 ist das auch nicht;)

  • Tabs ganz unten

    • 2002Andreas
    • 16. September 2026 um 14:31
    Zitat von yaqwa

    das hatte ich übersehen - sorry

    Alles ist gut;)

    Zitat von yaqwa

    krankheitsbedingt.

    Gute Besserung dann.

  • Script für Datums- & Zeitanzeige

    • 2002Andreas
    • 16. September 2026 um 13:29
    Zitat von V_B

    Was mache ich falsch?

    so sollte das aussehen:

    Teste bitte mal dieses Skript:

    JavaScript
    (function() {
        function doDatClock() {
            var timestr = new Date().toLocaleDateString(locale, options);
            const blanks = ', der';
            let i = timestr.lastIndexOf(',');
            timestr = timestr.substring(0, i)+ blanks + timestr.substring(i + 1)  + ' Uhr.';
    
            if (count == 1) {
                var counter = new Date(1000 * sec).toISOString().substr(11, 8); // .replace(/^[0:]+/, '') // if you want to replace zeroes and colons
                timestr = timestr + ' (' + counter + ')';
                sec++;
            }
            ClockLabel.setAttribute('value', timestr);
        }
    
        var count = 0; // if you don't want a counter set this to zero
        var agent = 1; // if you just want the clock set this to zero
        var language = 'de-DE'; // locale, e.g. 'de-DE' , 'en-US' , 'fr-FR'
        var personalText = '   >   designed by Andreas   <  Heute ist'; // your personal text here
        var cssFontFamily = 'DejaVu Sans';
        var cssColor = 'black'; // Font Color
    
        var css = 'padding-top: 5px; padding-left: 0;margin-right:2px;margin-left:4px; color: ' + cssColor + '; font-family: ' + cssFontFamily + '; font-weight:500; font-size:12px; text-shadow: none; width: 340px;';
        var cssA = 'width: auto;margin-left: 50px;';
    
        var options = {
            weekday: 'long',
            year: 'numeric',
            month: 'long',
            day: 'numeric',
            hour: '2-digit',
            minute: '2-digit',
            second: '2-digit'
        };
    
        var sec = 0;
    
        var locale = language || window.navigator.languages[0];
    
        var position = document.getElementById('menubar-items'); // Datumsangabe in Menüleiste
        // var position = document.getElementById('urlbar-container'); // Datumsangabe in Symbolleiste hinter Adressleiste
    
    
        var ClockLabel = document.createXULElement('label');
        ClockLabel.setAttribute('id', 'statusbar-clock-display');
        ClockLabel.setAttribute('class', 'statusbarpanel-text');
        ClockLabel.setAttribute('style', css);
        position.parentNode.insertBefore(ClockLabel, position.nextSibling);
    
        if (agent == 1) {
            var AgentLabel = document.createXULElement('label');
            AgentLabel.setAttribute('id', 'statusbar-agent-display');
            AgentLabel.setAttribute('class', 'statusbarpanel-text');
            AgentLabel.setAttribute('style', css + cssA);
            var FFstr = window.navigator.userAgent.split(' ');
            var FF = FFstr[FFstr.length - 1].replace('/', ' ');
            //     var text = "Firefox " + gAppInfo.version + personalText;
            //     Cc["@mozilla.org/xre/app-info;1"].getService(Ci.nsIXULAppInfo).QueryInterface(Ci.nsIXULRuntime);
    
            var text = "Firefox  >  " + AppConstants.MOZ_APP_VERSION_DISPLAY + personalText;
    
    
            AgentLabel.setAttribute('value', text);
            position.parentNode.insertBefore(AgentLabel, position.nextSibling);
        }
    
        if (count == 1) {
            ClockLabel.addEventListener('dblclick', function() { sec = 0; });
        }
    
        window.setInterval(doDatClock, 1000);
    })();
    Alles anzeigen
    Zitat von V_B

    Ich habe die nötigen Anpassungen gemacht

    ansonsten, erneut mal ganz genau alles überprüfen.

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 16. September 2026 um 10:22
    Zitat von Mira_Belle

    die "eigentliche" Seitenleiste inkl. rechten Rand

    Hallo Mira...

    es geht ihm um den linken Rand:

    Ich habe den Hintergrund mal extra in rot eingefärbt. Die Sidebar schließt nicht direkt mit dem linken Rand ab.

  • Tabs ganz unten

    • 2002Andreas
    • 16. September 2026 um 09:52
    Zitat von yaqwa

    die tabs wieder nach oben gewandert sind?

    Das Skript aus Beitrag Nr. 25 funktioniert einwandfrei.
    Du hast die neuen Anpassungen schon gemacht, die seit Firefox Version 155 erforderlich waren?

    Beitrag

    Firefox 155 notwendige Änderung bei Skriptverwendung!

    Hinweis:

    Ab der Firefox Version 155 müssen Dateien im Installationsorder von Firefox ausgetauscht werden.

    Die neuen Dateien gibt es hier zum Download:

    https://github.com/Endor8/userChr…rChrome/Dateien

    Oder hier der direkte Download der .zip Datei:

    https://raw.githubusercontent.com/Endor8/userChr…anpassungen.zip

    Und hier eine Erklärung, wohin die Dateien müssen:

    https://github.com/Endor8/userChr…ster/userChrome

    Oder auch hier mal lesen:

    RE: JavaScript in der Nightly 155.0a1 (2026-07-28)
    2002Andreas
    2. September 2026 um 11:41
  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 15. September 2026 um 22:10
    Zitat von Mira_Belle

    Außerdem fehlt eine Klammer!

    Um es genau zu sagen, es sind sogar 2;)

    In Zeile 76 fehlt die Abschlussklammer zu Zeile 2.

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 15. September 2026 um 17:20
    Zitat von Boersenfeger

    Das ist die Lösung!

    Funktioniert jetzt also alles wieder wie gewünscht?

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 15. September 2026 um 17:03
    Zitat von Boersenfeger

    um Hilfe ersuchen.

    und so?

    url("..//Icons/Ordner.png") !important;

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 15. September 2026 um 15:42
    Zitat von Boersenfeger

    das sich beim Klick auf ein Lesezeichen dieses in einem neuen Tab öffnet

    Mir ist kein neuer config Eintrag dafür bekannt. Evtl. arbeitet Mozilla ja auch noch an der Sidebar, und in Zukunft funktioniert das dann wieder.:/

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 15. September 2026 um 15:13
    Zitat von Boersenfeger

    Für die Abstände

    Teste bitte:

    Diese Zeilen mal auskommentieren:

    und dafür das einsetzen:

    CSS
    details summary, 
    .bookmark-folder-label {
      font-size: 16px !important;
      font-family: Comic Sans MS, sans-serif !important;
    }
    
    .fxview-tab-row-main, .fxview-tab-row-title {
      font-size: 16px !important;
      font-family: Comic Sans MS, sans-serif !important;
      margin-top: -13px !important;
      margin-bottom: -13px !important;
      padding-top: 0px !important;
      padding-bottom: 0px !important;
    }
    Alles anzeigen

    Evtl. die Werte noch anpassen.

    Ich denke aber, es gibt bestimmt einen besseren Code dafür, evtl. fällt ja einem anderen User ja noch etwas dazu ein.:/

  • Sidebar CSS wird nicht umgesetzt

    • 2002Andreas
    • 15. September 2026 um 14:52
    Zitat von Boersenfeger

    die Ordner "Lesezeichen-Symbolleiste" und "Weitere Lesezeichen" bzw. die Bezeichnungen, ausgeblendet werden.

    Teste bitte:

    CSS
    [data-guid="unfiled_____"],
    [data-guid="toolbar_____"] {
      display: none !important;
    }
  • Google Suche URL in neuen Tab

    • 2002Andreas
    • 15. September 2026 um 13:30
    Zitat von .DeJaVu

    Ohne KI

    Nicht ganz:

    Beitrag

    RE: Google Suchergebnisse Tab behalten

    .DeJaVu  
    Im Script ist aber ein Logikfehler!

    Die Zeile var aLinks = el.querySelectorAll("a[href][target]"); müsste
    var aLinks = el.querySelectorAll("a[href]:not([target])"); lauten.

    […]

    […]

    Ich wollte wissen, wozu das Script gut ist.
    Mira_Belle
    12. September 2026 um 23:49
  • Google Suche URL in neuen Tab

    • 2002Andreas
    • 15. September 2026 um 12:39
    Zitat von Temkina

    oder andere Lösung

    Ich habe mal die Google KI gefragt, mit diesem Ergebnis für ein Skript für z.B. Tampermonkey:

    JavaScript
    // ==UserScript==
    // @name         Alle Google Links in neuem Tab öffnen
    // @namespace    http://tampermonkey.net
    // @version      1.0
    // @description  Öffnet alle Google Links automatisch in einem neuen Tab.
    // @author       Google KI
    // @match       *://*.google.com/*
    // @match       *://*.google.de/*
    // @run-at       document-end
    // @grant        none
    // @icon    https://www.gstatic.com/images/branding/googleg/2x/googleg_standard_color_120dp.png
    // ==/UserScript==
    
    (function() {
        'use strict';
    
        // Setzt target="_blank" für alle vorhandenen und zukünftigen Links
        document.querySelectorAll('a').forEach(link => {
            if (link.href && !link.target) {
                link.target = '_blank';
            }
        });
    
        // Beobachtet dynamisch nachgeladene Links (z. B. durch Scrollen oder AJAX)
        const observer = new MutationObserver(mutations => {
            mutations.forEach(mutation => {
                mutation.addedNodes.forEach(node => {
                    if (node.nodeType === Node.ELEMENT_NODE) {
                        if (node.tagName === 'A' && node.href && !node.target) {
                            node.target = '_blank';
                        }
                        node.querySelectorAll('a').forEach(link => {
                            if (link.href && !link.target) {
                                link.target = '_blank';
                            }
                        });
                    }
                });
            });
        });
    
        observer.observe(document.body, { childList: true, subtree: true });
    })();
    Alles anzeigen

    Damit werden die Links auf der Seite von Google alle in einem neuen Tab geöffnet.

    Wenn du magst, dann teste es.

Unterstütze uns!

Jährlich (2026)

71,6 %

71,6% (554,79 von 775 EUR)

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