having trouble getting mozilla.cfg to work
I keep getting failed to read mozilla.cfg error. i have local-settings saved in default/pref and it contains: pref("general.config.obscure_value", 0); pref("general.config.filename", "mozilla.cfg"); then i have a plain text mozila.cfg file saved in the same place and in the base mozilla folder it only contains the following: // set Firefox Default homepage defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=https://www.yahoo.com");
I have also tried a different version with: pref("browser.startup.homepage", http://www.yahoo.com);
some help would be much apprecated
Chosen solution
A "failed to read mozilla.cfg error" means that either Firefox doesn't find the mozilla.cfg or the file has an error.
Make sure mozilla.cfg is a CFG file and doesn't have a hidden .txt file extension. The .js file in "defaults/pref" is working because otherwise Firefox wouldn't search for mozilla.cfg, but you can still try to add a comment line (//) at the start of the file like you have in mozilla.cfg.
Ler a resposta no contexto 👍 2All Replies (2)
Chosen Solution
A "failed to read mozilla.cfg error" means that either Firefox doesn't find the mozilla.cfg or the file has an error.
Make sure mozilla.cfg is a CFG file and doesn't have a hidden .txt file extension. The .js file in "defaults/pref" is working because otherwise Firefox wouldn't search for mozilla.cfg, but you can still try to add a comment line (//) at the start of the file like you have in mozilla.cfg.
thanks so much. i kept seeing everywhere that the mozila.cfg file was just an example name and that it should be saved as a plain .txt file. thanks again.