In FF4.1 program default preferences seem to be missing
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?
Semua Balasan (3)
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.
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.
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.