Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Learn More

What command can I put into Channel-prefs.js file to enable "Override automatic cache management.

  • 1 odpověď
  • 1 má tento problém
  • 10 zobrazení
  • Poslední odpověď od cor-el

more options

I am trying to build a CHannel-prefs.js file that I can deploy via script to 300 non-domain laptops. I need to change the firefox to have cach size 1024MB but the following two commands are not changing it.

pref("browser.cache.disk.capacity", 1024000); pref("browser.cache.disk.max_entry_size", -1)

I am trying to build a CHannel-prefs.js file that I can deploy via script to 300 non-domain laptops. I need to change the firefox to have cach size 1024MB but the following two commands are not changing it. pref("browser.cache.disk.capacity", 1024000); pref("browser.cache.disk.max_entry_size", -1)

Všechny odpovědi (1)

more options

You can use a mozilla.cfg file in the Firefox program folder to lock prefs or specify new (default) values.

Place a local-settings.js file in the defaults\pref folder where also the channel-prefs.js file is located to specify using mozilla.cfg.

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

These functions can be used in the mozilla.cfg file:

defaultPref();	// set new default value
pref();		// set pref, allow changes in current session
lockPref();	// lock pref, disallow changes

See: