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. Dharkness

Beiträge von Dharkness

  • BackupProfile.uc.js - div. Fragen dazu

    • Dharkness
    • 5. August 2023 um 15:54
    Zitat von 2002Andreas

    Du hast den Pfad zum Sicherungsordner in Zeile 20 eingetragen?

    So hatte ich die Funktion des Aufrufs des alerts verstanden.

  • BackupProfile.uc.js - div. Fragen dazu

    • Dharkness
    • 5. August 2023 um 15:05
    Zitat von 2002Andreas

    Funktioniert einwandfrei :thumbup:

    Hm, das ↑ kommt nicht, aber das ↓.

    Zitat von 2002Andreas

    Oder die Auswahl:

  • Button um weiteres Profil zu öffnen

    • Dharkness
    • 4. August 2023 um 19:47
    Zitat von FuchsFan

    Ralf, das war der springende Punkt, ich danke Dir.

    Schön das ich helfen konnte.

  • BackupProfile.uc.js - div. Fragen dazu

    • Dharkness
    • 4. August 2023 um 14:50
    Zitat von lenny2

    einen fehlerhaften Zeitstempel hinzu

    Hm,

    das kann ich nicht bestätigen, gerade eben getestet und der Zeitstempel stimmt genau.

  • Button um weiteres Profil zu öffnen

    • Dharkness
    • 4. August 2023 um 14:46
    Zitat von FuchsFan

    Jetzt mit 35px wäre m.M.n. die normale Größe, dabei ist auch der Button schon vergrößert ( dritter v. rechts).

    Schau Dir mal das Padding des Buttons an.

  • Sidebar Switcher

    • Dharkness
    • 1. August 2023 um 22:30
    Zitat von Sören Hentzschel

    Nachdem das Auswahlfeld via Space oder Enter geöffnet wurde

    Nur wie wähle ich das Auswahlfeld mit der Tastatur aus?

  • Wie IP von Website per Firefox feststellen?

    • Dharkness
    • 30. Juli 2023 um 11:26
    Zitat von Herzmann

    wie kann ich die IP feststellen, von der Firefox eine Website geladen hat?
    Unter "Seiten-Information" finde ich da leider nichts.

    Ich weiß leider nicht ob es da was Fx-Internes gibt, aber es gäbe die Erweiterung #FlagFox.

  • About Seiten mit CSS Codes anpassen

    • Dharkness
    • 30. Juli 2023 um 00:26
    Zitat von FuchsFan

    Bitte, da hast Du! :)

    Dankeschön. :)

  • About Seiten mit CSS Codes anpassen

    • Dharkness
    • 29. Juli 2023 um 21:18
    Zitat von FuchsFan

    eventuell kannst Du was gebrauchen

    Hallo FuchsFan, ja kann ich, ich bräuchte mal Bild86.png.

  • Button um weiteres Profil zu öffnen

    • Dharkness
    • 26. Juli 2023 um 19:01
    Zitat von Mira_Belle

    Du solltest die letzte Version nutzen!

    Apropos letzte Version und der Überschrift dieses Fadens, wie bekomme ich den Button des Scripts ins Menü Hilfe?

  • Button um weiteres Profil zu öffnen

    • Dharkness
    • 26. Juli 2023 um 17:43
    Zitat von Mira_Belle

    Hier noch einmal die z.Z. aktuelle Version!

    Jupp, die funktioniert nun ohne Probleme, feine Arbeit. :thumbup:

    Zitat von Mira_Belle

    Soll ich die Version(en) mit Nummern versehen?

    Wäre vielleicht eine Idee.

  • Button um weiteres Profil zu öffnen

    • Dharkness
    • 26. Juli 2023 um 16:09
    Zitat von Mira_Belle

    Das neue Fenster der neuen Instanz öffnet sich VOR dem Fenster mit der "alten" Instanz.

    Der Button funktioniert hier genau ein mal und das war es dann in der Sitzung, ich muss Fx dann erst neu starten, damit der Button wieder funktioniert.

  • Lesezeichen-Symbolleiste - nur Icons anzeigen

    • Dharkness
    • 23. Juli 2023 um 11:21
    Zitat von Kermit00

    Ist es 2023 wirklich immer noch nicht möglich in der Ledezeichen-Symbolleiste nur die Icons (=favicons) anzeigen zu lassen?

    Das war IIRC schon beim ersten Firefox möglich und ist es heute noch immer, nur nicht ganz so offensichtlich wie Du es Dir wünscht.

    Teste mal das ↓ in der userChrome.css, die im Profil im zu erstellenden Unterverzeichnis chrome anzulegen ist.

    CSS
    #PlacesToolbarItems .bookmark-item:not([type="menu"]) > .toolbarbutton-text {
        display: none !important;
    }

    Zusätzlich muss in about:config noch die ↓ Pref auf true gestellt werden und Fx neu gestartet werden.

    toolkit.legacyUserProfileCustomizations.stylesheets

    P.S.: Bitte unbedingt die Schreibweise vom Ordner und der Datei beachten, zusätzlich muss die Datei in UTF-8 ohne BOM erstellt werden.

  • Frage zum Firefox Nightly Updates

    • Dharkness
    • 23. Juli 2023 um 09:33
    Zitat von Sauron

    Hat die Version 117a1 Probleme mit dem Updaten.

    Meiner hat keine Probleme, hat sich gerade aktualisiert.

    Zitat von Sauron

    Ist von hier

    Warum nicht von dort ↓?

    Download the Firefox Browser in English (US) and more than 90 other languages
    Everyone deserves access to the internet — your language should never be a barrier. That’s why — with the help of dedicated volunteers around the world — we…
    www.mozilla.org

    P.S.:

    Warum verwendest Du überhaupt die Nightly?

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

    • Dharkness
    • 16. Juli 2023 um 18:52
    Zitat von Mira_Belle

    Viele Wege führen nach Rom

    In der Tat. 8o

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

    • Dharkness
    • 16. Juli 2023 um 18:01
    Zitat von Horstmann

    Code dazu, zack-zack! ;)

    Aber bitte doch.

    JavaScript
    // 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 **** */
    /* ******************************************************************************************************************* */
    /* Version 1.01                     => https://www.camp-firefox.de/forum/thema/136572/?postID=1230128#post1230128 **** */
    /* Version 1.02                     => https://www.camp-firefox.de/forum/thema/136572/?postID=1230334#post1230334 **** */
    /* ******************************************************************************************************************* */
    /* Custom Counter in the Bookmarks for folders and links ************************************************************* */
    /* ******************************************************************************************************************* */
    /* rechtsbündig ****************************************************************************************************** */
    
    (function() {
    
        if (!window.gBrowser) return;
    
        setTimeout(function() {
            setFunction();
        },50);
    
        let profilePath = PathUtils.toFileURI(PathUtils.join(PathUtils.profileDir, 'chrome', 'icons'))
        let icon1 = "folder-4s.png"
        let icon2 = "Bildschirm-3.png"
    
        function setFunction() {
    
            const css =`
                .countClass1::before {
                    content: "";
                    background-image: url(${profilePath}/${icon1});     /*  Custom icon  */
                    background-repeat: no-repeat;
                    background-size: 16px;                              /* icon size */
                    background-position: center;
                    margin-left: 16px !important;                       /* Abstand links minimum für schmale Popus  CHANGE  */
                    margin-right: 2px !important;                      /* Abstand Icon "Ordner" bis zum "Zähler" */
                    height: 16px;
                    width: 16px;
                    fill: #c0c0c0;
                    fill-opacity: 1;
                }
    
                /* Default FX left margin ist 16px !! -->  CHANGE  */
    
                .countClass1 label {
                    margin-inline: 0px !important;
                }
                /* Ordner container Inhalt zentriert -->  CHANGE  */
    
                hbox.menu-accel-container.countClass1 {
                    align-items: center !important;
                }
    
                .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: #D2534C !important;                        /* Farbe des 1. Textes */
                    height: 14px;                                       /* height = font size Text zentriert CHANGE  */
                    width: 15px !important;                             /* Platzhalter für Anzahl der Stellen */
                    padding-left: 4px !important;                       /* height = font size Text zentriert CHANGE  */
                    margin-right: 0px !important;                       /* Abstand zum Icon "Links" rechts */
    
                    /* background-color: lightblue; */                /*  TEST  */
                }
                .countClass2::before {
                    content: "|";
                    color: #D2534C !important;                        /* Farbe des 1. Textes */
                    background-image: url(${profilePath}/${icon2});     /*  Custom icon  */
                    background-repeat: no-repeat;
                    background-size: 16px;                              /* icon size */
                    background-position: center;
                    padding-right: 16px;
                    padding-bottom: 4px;
                    margin-left: 6px !important;                        /* Abstand "Zähler 1" zum Icon2 */
                    margin-right: -12px !important;                      /* Abstand Icon "Links" bis zum "Zähler" */
                    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: #D2534C !important;                        /* Farbe des 2. Textes */
                    height: 14px;                                       /* height = font size Text zentriert CHANGE  */
                    width: 15px !important;                             /* Platzhalter für Anzahl der Stellen (25px für 3 Stellen) */
                    padding-left: 4px !important;                       /* height = font size Text zentriert CHANGE  */
                    margin-right: 8px !important;                       /* Abstand zum Pfeil recht */
    
                    /* background-color: lightblue; */                /*  TEST  */
                }
                .countClass2 image {
                    order: 1;                                           /* Pfeil ganz nach rechts */
                }
            `;
    
            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 bmbMenu = document.getElementById('bookmarks-menu-button');
            let bookMenu = document.getElementById('bookmarksMenu');
            let persToolBar = document.getElementById('PersonalToolbar');
    
            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).padStart(2, '\xa0');
    
                  label1.setAttribute('data-value1', strCountOut1);
    
                  let label2 = item.childNodes[4];
    
                  label2.classList.add('countClass2');
                  let strCountOut2 = String(menuitemCount).padStart(3, '\xa0');
    
                  label2.setAttribute('data-value2', strCountOut2);
    
                }, 100);
            }
        }
    })();
    Alles anzeigen
  • Nur die Anzeige der Ordner/Lesezeichenanzahl in einer anderen Farbe darstellen

    • Dharkness
    • 16. Juli 2023 um 12:43
    Zitat von Mira_Belle

    Gerne doch.

    So, das ↓ habe ich jetzt daraus gebaut, also noch einmal Dankeschön. :)

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

    • Dharkness
    • 16. Juli 2023 um 00:11
    Zitat von Mira_Belle

    So.

    So ist es in der Tat fein, Dankeschön. :)

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

    • Dharkness
    • 15. Juli 2023 um 23:26
    Zitat von Horstmann

    Aber wieso, die Zahlen rechtsbündig geht doch genauso gut mit den Zahlen nach den Icons?

    Und wie, wenn man das ↓ als Basis nimmt?

    JavaScript
    // 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 **** */
    /* ******************************************************************************************************************* */
    /* Version 1.01                     => https://www.camp-firefox.de/forum/thema/136572/?postID=1230128#post1230128 **** */
    /* Version 1.02                     => https://www.camp-firefox.de/forum/thema/136572/?postID=1230334#post1230334 **** */
    /* ******************************************************************************************************************* */
    /* 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-4s.png"
        let icon2 = "Bildschirm-3.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-left: 16px !important;           /* Abstand links minimum für schmale Popus  CHANGE  */
                    margin-right: -1px !important;          /* Abstand bis zum "Wert" der Ordner */
                    height: 16px;
                    width: 16px;
                }
    
                /* Default FX left margin ist 16px !! -->  CHANGE  */
    
                .countClass1 label {
                    margin-inline: 0px !important;
                }
                /* Ordner container Inhalt zentriert -->  CHANGE  */
    
                hbox.menu-accel-container.countClass1 {
                    align-items: center !important;
    
                }
                .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: #D2534C !important;
                    height: 14px;                           /* height = font size Text zentriert CHANGE  */
                    width: 15px !important;                 /* Platzhalter für Anzahl der Stellen */
                    padding-left: 4px !important;           /* height = font size Text zentriert CHANGE  */
                    margin-right: -4px !important;          /* Abstand zum Symbol rechts */
    
                /*    background-color: lightblue; */           /* TEST */
                }
                .countClass2::before {
                    content: "";
                    background-image: url(${profilePath}/${icon2});
                    background-repeat: no-repeat;
                    background-size: 16px;                  /* icon size */
                    background-position: center;
                    margin-left: 4px !important;            /* Abstand bis zum Icon der Links */
                    margin-right: -1px !important;           /* Abstand bis zum "Wert" 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: #D2534C !important;
                    height: 14px;                           /* height = font size Text zentriert CHANGE  */
                    width: 15px !important;                 /* Platzhalter für Anzahl der Stellen (25px für 3 Stellen) */
                    padding-left: 4px !important;           /* height = font size Text zentriert CHANGE  */
                    margin-right: -1px !important;          /* Abstand zum Pfeil recht */
                    /* background-color: lightblue; */          /* TEST */
                }
                .countClass2 image {
                    order: 1;                               /* Pfeil hinter dem "Wert" der Links */
                }
            `;
    
            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 bmbMenu = document.getElementById('bookmarks-menu-button');
            let bookMenu = document.getElementById('bookmarksMenu');
            let persToolBar = document.getElementById('PersonalToolbar');
    
            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
                  let strCountOut1 = + menuCount + '\xa0'
                  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
                  let strCountOut2 = + menuitemCount + '\xa0'
                  label2.setAttribute('data-value2', strCountOut2);
    
                }, 100);
            }
        }
    })();
    Alles anzeigen
  • Nur die Anzeige der Ordner/Lesezeichenanzahl in einer anderen Farbe darstellen

    • Dharkness
    • 15. Juli 2023 um 16:58
    Zitat von grisu2099

    Wenn du damit leben kannst, daß die Icons vor den Icons sind, kannst du ja mal diese Version testen:

    Wenn Du mir erzählst, wie man den Schrägstrich zwischen Ordner und Bookmarks entfernt, könnte ich möglicherweise damit zurechtkommen.

Unterstütze uns!

Jährlich (2025)

101,9 %

101,9% (662,48 von 650 EUR)

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