搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Mozilla.cfg not working when a string is added

  • 3 个回答
  • 1 人有此问题
  • 2 次查看
  • 最后回复者为 cor-el

more options

I am using a mozilla.cfg with the local-settings.js to edit about:config and the string lockPref("network.automatic-ntlm-auth.allow-non-fqdn",true); will not allow firefox to open. If I remove the string firefox works just fine. Any suggestions?

I am using a mozilla.cfg with the local-settings.js to edit about:config and the string lockPref("network.automatic-ntlm-auth.allow-non-fqdn",true); will not allow firefox to open. If I remove the string firefox works just fine. Any suggestions?

所有回复 (3)

more options

Can you post the full content of the mozilla.cfg file in case there is another problem with the file?

mozilla.cfg is run as a JavaScript file, so any error in the file will throw an exception and abort the execution.

I'm not having a problem with that line in mozilla.cfg, so I assume that something else is wrong.

由cor-el于修改

more options

here is my cfg file but I can remove the non-fqdn and it works fine

// lockPref("browser.startup.homepage", "");

lockPref("dom.disable_open_during_load",false);

lockPref("app.update.enabled",false);


lockpref("network.automatic-ntlm-auth.trusted-uris",") (I removed the domain's from here)

lockpref("network.automatic-ntlm-auth.allow-proxies", false);


lockPref("network.automatic-ntlm-auth.allow-non-fqdn",true);

由ryan.gernaat于修改

more options

I see two lines with lockpref() instead of lockPref(). Those lines won't work and cause an error. I assume that the trusted-uris value is enclosed in quotes, I only see one quote but you edited this line

lockpref("network.automatic-ntlm-auth.trusted-uris",") (I removed the domain's from here)
lockpref("network.automatic-ntlm-auth.allow-proxies", false);