为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

mozilla.cfg doesn't work version 48

  • 5 个回答
  • 5 人有此问题
  • 7 次查看
  • 最后回复者为 smithd4

more options

Using the following doesn't do anything to the about:config settings in firefox:

mozilla.cfg with just the following:

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

This doesn't change the setting from true to false or dither it out as locked? Does this method not work for version 48?

I do have the local-settings.js file with the following under defaults/pref:

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

Help!!!

Using the following doesn't do anything to the about:config settings in firefox: mozilla.cfg with just the following: // lockPref("app.update.enabled", false); This doesn't change the setting from true to false or dither it out as locked? Does this method not work for version 48? I do have the local-settings.js file with the following under defaults/pref: // pref("general.config.filename", "mozilla.cfg"); pref("general.config.obscure_value", 0); Help!!!

被采纳的解决方案

I can't believe it, the problem was I needed to be using a single ' in the js file not regular double quotes " that I see on just about everything I have searched on. Arrrgh, very frustrating. It works now.  :-)

定位到答案原位置 👍 1

所有回复 (5)

more options

Have you always had the // at the beginning of those lines? In JavaScript, that would turn the line from a command into a comment, which should deactivate it. ??

more options

Everything I have read says to comment out the first line of the file...is that not correct?

more options

// is on its own line but the formatting in the question changed it to the same line.

more options

Oh, okay.

I'm still on Firefox 47 and haven't heard about any changes related to autoconfig in Firefox 48, so hopefully someone else knows what's going on.

more options

选择的解决方案

I can't believe it, the problem was I needed to be using a single ' in the js file not regular double quotes " that I see on just about everything I have searched on. Arrrgh, very frustrating. It works now.  :-)