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

搜索 | 用户支持

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

详细了解

I've lost everything I was working on when prefs.js overwrote itself.

  • 2 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 AndyTampa

more options

I was having a problem deleting an entry in the prefs.js file. It kept rewriting itself to what it had been before I deleted it. So I renamed it to see if it would get recreated entirely. It did get recreated, but it was not the same any more. It was completely different. So I renamed my copy back to the original file name. When I opened Firefox, it wrote over itself again with the completely different copy. I've now lost all my themes. My SessionManager add-on completely disappeared along with all my session information. All the tabs I had open are gone and I don't know what they were. I reinstalled SessionManager, but no sessions are found, not even the ones I had saved.

Can I recover my themes and sessions? Can I restore the old prefs.js file to the way it was.

I was having a problem deleting an entry in the prefs.js file. It kept rewriting itself to what it had been before I deleted it. So I renamed it to see if it would get recreated entirely. It did get recreated, but it was not the same any more. It was completely different. So I renamed my copy back to the original file name. When I opened Firefox, it wrote over itself again with the completely different copy. I've now lost all my themes. My SessionManager add-on completely disappeared along with all my session information. All the tabs I had open are gone and I don't know what they were. I reinstalled SessionManager, but no sessions are found, not even the ones I had saved. Can I recover my themes and sessions? Can I restore the old prefs.js file to the way it was.

被采纳的解决方案

I was so upset that I left. I went shopping. When I came back, the first thing I did was install the theme I had when everything went kablooie. Then I checked the registry to find any recent pages that Firefox may have gone to. No data was kept in the registry for recent pages. I installed my Session Manager and found a button in the TabMix options to convert the sessions to Session Manager format. I chose to find the file to convert. I had gone into the profile and found a session.rdf file that appeared to have my opened tabs listed. I pointed to that file and I was given 5 sessions to convert. I converted all of them.

I still couldn't get the session manager to work as it always had. The icon on my toolbar never woke up and was unusable. After looking at my notes from a previous problem, I found that I haven't had the Session Manager installed. I remembered that Session Manager had been included in the latest version of Tab Mix. I disabled my Session Manager add-on and used the one built into Tab Mix. I deselected the option to use Firefox's built in session restore and now my opened tabs are back and it is behaving as it was before.

I've checked all my add-ons and plug-ins to a list I had from a previous mess-up and it appears I haven't lost any of them after all. I then went to add the themes back that I had lost and they were all back. I hadn't even tried getting them back yet.

I've just checked my prefs.js file and it appears to be the one I had before the problem arose. I have no explanation as to why everything came back. It might even be divine intervention. It's working now and I'm thrilled.

Now if I can just get all that time back.....

定位到答案原位置 👍 0

所有回复 (2)

more options

Which security software (firewall, anti-virus) do you have?

Some security software may protect files in the Firefox Profile Folder against changes. That may also be the cause of the changes and disappearance to the other data.

See also:

more options

选择的解决方案

I was so upset that I left. I went shopping. When I came back, the first thing I did was install the theme I had when everything went kablooie. Then I checked the registry to find any recent pages that Firefox may have gone to. No data was kept in the registry for recent pages. I installed my Session Manager and found a button in the TabMix options to convert the sessions to Session Manager format. I chose to find the file to convert. I had gone into the profile and found a session.rdf file that appeared to have my opened tabs listed. I pointed to that file and I was given 5 sessions to convert. I converted all of them.

I still couldn't get the session manager to work as it always had. The icon on my toolbar never woke up and was unusable. After looking at my notes from a previous problem, I found that I haven't had the Session Manager installed. I remembered that Session Manager had been included in the latest version of Tab Mix. I disabled my Session Manager add-on and used the one built into Tab Mix. I deselected the option to use Firefox's built in session restore and now my opened tabs are back and it is behaving as it was before.

I've checked all my add-ons and plug-ins to a list I had from a previous mess-up and it appears I haven't lost any of them after all. I then went to add the themes back that I had lost and they were all back. I hadn't even tried getting them back yet.

I've just checked my prefs.js file and it appears to be the one I had before the problem arose. I have no explanation as to why everything came back. It might even be divine intervention. It's working now and I'm thrilled.

Now if I can just get all that time back.....