Firefox Start: Konfigurationsfehler/ Konfigurationsdatei konnte nicht gelesen werden. Bitte kontaktieren Sie Ihren System-Administrator.

  • Firefox-Version
    76.0.1
    Betriebssystem
    Windows 10

    Hallo, jedesmal wenn ich FireFox starte kommt diese meldung.

    "Konfigurationsfehler: Konfigurationsdatei konnte nicht gelesen werden. Bitte kontaktieren Sie Ihren System-Administrator." und muss immer auf ok drücken damit FF startet.

    Kann mir einer helfen, Bitte?


  • Hallo!

    In deinem Installationsordner befindet sich möglicherweise eine sogenannte, standardmässig nicht vorhandene, Konfigurationsdatei. Eine solche Datei heisst oft config.js, mozilla.js, firefox.js, mozilla.cfg, firefox.cfg oder ähnlich. Ist so eine Datei vorhanden, und wenn ja, wie heisst sie und was steht darin?

  • Hallo!

    In deinem Installationsordner befindet sich möglicherweise eine sogenannte, standardmässig nicht vorhandene, Konfigurationsdatei. Eine solche Datei heisst oft config.js, mozilla.js, firefox.js, mozilla.cfg, firefox.cfg oder ähnlich. Ist so eine Datei vorhanden, und wenn ja, wie heisst sie und was steht darin?

    C:programme/mozilla firefox

    "

    // config.js

    const Cu = Components.utils;

    try {

    Cu.import("resource://gre/modules/Services.jsm");

    Cu.import("resource://gre/modules/osfile.jsm");

    if (!Services.appinfo.inSafeMode) {

    let path = OS.Constants.Path.libDir;

    if (Services.appinfo.OS == 'Darwin') { // macOS

    path = OS.Path.join(OS.Path.dirname(path), "Resources");

    };

    var ucjsDirPath = OS.Path.join(path, "userChromeJS");

    path = OS.Path.join(ucjsDirPath, "main.js");

    let mainFileURI = OS.Path.toFileURI(path);

    Services.scriptloader.loadSubScript(mainFileURI, this, "UTF-8");

    };

    } catch(e) {

    Cu.reportError(e);

    };" steht da bei config.js

  • Im Installationsordner gibt es einen Unterordner \defaults\pref und der enthält die Datei channel-prefs.js. Enthält dieser Ordner noch weitere Dateien, und wenn ja, wie heissen sie und was steht darin?

  • Im Installationsordner gibt es einen Unterordner \defaults\pref und der enthält die Datei channel-prefs.js. Enthält dieser Ordner noch weitere Dateien, und wenn ja, wie heissen sie und was steht darin?

    "Datei channel-prefs.js" ist drinnen und

    Ordner:

    chrome

    config

    css

    image


    Datein

    autoconfig.js

    Spoiler anzeigen

    //

    pref("general.config.filename", "autoconfig.cfg");

    pref("general.config.obscure_value", 0);

    pref("general.config.sandbox_enabled", false);

    channel-prefs.js

    Spoiler anzeigen

    /* This Source Code Form is subject to the terms of the Mozilla Public

    * License, v. 2.0. If a copy of the MPL was not distributed with this

    * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

    //

    // This pref is in its own file for complex reasons. See the comment in

    // browser/app/Makefile.in, bug 756325, and bug 1431342 for details. Do not add

    // other prefs to this file.

    pref("app.update.channel", "release");


    config-prefs.js

    Spoiler anzeigen

    pref("general.config.obscure_value", 0);

    pref("general.config.filename", "config.js");

    pref("general.config.sandbox_enabled", false);


    userChrome.css

    Spoiler anzeigen

    #PersonalToolbar{

    --uc-bm-height: 20px; /* Might need to adjust if the toolbar has other buttons */

    --uc-bm-padding: 3px; /* Vertical padding to be applied to bookmarks */

    }

    :root[uidensity="compact"] #PersonalToolbar{ --uc-bm-padding: 1px }

    :root[uidensity="touch"] #PersonalToolbar{ --uc-bm-padding: 6px }

    #PersonalToolbar:not([customizing]){

    margin-bottom: calc(2px - var(--uc-bm-height) - 2 * var(--uc-bm-padding));

    transform: rotateX(90deg);

    transform-origin: top;

    transition: transform 135ms linear 48ms !important;

    z-index: 1;

    }

    #PlacesToolbarItems > .bookmark-item{ padding-block: var(--uc-bm-padding) !important; }

    /* SELECT BOOKMARKS TOOLBAR BEHAVIOR */

    /* Comment out or delete either one of these to disable that behavior */

    /* Show when urlbar is focused */

    #nav-bar:focus-within + #PersonalToolbar{ transform: rotateX(0) }

    /* Show when cursor is over the toolbar area */

    #navigator-toolbox:hover > #PersonalToolbar{ transform: rotateX(0) }


    :root[uidensity=compact] #navigator-toolbox {

    --nav-bar-height: 33px;

    --tab-min-height: 29px;

    }

    :root[uidensity=compact][extradragspace]:not([sizemode="normal"]) #navigator-toolbox {

    --nav-bar-height: 33px;

    --tab-min-height: 21px;

    }

    :root:not([uidensity]) #navigator-toolbox {

    --nav-bar-height: 39px;

    --tab-min-height: 33px;

    }

    :root:not([uidensity])[extradragspace]:not([sizemode="normal"]) #navigator-toolbox {

    --nav-bar-height: 39px;

    --tab-min-height: 25px;

    }

    :root[uidensity=touch] #navigator-toolbox {

    --nav-bar-height: 41px;

    --tab-min-height: 41px;

    }

    :root[uidensity=touch][extradragspace]:not([sizemode="normal"]) #navigator-toolbox {

    --nav-bar-height: 41px;

    --tab-min-height: 33px;

    }

    #navigator-toolbox {

    --tabbar-height: calc(var(--tab-min-height) + var(--space-above-tabbar));

    --trigger-area-height: 5px;

    }

    :root[chromehidden~="toolbar"] #navigator-toolbox {

    --tabbar-height: 0.1px;

    }

    #toolbar-menubar {

    margin-top: 0px !important; /* This is usually 0, but under Win7 can be given an extra 1px when not maximized */

    }

    /* Undo add of 4px extra margin on top of the tabs toolbar on Windows 7. */

    /* Note: Media -moz-os-version does not work in userChrome.css (https://bugzilla.mozilla.org/show_bug.cgi?id=1418963) */

    :root[sizemode="normal"][chromehidden~="menubar"] #TabsToolbar,

    :root[sizemode="normal"] #toolbar-menubar[autohide="true"][inactive] + #TabsToolbar {

    padding-top: var(--space-above-tabbar) !important;

    }


    }

    userContent.css

    Spoiler anzeigen

    /* Firefox Quantum userContent.css tweaks ********************************************************/

    /* code mostly taken from 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons **********/

    /* Github: https://github.com/aris-t2/customcssforfx ********************************************/

    /************************************************************************************************/

    /*************************************************************************************************

    [!] Firefox 68+ (look for '_fx68')

    - new 'alternative appearance' option

    - new 'alternative appearance' option (AERO background color)

    - new 'restore version number' option for active add-ons

    - new 'compact appearance' option

    - new 'more compact appearance' option

    - new 'compact categories' option

    - new 'replace menu popup with buttons' option

    - new 'replace button labels with icons' option

    - new 'colorized icon' option for 'replace button labels with icons' option

    - new 'show buttons on hover only' option

    - new 'hide manage/expand button' option

    - new 'hide report button' option

    - old add-ons manager > show 'version number for add-ons' does not work with the html based add-on manager

    - old add-ons manager > show 'last update date' does not work with the html based add-on manager

    - old add-ons manager > alternative appearance does not work with the html based add-on manager

    - old add-ons manager > compact appearance does not work with the html based add-on manager

    - most old 'other' add-ons manager settings do not work with the html based add-on manager

    --> use 'about:config > extensions.htmlaboutaddons.enabled > false' temporary workaround for the old settings

    [!] Firefox 69+

    - 'about:config > toolkit.legacyUserProfileCustomizations.stylesheets > true' (or custom styles will not be loaded)

    [!] Firefox 70+

    - 'about:config > extensions.htmlaboutaddons.enabled > false' workaround does not work anymore


    *************************************************************************************************/

    /*************************************************************************************************

    README

    Finding profile folder: address bar > about:support > Profile Folder > Open Folder

    CSS files and sub-folders belong into \PROFILEFOLDER\chrome\ directory.

    \chrome\config\

    \chrome\css\

    \chrome\image\

    \chrome\userChrome.css

    \chrome\userContent.css

    ENABLING options: remove the combination of / and * before '@import'

    DISABLING options: add the combination of / and * before '@import'

    FIREFOX BUGS (nothing CSS code can do about):

    - some '@import' calls might not work properly on macOS and Linux

    - some '@import' calls might not work properly, if multi-process mode (e10s) is disabled

    - in both cases CSS code has to be added to userContent.css file manually

    Some CSS tweaks won't work, if '@namespace' references are used inside .css files!

    All options have significant categories and names.

    GENERAL SUPPORT / DISCUSSION THREAD: http://github.com/Aris-t2/CustomCSSforFx/issues/211

    *************************************************************************************************/


    /************************************************************************************************/

    /* about:addons (settings split into different areas for Firefox 60-67, 68+ or 60-70+) **********/

    /************************************************************************************************/

    /* FIREFOX 68+ #################################################################################*/

    /* addons page appearance - [only use one at a time] (incl. version number & buttons) ***********/

    @import "./css/aboutaddons/addons_manager_alternative_appearance_fx68.css"; /**/

    /* @import "./css/aboutaddons/addons_manager_alternative_appearance_aero_fx68.css"; /**/ /* <-- AERO colors */

    /* version number for active add-ons [Fx 68+] ***************************************************/

    @import "./css/aboutaddons/addonlists_show_addon_version_number_fx68.css"; /**/

    /* compact item lists - [only use one at a time] ************************************************/

    /* @import "./css/aboutaddons/addonlists_compact_fx68.css"; /**/ /* best with alternative_appearance_fx68 */

    /* @import "./css/aboutaddons/addonlists_compact_more_compact_fx68.css"; /**/ /* best with alternative_appearance_fx68 */

    /* button settings (requires addons_manager_alternative_appearance_fx68) ************************/

    @import "./css/aboutaddons/addonlists_show_buttons_instead_of_menu_popup_fx68.css"; /**/

    @import "./css/aboutaddons/addonlists_hide_report_button_fx68.css"; /**/

    @import "./css/aboutaddons/addonlists_hide_manage_button_fx68.css"; /**/

    /* @import "./css/aboutaddons/addonlists_replace_button_labels_with_icons_fx68.css"; /**/

    /* @import "./css/aboutaddons/addonlists_colorized_button_icons_fx68.css"; /**/ /* requires replace_button_labels_with_icons option */

    /* @import "./css/aboutaddons/addonlists_only_show_buttons_on_hover_fx68.css"; /**/

    /* addons page appearance extra [requires one 'alternative appearance option' to be active] *****/

    /* @import "./css/aboutaddons/addons_manager_alternative_appearance_compact_categories_fx68.css"; /**/

    /* other settings *******************************************************************************/

    /* @import "./css/aboutaddons/addonlists_hide_recommended_icon_fx68.css"; /**/

    /* @import "./css/aboutaddons/addonlists_hide_allowed_in_private_windows_icon_fx68.css"; /**/


    /* FIREFOX 60-67 ###############################################################################*/

    /* NOTE: 'Version number for add-ons' will stop working soon when Mozilla drops XBL support. *****

    See https://bugzilla.mozilla.org/show_bug.cgi?id=1397874 *******************************/

    /* version number for add-ons [Fx 60-67] - [only use one at a time] *****************************/

    /* [!] version number's xml file now restores add-on 'description' on Firefox 64+ ***************/

    /* @import "./css/aboutaddons/addonlists_show_addon_version_number.css"; /**/

    /* @import "./css/aboutaddons/addonlists_show_addon_version_number_hide_description.css";

    /* show 'last updated' date for add-ons [Fx 60-67] - [only use one at a time] *******************/

    /* @import "./css/aboutaddons/addonlists_show_addon_date_last_updated.css"; /**/

    /* @import "./css/aboutaddons/addonlists_show_addon_date_last_updated_start_position.css"; /**/

    /* addons page appearance [Fx 60-67] - [only use one at a time] *********************************/

    /* @import "./css/aboutaddons/addons_manager_alternative_appearance.css"; /**/

    /* @import "./css/aboutaddons/addons_manager_alternative_appearance_aero.css"; /**/ /* <-- AERO colors */

    /* @import "./css/aboutaddons/addons_manager_alternative_appearance_v2.css"; /**/

    /* @import "./css/aboutaddons/addons_manager_alternative_appearance_v2_aero.css"; /**/ /* <-- AERO colors */

    /* addons page appearance extra [requires one 'alternative appearance option' to be active] *****/

    /* @import "./css/aboutaddons/addons_manager_alternative_appearance_compact_categories.css"; /**/

    /* compact item lists [Fx 60-67] - [only use one at a time] *************************************/

    /* @import "./css/aboutaddons/addonlists_compact.css"; /**/

    /* @import "./css/aboutaddons/addonlists_compact_more_compact.css"; /**/

    /* other settings [Fx 60-67] ********************************************************************/

    /* @import "./css/aboutaddons/addonlists_disabled_addons_colorized_icons.css"; /**/

    /* @import "./css/aboutaddons/addonlists_disabled_tag_hidden.css"; /**/

    /* @import "./css/aboutaddons/addonlists_only_show_buttons_on_hover.css"; /**/

    /* @import "./css/aboutaddons/addonlists_replace_button_labels_with_icons.css"; /**/

    /* @import "./css/aboutaddons/addonlists_move_button_to_start.css"; /**/

    /* @import "./css/aboutaddons/addonlists_green_dot_hidden.css"; /**/

    /* @import "./css/aboutaddons/details_page_alternative_content_order.css"; /**/

    /* @import "./css/aboutaddons/details_page_switch_banner_label_position_for_themes.css"; /**/

    /* @import "./css/aboutaddons/search_category_always_visible.css"; /**/ /* not for recent Fx versions */


    /* FIREFOX 60-70+ ##############################################################################*/

    @import "./css/aboutaddons/recentupdates_category_always_visible.css"; /**/

    @import "./css/aboutaddons/addonlists_private_browsing_notice_hidden.css"; /**/


    /************************************************************************************************/

    /* about:preferences ****************************************************************************/

    /************************************************************************************************/

    /* preferences page appearance - [only use one at a time] ***************************************/

    @import "./css/aboutpreferences/preferences_alternative_appearance.css"; /**/

    /* @import "./css/aboutpreferences/preferences_alternative_appearance_aero.css"; /**/ /* <-- AERO colors */

    /* @import "./css/aboutpreferences/preferences_alternative_appearance_v2.css"; /**/


    /************************************************************************************************/

    /* about:newtab / about:home ********************************************************************/

    /************************************************************************************************/

    /* a dark appearance for inbuilt 'Dark' theme is present by default in Firefox 61+ **************/

    /* @import "./css/aboutnewtab/dark_appearance.css"; /**/

    /* alternative background color for about:newtab/home pages 'Dark' theme present in Firefox 61+ */

    /* @import "./css/aboutnewtab/dark_appearance_alternative_background.css"; /**/


    /************************************************************************************************/

    /* about:config (Firefox 67+) *******************************************************************/

    /************************************************************************************************/

    /* @import "./css/aboutconfig/aboutconfig_compact_appearance.css"; /**/


    /************************************************************************************************/

    /* WEB CONTENT **********************************************************************************/

    /************************************************************************************************/

    /* top level image on white background - [only use one at a time] *******************************/

    /* [!] this settings can sometimes cause glitches ***********************************************/

    /* @import "./css/webcontent/toplevel_image_classic_v1.css"; /**/

    /* @import "./css/webcontent/toplevel_image_classic_v2.css"; /**/

    /* Screenshots - internal browser add-on ********************************************************/

    /* @import "./css/webcontent/screenshots_alternative_save_ui.css"; /**/

    /* CUSTOM SCROLLBARS VARIABLES (Firefox 63+ only) - EXPERIMENTAL ********************************/

    /* [!] Might not work on every page! This issue is for Mozilla to solve. ************************/

    /* [!] not compatible with custom scrollbar JavaScipt userChrome scripts ************************/

    /* [!] custom size values only compatible with 'web content' scrollbars at the moment ***********/

    /* [!] more info inside 'custom_scrollbar_appearance.css' file **********************************/

    /* @import "./config/custom_scrollbar_appearance.css"; /**/ /* <--- EXPERIMENTAL */

    /* Autofill forms (Firefox 67+ only) - disable CSS3 filter background ***************************/

    /* @import "./css/webcontent/autofill_forms_background_white.css"; /**/


    /************************************************************************************************/

    /************************************************************************************************/

    /************************************************************************************************/

  • Was steht in der autoconfig.js und was in der config-prefs.js?

    Hast du die config.js und die Dateien und Ordner in \defaults\pref selbst dort eingefügt und weisst du, wozu sie dienen?

    Nebenbei, das Zitieren des gesamten vorhergehenden Beitrags ist überflüssig, es bringt keinen zusätzlichen Nutzen.

  • Habe den inhalt nun in spoiler hinzugefügt.

    "Hast du die config.js und die Dateien und Ordner in \defaults\pref selbst dort eingefügt und weisst du, wozu sie dienen?"

    glaube ich nicht.

  • Die Dateien dienen dazu, das Aussehen und die Funktionen von Firefox gezielt zu erweitern oder zu verändern. Wenn das nicht deine ausdrückliche Absicht ist, lösche die config.js und im Ordner \defaults\pref alles mit Ausnahme der channel-prefs.js, die muss bleiben.

  • Lösche auch die config-prefs.js. Gibt es im Installationsordner auch eine Datei autoconfig.cfg ? Wenn ja, lösche die auch. Befinden sich im Installationsordner noch sonstige Dateien mit "config" oder "autoconfig" im Namen?

  • So habe bis auf config-prefs.js

    Die config-prefs.js brauchst du nur, wenn du Benutzerskripte verwendest. Tust du das?

    Übersetzer für Obersorbisch und Niedersorbisch auf pontoon.mozilla.org u.a. für Firefox, Firefox für Android, Firefox für iOS, Firefox Klar/Focus für iOS und Android, Thunderbird, Pootle, Django, LibreOffice, LibreOffice Onlinehilfe, WordPress

  • ich habe halt die Tableiste unter Lesezeichen ist auch ein skript oder?

    Das gibt es als CSS-Code und als Benutzerskript. Das Benutzerskript enthält nur folgende Zeilen:

    JavaScript
    (function() {
      var tabbar = document.getElementById('TabsToolbar');
      if (tabbar && !tabbar.collapsed) {
        tabbar.parentNode.parentNode.appendChild(tabbar);
      };
    })();

    Es ist in einer Datei mit der Endung .uc.js im Ordner chrome deines Profils. Zur Ausführung solcher .uc.js-Dateien ist unter anderem die Datei config-prefs.js im Installationsverzeichnis unter defaults/pref nötig.

    Übersetzer für Obersorbisch und Niedersorbisch auf pontoon.mozilla.org u.a. für Firefox, Firefox für Android, Firefox für iOS, Firefox Klar/Focus für iOS und Android, Thunderbird, Pootle, Django, LibreOffice, LibreOffice Onlinehilfe, WordPress