Om de ûnderfining foar jo te ferbetterjen is tydlik de funksjonaliteit dan dizze website troch ûnderhâldswurk beheind. Wannear in artikel jo probleem net oplost en jo in fraach stelle wolle, kin ús stipemienskip jo helpe yn @FirefoxSupport op Twitter en /r/firefox op Reddit.

Sykje yn Support

Mij stipescams. Wy sille jo nea freegje in telefoannûmer te beljen, der in sms nei ta te stjoeren of persoanlike gegevens te dielen. Meld fertochte aktiviteit mei de opsje ‘Misbrûk melde’.

Mear ynfo

Dizze konversaasje is argivearre. Stel in nije fraach as jo help nedich hawwe.

mozilla.cfg not working

  • 5 antwurd
  • 1 hat dit probleem
  • 1 werjefte
  • Lêste antwurd fan cor-el

more options

Hello I have problems with my mozilla.cfg and autoconfig.js it looks like the .cfg does not work if i login with another windows user path: mozilla.cfg: C:\Program Files\Mozilla Firefox path: autoconfig.js : C:\Program Files\Mozilla Firefox\defaults\pref

what is wrong ?

Thanks

Hello I have problems with my mozilla.cfg and autoconfig.js it looks like the .cfg does not work if i login with another windows user path: mozilla.cfg: C:\Program Files\Mozilla Firefox path: autoconfig.js : C:\Program Files\Mozilla Firefox\defaults\pref what is wrong ? Thanks
Keppele skermôfbyldingen

Keazen oplossing

Note that the first two pref() lines in your mozilla.cfg file should be in your autoconfig.js file in defaults\pref folder.

//
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

autoconfig.js needs to use Unix line endings (LF instead of CR/LF). See also:

Dit antwurd yn kontekst lêze 👍 1

Alle antwurden (5)

more options

It looks like your files are probably saved as .txt files instead of the correct file extension. For example, since Microsoft Notepad says the file is called mozilla.cfg in the title bar, it's actually called mozilla.cfg.txt.

When you save a file with Microsoft Notepad, it will automatically save them as a .txt, even if you specify the extension, unless you save the file type as All files.

It's often hard to notice this, since Windows automatically hides the file extension unless you go to View in the Windows File Explorer and check File name extensions.

Remove the .txt file extensions and you should be fine.

Hope this helps.

more options

Keazen oplossing

Note that the first two pref() lines in your mozilla.cfg file should be in your autoconfig.js file in defaults\pref folder.

//
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

autoconfig.js needs to use Unix line endings (LF instead of CR/LF). See also:

Bewurke troch cor-el op

more options

the problem was the user profile in windows, not the config from mozilla, thanks

more options

Hello again

Today I installed Firefox 76 x64 with a new Windows 10 1909 18363

my mozilla.cfg is the same as at the beginning of this tread but the mozilla.cfg does not work if I test with general.config.filename and general.config.obscure_value I see the entrys check my attachments...

what is wrong ? Thanks

more options

You need this content in the autoconfig.js file that is placed in the "defaults\pref" directory where the channel-prefs.js file is located.

//
pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);
pref("general.config.sandbox_enabled", false);
  • autoconfig.cfg and autoconfig.js need to start with a comment line (//)
  • autoconfig.js needs to use Unix line endings (LF instead of CR/LF)

See also: