為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Lockpref settings in ff602 not working as before?

  • 2 回覆
  • 1 有這個問題
  • 2 次檢視
  • 最近回覆由 mmiller

more options

In the past weve used local-settings.js and mozilla.cfg to lock settings on our workstations.. These settings dont seem to take effect in FF6 now.. Is there something I need to do differently?

Mozilla FireFox\defaults\pref\local-settings.js

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

Mozilla FireFox\mozilla.cfg

//Firefox Default Settings

pref(“browser.startup.homepage”,”http://www.wsd1.org“);

//disable default browser check
pref(“browser.shell.checkDefaultBrowser”, false);

// disable application updates
pref(“app.update.enabled”, false);

// Do not redirect user to the homepage override URL
lockPref(“browser.startup.homepage_override.mstone”, “ignore”);
lockPref(“startup.homepage_override_url”, “http://www.wsd1.org”);
lockPref("network.proxy.autoconfig_url", "");
lockPref("network.proxy.ftp", "");
lockPref("network.proxy.ftp_port", 0);
lockPref("network.proxy.gopher", "");
lockPref("network.proxy.gopher_port", 0);
lockPref("network.proxy.http", "");
lockPref("network.proxy.http_port", 0);
lockPref("network.proxy.no_proxies_on", ".wsd1.org, .wsd, .wsdcatalogue.org, 10.0.0.0/8, localhost, 127.0.0.1");
lockPref("network.proxy.share_proxy_settings", false);
lockPref("network.proxy.socks", "");
lockPref("network.proxy.socks_port", 0);
lockPref("network.proxy.ssl", "");
lockPref("network.proxy.ssl_port", 0);
lockPref("network.proxy.type", 0);

Thanks,

In the past weve used local-settings.js and mozilla.cfg to lock settings on our workstations.. These settings dont seem to take effect in FF6 now.. Is there something I need to do differently? Mozilla FireFox\defaults\pref\local-settings.js <pre><nowiki> // pref(“general.config.obscure_value”, 0); pref(“general.config.filename”, “mozilla.cfg”);</nowiki></pre> Mozilla FireFox\mozilla.cfg <pre><nowiki>//Firefox Default Settings pref(“browser.startup.homepage”,”http://www.wsd1.org“); //disable default browser check pref(“browser.shell.checkDefaultBrowser”, false); // disable application updates pref(“app.update.enabled”, false); // Do not redirect user to the homepage override URL lockPref(“browser.startup.homepage_override.mstone”, “ignore”); lockPref(“startup.homepage_override_url”, “http://www.wsd1.org”); lockPref("network.proxy.autoconfig_url", ""); lockPref("network.proxy.ftp", ""); lockPref("network.proxy.ftp_port", 0); lockPref("network.proxy.gopher", ""); lockPref("network.proxy.gopher_port", 0); lockPref("network.proxy.http", ""); lockPref("network.proxy.http_port", 0); lockPref("network.proxy.no_proxies_on", ".wsd1.org, .wsd, .wsdcatalogue.org, 10.0.0.0/8, localhost, 127.0.0.1"); lockPref("network.proxy.share_proxy_settings", false); lockPref("network.proxy.socks", ""); lockPref("network.proxy.socks_port", 0); lockPref("network.proxy.ssl", ""); lockPref("network.proxy.ssl_port", 0); lockPref("network.proxy.type", 0);</nowiki></pre> Thanks,

由 cor-el 於 修改

被選擇的解決方法

I notice that you have some Unicode quotes in your listing : “ &#x201c; and ” &#x201d; You will have to change those to regular quotes (").

pref(“browser.startup.homepage”,”http://www.wsd1.org“);
pref(“app.update.enabled”, false);
lockPref(“browser.startup.homepage_override.mstone”, “ignore”);
lockPref(“startup.homepage_override_url”, “http://www.wsd1.org”);
從原來的回覆中察看解決方案 👍 0

所有回覆 (2)

more options

選擇的解決方法

I notice that you have some Unicode quotes in your listing : “ &#x201c; and ” &#x201d; You will have to change those to regular quotes (").

pref(“browser.startup.homepage”,”http://www.wsd1.org“);
pref(“app.update.enabled”, false);
lockPref(“browser.startup.homepage_override.mstone”, “ignore”);
lockPref(“startup.homepage_override_url”, “http://www.wsd1.org”);
more options

Thankyou!, for showing me again how much I need to check for the simple things first...