為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

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.