Firefox参数修改后不能保存以及每次打开Firefox都会载入插件和升级页面的问题的解决办法
Sunday, December 7th, 2008 1,350 Views之所以取了这个这么长的名字是因为我实在是被这个问题折磨的太厉害,我也希望以后碰到这个问题的网友能够用中文搜索到这篇文章,不要和我一样总是为这个问题伤脑筋。
我也算是Firefox的老用户了,在firefox3之前从没碰到这个问题,现在把故障现象描述一下: 我习惯在Firefox主程序安装后把自己常用的插件一并安装,而且我安装的插件也比较多,大家知道安装插件成功后重启Firefox会载入插件的页面,Firefox升级后打开也会出现一个Firefox升级页面。我的问题是在一些时候安装了插件后或者Firefox升级后插件页面或者升级页面就像鬼附身了一样赶不走了,每次打开Firefox都会载入这些页面,重启电脑也没有作用,这个时候也会并发出现Firefox选项里所有参数都不能设置了,Firefox主页不能设置,标签不能设置,安全选项不能设置,私人数据不能设置,总之Firefox失灵了。
我开始一直认为是某些插件和Firefox3有冲突才会出现这个情况的,所以碰到那些插件的页面一直被载入我就忍痛禁掉或者删除这些插件,不过参数依然不能设置。到后来我碰到了Firefox升级后那个该死的升级页面也俯身了,这下没法禁止了,只能删除Firefox再重装,算下来从Firefox3释出只有几个月我已经愚蠢的重装了好多次,个中麻烦就不去说了,整个一部心酸血泪史。
不过今天我终于熬出头了,给我找到了Mozilla官方支持页面的解决办法,就是删除这个该死的 prefs.js 文件,这个文件不在Firefox安装目录下,在这里 : C:\Documents and Settings\Administrator\Application Data\Mozilla\Firefox\Profiles 下面,这个愚蠢的故事给我的教训就是一定要用英文关键字搜索中文搜不到的东西。Mozilla的原文在下面:
http://support.mozilla.com/en-US/kb/Preferences+are+not+saved
Preferences are not saved
Sometimes, your Firefox options may not be saved after you change them. For example, you may change a setting in the Options window only to have it set back to its previous value when you open the Options window again. This article may also apply if you find that after upgrading Firefox, a Firefox Updated tab opens to a page stating You’ve been updated to the latest version of Firefox every time you start Firefox. The possible causes and solutions vary depending on whether you are unable to save a few specific preferences or if no preferences save at all.
Specific preferences are not saving
If a specific setting in Firefox keeps resetting or you are unable to change a single setting but other settings save correctly, you may have one of the following issues.
Third-party programs changing Firefox settings
Some programs force Firefox to use certain settings. Below is a list of programs known to do this and actions you can take to make them stop forcing Firefox settings:
- Creative ZenCast changes Firefox’s user agent, interfering with Java - uninstall the program
- McAfee Privacy Service turns Firefox’s pop-up blocker off - see Pop-up blocker
- Norton 360 includes a “Firefox Privacy Cleanup” feature that, if enabled, overrides your Firefox Privacy settings and prevents you from keeping your Browsing History, Cookies or other private data between sessions. See Firefox Privacy Cleanup for more information on how to disable it.
User.js file overriding preferences
If you don’t have any of the above programs installed, or if you followed the suggestions and single preferences still aren’t being saved, you may have to edit Firefox’s configuration files yourself.
- From the menu at the top of the Firefox window, select File and then select the Exit menu item.
- Open your profile folder
- Open the file user.js with a text editor.
- If there is no user.js file, these steps won’t help you.
- Remove the lines for the options you want to be able to change. You can delete all the lines if you want to be able to change everything.
- Save the file and close the text editor.
You should now be able to change your Firefox settings.
Unable to save any preferences or settings
If none of the settings will save, you get the Firefox Updated tab every time you start Firefox or if you have tried the steps above with no effect, the file which Firefox uses to save your preferences may be locked or corrupted.
Locked preferences file
Firefox may be unable to write to the prefs.js file if it is write-protected.
- From the menu at the top of the Firefox window, select File and then select the Exit menu item.
- Open the Firefox profiles folder.
- For more information, see profile folder.
- Locate the prefs.js file (and, if present, the prefs.js.moztmp file).
- Right click on each file in turn and select Properties from the context menu. Check that under Attributes, there is no check in the box next to Read Only for either file.
- Delete any prefs-n.js files where n is a number (e.g. prefs-2.js).
- Restart Firefox. You should now be able to save preferences.
Corrupt preferences file
The prefs.js file may have become corrupted, preventing Firefox from writing to it. You can reset the file by deleting it. This will remove all your custom settings and settings for many extensions.
- From the menu at the top of the Firefox window, select File and then select the Exit menu item.
- Open the Firefox profiles folder.
- For more information, see profile folder.
- Locate the prefs.js file (and, if present, the prefs.js.moztmp file).
- Delete those files and any prefs-n.js files where n is a number (e.g. prefs-2.js).
- Restart Firefox. You should now have all your preferences reset.
Tags: error, firefox, preferences are not saving


一个FireFox的小花招,刚才用我上篇文章提到的代理访问wordpress.com在首页上看到的文章,只要在FireFox任意一个标签输入下面的地址回车后就会看到Firefox inside Firefox的奇妙效果





