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

Beiträge von milupo

  • Scrollbar im Firefox ändern

    • milupo
    • 26. September 2021 um 14:39
    Zitat von Dharkness

    Bedeutet das, das das unter Linux nicht geht

    Wieso sollte es nicht gehen? Du brauchst nur zwei Orte: den Ordner chrome im Profil für die Datei userChrome.js und die Skripte und den Ordner userChromeJS und die Dateien config.js und config-prefs.js im Installationsverzeichnis. Du musst nur wissen, wo in Linux Profilverzeichnis und Installationsverzeichnis von Firefox liegen.

    Und die Datei firefox-anpassungen.zip wirst du ja auch unter Linux entpacken können.

  • Scrollbar im Firefox ändern

    • milupo
    • 26. September 2021 um 13:20

    Am meisten lassen sich die Bildlaufleisten mit folgendem Benutzerskript anpassen:

    JavaScript
    "use strict";
    
    /* Firefox 57+ userChrome.js tweaks - SCROLLBARS ********************************************** */
    /* by Aris (aris-addons@gmx.net)*************************************************************** */
    /* Github: https://github.com/aris-t2/customscrollbarsforfx *********************************** */
    /* ******************************************************************************************** */
    
    /* ******************************************************************************************** */
    /* Custom Scrollbars for Firefox ************************************************************** */
    /* version 1.0.4 ****************************************************************************** */
    /* ******************************************************************************************** */
    
    /* ***********************************************************************************************
    
     README
     
     [!] either 'method 1' or 'method 2' are required to prepare Firefox for custom JavaScript files
     [!] 'custom_scrollbars.uc.js' file belongs into Firefox profiles 'chrome' folder!
     -> finding profile folder: address bar > about:profiles > Root Directory > Open Folder
     -> add file to \chrome\ folder (create one, if needed)
    
     [!] STARTUP CACHE HAS TO BE DELETED AFTER EVERY CHANGE!
     -> finding 'startupCache' folder: address bar > about:profiles > Local Directory > Open Folder > startupCache
     -> close Firefox
     -> delete 'startupCache' folders content
    
     ENABLING options > set var to true
     DISABLING options > set var to false
     Modifying appearance > change values
     - color - name: red, blue, transparent / hex code: #33CCFF, #FFF
     - color - rgb(a): rgba(0,0,255,0.8) / hsl(a): hsla(240,100%,50%,0.8)
     - numbers: 1, 2, 3 ... 10, 11, 12 ...
     - opacity: 0.0 to 1.0 e.g. 1.4, 1,75
     - gradients: linear-gradient(direction, color, color, color)
     - gradients example: linear-gradient(to right, blue, #33CCFF, rgba(0,0,255,0.8))
     - unsettings predefined gradients: transparent,rgba(255,255,255,0.5),transparent -> transparent,rgba(255,255,255,0.0),transparent
     - button size with arrow (descriptions for vertical scrollbars - analogous for horizontal scrollbars)
     -- 1: space above arrow = arrow height
     -- 1.5: space above arrow = 0.5 * arrow height
     -- 2: no space above arrow
     
     NOTE
     - This is a tiny collection of scrollbar tweaks, not a port of 'NewScrollbars' add-on!
     - Small scrollbar width values will corrupt some parts of the ui!
     
    *********************************************************************************************** */
    
    // GENERAL SCROLLBAR SETTINGS
    var hide_scrollbars = false; // default: hide_scrollbars = false
    var hide_scrollbar_buttons = false; // default: hide_scrollbar_buttons = false
    var custom_scrollbar_size = true; // default: custom_scrollbar_size = false
    var custom_scrollbar_size_value = 17; // in px // default: custom_scrollbar_size_value = 17
    var custom_scrollbar_opacity = false; // default: custom_scrollbar_opacity = false
    var custom_opacity_value = "1.0"; // default: custom_opacity_value = "1.0"
    // floating scrollbars
    var enable_scrollbars_on_top_of_webcontent = false; // default: enable_scrollbars_on_top_of_webcontent = false // uses 'custom_scrollbar_size_value' inside its code
    // custom scrollbars
    var enable_custom_scrollbars = true; // default: enable_custom_scrollbars = true
    
    // CUSTOM SCROLLBAR SETTINGS ("custom_scrollbar_" --> "cs_")
    var cs_thumb_border = 2; // in px // default: cs_thumb_border = 0
    var cs_thumb_roundness = 10; // in px // default: cs_thumb_roundness = 0
    var cs_buttons_roundness = 80; // in px // default: cs_buttons_roundness = 0
    var cs_buttons_as_arrows = false; // default: cs_buttons_as_arrows = false // uses 'custom_scrollbar_size_value' inside its code
    var cs_arrows_on_buttons = true; // default: cs_arrows_on_buttons = true // uses 'custom_scrollbar_size_value' inside its code
    // button size with arrow - 1: space above arrow = arrow height // 1.5: space above arrow = 0.5 * arrow height // 2: no space above arrow
    var cs_arrows_on_buttons_buttons_size = 2; // default: cs_arrows_on_buttons_buttons_size = 1.5
    // 'flat' scrollbars
    var cs_ignore_color_gradients = false; // default: cs_ignore_color_gradients = false
    
    // CUSTOM SCROLLBAR COLORS/GRADIENTS
    // - background
    var cs_background_color = "orange"; // default: cs_background_color = "#DDDDDD"
    var cs_background_image_vertical = "linear-gradient(to right,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_background_image_vertical = "unset"
    var cs_background_image_horizontal = "linear-gradient(to bottom,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_background_image_horizontal = "unset"
    // - corner
    var cs_corner_background_color = "#FF0000"; // default: cs_corner_background_color = "#DDDDDD"
    var cs_corner_background_image = "linear-gradient(45deg,transparent 30%,rgba(255,255,255,0.5) 50%,transparent 70%),linear-gradient(-45deg,transparent 30%,rgba(255,255,255,0.5) 50%,transparent 70%)"; // default: cs_corner_background_image = "unset"
    // - thumb/slider
    var cs_thumb_color = "#228B22"; // default: cs_thumb_color = "#33CCFF"
    var cs_thumb_image_vertical = "linear-gradient(to right,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_thumb_image_vertical = "unset"
    var cs_thumb_image_horizontal = "linear-gradient(to bottom,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_thumb_image_horizontal = "unset"
    var cs_thumb_hover_color = "#FF0000"; // default: cs_thumb_hover_color = "#66FFFF"
    var cs_thumb_hover_image_vertical = "linear-gradient(to right,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_thumb_hover_image_vertical = "unset"
    var cs_thumb_hover_image_horizontal = "linear-gradient(to bottom,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_thumb_hover_image_horizontal = "unset"
    var cs_thumb_border_color = "#228B22"; // default: cs_thumb_border_color = "#33CCFF"
    // - buttons
    var cs_buttons_color = "#228B22"; // default: cs_buttons_color = "#66FFFF"
    var cs_buttons_image_vertical = "linear-gradient(to right,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_buttons_image_vertical = "unset"
    var cs_buttons_image_horizontal = "linear-gradient(to bottom,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_buttons_image_horizontal = "unset"
    var cs_buttons_hover_color = "#FF0000"; // default: cs_buttons_hover_color = "#33CCFF"
    var cs_buttons_hover_image_vertical = "linear-gradient(to right,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_buttons_hover_image_vertical = "unset"
    var cs_buttons_hover_image_horizontal = "linear-gradient(to bottom,transparent,rgba(255,255,255,0.5),transparent)"; // default: cs_buttons_hover_image_horizontal = "unset"
    // - button arrows
    var cs_arrows_on_buttons_color = "#228B22"; // default: cs_arrows_on_buttons_color = "#33CCFF"
    var cs_arrows_on_buttons_hover_color = "#FF0000"; // default: cs_arrows_on_buttons_hover_color = "#66FFFF"
    
    // unset background image color gradients -> flat scrollbars
    if(cs_ignore_color_gradients==true)
        cs_background_image_vertical
        =cs_background_image_horizontal
        =cs_corner_background_image=cs_thumb_image_vertical
        =cs_thumb_image_horizontal
        =cs_thumb_hover_image_vertical
        =cs_thumb_hover_image_horizontal
        =cs_buttons_image_vertical
        =cs_buttons_image_horizontal
        =cs_buttons_hover_image_vertical
        =cs_buttons_hover_image_horizontal
        ="unset";
    
    /* ******************************************************************************************** */
    /* ******************************************************************************************** */
    /* ******************************************************************************************** */
    
    
    // Scrollbar code
    
    Components.utils.import("resource://gre/modules/Services.jsm");
    var ss =  Components.classes["@mozilla.org/content/style-sheet-service;1"].getService(Components.interfaces.nsIStyleSheetService);
    
    var custom_scrollbars = {
    
        init: function() {
    
        var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
        @namespace html url("http://www.w3.org/1999/xhtml");\
        \
        scrollbar, scrollcorner, scrollbar thumb, scrollbar scrollbarbutton {\
          -moz-appearance: none !important;\
        }\
        scrollbar {\
          background-color: '+cs_background_color+' !important;\
        }\
        scrollbar[orient="vertical"] {\
          background-image: '+cs_background_image_vertical+' !important;\
        }\
        scrollbar[orient="horizontal"] {\
          background-image: '+cs_background_image_horizontal+' !important;\
        }\
        scrollcorner {\
          background-color: '+cs_corner_background_color+' !important;\
          background-image: '+cs_corner_background_image+' !important;\
        }\
        scrollbar thumb {\
          background-color: '+cs_thumb_color+' !important;\
          border-radius: '+cs_thumb_roundness+'px !important;\
          border: '+cs_thumb_border+'px solid '+cs_thumb_border_color+' !important;\
        }\
        scrollbar thumb[orient="vertical"] {\
          background-image: '+cs_thumb_image_vertical+' !important;\
        }\
        scrollbar thumb[orient="horizontal"] {\
          background-image: '+cs_thumb_image_horizontal+' !important;\
        }\
        scrollbar thumb:hover, scrollbar thumb:active {\
          background-color: '+cs_thumb_hover_color+' !important;\
        }\
        scrollbar thumb[orient="vertical"]:hover, scrollbar thumb[orient="vertical"]:active {\
          background-image: '+cs_thumb_hover_image_vertical+' !important;\
        }\
        scrollbar thumb[orient="horizontal"]:hover, scrollbar thumb[orient="horizontal"]:active {\
          background-image: '+cs_thumb_hover_image_horizontal+' !important;\
        }\
        scrollbar scrollbarbutton {\
          background-color: '+cs_buttons_color+' !important;\
          border-radius: '+cs_buttons_roundness+'px !important;\
        }\
        scrollbar[orient="vertical"] scrollbarbutton {\
          background-image: '+cs_buttons_image_vertical+' !important;\
        }\
        scrollbar[orient="horizontal"] scrollbarbutton {\
          background-image: '+cs_buttons_image_horizontal+' !important;\
        }\
        scrollbar scrollbarbutton:hover {\
          background-color: '+cs_buttons_hover_color+' !important;\
        }\
        scrollbar[orient="vertical"] scrollbarbutton:hover {\
          background-image: '+cs_buttons_hover_image_vertical+' !important;\
        }\
        scrollbar[orient="horizontal"] scrollbarbutton:hover {\
          background-image: '+cs_buttons_hover_image_horizontal+' !important;\
        }\
        '), null, null);
    
        ss.loadAndRegisterSheet(uri, ss.AGENT_SHEET);
    
        }
    };
    
    var cs_scrollbars_scrollbar_button_arrows = {
    
      init: function() {
    
      var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
        @namespace html url("http://www.w3.org/1999/xhtml");\
        \
        scrollbar scrollbarbutton, \
        scrollbar[orient="vertical"] scrollbarbutton,\
        scrollbar[orient="horizontal"] scrollbarbutton, \
        scrollbar[orient="vertical"] scrollbarbutton:hover,\
        scrollbar[orient="horizontal"] scrollbarbutton:hover {\
          background-color: unset !important;\
          background-image: unset !important;\
          border-radius: 0px !important;\
        }\
        scrollbar[orient="vertical"] > scrollbarbutton {\
          min-height: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          height: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          max-height: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          min-width: '+custom_scrollbar_size_value+'px !important;\
          width: '+custom_scrollbar_size_value+'px !important;\
          max-width: '+custom_scrollbar_size_value+'px !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton {\
          min-width: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          width: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          max-width: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          min-height: '+custom_scrollbar_size_value+'px !important;\
          height: '+custom_scrollbar_size_value+'px !important;\
          max-height: '+custom_scrollbar_size_value+'px !important;\
        }\
        scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {\
          border-left: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-right: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-bottom: '+(custom_scrollbar_size_value/2)+'px solid '+cs_buttons_color+' !important;\
        }\
        scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"]:hover {\
          border-bottom: '+(custom_scrollbar_size_value/2)+'px solid '+cs_buttons_hover_color+' !important;\
        }\
        scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {\
          border-left: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-right: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-top: '+(custom_scrollbar_size_value/2)+'px solid '+cs_buttons_color+' !important;\
        }\
        scrollbar[orient="vertical"] > scrollbarbutton[type="increment"]:hover {\
          border-top: '+(custom_scrollbar_size_value/2)+'px solid '+cs_buttons_hover_color+' !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton[type="decrement"] {\
          border-top: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-bottom: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-right: '+(custom_scrollbar_size_value/2)+'px solid '+cs_buttons_color+' !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton[type="decrement"]:hover {\
          border-right: '+(custom_scrollbar_size_value/2)+'px solid '+cs_buttons_hover_color+' !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton[type="increment"] {\
          border-top: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-bottom: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-left: '+(custom_scrollbar_size_value/2)+'px solid '+cs_buttons_color+' !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton[type="increment"]:hover {\
          border-left: '+(custom_scrollbar_size_value/2)+'px solid '+cs_buttons_hover_color+' !important;\
        }\
        \
      '), null, null);
    
      ss.loadAndRegisterSheet(uri, ss.AGENT_SHEET);
    
      }
    };
    
    var cs_scrollbars_arrows_on_buttons = {
    
      init: function() {
    
      var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
        @namespace html url("http://www.w3.org/1999/xhtml");\
        \
        scrollbar scrollbarbutton, \
        scrollbar[orient="vertical"] scrollbarbutton,\
        scrollbar[orient="horizontal"] scrollbarbutton, \
        scrollbar[orient="vertical"] scrollbarbutton:hover,\
        scrollbar[orient="horizontal"] scrollbarbutton:hover {\
          border-radius: 0px !important;\
        }\
        \
        scrollbar[orient="vertical"] > scrollbarbutton {\
          min-height: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          height: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          max-height: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          min-width: '+custom_scrollbar_size_value+'px !important;\
          width: '+custom_scrollbar_size_value+'px !important;\
          max-width: '+custom_scrollbar_size_value+'px !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton {\
          min-width: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          width: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          max-width: '+(custom_scrollbar_size_value/cs_arrows_on_buttons_buttons_size)+'px !important;\
          min-height: '+custom_scrollbar_size_value+'px !important;\
          height: '+custom_scrollbar_size_value+'px !important;\
          max-height: '+custom_scrollbar_size_value+'px !important;\
        }\
        scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"] {\
          border-left: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-right: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-bottom: '+(custom_scrollbar_size_value/2)+'px solid '+cs_arrows_on_buttons_color+' !important;\
        }\
        scrollbar[orient="vertical"] > scrollbarbutton[type="decrement"]:hover {\
          border-bottom: '+(custom_scrollbar_size_value/2)+'px solid '+cs_arrows_on_buttons_hover_color+' !important;\
        }\
        scrollbar[orient="vertical"] > scrollbarbutton[type="increment"] {\
          border-left: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-right: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-top: '+(custom_scrollbar_size_value/2)+'px solid '+cs_arrows_on_buttons_color+' !important;\
        }\
        scrollbar[orient="vertical"] > scrollbarbutton[type="increment"]:hover {\
          border-top: '+(custom_scrollbar_size_value/2)+'px solid '+cs_arrows_on_buttons_hover_color+' !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton[type="decrement"] {\
          border-top: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-bottom: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-right: '+(custom_scrollbar_size_value/2)+'px solid '+cs_arrows_on_buttons_color+' !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton[type="decrement"]:hover {\
          border-right: '+(custom_scrollbar_size_value/2)+'px solid '+cs_arrows_on_buttons_hover_color+' !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton[type="increment"] {\
          border-top: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-bottom: '+(custom_scrollbar_size_value/2)+'px solid transparent !important;\
          border-left: '+(custom_scrollbar_size_value/2)+'px solid '+cs_arrows_on_buttons_color+' !important;\
        }\
        scrollbar[orient="horizontal"] > scrollbarbutton[type="increment"]:hover {\
          border-left: '+(custom_scrollbar_size_value/2)+'px solid '+cs_arrows_on_buttons_hover_color+' !important;\
        }\
        \
      '), null, null);
    
      ss.loadAndRegisterSheet(uri, ss.AGENT_SHEET);
    
      }
    };
    
    var scrollbar_buttons = {
    
      init: function() {
    
      var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
        @namespace html url("http://www.w3.org/1999/xhtml");\
        \
        scrollbar scrollbarbutton {\
          opacity: 0 !important;\
        }\
        scrollbar[orient="vertical"] scrollbarbutton {\
          min-height: 1px !important;\
          height: 1px !important;\
          max-height: 1px !important;\
        }\
        scrollbar[orient="horizontal"] scrollbarbutton {\
          min-width: 1px !important;\
          width: 1px !important;\
          max-width: 1px !important;\
        }\
        \
      '), null, null);
    
      ss.loadAndRegisterSheet(uri, ss.AGENT_SHEET);
    
      }
    };
    
    var scrollbar_size = {
    
      init: function() {
    
      var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
        @namespace html url("http://www.w3.org/1999/xhtml");\
        \
        scrollbar[orient="vertical"] scrollbarbutton {\
          min-width: 0 !important;\
          width: '+custom_scrollbar_size_value+'px !important;\
          max-width: '+custom_scrollbar_size_value+'px !important;\
        }\
        scrollbar[orient="horizontal"] scrollbarbutton {\
          min-height: 0 !important;\
          height: '+custom_scrollbar_size_value+'px !important;\
          max-height: '+custom_scrollbar_size_value+'px !important;\
        }\
        \
      '), null, null);
    
      ss.loadAndRegisterSheet(uri, ss.AGENT_SHEET);
    
      }
    };
    
    var floating_scrollbars = {
    
      init: function() {
    
      var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
        @namespace html url("http://www.w3.org/1999/xhtml");\
        \
        scrollbar {\
          position: relative !important;\
          z-index: 1000000000 !important;\
        }\
        scrollbar[orient="vertical"],\
        scrollbar[orient="horizontal"],\
        scrollbar, scrollcorner {\
          background-color: transparent !important; \
          background-image: unset !important; \
        }\
        scrollbar[orient="vertical"] {\
          -moz-margin-start: -'+custom_scrollbar_size_value+'px !important;\
          width: '+custom_scrollbar_size_value+'px !important;\
        }\
        scrollbar[orient="horizontal"] {\
          margin-top: -'+custom_scrollbar_size_value+'px !important;\
          height: '+custom_scrollbar_size_value+'px !important;\
        }\
        \
      '), null, null);
    
      ss.loadAndRegisterSheet(uri, ss.AGENT_SHEET);
    
      }
    };
    
    var scrollbar_opacity = {
    
      init: function() {
    
      var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
        @namespace html url("http://www.w3.org/1999/xhtml");\
        \
        scrollbar {\
          opacity: '+custom_opacity_value+' !important;\
        }\
        \
      '), null, null);
    
      ss.loadAndRegisterSheet(uri, ss.AGENT_SHEET);
    
      }
    };
    
    var remove_scrollbars = {
    
      init: function() {
    
      var uri = Services.io.newURI("data:text/css;charset=utf-8," + encodeURIComponent('\
        \
        @namespace html url("http://www.w3.org/1999/xhtml");\
        \
        scrollbar, scrollcorner {\
          display: none !important;\
          visibility: collapse !important;\
        }\
        \
      '), null, null);
    
      ss.loadAndRegisterSheet(uri, ss.AGENT_SHEET);
    
      }
    };
    
    // enable settings as configured above
    if(enable_custom_scrollbars==true) custom_scrollbars.init();
    if(cs_buttons_as_arrows==true && hide_scrollbars==false) cs_scrollbars_scrollbar_button_arrows.init();
    if(cs_arrows_on_buttons==true && cs_buttons_as_arrows==false && hide_scrollbars==false) cs_scrollbars_arrows_on_buttons.init();
    if(hide_scrollbar_buttons==true) scrollbar_buttons.init();
    if(custom_scrollbar_size==true) scrollbar_size.init();
    if(enable_scrollbars_on_top_of_webcontent==true) floating_scrollbars.init();
    if(custom_scrollbar_opacity==true) scrollbar_opacity.init();
    if(hide_scrollbars==true) remove_scrollbars.init();
    Alles anzeigen

    Wenn du aber bisher noch nicht Benutzerskripte genutzt hast, musst du erste Vorbereitungen treffen, die hier beschrieben sind:

    userChrome.js/userChrome at master · Endor8/userChrome.js
    Skripte für die Firefox-Erweiterung userChromeJS. Contribute to Endor8/userChrome.js development by creating an account on GitHub.
    github.com
  • Firefox auf einmal Halb Englisch/Halb Deutsch

    • milupo
    • 25. September 2021 um 15:44

    Osmium  Azrael199 Welche Antivirusprogramme verwendet ihr? Wie schon weiter oben geschrieben, können diese Firefox aktualisieren. Das solltet ihr im entsprechenden Programm unbedingt deaktivieren.

  • Firefox auf einmal Halb Englisch/Halb Deutsch

    • milupo
    • 25. September 2021 um 15:25
    Zitat von Osmium

    Aber die Erweiterungen waren weg, einige Einstellungen sind verstellt, Skripte für den engeren Zeilenabstand muss ich wieder einbauen, Suchleiste und Lesezeichen sind verschwunden... Ich habe noch nicht alles gefunden. Das wird mich heute Abend wohl eine Zeit beschäftigen.

    Nein, Firefox hat wahrscheinlich ein neues Profil angelegt. Seit Fx 67 gibt es für jede Installation ein eigenes Profil. Gib about:profiles in die Adressleiste ein und schaue nach, ob Firefox das richtige Profil verwendet.

  • Firefox auf einmal Halb Englisch/Halb Deutsch

    • milupo
    • 25. September 2021 um 15:18
    Zitat von Dharkness

    Nein, ich meinte die Vorbereitungen, damit die Scripte überhaupt funktionieren, nicht die Scripte selbst, denn die liegen ja eh im Profil.

    Das ist doch aber auch überhaupt kein Problem. Einen Ordner und zwei Dateien zu kopieren, sollte wohl kein Problem sein.

  • Firefox auf einmal Halb Englisch/Halb Deutsch

    • milupo
    • 25. September 2021 um 14:43

    2002Andreas PSI ist schon etwa drei Jahre tot. Dieses uralte Programm sollte niemand mehr nutzen.

  • Appmenu und extras_config_menu Scripte funktionieren nicht

    • milupo
    • 25. September 2021 um 00:53

    Kein Problem. Da bist du nicht der Einzige, der darüber gestolpert ist. Manchmal kann man das auch ganz gut erkennen. Es gibt eine ganze Reihe Skripts von japanischen Autoren, wo dann auch zumindest am Anfang bei den Kommentaren der Text in Japanisch ist. Wenn man da nur Fragezeichen oder irgendetwas Kryptisches sieht, ist das ein Zeichen, dass da etwas mit der Zeichenkodierung nicht stimmt. Aber nicht immer ist es so offensichtlich.

    Wie dem auch sei, Hauptsache dein Problem ist gelöst. Ja noch besser, du hast es selbst lösen können. Und wir haben gern geholfen und hätten es auch, wenn nötig, weiter getan.

  • Appmenu und extras_config_menu Scripte funktionieren nicht

    • milupo
    • 24. September 2021 um 20:01
    Zitat von David44

    'urlbar' bewirkt übrigens genauso wenig wie 'menu'.

    ja, urlbar ist veraltet, vor einiger Zeit wurde die Adressleiste von Mozilla umgebaut. Das sollte mit 'urlbar-container' funktionieren. Da erscheint dann das Symbol rechts neben der Adressleiste. menu legt - wie ich schon geschrieben habe und 2002Andreas es mit einem Bildschirmfoto belegt hat - den Eintrag Config Menü im Menü Extras an.

  • Im Script "Appmenu.uc.js" eine Trennlinie im Submenü "Firefox Funktionen" einfügen, wie geht das?

    • milupo
    • 24. September 2021 um 19:27

    Ja, gerade gesehen, hat sich überschnitten. Kannst du Beitrag #33 mal noch rüberschieben? Danke.

  • Appmenu und extras_config_menu Scripte funktionieren nicht

    • milupo
    • 24. September 2021 um 19:25
    Zitat von David44

    Beides schon probiert, leider ändert sich nichts.

    "userChrome.ignoreCache = true;" in userChrome.js sollte das tun, oder? Außerdem verwende ich RestartFirefoxButtonM.uc.js v. 0.3, das tut das angeblich auch.

    Ja RestartFirefoxButtonM.uc.js leert den Skript-Cache, wenn du mit der rechten Maustaste auf dessen Symbol klickst. Wenn andere Skripte funktionieren, liegt das Problem auch nicht in der userChrome.js.

  • Appmenu und extras_config_menu Scripte funktionieren nicht

    • milupo
    • 24. September 2021 um 19:22

    Stelle bitte den Inhalt deines Skriptes hier ein: Klicke dazu in der Symbolleiste des Antwortfensters auf das Symbol </>. Es öffnet sich ein Code-Kasten mit dem Wort Quellcode. Klicke auf dieses Wort. Jetzt wird ein Fenster geöffnet. Klappe dort bei Syntax-Hervorhebung die Auswahlliste aus und wähle JavaScript aus. Klicke dann unten auf die Schaltfläche Speichern. Das Fenster wird geschlossen. Jetzt steht im Code-Kasten JavaScript statt Quellcode.

    Kopiere jetzt den Inhalt deines Skriptes in den Kasten hinein. Wenn du danach noch etwas schreiben willst, passe auf, dass du außerhalb des Code-Kastens schreibst.

  • Wofür sind die beiden META-INF Ordner im Firefox Programm-Verzeichnis zuständig?

    • milupo
    • 24. September 2021 um 18:17
    Zitat von ^L^

    über den MultiLoader.exe Portable-Starte

    Klingt nach dem portablen Firefox von Zitronella:

    Index of /dateien/Programme/

  • Im Script "Appmenu.uc.js" eine Trennlinie im Submenü "Firefox Funktionen" einfügen, wie geht das?

    • milupo
    • 24. September 2021 um 14:45
    Zitat von Dharkness

    Dankeschön.

    Gern geschehen.

  • Appmenu und extras_config_menu Scripte funktionieren nicht

    • milupo
    • 24. September 2021 um 14:27
    Zitat von David44

    Done. Keine Änderung.

    Du hast beim Neustarten von Firefox den Skript-Cache geleert?

  • Wofür sind die beiden META-INF Ordner im Firefox Programm-Verzeichnis zuständig?

    • milupo
    • 24. September 2021 um 12:25

    Den Ordner META-INF mit diesen Dateien gibt es übrigens auch in den xpi von Erweiterungen.

  • Mozilla veröffentlicht Firefox 92.0.1

    • milupo
    • 24. September 2021 um 11:46
    Zitat von Sören Hentzschel

    Suchleiste ist technisch der korrekte Begriff. Der Begriff Adressleiste bezeichnet ja auch nur das Feld und nicht die komplette Zeile - die heißt Navigations-Symbolleiste.

    Für mich wäre dann auch der Begriff Suchfeld und Adressfeld technisch korrekt und auch zutreffender. Dass sich die Übersetzer an das Englisch Original halten, ist klar, mache ich ja für Sorbisch nach Möglichkeit auch. Ich verwende von jeher schon adresowe polo „Adressfeld“, pytanske polo „Suchfeld“ (searchbar) und pytanska lajsta „Suchleiste“ (findbar). Aber ich bin der einzige Übersetzer und kann das erst einmal immer so übersetzen, wie ich es in dem Moment für am passendsten halte. Und hier war es mir wichtig, auch bei der Übersetzung zwischen searchbar und findbar klar zu unterscheiden.


    Zitat von Dharkness

    Wäre das nicht eher "Suchen im Internet"?

    Das würde nicht das Element bezeichnen, sondern den Zweck des Elements: die searchbar für die Websuche und die findbar für die Textsuche. Aber diese Benennungen (label-Element) gibt es erst einmal gar nicht bei beiden und sie sind auch untauglich, um ein Element der Firefox-Oberfläche anzusprechen.

  • Im Script "Appmenu.uc.js" eine Trennlinie im Submenü "Firefox Funktionen" einfügen, wie geht das?

    • milupo
    • 24. September 2021 um 11:37
    Zitat von Dharkness

    Ich hatte das auch aktiviert, aber es funktionierte nicht, auch nach einem Neustart mit geleertem Scriptcache.

    Bei den Neustart-Skripten hatte sich mal eine Befehlszeile geändert. Suche mal im Appmenu-Skript nach name: 'Neustart',. Bei meiner Version ist das in Zeile 136. Darunter, bei mir in Zeile 137, muss Folgendes stehen:

    JavaScript
    command: "Services.appinfo.invalidateCachesOnRestart() || Services.startup.quit(Ci.nsIAppStartup.eRestart | Ci.nsIAppStartup.eAttemptQuit);",
  • Mozilla veröffentlicht Firefox 92.0.1

    • milupo
    • 24. September 2021 um 11:21

    Nun ja, Suchfeld und Suchleiste sind verschiedene, klare unmissverständliche und prägnante Begriffe. Da ist nichts umständlich. Hier müssen sich nur die Übersetzer einigen. Es wird vielleicht dann einige Zeit etwas irritierend sein, dass sich da etwas geändert hat. Aber irgendwann gäbe es keine Missverständnisse mehr, obwohl ich manchmal den Eindruck habe, dass manche Nutzer nicht so richtig wissen, wie die Elemente der Firefox-Oberfläche heißen. Aber das ist eine andere Sache.

  • Appmenu und extras_config_menu Scripte funktionieren nicht

    • milupo
    • 24. September 2021 um 00:32
    Zitat von David44

    auch ganz ohne userChrome.css

    Die userChrome.css hat mit Benutzerskripten nichts zu tun. Die ist für CSS-Codes.

    Zitat von David44

    extras_config_menu.uc.js (1.0.20190504) steht: warpmenuto: 'menu',

    Die Menüzeile ist natürlich eingeblendet. Aber die geht von "Datei" bis "Hilfe", egal welches Script da existiert.

    Bei warpmenuto: 'menu' müsstest du im Menü Extras einen Menüeintrag Config Menü haben.

    Und denke daran, wenn du jetzt irgendetwas im Skript änderst, lass Firefox den Skript-Cache löschen, wenn du ihn neu startest. Ansonsten wirkt die Änderung u. U. nicht.

  • Mozilla veröffentlicht Firefox 92.0.1

    • milupo
    • 24. September 2021 um 00:23

    Oben ist aber eigentlich nur ein Suchfeld/Eingabefeld. Man gibt lediglich etwas ein. Unten ist die eigentliche Suchleiste. Da ist das Eingabefeld nur ein Teil davon. Aber Englisch verwendet hier jedesmal „bar“ Searchbar/Findbar.

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