Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

搜索 | 用户支持

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

详细了解

Part of history deleted resp. gone

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

more options

Hello,

Despite the setting that Firefox never automatically deletes my history, it appears that a large part of my history was automatically deleted. Hence two questions: How can I set Firefox in the configuration so that my history is guaranteed to really never be deleted? Is there a way to recover the deleted part of my history, if so, how?

Thanks and best Regards, Andreas

Hello, Despite the setting that Firefox never automatically deletes my history, it appears that a large part of my history was automatically deleted. Hence two questions: How can I set Firefox in the configuration so that my history is guaranteed to really never be deleted? Is there a way to recover the deleted part of my history, if so, how? Thanks and best Regards, Andreas

所有回复 (9)

more options

Are you saying some history is removed but not all? What is being removed? One or more websites? No pattern?


Make sure you were not using Private Browsing.

Some programs can remove data from the browser profiles. Make sure to turn this off.

more options

I did in fact not tell the most important fact: It deleted my older history, 6 months of the oldest recorded history was removed.

more options

Firefox automatically calculates a maximum for the number of visited websites to keep, so it is possible that to exceed this maximum.

You can find this maximum if you click "Verify Integrity" on the "Help -> More Troubleshooting Information" (about:support) page.

more options

Thank you for this information.

How does Firefox calculate the maximum for the number of visited websites to keep and from which parameters is this maximum number dependant? Is it individual for every user, dependend of e.g. disk sice?

Is there a way to manually set this maximum to a different number, or to disable this maximum number resp. set it to infinity?

I really do not want to use any data of my history due to unpredictable automatisms.

more options
more options

As you can see under nsPlacesExpiration() (line-425), you can possibly create a new Number pref to override the calculated maximum, but be cautious not to go too high as I'm not sure how many digits it can accept and also places.sqlite might grow too big.

  • places.history.expiration.max_pages

What is the current size of your places.sqlite in the profile folder ?

You can use the button on the "Help -> More Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page (Root directory).

more options

I found that the thing I want to achieve is set in the variables places.history.expiration.transient_current_max_pages and places.history.expiration.max_pages in about:config. Can you provide more information about that?

And is there a chance to recover deleted parts of my history from places, and if so, how?

more options

places.history.expiration.transient_current_max_pages was a read-only pref that stored the maximum I posted above about. This pref is no longer supported as far as I know, but the places.history.expiration.max_pages pref is still honored when it exists (i.e. you created it as a number pref).

more options

AndiDee said

. . . is there a chance to recover deleted parts of my history from places, and if so, how?

The bookmarks are backed up automatically. Sorry to say, history is not.