搜索 | 用户支持

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

详细了解

In FF4.1 program default preferences seem to be missing

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

more options

I recently updated to FF4.1, retaining all User_Prefs from previous version. I now need to reset Prefs to program defaults usually stored in C:\Program Files\Mozilla Firefox\defaults\profile (in WindowsXP) but "Profile" is not there. Has it moved to a new location in FF4? Or has a recent Trojan destroyed or relocated it? Where "Profile" should be, the "defaults" folder contains only 1 folder named "pref". This in turn contains only 1 file "channel-prefs.js" whose action I do not understand. Its text is as follows:- //@line 2 "e:\builds\moz2_slave\rel-2.0-w32-bld\build\browser\app\profile\channel-prefs.js" pref("app.update.channel", "release"); So, my questions are, What is this Script doing? What has become of the program default preferences? What should I do next?

I recently updated to FF4.1, retaining all User_Prefs from previous version. I now need to reset Prefs to program defaults usually stored in C:\Program Files\Mozilla Firefox\defaults\profile (in WindowsXP) but "Profile" is not there. Has it moved to a new location in FF4? Or has a recent Trojan destroyed or relocated it? Where "Profile" should be, the "defaults" folder contains only 1 folder named "pref". This in turn contains only 1 file "channel-prefs.js" whose action I do not understand. Its text is as follows:- ''//@line 2 "e:\builds\moz2_slave\rel-2.0-w32-bld\build\browser\app\profile\channel-prefs.js" pref("app.update.channel", "release");'' So, my questions are, What is this Script doing? What has become of the program default preferences? What should I do next?

所有回复 (3)

more options

There are no defaults stored in a file that you need to access.
If you delete the file prefs.js in the Firefox Profile Folder then all prefs are automatically reset to the default values.

more options

Thank you, cor-el. You are quite right. The prefs appeared all reset to default values. What is puzzling however is that the first reference you quote insists that the default values are held in the file "Profiles" in the Installation Directory - which in my case is missing. Perhaps they are copied to another location after installation. I did not so much need access to a "defaults" file than to know that it was there, before deleting prefs.js, as the Trojan to which I referred had already deleted, modified or replaced various prefs which it hid around the system. Renewed thanks. Everything works fine now.

more options

The default files are stored in one large container archive (omni.jar) in the installation folder in Firefox 4 and no longer as separate files in the default folder, but you can still create a defaults\profile folder to initialize a new profile folder if needed.