This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

In FF4.1 program default preferences seem to be missing

  • 3 ردود
  • 2 have this problem
  • 2 views
  • آخر ردّ كتبه 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?

All Replies (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.