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

Beiträge von juzzlukin

  • Firefox crashes

    • juzzlukin
    • 12. April 2026 um 23:30
    Zitat von .DeJaVu

    There can be no extensions: d61e3bef-cce6-487a-b719-69a690260401 [@shutdownhang | mozilla::SpinEventLoopUntil(nsNSTSubstring<T> const&, (anonymous namespace)::ParentImpl::ShutdownBackgroundThread::<T>&&, nsIThread*) | (anonymous namespace) In Firefox 149.0 (default) 20260318190823 crash-stats.mozilla.org

    However, what can't be true if you look at the "telemetry", have formatted this

    Es tut mir leid, vielleicht ist es die Übersetzung, aber ich verstehe nicht, wenn Sie sagen: "Es kann keine Erweiterungen geben"

    Ist das ein Verweis auf diese https://crash-stats.mozilla.org/report/index/d…#tab-extensions

    Ich habe keine Ahnung, worauf sich das bezieht

    Ich verstehe auch nicht: "Aber was kann nicht wahr sein, wenn man sich die "Telemetrie" ansieht, hat dies formatiert." Bitte erklären Sie es. Ich habe keine Ahnung, was ich mir mit dem Code ansehe, den du gepostet hast.

    Zitat von .DeJaVu

    Pointless ending with the axe. This results in "bak-rebuild". The profile is scrap. The entire system is junk when Firefox takes so long to quit. I still think that the hardware is no longer running round, and if not, then it is Windows that should be installed from scratch.

    Wie kommt man zu dem Schluss, dass "das System Junk ist", wenn dies nur dann auftritt, wenn dieses eine Firefox-Profil verwendet wird? Ich habe nie etwas in der Nähe davon, unabhängig davon, welche Art von Aufgaben ich ausführe, es sei denn, ich verwende dieses spezifische Firefox-Profil.

    Was schließen Sie daraus? Bitwarden stürzt Firefox ab

  • Firefox crashes

    • juzzlukin
    • 12. April 2026 um 01:17
    Zitat von Mira_Belle
    Zitat von juzzlukin

    Is there any way to determine if Bitwarden is causing the issues? I can publish the extension list if that will help.

    Mache ein Backup dieses Profils, installiere Bitwarden und dann schau, was passiert.
    Ganz ehrlich, ich glaube nicht, dass Bitwarden die Ursache ist.

    Und wenn dann dieses Pofil ohne Abstürze funktioniert und es ja identisch ist, mache das defekte Profil platt.
    Zu Sicherheit vorher ein Backup machen:!:Inkl. der "profiles.ini".

    Translated with DeepL:

    Back up this profile, install Bitwarden, and see what happens.
    Honestly, I don't think Bitwarden is the cause.

    Das war schon vor dem Posten hier erledigt. Ich habe mit mehreren Profilen getestet, sie verglichen, in einem Prozess des Versuchs und Irrtums hin und her gegangen. Ich habe zuvor beschrieben, dass ich ein anderes Profil habe, das regelmäßig verwendet wird und diese Verhaltensprobleme nie manifestiert hat, unabhängig davon, wie viele Stunden ich benutze.

    Ich habe ein Backup dieses Profils erstellt und diese Dateien durch die aus dem schlechten Profil ersetzt, wonach ich Bitwarden und ein paar andere Addons installiert habe, die nicht an anderer Stelle synchronisiert oder kommuniziert werden.

    Das umgewandelte Profil zeigt nun die gleichen Symptome, die zur Belastung der CPU beitragen. Ich bot an, die about:addons-Listen für beide Profile zu veröffentlichen, aber niemand bekundete Interesse.

    Ich bat auch um eine Erklärung dieser Abnormalität. Ich habe 34 dieser "firefox"-Einträge in dieser Task-Manager-Liste gezählt, die dort bleiben und den Relaunch des Browsers für bis zu 10 Minuten verhindern können, bis der RAM wiederhergestellt ist, es sei denn, wie ich erklärt habe, beende ich Aufgaben manuell auf 2-3 dieser Einträge.

    Ich glaube, dies ist eine kritische Information, um dieses Rätsel zu lösen., aber es wurde hier ignoriert.

    Ich habe Daten vom Zuverlässigkeitsmonitor und Event Viewer für den Tag des Absturzes gesammelt, den ich gemeldet habe. Bitte lassen Sie mich wissen, welche Teile der Daten Sie veröffentlichen möchten.

    Ich habe mein Bestes mit der deutschen Übersetzung gegeben. Bitte lassen Sie mich wissen, ob ich mich verbessern muss.

    Danke.

  • Firefox crashes

    • juzzlukin
    • 9. April 2026 um 01:27
    Zitat von .DeJaVu

    Firefox crasht im Haupt-Thread -> Timeout und das bei CFI. CFI kenne ich nur als "Control-flow integrity" und das ist Windows.

    Inwiefern die Unmenge an Erweiterungen und Userscripten eine sehr wahrscheinliche Ursache ist, muss er selbst rausfinden.

    Da das öfters passieren zu scheint, würde ich auch Windows, RAM, Festplatte nicht ausschliessen. Das ist aber nicht mehr Firefox.

    IMO ist das System von 2014 laut Specs, kann mich aber auch falsch erinnern.

    I've done all the diagnostics suggested here. I don't know where to look in the Event Viewer, or how to start an analysis on the Mozilla Crash Stats - Firefox Crash Data webpage.

    I believe a Firefox extension is responsible. I have several Firefox profiles. The problems only happen with one of them. Shortly after launching the problem browser, the memory usage changes from this

    to this

    I have another profile that is almost identical. The memory stays around 2000. The one main difference I can see is that the broken profile has the Bitwarden Password Manager installed. The good profile does not. I don't believe any other extension is using the resources like Bitwarden.

    Is there any way to determine if Bitwarden is causing the issues? I can publish the extension list if that will help.

    Thank you.

  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 7. April 2026 um 00:38
    Zitat von Mira_Belle

    @Horstmann 
    So the JavaScript from Aris works for me.
    And the symbol that is used twice is this one =>
    But if I got that right with my broken English, it's about such a red R,
    Or?

    But that has to be used in a different script, if I understand that correctly.
    At least I understand it that way.

    Zitat von juzzlukin

    But this one has the "R" icon I like. If possible, can I post the codes to get instruction on how to do the change?

    Zitat von juzzlukin

    I now have 2 restart buttons. I prefer this one, because it does not have a cache clearing option

    And what script is that?
    I'm confused.

    Zitat von juzzlukin

    because RestartFirefox_plus.uc.js

    Alles anzeigen

    Hi Mira ,

    Please allow me to clarify further, to clear up any confusion. This script, restart_button.uc.js, works fine. However, I wish to change it's toolbar button icon.

    // Restart button script for Firefox 60+ by Aris
    //
    // left-click on restart button: normal restart
    // middle-click on restart button: restart + clear caches
    // right-click on restart button: no special function
    //
    // based on 'Quit' button code by 2002Andreas
    // restart code from Classic Theme Restorer add-on
    // invalidate caches from Session Saver add-on

    (function() {

    try {
     var sss = Components.classes["@mozilla.org/content/style-sheet-service;1"].getService(Components.interfaces.nsIStyleSheetService);
     var appversion = parseInt(Services.appinfo.version);

     var button_label = "Restart";

     CustomizableUI.createWidget({
        id: "uc-restart", // button id
        defaultArea: CustomizableUI.AREA_NAVBAR,
        removable: true,
        label: button_label, // button title
        tooltiptext: button_label, // tooltip title
        onClick: function(event) {
          
          var cancelQuit   = Components.classes["@mozilla.org/supports-PRBool;1"].createInstance(Components.interfaces.nsISupportsPRBool);
          var observerSvc  = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
                
          if(event.button=='1') { // middle-click - clear caches
            Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULRuntime).invalidateCachesOnRestart();
          }
          
          if(event.button=='0' || event.button=='1') { // left/middle-click - restart
            observerSvc.notifyObservers(cancelQuit, "quit-application-requested", "restart");
                
            if(cancelQuit.data) return false;
                    
            Services.startup.quit(Services.startup.eRestart | Services.startup.eAttemptQuit);
          }
        },
        onCreated: function(button) {
          return button;
        }
            
     });

     var icon = "chrome://global/skin/icons/reload.svg";

     if(appversion < 92) icon = "chrome://browser/skin/reload.svg";

     // style button icon
     var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
          #uc-restart .toolbarbutton-icon {\
            list-style-image: url("'+icon+'"); /* icon / path to icon */ \
            transform: scaleX(-1); /* icon mirroring */\
            fill: red; /* icon color name/code */\
          }\
        \
     '), null, null);

     sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);

    } catch (e) {
        Components.utils.reportError(e);
    };

    })();

    The restart_button.uc.js script is the one at the top of this menu.

    The other restart button, RestartFirefox_plus.uc.js, at the bottom of the menu, is the script with the base64 icon.

    I want that red "R" for the restart_button.uc.js icon. As I mentioned earlier, I have this favicon file. I was hoping that we could relocate that favicon file somewhere in the chrome\image folder, or wherever you determine is the best location, in order to edit the script to point to that file location. If you need to have the the file extension changed to make it compatible, please let me know. Perhaps to .svg? I will require instruction to do so.

    Dateien

    R- RED 7.ico 59,59 kB – 14 Downloads
  • Firefox crashes

    • juzzlukin
    • 6. April 2026 um 21:58

    This has been happening regularly for a long time. This is with my main profile. I have another profile that doesn't seem to have a problem. The main profile has more addons.

    The pattern is it seems to occur after extended periods of use, or extended periods of being open, but idle.

    Sometimes it will just freeze. If I wait long enough, it could be 2-10 minutes, it may go back to normal. Sometimes it will crash my system. If I can't get to the task manager to end task, I usually decide to reboot the OS manually with the power button on the device.

    Or, more often, it occurs when I attempt to close the browser, and either the freeze will occur, or the responses to my mouse or keyboard are severely delayed, accompanied by that little blue spinning circle. or "Page is not responding". In that scenario, it may eventually close.

    However, after that type of episode, it will usually not launch for an extended length of time, due to the following.

    That is only a fraction of the 40-50 "Firefox" entries there to be revealed by scrolling. In order to relaunch, I must manually "End Task" on 2-3 of them.

    Occasionally, I get the repeated messaged that a "website page is slowing things down". I don't know if that is related to the other symptoms.

    Firefox 149.0 Crash Report [@ shutdownhang | mozilla::SpinEventLoopUntil(nsTSubstring<T> const&, (anonymous namespace)::ParentImpl::ShutdownBackgroundThread::<T>&&, nsIThread*) | (anonymous namespace)::ParentImpl::ShutdownBackgroundThread ]

    Since it happens randomly, and I cannot create it the situation, about:support does not help.

    Would it be helpful if I posted an image of my about:addons list?

  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 6. April 2026 um 20:51
    Zitat von Horstmann

    Please state which button you want to do what, and where Inside your Chrome folder the icon is located, eg profile-folder -> chrome -> folder "myIcons" -> iconRedR.svgor search.

    I can't find iconRedR.svg, I believe, because RestartFirefox_plus.uc.js has this type of code:

    style: 'list-style-image: url(data:image/

    I have a favicon.

    The icon for restart_button.uc.js is in chrome\image\icons_fx88\reload.svg. I put the favicon there. I tried to edit like this, but, of course, it did not work

    var icon = "chrome://global/skin/icons/RED.ico";

    // Restart button script for Firefox 60+ by Aris
    //
    // left-click on restart button: normal restart
    // middle-click on restart button: restart + clear caches
    // right-click on restart button: no special function
    //
    // based on 'Quit' button code by 2002Andreas
    // restart code from Classic Theme Restorer add-on
    // invalidate caches from Session Saver add-on

    (function() {

    try {
     var sss = Components.classes["@mozilla.org/content/style-sheet-service;1"].getService(Components.interfaces.nsIStyleSheetService);
     var appversion = parseInt(Services.appinfo.version);

     var button_label = "Restart";

     CustomizableUI.createWidget({
        id: "uc-restart", // button id
        defaultArea: CustomizableUI.AREA_NAVBAR,
        removable: true,
        label: button_label, // button title
        tooltiptext: button_label, // tooltip title
        onClick: function(event) {
          
          var cancelQuit   = Components.classes["@mozilla.org/supports-PRBool;1"].createInstance(Components.interfaces.nsISupportsPRBool);
          var observerSvc  = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService);
                
          if(event.button=='1') { // middle-click - clear caches
            Components.classes["@mozilla.org/xre/app-info;1"].getService(Components.interfaces.nsIXULRuntime).invalidateCachesOnRestart();
          }
          
          if(event.button=='0' || event.button=='1') { // left/middle-click - restart
            observerSvc.notifyObservers(cancelQuit, "quit-application-requested", "restart");
                
            if(cancelQuit.data) return false;
                    
            Services.startup.quit(Services.startup.eRestart | Services.startup.eAttemptQuit);
          }
        },
        onCreated: function(button) {
          return button;
        }
            
     });

     var icon = "chrome://global/skin/icons/reload.svg";

     if(appversion < 92) icon = "chrome://browser/skin/reload.svg";

     // style button icon
     var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
          #uc-restart .toolbarbutton-icon {\
            list-style-image: url("'+icon+'"); /* icon / path to icon */ \
            transform: scaleX(-1); /* icon mirroring */\
            fill: red; /* icon color name/code */\
          }\
        \
     '), null, null);

     sss.loadAndRegisterSheet(uri, sss.AGENT_SHEET);

    } catch (e) {
        Components.utils.reportError(e);
    };

    })();

    //      RestartFirefox_plus.uc.js   2

       (function() {

          if (location != 'chrome://browser/content/browser.xhtml') return;
          
          try {
             CustomizableUI.createWidget({
                id: 'restart-button',
                type: 'custom',
                defaultArea: CustomizableUI.AREA_NAVBAR,
                onBuild: function(aDocument) {         
                   var toolbaritem = aDocument.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', 'toolbarbutton');
                   let props = {
                      id: 'restart-button',
                      class: 'toolbarbutton-1 chromeclass-toolbar-additional',
                      removable: false,
                      label: 'RESTART',
                      tooltiptext: 'Restart (right-click and middle-click clear the userChrome.js cache))',
                      style: 'list-style-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8%2F9hAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89%2BbN%2FrXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz%2FSMBAPh%2BPDwrIsAHvgABeNMLCADATZvAMByH%2Fw%2FqQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf%2BbTAICd%2BJl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA%2Fg88wAAKCRFRHgg%2FP9eM4Ors7ONo62Dl8t6r8G%2FyJiYuP%2B5c%2BrcEAAAOF0ftH%2BLC%2BzGoA7BoBt%2FqIl7gRoXgugdfeLZrIPQLUAoOnaV%2FNw%2BH48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl%2FAV%2F1s%2BX48%2FPf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H%2FLcL%2F%2Fwd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s%2BwM%2B3zUAsGo%2BAXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93%2F%2B8%2F%2FU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AAAAElFTkSuQmCC)',
                      /* onclick: 'if (event.button == 0) { \
                                     Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); \
                                 }; \
                                 if (event.button == 1 || event.button == 2) { \
                                     Services.appinfo.invalidateCachesOnRestart(); \
                                     Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); \
                                 };' */
                   };            
                   for (var p in props)
                      toolbaritem.setAttribute(p, props[p]);
                   
                   toolbaritem.addEventListener('click', event => {
                       if (event.button == 1) {
                         Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit);
                       }
                   
                       if (event.button == 0 || event.button == 2) {
                         event.preventDefault();
                         Services.appinfo.invalidateCachesOnRestart();
                         Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit);
                       }
                     });               
                   return toolbaritem;
                }      
             });
          } catch(e) { };   
                 
          var menuitem = document.createXULElement('menuitem');   
          var props = {
             id: 'restartfirefox-fileMenu2',
             label: 'RESTART',
           tooltiptext: 'Restart (right-click and middle-click clear the userChrome.js cache))',         
          };

                 menuitem.addEventListener('click', event => {
                            if (event.button == 0) { 
                                     Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); 
                                 }
                                 if (event.button == 1 || event.button == 2) { 
                                     Services.appinfo.invalidateCachesOnRestart(); 
                                     Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit);
                                 }                              
                        });            
          for (var p in props)
             menuitem.setAttribute(p, props[p]);      
          document.getElementById('menu_FilePopup').insertBefore(menuitem, 
           document.getElementById('menu_FileQuitItem'));

          var menuitem = document.createXULElement('toolbarbutton');
    menuitem.id = 'restartfirefox-fileMenu';
    menuitem.classList.add('subviewbutton', 'subviewbutton-iconic');
    menuitem.setAttribute('label' , 'RESTART');
    menuitem.setAttribute('tooltiptext' , 'RESTART');
    menuitem.style.listStyle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ampSAVD76Al2BIIx4Dv2Nz7%2FYq%2B5%2BP8sNXE6WdAhdQlOM9rzUdaGiN8M9UjnKvQjzuA0UjV3AxDIcHywqRoEbXoVrKgyBtKXYEUvprmiN9oaoyvr9wl62NHJbtJeDzOo17YmprVzWOppLO2RRNwf1FSOzSUAXsCIR4QdP13UPfjhUde2mjuBXUjcXNEabOnJmq7Y4Nd7z1fu%2BJ%2FR2Jpgrm0jauAI8GlnSlBi4I0bO6sLBWHc9esxRdmjOZf5n%2B5CLWzCzOvsbKupBZ1xgmElUoC%2BgoKtRGQfNomoaND8P8XS%2Bby1olO7O6GHTl1DejGDOrNB%2BvpO7I%2Ba31%2FDP9Z28YUmqoqhCKcG2EYD6ZMUTojZ8WHmsqD%2BI6wnWFajugCkuuZaV%2FZS47wp99R7E3LbxPV6rtr7dV1pmyuBWs3hr7dZ380LC2tzseffvUHm86C1JC2A%2FrGcn509cn%2BPvTk9ibc1R06qL91Ms1CadF000ll9rVS2VykLzVr0lHOgtpuJ9yUFyXxqhKZjbH2nJRI9IZwyw2kXjvXV%2FIOWgaBcc2a%2BtjdVXR1J3iBDx8QUpQUJAuJJclseogxz441H5vrPO72cm0VSyVPJq27ZaHm8ST3Y0M9d9Kkr19A1A1x4VIObTGBfNrsJ5XmE9b6KqgvrOGhr1Vns2sgeNIkXiigvHf1liZuHWZYjINSEXRVLewZjN6bYmYbvN4rcDvVzFKLnOpErMLBpvbklClznyyyPDA6DjTX3wJWICr%2Bnb3ffjXSGpl5Nxnn88uh2ORUCBaHfVQU%2BsjVuGhKqJT5lFYShr8fGH4j42bH53EnJ4EtgEEPQOTzHx9mqXLl9AT9TS82RvreOmVcMTXVh4JhIr5kp3LFu6u3Lk%2ByMylQazU3ENYAvw3AFUTimFqj5i7AAAAAElFTkSuQmCC\')';
    menuitem.addEventListener('click', event => {
                            if (event.button == 0) { 
                                     Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit); 
                                 }
                                 if (event.button == 1 || event.button == 2) { 
                                     Services.appinfo.invalidateCachesOnRestart(); 
                                     Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit);
                                 }                              
                        });
    var refItem = document.getElementById('appMenu-viewCache').content.getElementById('appMenu-quit-button2');
    refItem.parentNode.insertBefore(menuitem, refItem);
    })();

  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 6. April 2026 um 01:24
    Zitat von Horstmann

    Please Post the script in question for reference.

    I figured it out. I downloaded about 40 Alice scripts to test. I have English translations for 15 that I found useful. I can list them if anyone is interested.

    Around 20 others either did not work, or did not display at all. Others were now obsolete, replaced by default buttons.

    I'm going to check our the Aris repository to see if some will now work for me.

    That space problem is fixed. I was doing a trial and error method of testing the button activation files to see which file was responsible, and it fixed itself. I'm still trying to figure out which file it was.

    I now have 2 restart buttons. I prefer this one, because it does not have a cache clearing option

    But this one has the "R" icon I like. If possible, can I post the codes to get instruction on how to do the change?

    Thanks

  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 4. April 2026 um 01:16
    Zitat von Mira_Belle

    I'll take a closer look at your other scripts this weekend and test them as well.

    Hi,

    I just downloaded many of the Alice scripts. So far, the ones I have added to the Chrome folder are working.

    But some of their titles are in German. I tried to edit one of them, but did not see a reference to the title. Can you help?

  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 3. April 2026 um 20:15
    Zitat von Horstmann

    Glad to hear you're making progress with the JS setup. :)

    As for the menu, I don't know your CSS/JS that might be responsible for it.

    It's actually the other way around. Some component of the custom button install has nullified certain portions of the my_userChrome.css file.

    This image is without the custom button install. The search field at the top has bold font

    This is with the custom buttons enabled. Now, as we see, the search field font is no longer bold, but many other areas are bold

    In general, I actually don't mind the bold, but I want that search that search field to remain bold, and would also like to change the font. Currently, It looks like Arial black. It's a little heavy. I would prefer something like Arial Bold,, Segoe UI Bold, or Tahoma Bold.

    This is an example my context menus without the custom buttons enabled, contrasting the other image I posted

    With the custom button enabled, all of my Firefox context menus have that large gap in space.

  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 3. April 2026 um 02:26
    Zitat von Horstmann
    Zitat von juzzlukin

    Unfortunately, the about addons button is on the toolbar, but does not work

    You could try this for about:addons:

    JavaScript
    // Firefox button JavaScript
    
    // Name: about_addons_button.uc.js
    // Description: Button to open about:addons in new tab
    
    // After script changes, restart with Clear StartUp Cache => about:support
    
    (function() {
    if (location.href !== 'chrome://browser/content/browser.xhtml')
        return;
    
    // == User settings ==>
    
    // Button ID, always use unique value
        const btn_id = 'about_addons_btn';
    
    // Label, tooltip
        const btn_label = 'Addons Button';
        const btn_tooltip = 'about:addons';
    
    // Button function
        function btn_function(e) {
           if (e.button === 0) {
              openTrustedLinkIn('about:addons', 'tab');
           }
         };
    
    // Icon
        // false = use Firefox Icon, true = Custom Icon
        const use_custom_btn_icon = false;
    
        // Firefox icon, or any absolute file path if use_custom_btn_icon = false
        const fx_btn_icon = 'chrome://mozapps/skin/extensions/extension.svg';
    
        // Custom icon file
        const custom_btn_icon = 'flower-satt32.png';
    
        // Custom Icons expected in profile-name/chrome/icons folder ('icons' folder needs to be created)
        // Path to icons folder named 'icons' inside profile folder
        const btn_iconPath = '/chrome/icons/';
    
    // <== User settings end ==
    
        // Get path to profile folder
        const btn_curProfDir = PathUtils.toFileURI(PathUtils.join(PathUtils.profileDir));
        // Apply icon
        let btn_icon = btn_curProfDir + btn_iconPath + custom_btn_icon;
        if (!use_custom_btn_icon) {
            btn_icon = fx_btn_icon;
        };
    
        // Button
        try {
            CustomizableUI.createWidget({
                id: btn_id,
                defaultArea: CustomizableUI.AREA_NAVBAR,
                label: btn_label,
                tooltiptext: btn_tooltip,
                onCreated: (this_button) => {
                    this_button.style.MozContextProperties = 'fill, stroke, fill-opacity, stroke-opacity';
                    this_button.style.listStyleImage = 'url(' + btn_icon + ')';
                    this_button.style.minWidth = 'fit-content';
                }
            });
        } catch(e) { };
        // Apply event listener and function
        (function btn_listener() {
            const btn_exists = document.getElementById(btn_id);
            if (btn_exists) {
                btn_exists.addEventListener('click', btn_function);
            } else {
                setTimeout(btn_listener, 100);
            }
        })();
    })();
    Alles anzeigen

    Beautiful. Thanks.

    Do you have any instruction on the display changes I posted that happened after the custom button repairs?

    They dominated some of the my_userChrome.css settings. How do I edit my_userChrome.css to shorten the large spaces? I would also like to test a font change as well?

  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 1. April 2026 um 23:12
    Zitat von Horstmann

    Rumor has it, someone else has been maintaining some of Aris' JS for a while, but what do I know.

    Either way, a bunch of his scripts have been updated 5 months or less ago, as you can see in that repo, and a bunch of your scripts - those which you uploaded - are outdated versions that no longer work.

    Most current JS codes should work fine with any functional script loading method.

    I'm using this simple script loader, as featured in that somewhat confusing local thread, which appears to be working fine with my stuff and has been for a long time, last tested on some 149 Nighlty.

    For more complex applications, which you also seem to use, you could take a look at this topic, but that's beyond my comprehension.

    Before I begin, please forgive me for not responding sooner. I did not realize that I had to activate notifications in "Manage Account". Sorry for the grammatical errors. The translator wasn't always kind.

    That said, your suggestions and Mira_Belle led me to precisely what I needed. I wish I had seen them sooner.

    Originally, my scripts source was xiaoxiaoflood firefox-scripts. Along with the collection of toolbar scripts, the user must configure the Firefox install directory. I moved the config-prefs.js and config.js files to their assigned locations, but the main difference between the xiaoxiaoflood and Endor collections is the userChromeJS folder, originally placed in the Chrome folder, must now be moved to the Firefox install folder. ***That was supposed to say "userChromeJS folder".

    I now have the return of my "Restart" and Chrome folder opener" buttons, and I will be testing a bunch more

    Unfortunately, the about addons button is on the toolbar, but does not work

    There has also been an unexpected side effect. All of my menus displays changed from this

    to this

  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 20. März 2026 um 21:25
    Zitat von Horstmann
    Zitat von juzzlukin

    I only took a quick look at your scripts from #7; most of them are outdated, contain code that is no longer working, a few link to non-existing icons, etc.. As Mira suggested, go to the Aris repo and replace all your scripts coming from there with the latest versions.

    Aris announced his decision to no longer maintain his CSS website on 12/23/25

    https://github.com/Aris-t2/CustomCSSforFx/discussions/790

    His support for https://github.com/Aris-t2/CustomJSforFx/tree/master/scripts ended a long time before that, and the "Last commit dates" haven't changed for quite some time, so they do not actually reflect how old they are.

    Zitat von Horstmann

    As for userChrome.js, I use a different script loader, I assume you'll need to follow Mira's advice above for that.

    Aside from the Aris scripts,. and whether they can be updated, doesn't the fact that, since I had two scripts that worked until v148 indicate whatever changed in v148 invalidated the userChrome.js?

    I did not realize there were later scripts on the Alice web page in the sub folders. I tried the latest userChrome.js there, and the replaceAndGoSearch.uc.js scrpit, but, it did not work.

    I think I need to start from scratch, perhaps with someone's proven, working sample script loader and and a button script that I can test.

    Not only that, but the Fx install folder contents must be modified. This folder fx-folder.zip xiaoxiaoflood https://github.com/xiaoxiaoflood/firefox-scripts (see Download this zip file) contains two files; config-prefs.js must be added to the FIREFOX\defaults\pref folder; config.js must be placed in the main Install folder (see attached). I suspect they may need alterations as well. fx-folder.zip

    Alles anzeigen
  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 20. März 2026 um 01:59
    Zitat von Mira_Belle

    juzzlukin
    On Aris's page => https://github.com/Aris-t2/CustomJSforFx/tree/master/scripts
    there are already several updated scripts that you can use.

    And Alice also has a few scripts available in their updated versions.

    Here is the “userChrome.js” file

    Mira_Belle

    All of my .js button scripts, except for two, come from Aris. Those other two are the only ones that worked, up until the release of FF148: RestartFirefoxButton_Movable.uc.js by xiaoxiaoflood, and rebuild_userChrome.uc.js, By Sporif.

    Please see attachment

    CHROME ACTIVE BUTTONS.zip

    i tried the userChrome.js scripts, with the replaceAndGoSearch.uc.js button. I saw no change. Can you suggest a button that would you know should work?

    Zitat von Horstmann
    Zitat von juzzlukin

    Is there a way to fully translate these pages to English? I tried to use your script, and Horstmann's script, but they don't appear. Perhaps I'm doing something wrong?

    Do any Scripts work for you in your updated Firefox versions, or does any CSS work?
    As Mira suggested, make sure to use current versions of your scripts and script loader.

    Btw., the replies #4 and #5 are about a different matter, please ignore.

    Those image I posted are examples of my CSS.

    Bilder

    • TOOLBAR.jpg
      • 47,89 kB
      • 1.919 × 90
  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 19. März 2026 um 01:33
    Zitat von Horstmann
    Zitat von Mira_Belle
    JavaScript
    // Restart_Firefox.uc.js
    
                    button.style.color = '#ff0000'; // Farbe für das SVG-Icon setzen
                    button.style.paddingLeft = '5px';
                    button.style.paddingTop = '3px';

    Vorschlag:

    Das hier mal kurz in die userChrome.css packen zum testen, das zeigt den sichtbaren Teil der meisten Buttons (zB bei hover):

    I tested the first script. Unsuccessful for me. Should I test it in 149 beta?

    Zitat von Horstmann
    CSS
    .toolbarbutton-icon {
        outline: 1px solid green !important;
        outline-offset: -1px !important;
    }

    Dann deinen Button in die Lesezeichenleiste ziehen, und schauen was mit der Leistehöhe passiert, danach auch mal in das Überhangmenü schieben, her dann auch die Textfarbe beachten. :/
    Nicht so dolle, oder? ;)

    Für das Icon würde ich button.style.fill statt button.style.color empfehlen, um das Icon zu verschieben reines CSS, zB sowas (outline nur zum testen):

    CSS
    toolbar #restart-button2a .toolbarbutton-icon {
        outline: 1px solid red !important;
        outline-offset: -1px !important;        
        padding-block: calc(var(--toolbarbutton-inner-padding) + 1px) 
                       calc(var(--toolbarbutton-inner-padding) - 1px) !important;
    }
  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 19. März 2026 um 01:02
    Zitat von Mira_Belle

    Compress the JS files into a ZIP file, then you can upload them.


    JavaScript
    // Restart_Firefox.uc.js
    // Das Script erstellt einen Button, der einen Neustart des Browsers auslöst .
    
    // Source file https://www.camp-firefox.de/forum/thema/140072/?postID=1282691#post1282691
    
    /* ----------------------------------------------------------------------------------- */
    /*     Zu beachten ist, dass die Grafiken sich im richtigen Ordner befinden müssen     */
    /*            %appdata%\Mozilla\Firefox\Profiles\"Profilname"\chrome\icons             */
    /* ----------------------------------------------------------------------------------- */
    
    // Linksklick 	if (event.button == 0)
    // Mittelklick 	if (event.button == 1)
    // Rechtsklick 	if (event.button == 2)
    
    (function() {
    
      if (location.href !== 'chrome://browser/content/browser.xhtml')
        return;
    
      const
      // ■■ START UserConfiguration ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
               id = 'restart-button2a', // Id des Buttons
            label = 'Neustart', // Bezeichnung des Buttons
      tooltiptext = 'Neustart (inkl. Script Cache leeren) ausrichten',
      // ■■ END UserConfiguration ■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
      curProfDir = PathUtils.toFileURI(PathUtils.join(PathUtils.profileDir));
    
        try {
            CustomizableUI.createWidget({
                id: id,
                defaultArea: CustomizableUI.AREA_NAVBAR,
                label: label,
                tooltiptext: tooltiptext,
    
                onCreated: (button) => {
                    button.style.MozContextProperties = 'fill, stroke, fill-opacity';
                    button.style.listStyleImage = 'url(chrome://browser/skin/sync.svg)';
                    button.style.minWidth = 'fit-content';
                    button.style.color = '#ff0000'; // Farbe für das SVG-Icon setzen
                    button.style.paddingLeft = '5px';
                    button.style.paddingTop = '3px';
                }         
            });
        } catch(e) { };
    
      (function add_restart_button_listener() {
        const button = document.getElementById('restart-button2a');
    
        if (button) {
          button.addEventListener('click', (event) => {
            // rechte Maus – Neustart
            if (event.button === 2) {
              Services.startup.quit(
                Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit
              );
            }
            // linke Maus – Neustart mit Löschung des Start-Caches
            if (event.button === 0) {
              event.preventDefault();
              Services.appinfo.invalidateCachesOnRestart();
              Services.startup.quit(
                Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit
              );
            }
            // Mittelklick
            if (event.button === 1) {
              openTrustedLinkIn("about:config", "tab");
            }
          });
        } else {
          // Button existiert noch nicht → später erneut versuchen
          setTimeout(add_restart_button_listener, 100);
        }
      })();
    
    })();
    Alles anzeigen

    Sorry I didn't respond earlier. Firefox has been randomly crashing. I'm trying to solve that as well. Having a Restart button would be helpful with that as well.

    Is there a way to fully translate these pages to English? I tried to use your script, and Horstmann's script, but the don't appear. Perhaps I'm doing something wrong?

    Here is the .js collection CHROME.zip

  • Custom buttons not recognized, do not appear on toolbar

    • juzzlukin
    • 14. März 2026 um 22:34

    I originally posted here Custom toolbars buttons have no icons, and thanks to all who responded, but the problems were never resolved,

    Up until FF148, two buttons were recognized & still working, but not now

    Here one that was still working before FF148.

    JavaScript
    (function() {
        if (location != 'chrome://browser/content/browser.xul' && location != 'chrome://browser/content/browser.xhtml')
            return;
    
        try {
            CustomizableUI.createWidget({
                id: 'restart-button',
                type: 'custom',
                defaultArea: CustomizableUI.AREA_NAVBAR,
                    onBuild: function(aDocument) {
                        var toolbaritem = aDocument.createElementNS('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', 'toolbarbutton');
                        toolbaritem.onclick = event => onClick(event);
                        var props = {
                            id: 'restart-button',
                            class: 'toolbarbutton-1 chromeclass-toolbar-additional',
                            label: 'Restart',
                            tooltiptext: 'Restart (with middle click userChrome.js cache is emptied)',
                                        style: 'list-style-image: url(chrome://browser/skin/sync.svg)'
                        };
                        for(var p in props)
                            toolbaritem.setAttribute(p, props[p]);
                        return toolbaritem;
                    }
            });
        } catch(e) {};
    
        function onClick(event) {
            if(event.button == 1)
                Services.appinfo.invalidateCachesOnRestart();
            else if(event.button == 2) 
                return;
    
            let cancelQuit = Cc["@mozilla.org/supports-PRBool;1"].createInstance(Ci.nsISupportsPRBool);
            Services.obs.notifyObservers(cancelQuit, "quit-application-requested", "restart");
            if(!cancelQuit.data) 
                Services.startup.quit(Services.startup.eAttemptQuit | Services.startup.eRestart);
        }
    })();
    Alles anzeigen

    Here's the other one, but I don't know which .js file by name that represents it. I reverted back to v147..04 so I could post the image. Of course, we see all the other scripts were in use at one time.

    I was ask to publish the scripts last time, but there are 15 of them. Instead of posting their contents, can I upload the .js files somehow?:)

  • Yahoo login successful everywhere but Firefox

    • juzzlukin
    • 23. Januar 2026 um 21:04

    This image is one of a series of similar messages I get. Incredibly, this has even after a 2-step verification is competed.

    I have no problem with Yahoo in Chrome. No problem with the Yahoo email mobile app.

    I am not a Chrome fan, but It is not unusual for me to have to use Chrome to avoid random website behavior issues with Firefox.

    Bilder

    • YAHOO FIRE.jpg
      • 28,05 kB
      • 602 × 496
  • Custom toolbars buttons have no icons

    • juzzlukin
    • 13. Oktober 2025 um 00:50

    Hello everyone, and thanks for the wonderful responses.

    Sorry for not getting back here until now, but I've had several other problems with Firefox since, including one related to this thread.

    3-4 weeks ago all but one my custom buttons from CustomJSforFx stopped working, meaning that, although they are listed here, they no longer display in Firefox.

    Only my RestartFirefoxButton_Movable.uc.js, from the following source, still

    operates


    Restart Button for Firefox. An updated version of https://github.com/Endor8/userChrome.js/tree/master/restartfirefoxbutton_movable. Middle click also empties the script cache.
    Restart Button for Firefox. An updated version of https://github.com/Endor8/userChrome.js/tree/master/restartfirefoxbutton_movable. Middle click also empties…
    gist.github.com

    Nothing in my Chrome folder related to these buttons has been altered. I initially thought it had something to do with the CustomJSforFx script_loader, but the one in the repository there is two years old.

    Zitat von Endor

    Hi juzzlukin

    Remove this line:

    Code
    ChromeUtils.importESModule("resource:///modules/CustomizableUI.sys.mjs");

    than the script works again.

    Kind Regards
    Endor

    Hi Endor,

    I assume that instruction was for the icon fix? I just tried it, but the button did not appear.


    Zitat von juzzlukin

    Hello everyone, and thanks for the wonderful responses.

    Sorry for not getting back here until now, but I've had several other problems with Firefox since, including one related to this thread.

    3-4 weeks ago all but one my custom buttons from CustomJSforFx stopped working, meaning that, although they are listed here, they no longer display in Firefox.

    Only my RestartFirefoxButton_Movable.uc.js, from the following source, still

    works

    https://gist.github.com/Sporif/ad6e917…c8918c#comments

    Nothing in my Chrome folder related to these buttons has been altered. I initially thought it had something to do with the CustomJSforFx script_loader, but the one in the repository there is two years old.

    Zitat von Endor

    Hi juzzlukin

    Remove this line:

    Code
    ChromeUtils.importESModule("resource:///modules/CustomizableUI.sys.mjs");

    than the script works again.

    Kind Regards
    Endor

    Hi Endor,

    I assume that instruction was for the icon fix? I just tried it, but the button did not appear.

    Alles anzeigen
  • Custom toolbars buttons have no icons

    • juzzlukin
    • 6. September 2025 um 02:19

    I use the buttons from here CustomJSforFx

    .

    I believe there is a way to edit the buttons to point towards a desired icon, but I can't figure our how to do it.

Unterstütze uns!

Jährlich (2026)

34 %

34% (263,24 von 775 EUR)

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