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

  • Firefox beenden Warnung.uc.js funktioniert in Fx 159 nicht mehr

    • 2002Andreas
    • 7. Oktober 2026 um 14:35
    Zitat von Mira_Belle

    Ersetze

    Ist doch identisch:/

  • Symbole in der URL Bar einfärben

    • 2002Andreas
    • 7. Oktober 2026 um 14:06
    Zitat von Mr. Cutty

    Ich danke dir.

    gerne wie immer:)

  • Symbole in der URL Bar einfärben

    • 2002Andreas
    • 7. Oktober 2026 um 14:04
    Zitat von Mr. Cutty

    um dem Icon z.B. Rot zuzuweisen?

    Z.B.

    CSS
    #trust-icon-container.secure.warning.first-visit {
      fill: red !important;
    }

  • Symbole in der URL Bar einfärben

    • 2002Andreas
    • 7. Oktober 2026 um 13:30
    Zitat von Mira_Belle

    Wozu ist

    Zitat von Mira_Belle

    Denn da hätte ich dies anzubieten!

    Funktioniert so auch.

  • Symbole in der URL Bar einfärben

    • 2002Andreas
    • 7. Oktober 2026 um 13:23
    Zitat von mkpcxxl

    Einen hätte ich da noch

    Teste bitte:

    CSS
    #trust-icon {
      fill: red !important;
    }

    oder mit Text:

    CSS
    #trust-icon-container {
      fill: red !important;
      color: red !important;
    }
  • Symbole in der URL Bar einfärben

    • 2002Andreas
    • 7. Oktober 2026 um 12:22
    Zitat von mkpcxxl

    Perfekt, vielen vielen Dank.

    gerne wie immer.

    Evtl. den auch noch dann:

    CSS
    [data-l10n-id="urlbar-autoplay-media-blocked"] {
      fill: green !important;
    }

  • Symbole in der URL Bar einfärben

    • 2002Andreas
    • 7. Oktober 2026 um 12:08
    Zitat von mkpcxxl

    in der URL Bar einfärben

    Teste bitte:

    CSS
    [data-l10n-id="urlbar-identity-button2"] {
      fill: red !important;
    }
    
    [data-l10n-id="urlbar-permissions-granted"] {
      fill: yellow !important;
    }
    
    [data-l10n-id="urlbar-star-add-bookmark"] {
      color: orange !important;
    }
    Alles anzeigen
  • Firefox beenden Warnung.uc.js funktioniert in Fx 159 nicht mehr

    • 2002Andreas
    • 7. Oktober 2026 um 11:39

    Mit dem Update auf die Version:

    funktioniert das Skript leider wieder nicht.

    JavaScript
    // Angepasst durch aborix
    // ab Fx 133 wird in den Zeilen 57 und 58 pinnedTabCount statt _numPinnedTabs verwendet
    // Angepasst durch Sören für Fx 159
    //https://www.camp-firefox.de/forum/thema/140987-firefox-beenden-warnung-uc-js-funktioniert-in-fx-159-nicht-mehr/?postID=1295025#post1295025
    
    
    (function() {
    
      if (window.__SSi != 'window0')
        return;
    
      const lazy = {};
      ChromeUtils.defineESModuleGetters(lazy, {
        BrowserGlue: "moz-src:///browser/components/BrowserGlue.sys.mjs"
      });
    
      lazy.BrowserGlue.prototype._onQuitRequest =
      function BG__onQuitRequest(aCancelQuit, aQuitType) {
    
        // If user has already dismissed quit request, then do nothing
        if (aCancelQuit instanceof Ci.nsISupportsPRBool && aCancelQuit.data) {
          return;
        }
    
        // There are several cases where we won't show a dialog here:
        // 1. There is only 1 tab open in 1 window
        // 2. browser.warnOnQuit == false
        // 3. The browser is currently in Private Browsing mode
        // 4. The browser will be restarted.
        // 5. The user has automatic session restore enabled and
        //    browser.sessionstore.warnOnQuit is not set to true.
        // 6. The user doesn't have automatic session restore enabled
        //    and browser.tabs.warnOnClose is not set to true.
        //
        // Otherwise, we will show the "closing multiple tabs" dialog.
        //
        // aQuitType == "lastwindow" is overloaded. "lastwindow" is used to indicate
        // "the last window is closing but we're not quitting (a non-browser window is open)"
        // and also "we're quitting by closing the last window".
    
        if (aQuitType == "restart" || aQuitType == "os-restart") {
          return;
        }
    
        // browser.warnOnQuit is a hidden global boolean to override all quit prompts.
        if (!Services.prefs.getBoolPref("browser.warnOnQuit")) {
          return;
        }
    
        var windowcount = 0;
        var pagecount = 0;
        let pinnedcount = 0;
        for (let win of BrowserWindowTracker.orderedWindows) {
          if (win.closed) {
            continue;
          }
          windowcount++;
          let tabbrowser = win.gBrowser;
          if (tabbrowser) {
            pinnedcount += tabbrowser.pinnedTabCount; // bis Fx 132 wurde statt pinnedTabCount _numPinnedTabs verwendet
            pagecount += tabbrowser.visibleTabs.length - tabbrowser.pinnedTabCount; // bis Fx 132 wurde statt pinnedTabCount _numPinnedTabs verwendet
          }
        }
    
        // No windows open so no need for a warning.
        if (!windowcount) {
          return;
        }
    
        // browser.warnOnQuitShortcut is checked when quitting using the shortcut key.
        // The warning will appear even when only one window/tab is open. For other
        // methods of quitting, the warning only appears when there is more than one
        // window or tab open.
        let shouldWarnForShortcut =
          this._quitSource == "shortcut" &&
          Services.prefs.getBoolPref("browser.warnOnQuitShortcut");
        let shouldWarnForTabs =
          //pagecount >= 2 &&
          Services.prefs.getBoolPref("browser.tabs.warnOnClose");
        if (!shouldWarnForTabs && !shouldWarnForShortcut) {
          return;
        }
    
        if (!aQuitType) {
          aQuitType = "quit";
        }
    
        let win = BrowserWindowTracker.getTopWindow();
    
        // Our prompt for quitting is most important, so replace others.
        win.gDialogBox.replaceDialogIfOpen();
    
        let titleId = {
        id: "tabbrowser-confirm-close-tabs-title",
        args: { tabCount: pagecount },
       };
       let quitButtonLabelId = "tabbrowser-confirm-close-tabs-button";
       let closeTabButtonLabelId = "tabbrowser-confirm-close-tab-only-button";
       
       let showCloseCurrentTabOption = false;
        if (windowcount > 1) {
          // More than 1 window. Compose our own message based on whether
         // the shortcut warning is on or not.
         if (shouldWarnForShortcut) {
           showCloseCurrentTabOption = true;
           titleId = "tabbrowser-confirm-close-warn-shortcut-title";
           quitButtonLabelId =
            "tabbrowser-confirm-close-windows-warn-shortcut-button";
         } else {
           titleId = {
             id: "tabbrowser-confirm-close-windows-title",
             args: { windowCount: windowcount },
           };
           quitButtonLabelId = "tabbrowser-confirm-close-windows-button";
         }
    	        
        } else if (shouldWarnForShortcut) {
           if (win.gBrowser.visibleTabs.length > 1) {
           showCloseCurrentTabOption = true;
           titleId = "tabbrowser-confirm-close-warn-shortcut-title";
           quitButtonLabelId = "tabbrowser-confirm-close-tabs-with-key-button";
         } else {
           titleId = "tabbrowser-confirm-close-tabs-with-key-title";
           quitButtonLabelId = "tabbrowser-confirm-close-tabs-with-key-button";
         }
        }
    
        // The checkbox label is different depending on whether the shortcut
        // was used to quit or not.
        let checkboxLabelId;
        if (shouldWarnForShortcut) {
          const quitKeyElement = win.document.getElementById("key_quitApplication");
          const quitKey = ShortcutUtils.prettifyShortcut(quitKeyElement);
          checkboxLabelId = {
             id: "tabbrowser-ask-close-tabs-with-key-checkbox",
            args: { quitKey },
          };
        } else {
          checkboxLabelId = "tabbrowser-ask-close-tabs-checkbox";
        }
    
    const [title, quitButtonLabel, checkboxLabel] =
          win.gBrowser.tabLocalization.formatMessagesSync([
          titleId,      
    	  quitButtonLabelId,
          checkboxLabelId,
        ]);
    
     // Only format the "close current tab" message if needed
       let closeTabButtonLabel;
       if (showCloseCurrentTabOption) {
         [closeTabButtonLabel] = win.gBrowser.tabLocalization.formatMessagesSync([
           closeTabButtonLabelId,
         ]);
       }
    
        let warnOnClose = { value: true };
        let flags;
       if (showCloseCurrentTabOption) {
         // Adds buttons for quit (BUTTON_POS_0), cancel (BUTTON_POS_1), and close current tab (BUTTON_POS_2).
         // Also sets a flag to reorder dialog buttons so that cancel is reordered on Unix platforms.
         flags =
           (Services.prompt.BUTTON_TITLE_IS_STRING * Services.prompt.BUTTON_POS_0 +
             Services.prompt.BUTTON_TITLE_CANCEL * Services.prompt.BUTTON_POS_1 +
             Services.prompt.BUTTON_TITLE_IS_STRING *
               Services.prompt.BUTTON_POS_2) |
           Services.prompt.BUTTON_POS_1_IS_SECONDARY;
           Services.prompt.BUTTON_TITLE_CANCEL * Services.prompt.BUTTON_POS_1;
       } else {
    	   // Adds quit and cancel buttons
         flags =
           Services.prompt.BUTTON_TITLE_IS_STRING * Services.prompt.BUTTON_POS_0 +
           Services.prompt.BUTTON_TITLE_CANCEL * Services.prompt.BUTTON_POS_1;
       }
    
        // 1 Fenster mit höchstens 1 nicht angehefteter Tab
        if (windowcount == 1 && pagecount < 2 && this._quitSource != "shortcut") {
       title.value = "Fenster schließen?";
       quitButtonLabel.value = "Schließen";
      checkboxLabel.value = null;
       }
    
       
        let buttonPressed = Services.prompt.confirmEx(
          win,
          title.value,
          null,
          flags,
          quitButtonLabel.value,
          null,
          showCloseCurrentTabOption ? closeTabButtonLabel.value : null,
          checkboxLabel.value,
          warnOnClose
        );
    		
        // If the user has unticked the box, and has confirmed closing, stop showing
        // the warning.
        if (buttonPressed == 0 && !warnOnClose.value) {
          if (shouldWarnForShortcut) {
            Services.prefs.setBoolPref("browser.warnOnQuitShortcut", false);
          } else {
            Services.prefs.setBoolPref("browser.tabs.warnOnClose", false);
          }
        }
       // Close the current tab if user selected BUTTON_POS_2
       if (buttonPressed === 2) {
         win.gBrowser.removeTab(win.gBrowser.selectedTab);
       }
       
        this._quitSource = "unknown";
    
        aCancelQuit.data = buttonPressed != 0;
      }
    
    })();
    Alles anzeigen

    In der Konsole wird nichts angezeigt:

    Lässt sich das auch diesmal wieder anpassen?

    Vielen Dank vorweg wie immer:)

  • Bei Eingabe in Adressleiste und Searchbar kein farbliche Umrandung

    • 2002Andreas
    • 6. Oktober 2026 um 20:15
    Zitat von jd_cort

    Punktlandung. Perfekt. Lieben Dank!

    gerne wie immer:)

  • Bei Eingabe in Adressleiste und Searchbar kein farbliche Umrandung

    • 2002Andreas
    • 6. Oktober 2026 um 20:11
    Zitat von jd_cort

    beim Start auch deaktivieren?

    Teste bitte zusätzlich:

    CSS
    #urlbar > div,
    #searchbar-new > div {
        border: none !important;
    }
  • Bei Eingabe in Adressleiste und Searchbar kein farbliche Umrandung

    • 2002Andreas
    • 6. Oktober 2026 um 19:48
    Zitat von jd_cort

    gar keine Umrandung.

    :/

  • Bei Eingabe in Adressleiste und Searchbar kein farbliche Umrandung

    • 2002Andreas
    • 6. Oktober 2026 um 19:35
    Zitat von jd_cort

    ein farbliche Umrandung startet

    Teste bitte ob du das so meinst:

    CSS
    #urlbar > div:focus-within,
    #searchbar-new > div:focus-within {
      outline: none !important; 
    }

    oder auch so:

    CSS
    .urlbar {
    	--toolbar-field-border-color-focus: none !important;
    }
  • Privates Fenster - Elemente entfernen

    • 2002Andreas
    • 6. Oktober 2026 um 18:49
    Zitat von dribs

    Das ist vertraulich ... Trackern" vertikal zentrieren?

    Sollte ich dich/das falsch verstanden haben, dann sorry.

    Meinst du das so:/

    Wenn ja, teste bitte:

    CSS
    @-moz-document url("about:privatebrowsing") {
    
    .nova-tagline {
      max-width: 20px !important;
      margin-top: -100px !important;
      margin-left: -40px !important;
    }
    
    .nova-subheader {
       text-align: center !important;
       max-width: 50px !important;
    }
    
    [data-l10n-id="about-private-browsing-nova-info-body"] {
      max-width: 25px !important;
      margin-top: -50px !important;    
     }
    }
    Alles anzeigen

    Die Werte musst du dir dann anpassen.

  • Rahmenfarbe Eingabefeld ändern

    • 2002Andreas
    • 6. Oktober 2026 um 17:52
    Zitat von dribs

    die Rahmenfarbe des Eingabefeldes ändern?

    Teste bitte:

    CSS
    #password1Textbox:focus {
        border: 5px solid red !important;
        box-shadow: none !important;
        outline: none !important;
    }
  • Youtube in der Suche deaktivieren

    • 2002Andreas
    • 6. Oktober 2026 um 15:49
    Zitat von Mira_Belle

    ist's dann bei mir weg.

    So sollte es sein;)

    Zitat von Mira_Belle

    AH, danke!

    Gerne wie immer


    Zitat von Mr. Cutty

    UTF-8 und es klappt

    Nutzt du evtl. auch Notepad + +?

    Dann kannst du das hier aktivieren:

  • Youtube in der Suche deaktivieren

    • 2002Andreas
    • 6. Oktober 2026 um 15:46
    Zitat von Mr. Cutty

    Das wars. UTF-8 und es klappt.

    Na endlich;):thumbup:

    Freut mich wenn es nun doch funktioniert.

    Immer dran denken: UTF-8

  • Youtube in der Suche deaktivieren

    • 2002Andreas
    • 6. Oktober 2026 um 15:29
    Zitat von Mr. Cutty

    Sieht so aus bei mir.

    Dann funktioniert die Shadow Sache nicht bei dir.

    Hast du hier unten rechts auch stehen:

    UTF-8

  • Youtube in der Suche deaktivieren

    • 2002Andreas
    • 6. Oktober 2026 um 15:20
    Zitat von Mr. Cutty

    der (+) bleibt.

    Nur mal ein Test.

    Füg diesen Code mal in deine userChromeShadow.css ein:

    CSS
    /****     Anpassungen an dem Lesezeichen-Popup    ****/
    
    #PlacesToolbar menupopup[placespopup="true"]::part(arrowscrollbox) {
      background-color: red !important;
    }
    
    #PlacesToolbar menuitem, #PlacesToolbar menu {
      color: white !important;
    }
    
    #PlacesToolbar menuitem:hover, #PlacesToolbar menu:hover {
      background: yellow !important;
      color: blue !important;
    }
    Alles anzeigen

    Dann Neustart.

    Dann sollte das so aussehen bei dir:

  • Youtube in der Suche deaktivieren

    • 2002Andreas
    • 6. Oktober 2026 um 15:03
    Zitat von grisu2099

    du hast YouTube bereits als Suchmaschine hinzugefügt - dann nicht.

    ;)

    Zitat von 2002Andreas

    Du kannst natürlich YouTube auch einfach hinzufügen, dann ist das + weg.

  • Youtube in der Suche deaktivieren

    • 2002Andreas
    • 6. Oktober 2026 um 14:57
    Zitat von Mira_Belle

    Aber wo kommt das Plus-Symbol her?

    Öffne die Seite YouTube, oder auch:

    soeren-hentzschel.at
    Auf soeren-hentzschel.at gibt es die umfassendste Berichterstattung rund um Mozilla im deutschsprachigen Raum.
    www.soeren-hentzschel.at

    Dann wird das automatisch angezeigt.

Unterstütze uns!

Jährlich (2026)

76,1 %

76,1% (589,79 von 775 EUR)

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