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

  • Anwendungsname und Version in der Menüleiste

    • Dharkness
    • 10. September 2022 um 16:20
    Zitat von milupo

    Ich habe es hinbekommen:

    So ↓ ist es dann in Deutsch.

    JavaScript
    (function() {
        function doDatClock() {
            var timestr = new Date().toLocaleDateString(locale, options);
            const blanks = '  \u2013  ';
            let i = timestr.lastIndexOf(' ');
            timestr = timestr.substring(0, i) + blanks + timestr.substring(i + 1);
    
            if (count == 1) {
                var counter = new Date(2000 * 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 = ' '; // your personal text here
        var bitnr = ` (${Services.appinfo.is64Bit ? 64 : 32}-bit)`;
        var cssFontFamily = 'DejaVu Sans';
        var cssColor = 'wheat'; // Font Color
    
        var css = 'border-left: 1px solid #B2B2B2; padding-top: 1px; padding-left: 2px; color: ' + cssColor + '; font-weight: 500; text-shadow: none; width: 200px; margin-right: 1px; margin-left: 0px;';
        var cssA = 'margin-left: 0px; width: auto;';
    
        var options = {
            weekday: 'long',
            year: 'numeric',
            month: 'short',
            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('helpMenu'); // 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 + bitnr + personalText;
    
    
            AgentLabel.setAttribute('value', text);
            position.parentNode.insertBefore(AgentLabel, position.nextSibling);
        }
    
        if (count == 1) {
            ClockLabel.addEventListener('dblclick', function() { sec = 0; });
        }
    
        window.setInterval(doDatClock, 5000);
    })();
    Alles anzeigen
  • in der Druckabteilung vom Fux ein wenig ändern ?

    • Dharkness
    • 10. September 2022 um 13:58
    Zitat von Mira_Belle

    ich würde auch gerne hier und da etwas ändern,

    aber bekomme es einfach nicht hin!

    Die Farbe der Buttons, Kringel und Häkchen zum Bleistift.

    Schau Dir mal das ↓ an.

    CSS
    /* druckvorschau.css */
    .dialogBox.printDialogBox {
        border: 2px solid #0082FC !important;
        margin-top: -1px !important;
    }
    
    /* Druckpopup */
    @-moz-document url-prefix("chrome://global/content/print.html") {
    #printPreviewBrowser {
        border-top: 1px solid #B2B2B2 !important;
        border-bottom: 1px solid #B2B2B2 !important;
        border-left: 1px solid #B2B2B2 !important;
    }
    
    .header-container {
        border: 2px solid #0082FC !important;
        border-top: 0 !important;
        border-right: 0 !important;
    }
    
    form#print {
        border: 0 !important;
        border-left: 2px solid #0082FC !important;
    }
    
    summary[class="block-label section-block"] {
        border: 1px solid #B2B2B2 !important;
        background: #0082FC !important;
        color: #FFF !important;
        padding: 2px 5px !important;
        margin: 5px 0 0 0 !important;
    }
    summary[class="block-label section-block"]:hover {
        border: 1px solid #0082FC !important;
        background: #D1E2F2 !important;
        color: #000 !important;
    }
    
    section {
        margin: 0 !important;
    }
    section > section {
        margin: 3px !important;
    }
    section > section > section {
        margin: 0 0 5px 0 !important;
    }
    
    section > hr {
        display: none !important;
    }
    
    section > label,
    section > div > label {
        border: 1px solid #B2B2B2 !important;
        border-bottom: 0 !important;
        padding: 2px 5px !important;
        margin-top: 3px !important;
        margin-bottom: 0 !important;
    }
    section > label[data-l10n-id="printui-paper-size-label"] {
        border-top: 0 !important;
        margin-top: 0 !important;
    }
    section > label#headers-footers,
    section > label#backgrounds {
        margin-top: 0 !important;
    }
    
    #page-range-input input#custom-range {
        border-radius: 0 !important;
        padding: 2px 5px !important;
        margin-top: 1px !important;
    }
    
    #source-version-section {
        border-bottom: 1px solid #B2B2B2 !important;
    }
    #source-version-label {
        display: inline-block !important;
        min-width: 228px !important;
        max-width: 228px !important;
        width: 240px !important;
        margin-bottom: 0 !important;
    }
    #source-version-source,
    #source-version-selection,
    #source-version-simplified {
        min-width: 228px !important;
        max-width: 228px !important;
        margin-top: 0 !important;
    }
    
    section[data-l10n-id="printui-source-label"],
    section > .toggle-group {
        width: calc(100% - 4px ) !important;
        border: 1px solid #B2B2B2 !important;
        background: #000 !important;
        padding: 0 0 0 2px !important;
        margin: 0 !important;
    }
    section[data-l10n-id="printui-source-label"] + div > label {
        margin-top: 5px !important;
    }
    
    section > div {
        margin: 0 !important;
    }
    section > select,
    section > div > select,
    section > scale-input > div {
        outline: unset !important;
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
        /* background: #0082FC !important;
        color: #FFF !important; */
        margin: 0 !important;
    }
    
    section#scale > scale-input > div {
        outline: unset !important;
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
        padding: 1px 5px !important;
        margin: 0 !important;
    }
    section#scale > scale-input > div #percent-scale {
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
    }
    
    section > select#color-mode-picker[disabled=""] {
        opacity: 1 !important;
        color: #B2B2B2 !important;
    }
    
    section > div > div#custom-margins {
        outline: unset !important;
        border-radius: 0 !important;
        border: 0 !important;
        border-right: 1px solid #B2B2B2 !important;
        border-bottom: 1px solid #B2B2B2 !important;
        border-left: 1px solid #B2B2B2 !important;
        padding: 5px !important;
    }
    section > div > div#custom-margins .margin-input {
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
    }
    
    section > div > div#custom-margins .horizontal-margins {
        margin-bottom: 0 !important;
    }
    
    section > select:hover,
    section > div > select:hover {
        outline: unset !important;
        border: 1px solid #0082FC !important;
        background: #D1E2F2 !important;
        color: #000 !important;
    }
    
    section#copies input.copy-count-input.photon-number {
        width: calc(100% - 10px) !important;
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
    }
    
    section#more-settings-options > label#headers-footers,
    section#more-settings-options > label#backgrounds {
        width: calc(100% - 12px) !important;
    }
    section#more-settings-options > label#backgrounds {
        border-bottom: 1px solid #B2B2B2!important;
    }
    
    section#system-print a#open-dialog-link {
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
        background-color: #905B46 !important;
        color: #FFF !important;
        padding: 2px 5px !important;
    }
    section#system-print a#open-dialog-link:hover {
        border-radius: 0 !important;
        border: 1px solid #0082FC !important;
        background: #D1E2F2 !important;
        color: #000 !important;
    }
    
    .toggle-group-input + .toggle-group-label {
        min-width: calc(45% - 2px) !important;
        max-width: calc(45% - 2px) !important;
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
        margin: 2px 2px 2px 0 !important;
    }
    .toggle-group-input:disabled + .toggle-group-label {
        opacity: 0.4 !important;
        background-color: #0082FC !important;
        color: #FFF !important;
    }
    .toggle-group-input:enabled + .toggle-group-label:hover {
        background-color: #D1E2F2 !important;
        color: #000 !important;
    }
    .toggle-group-input:enabled + .toggle-group-label:hover:active {
        background-color: #D1E2F2 !important;
        color: #000 !important;
    }
    
    .toggle-group-input:checked + .toggle-group-label {
        background-color: #006800 !important;
        color: #FFF !important;
    }
    .toggle-group-input:enabled:checked + .toggle-group-label:hover {
        background-color: #D1E2F2 !important;
        color: #000 !important;
    }
    .toggle-group-input:enabled:checked + .toggle-group-label:hover:active {
        background-color: #D1E2F2 !important;
        color: #000 !important;
    }
    
    body[role="dialog"] > hr,
    body[role="dialog"] > form > hr {
        display: none !important;
    }
    
    footer#print-footer {
        border-top: 2px solid #0082FC !important;
    }
    footer section {
        gap: 2px !important;
        padding: 0 0 0 2px !important;
    }
    footer section > button#print-button {
        min-width: calc(50% - 3px) !important;
        max-width: calc(50% - 3px) !important;
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
        background: #0082FC !important;
        color: #FFF !important;
        margin: 2px 2px 2px 0 !important;
    }
    footer section > button#cancel-button {
        min-width: calc(50% - 3px) !important;
        max-width: calc(50% - 3px) !important;
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
        background: #F20 !important;
        color: #FFF !important;
        margin: 2px 2px 2px 0 !important;
    }
    footer section > button#print-button:hover,
    footer section > button#cancel-button:hover {
        border: 1px solid #0082FC !important;
        background: #D1E2F2 !important;
        color: #000 !important;
    }
    
    :root {
        --in-content-sidebar-width: 160px !important;
    }
    }
    
    /* Alt */
    /* #orientation input + label {
        min-width: calc(45% - 2px) !important;
        max-width: calc(45% - 2px) !important;
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
        background: #0082FC !important;
        color: #FFF !important;
        margin: 2px 2px 2px 0 !important;
    } */
    /* #orientation input + label {
        min-width: calc(45% - 2px) !important;
        max-width: calc(45% - 2px) !important;
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
        background: #0082FC !important;
        color: #FFF !important;
        margin: 2px 2px 2px 0 !important;
    }
    #orientation input[checked=""] + label {
        min-width: calc(45% - 2px) !important;
        max-width: calc(45% - 2px) !important;
        border-radius: 0 !important;
        border: 1px solid #B2B2B2 !important;
        background: #006800 !important;
        color: #FFF !important;
        margin: 2px 2px 2px 0 !important;
    }
    #orientation input + label:hover,
    #orientation input[checked=""] + label:hover {
        border: 1px solid #0082FC !important;
        background: #D1E2F2 !important;
        color: #000 !important;
    } */
    
    /* summary[class="block-label section-block"] > span {
        padding: 2px 5px !important;
    }
    summary[class="block-label section-block"] > span[data-l10n-id="printui-more-settings"] {
        border-bottom: 1px solid #B2B2B2 !important;
    }
    summary[class="block-label section-block"] > span[data-l10n-id="printui-more-settings"] + .twisty {
        width: 16px !important;
        height: 16px !important;
        border-bottom: 1px solid #B2B2B2 !important;
        padding: 2px 5px !important;
        margin: 0 !important;
    }
    
    summary[class="block-label section-block"]:hover > span[data-l10n-id="printui-more-settings"] {
        border-bottom: 1px solid #0082FC !important;
    }
    summary[class="block-label section-block"]:hover > span[data-l10n-id="printui-more-settings"] + .twisty {
        border-bottom: 1px solid #0082FC !important;
    } */
    
    /* .printPreviewBrowser {
        border: 0 !important;
        border-top: 2px solid #B2B2B2 !important;
        border-bottom: 2px solid #B2B2B2 !important;
        border-left: 2px solid #B2B2B2 !important;
    } */
    Alles anzeigen

    Sieht dann so ↓ aus.

  • Fehlende Umsetzung der userChrome.css

    • Dharkness
    • 7. September 2022 um 19:54
    Zitat von octobear

    möglich/nötig ist

    Möglich ist extrem viel, aber ob es wirklich nötig ist, steht auf einem ganz anderem Blatt und nein ich bin noch immer nicht wirklich fertig mit meinen Anpassungen. :saint:

  • SaveTo.uc.js

    • Dharkness
    • 30. August 2022 um 23:37
    Zitat von 2002Andreas

    Bei Klick auf den linken Button "OK", wird die Datei in dem in Fx festgelegten Ordner gespeichert.

    Hm,

    ich wähle den Speicherort aus, das Fenster schließt sich und der Download läuft, auf OK muss ich nicht wirklich klicken.

  • scrollbutton-up und scrollbutton-down in Menupopups anpassen?!

    • Dharkness
    • 30. August 2022 um 17:50
    Zitat von 2002Andreas

    Freut mich wenn du zufrieden bist.

    Bin ich

    Zitat von BrokenHeart

    "Was nicht passt, wird passend gemacht".

    In der Tat.

  • scrollbutton-up und scrollbutton-down in Menupopups anpassen?!

    • Dharkness
    • 30. August 2022 um 17:26

    Hallo an alle Antwortenden, @Gabbo, 2002Andreas und BrokenHeart, letztendlich habe ich eine Mischung aus allen Vorschlägen erarbeitet, die ein für mich passendes Ergebnis hervorgebracht hat, also Dankeschön an Euch.

  • scrollbutton-up und scrollbutton-down in Menupopups anpassen?!

    • Dharkness
    • 29. August 2022 um 21:55

    Das * funktioniert für die Scrollbutton in der Tabbar, aber das nicht für die Scrollbutton in Menupopups was ist falsch?

    *

    CSS
    #tabbrowser-arrowscrollbox::part(scrollbutton-up),
    #tabbrowser-arrowscrollbox::part(scrollbutton-down) {
      appearance: none !important;
      min-height: 22px;
      max-height: 22px;
      border-radius: 0 !important;
      border: 0 !important;
      background-clip: unset !important;
      background-color: #003800 !important;
      padding: 0 4px !important;
      margin-top: 1px !important;
      margin-bottom: 0 !important;
      margin-left: 0 !important;
    }
    Alles anzeigen

    **

    CSS
    .menupopup-arrowscrollbox::part(scrollbutton-up),
    .menupopup-arrowscrollbox::part(scrollbutton-down) {
      appearance: none !important;
      min-height: 22px !important;
      max-height: 22px !important;
      border-radius: 0 !important;
      border: 0 !important;
      background-clip: unset !important;
      background-color: #003800 !important;
      padding: 0 4px !important;
      margin-top: 1px !important;
      margin-right: 2px !important;
      margin-bottom: 0 !important;
      margin-left: 2px !important;
    }
    Alles anzeigen

    P.S.:

    Beides steht natürlich in der userChromeShadow.css und der Eintrag für die Menupopups funktioniert weder über noch unter dem Eintrag für die Tabbar.

  • Ausrichtung für Druck Hoch-/Querformat fehlt bei manchen Webseiten

    • Dharkness
    • 28. August 2022 um 13:51
    Zitat von Froggy

    das es jetzt funktioniert

    Das ist doch schön. :)

  • SaveTo.uc.js

    • Dharkness
    • 28. August 2022 um 11:11
    Zitat von 2002Andreas

    Es geht ja nur darum, dass sich der Download Ordner nicht über das Download Popup öffnen lässt, wenn es nicht der Standard Ordner ist.

    Hm,

    sowohl exe-Dateien, als auch z.B. zip-Dateien werden hier nicht im Standardordner gespeichert, aber nur der Ordner in dem exe-Dateien gespeichert werden, lässt sich nicht öffnen, aber der Ordner für zip-Dateien schon.

  • SaveTo.uc.js

    • Dharkness
    • 28. August 2022 um 10:51
    Zitat von 2002Andreas

    Das sieht hier auch so aus:

    Also müsste man das mal mit einem andere exe-Download testen und schauen wie es da aussieht.

  • Ausrichtung für Druck Hoch-/Querformat fehlt bei manchen Webseiten

    • Dharkness
    • 28. August 2022 um 10:47
    Zitat von Froggy

    Den Code habe ich in die Textdatei reinkopiert, ist ggf. was an der Schreibweise falsch?

    Die Datei heißt userContent.css und nicht unserContent.css.

  • Manche YouTube-Videos laufen nicht

    • Dharkness
    • 28. August 2022 um 10:44
    Zitat von uwe_p

    seit einigen Wochen laufen manche YouTube-Videos nicht,
    sondern es bleibt nur ein drehendes Symbol,
    das wohl ein (erfolgloses) Laden darstellen soll.
    Mein erster Verdacht, das ein installiertes Addon namens "AdBlocker for YouTube" der Grund sein könnte,
    hat sich nicht bestätigt, weil es nach Deaktivierung keine Besserung gab.

    Für das Video und auch bisher kann ich es nicht bestätigen, mir ist bis dato kein Video untergekommen, das nicht abgespielt wurde.

    Ist es auch im Fehlerbehebungsmodus von Fx so?

  • SaveTo.uc.js

    • Dharkness
    • 28. August 2022 um 10:37
    Zitat von grisu2099

    Bei einigen Dateitypen (z.B.: .txt, .jpg) funktioniert das Öffnen des Explorer-Fensters bei mir.

    Bei anderen (z.B.: .pdf, .exe) geht kein Explorer-Fenster auf.

    Zitat von 2002Andreas

    Hier funktioniert es leider mit gar keiner Datei.

    Ich kann das Problem derzeit nur für exe-Dateien bestätigen, allerdings scheinen exe-Dateien auch nicht richtig erkannt zu werden, siehe Symbol, oder irre ich mich da?

  • Thread mit Icons gesucht

    • Dharkness
    • 21. August 2022 um 19:52
    Zitat von .DeJaVu

    Dann solltest du dir parallel zur Suche mal ernsthaft Gedanke über deine Backup-Methoden machen.

    Das hört sich nicht wirklich nach Backup an, ein Backup gehört nicht auf den selben Rechner, da muss mindestens eine externe Festplatte für herhalten, besser sind zwei, getreu dem Leitsatz ein Backup ist durch nichts zu ersetzen, außer durch noch viel mehr Backups.

  • userChrome.js Scripte für den Fuchs (Diskussion)

    • Dharkness
    • 16. August 2022 um 16:26
    Zitat von FuchsFan

    Danke für die Bestätigung, dann arbeitet das Script hier auch fehlerfrei.

    Nein, bei Dir besteht ein Problem mit dem von oben in die URL zu fahren, um die URL kopieren zu können, das funktioniert hier so wie es vom Script gedacht ist, genauso wie wenn man von unten in die URL fährt, einzelne Bereiche anklickbar werden.

  • userChrome.js Scripte für den Fuchs (Diskussion)

    • Dharkness
    • 15. August 2022 um 17:16
    Zitat von FuchsFan

    Ist es denn bei Dir anders?

    Ja, ich öffne eine irgendeine neue Seite und gehe von oben in die Adressleiste und die URL wird kopierfähig verändert, es war vorher nie etwas markiert, so geht es jedes mal.

  • Adressleiste: Anzahl Vorschläge ändern

    • Dharkness
    • 14. August 2022 um 21:35
    Zitat von Bafire

    Es hat funktioniert

    Sehr schön, und gerne doch. :)

  • userChrome.js Scripte für den Fuchs (Diskussion)

    • Dharkness
    • 14. August 2022 um 21:23
    Zitat von FuchsFan

    Versuche ich die Adresse zu markieren

    Dafür hat das Script vorgesehen, das Du mit der Maus von oben in die Adressleiste fährst und zwar eher etwas langsamer.

  • userChrome.js Scripte für den Fuchs (Diskussion)

    • Dharkness
    • 14. August 2022 um 20:30
    Zitat von FuchsFan

    Ohne diesen Code funktionieren beide Scripte (aus #3066 und auch aus #3077)

    Nur zur Info, Dein CSS, das bei Dir dazwischen funkte, hatte hier keinen negativen Effekt.

  • userChrome.js Scripte für den Fuchs (Diskussion)

    • Dharkness
    • 14. August 2022 um 15:16
    Zitat von Endor

    Nur als Info, von diesem Script gibt es eine neuere Version:

    Mit fontMonospace = false, läuft es hier gut, aber mit fontMonospace = true, ist die markierte URL nach unten verschoben, da ich monospace aber eh nicht mag, bleibt es bei fontMonospace = false, und gut ist.

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