X
Tap here to go to the mobile version of the site.

Support Forum

Prevent Firefox from auto-deleting my history. PLEASE HELP it's EMERGENCY! :(

Posted

Hello guys! For about a year so I changed my mainly web browser from Chrome to Firefox mainly because of one reason, auto-deleting. I have been happy with the browser for a bit over 1 year. But recently the browser have started to auto-delete my history. My first tabs with Firefox is no longer available for me and I find it very sad. :( I have tried everything to get it back, but nothing works.

But unfortunately it doesn't stop there. For everyday I use Firefox and store history history of the last day available on my history list gets deleted automatically without my permission. So I wonder is there a way to stop and prevent auto-deleting of history. Or does the history tab have a limit for how much history that can be stored. Is the limit really 1 year and approx. 3 months?

Before answering and helping me I can tell you guys that I have read a lot about this on net and even read questions related to this here on mozilla support. And I have turned off many of the obvious reasons like private browsing, auto-clear history after I close the application, etc. I mean I am pretty aware of all the usual reasons, but even so my history get deleted by itself day by day and I want to stop this.

Thanks in advance for all your help. Really appreciate it. :)

Regards Lonelywolf21

Hello guys! For about a year so I changed my mainly web browser from Chrome to Firefox mainly because of one reason, auto-deleting. I have been happy with the browser for a bit over 1 year. But recently the browser have started to auto-delete my history. My first tabs with Firefox is no longer available for me and I find it very sad. :( I have tried everything to get it back, but nothing works. But unfortunately it doesn't stop there. For everyday I use Firefox and store history history of the last day available on my history list gets deleted automatically without my permission. So I wonder is there a way to stop and prevent auto-deleting of history. Or does the history tab have a limit for how much history that can be stored. Is the limit really 1 year and approx. 3 months? Before answering and helping me I can tell you guys that I have read a lot about this on net and even read questions related to this here on mozilla support. And I have turned off many of the obvious reasons like private browsing, auto-clear history after I close the application, etc. I mean I am pretty aware of all the usual reasons, but even so my history get deleted by itself day by day and I want to stop this. Thanks in advance for all your help. Really appreciate it. :) Regards Lonelywolf21

Chosen solution

Firefox determines automatically how many pages can be kept without affecting the performance. You can see the current value of this maximum as the value of the read-only pref places.history.expiration.transient_current_max_pages on the about:config page. You can create a new integer pref named places.history.expiration.max_pages if you want to adjust the automatically calculates number of pages to keep. Be cautious though with modifying the value of this pref. Note that you can do a copy and paste of history items to a bookmarks folder.

See Marco Bonardo's blog about this subject:

Read this answer in context 1

Additional System Details

Installed Plug-ins

  • Adobe PDF Plug-In For Firefox and Netscape 15.20.20039
  • NPRuntime Script Plug-in Library for Java(TM) Deploy
  • Next Generation Java Plug-in 11.111.2 for Mozilla browsers
  • The plug-in allows you to open and edit files using Microsoft Office applications
  • Office Authorization plug-in for NPAPI browsers
  • NPWLPG
  • Shockwave Flash 23.0 r0
  • Adobe Shockwave for Director Netscape plug-in, version 12.2.5.195
  • 5.1.50901.0
  • VLC media player Web Plugin

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

More Information

FredMcD
  • Top 10 Contributor
4230 solutions 59034 answers

Helpful Reply

History and cookies can be removed or not recorded several ways;

  • 1) Running Firefox in Private Mode (nothing is recorded)
  • 2) Privacy settings; (Type about:preferences#privacy<enter> in the address bar.)
  • 3) Many disk cleaners and anti-virus type programs can remove data from browsers. Open their settings and have them leave the browsers alone.
  • 4) Mal-ware.
History and cookies can be removed or not recorded several ways; * 1) Running Firefox in Private Mode (nothing is recorded) * 2) Privacy settings; (Type '''about:preferences#privacy'''<enter> in the address bar.) * 3) Many disk cleaners and anti-virus type programs can remove data from browsers. Open their settings and have them leave the browsers alone. * 4) Mal-ware.
cor-el
  • Top 10 Contributor
  • Moderator
17425 solutions 157456 answers

Make sure that you aren't removing the history when you close Firefox.

If this doesn't apply you can check for problems with the places.sqlite database (bookmarks and history) in the Firefox profile folder.

You can also do this via the "Help -> Troubleshooting Information" page.

  • scroll down to the "Places Database" section

See also:

Make sure that you aren't removing the history when you close Firefox. *https://support.mozilla.org/kb/remove-recent-browsing-search-and-download-history If this doesn't apply you can check for problems with the <b>places.sqlite</b> database (bookmarks and history) in the Firefox profile folder. *https://addons.mozilla.org/firefox/addon/places-maintenance/ You can also do this via the "Help -> Troubleshooting Information" page. * scroll down to the "Places Database" section See also: *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file

Question owner

FredMcD said

History and cookies can be removed or not recorded several ways;
  • 1) Running Firefox in Private Mode (nothing is recorded)
  • 2) Privacy settings; (Type about:preferences#privacy<enter> in the address bar.)
  • 3) Many disk cleaners and anti-virus type programs can remove data from browsers. Open their settings and have them leave the browsers alone.
  • 4) Mal-ware.


Thanks for your reply, but I have already checked all these ones before this even started. And since I am afraid of loosing more history, I had to change and use chrome instead.

The only anti-virus program I use is Ad-aware and I didn't find anything there about interfering with my browser. It's strange it's starting now after almost a year. I don't think it's anti-virus or the disk cleaners because this is starting now. As I also mentioned in the question description above, the process continues. The more I use firefox, the more old history gets deleted. :(

''FredMcD [[#answer-940178|said]]'' <blockquote> History and cookies can be removed or not recorded several ways; * 1) Running Firefox in Private Mode (nothing is recorded) * 2) Privacy settings; (Type '''about:preferences#privacy'''<enter> in the address bar.) * 3) Many disk cleaners and anti-virus type programs can remove data from browsers. Open their settings and have them leave the browsers alone. * 4) Mal-ware. </blockquote> Thanks for your reply, but I have already checked all these ones before this even started. And since I am afraid of loosing more history, I had to change and use chrome instead. The only anti-virus program I use is Ad-aware and I didn't find anything there about interfering with my browser. It's strange it's starting now after almost a year. I don't think it's anti-virus or the disk cleaners because this is starting now. As I also mentioned in the question description above, the process continues. The more I use firefox, the more old history gets deleted. :(
FredMcD
  • Top 10 Contributor
4230 solutions 59034 answers

Lonelywolf21 said

It's strange it's starting now after almost a year

Believe it or not, some malware will just sit in the hard drive until it is triggered. Some by date, some via a signal . . . . .

'' Lonelywolf21 [[#answer-940513|said]]'' <blockquote> It's strange it's starting now after almost a year </blockquote> Believe it or not, some malware will just sit in the hard drive until it is triggered. Some by date, some via a signal . . . . .

Question owner

cor-el said

Make sure that you aren't removing the history when you close Firefox. If this doesn't apply you can check for problems with the places.sqlite database (bookmarks and history) in the Firefox profile folder. You can also do this via the "Help -> Troubleshooting Information" page.
  • scroll down to the "Places Database" section
See also:


Hi, thanks for your reply. I know you are trying to help, but I have already tried all these suggestion you mentioned. I can also say that only old download history + old history webpages gets deleted. I don't why, but as I already said before the more I download and the more pages I visit, the more old history and download history gets deleted.

This is very unfortunate and I don't know if this is only happens to me. But I am fully aware that this problem start occurring for about a week or two so.

''cor-el [[#answer-940501|said]]'' <blockquote> Make sure that you aren't removing the history when you close Firefox. *https://support.mozilla.org/kb/remove-recent-browsing-search-and-download-history If this doesn't apply you can check for problems with the <b>places.sqlite</b> database (bookmarks and history) in the Firefox profile folder. *https://addons.mozilla.org/firefox/addon/places-maintenance/ You can also do this via the "Help -> Troubleshooting Information" page. * scroll down to the "Places Database" section See also: *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file </blockquote> Hi, thanks for your reply. I know you are trying to help, but I have already tried all these suggestion you mentioned. I can also say that only old download history + old history webpages gets deleted. I don't why, but as I already said before the more I download and the more pages I visit, the more old history and download history gets deleted. This is very unfortunate and I don't know if this is only happens to me. But I am fully aware that this problem start occurring for about a week or two so.
FredMcD
  • Top 10 Contributor
4230 solutions 59034 answers

cor-el could it be his history file is too large, and old entries are being removed to make room for new entries?

'''cor-el''' could it be his history file is too large, and old entries are being removed to make room for new entries?
cor-el
  • Top 10 Contributor
  • Moderator
17425 solutions 157456 answers

Chosen Solution

Firefox determines automatically how many pages can be kept without affecting the performance. You can see the current value of this maximum as the value of the read-only pref places.history.expiration.transient_current_max_pages on the about:config page. You can create a new integer pref named places.history.expiration.max_pages if you want to adjust the automatically calculates number of pages to keep. Be cautious though with modifying the value of this pref. Note that you can do a copy and paste of history items to a bookmarks folder.

See Marco Bonardo's blog about this subject:

Firefox determines automatically how many pages can be kept without affecting the performance. You can see the current value of this maximum as the value of the read-only pref places.history.expiration.transient_current_max_pages on the about:config page. You can create a new integer pref named places.history.expiration.max_pages if you want to adjust the automatically calculates number of pages to keep. Be cautious though with modifying the value of this pref. Note that you can do a copy and paste of history items to a bookmarks folder. See Marco Bonardo's blog about this subject: * http://bonardo.net/mozilla/2012/02/13/places-got-async-expiration.html

Question owner

Lonelywolf21 said

FredMcD said
History and cookies can be removed or not recorded several ways;
  • 1) Running Firefox in Private Mode (nothing is recorded)
  • 2) Privacy settings; (Type about:preferences#privacy<enter> in the address bar.)
  • 3) Many disk cleaners and anti-virus type programs can remove data from browsers. Open their settings and have them leave the browsers alone.
  • 4) Mal-ware.


Thanks for your reply, but I have already checked all these ones before this even started. And since I am afraid of loosing more history, I had to change and use chrome instead.

The only anti-virus program I use is Ad-aware and I didn't find anything there about interfering with my browser. It's strange it's starting now after almost a year. I don't think it's anti-virus or the disk cleaners because this is starting now. As I also mentioned in the question description above, the process continues. The more I use firefox, the more old history gets deleted. :(


I see. I will run a deep scan with Ad-aware and see if it finds something. But I also notice something else that I find very strange. The size of the places.sqlite file. The size of it is 92 160 KB. The size have been the same for many days now. I have looked at it before and it usually change. I believe the solution lies with that file. Is there a way to increase the file size or is this the limit or is 92 160 KB the limit?

'' Lonelywolf21 [[#answer-940513|said]]'' <blockquote> ''FredMcD [[#answer-940178|said]]'' <blockquote> History and cookies can be removed or not recorded several ways; * 1) Running Firefox in Private Mode (nothing is recorded) * 2) Privacy settings; (Type '''about:preferences#privacy'''<enter> in the address bar.) * 3) Many disk cleaners and anti-virus type programs can remove data from browsers. Open their settings and have them leave the browsers alone. * 4) Mal-ware. </blockquote> Thanks for your reply, but I have already checked all these ones before this even started. And since I am afraid of loosing more history, I had to change and use chrome instead. The only anti-virus program I use is Ad-aware and I didn't find anything there about interfering with my browser. It's strange it's starting now after almost a year. I don't think it's anti-virus or the disk cleaners because this is starting now. As I also mentioned in the question description above, the process continues. The more I use firefox, the more old history gets deleted. :( </blockquote> I see. I will run a deep scan with Ad-aware and see if it finds something. But I also notice something else that I find very strange. The size of the '''places.sqlite''' file. The size of it is 92 160 KB. The size have been the same for many days now. I have looked at it before and it usually change. I believe the solution lies with that file. Is there a way to increase the file size or is this the limit or is 92 160 KB the limit?

Question owner

FredMcD said

cor-el could it be his history file is too large, and old entries are being removed to make room for new entries?

I thought the same, but how do you stop this. I recently found out that the places.sqlite file is 92 160 KB and it has been the same size every since this problem started. Now I wonder is that the limit for how much history Firefox can store. Can't the file exceed that beyond that?

''FredMcD [[#answer-940520|said]]'' <blockquote> '''cor-el''' could it be his history file is too large, and old entries are being removed to make room for new entries? </blockquote> I thought the same, but how do you stop this. I recently found out that the '''places.sqlite''' file is 92 160 KB and it has been the same size every since this problem started. Now I wonder is that the limit for how much history Firefox can store. Can't the file exceed that beyond that?

Question owner

cor-el said

Firefox determines automatically how many pages can be kept without affecting the performance. You can see the current value of this maximum as the value of the read-only pref places.history.expiration.transient_current_max_pages on the about:config page. You can create a new integer pref named places.history.expiration.max_pages if you want to adjust the automatically calculates number of pages to keep. Be cautious though with modifying the value of this pref. Note that you can do a copy and paste of history items to a bookmarks folder. See Marco Bonardo's blog about this subject:


I finally find the place were I could see how many pages I can store, but the problem is that I can't change the value either by modifying it or make a new integer as you said yourself. Is there another option to do that? :)

''cor-el [[#answer-940522|said]]'' <blockquote> Firefox determines automatically how many pages can be kept without affecting the performance. You can see the current value of this maximum as the value of the read-only pref places.history.expiration.transient_current_max_pages on the about:config page. You can create a new integer pref named places.history.expiration.max_pages if you want to adjust the automatically calculates number of pages to keep. Be cautious though with modifying the value of this pref. Note that you can do a copy and paste of history items to a bookmarks folder. See Marco Bonardo's blog about this subject: * http://bonardo.net/mozilla/2012/02/13/places-got-async-expiration.html </blockquote> I finally find the place were I could see how many pages I can store, but the problem is that I can't change the value either by modifying it or make a new integer as you said yourself. Is there another option to do that? :)
cor-el
  • Top 10 Contributor
  • Moderator
17425 solutions 157456 answers

You can read in the article that places.history.expiration.transient_current_max_pages is a read-only pref and you can't modify this maximum via that pref. Did you verify that you are exceeding this maximum?

You would have to create a new integer pref with the name places.history.expiration.max_pages and set the value of the pref to the desired number of history items like you can see in my post above. Preferences can be created on the about:config page via the right-click context menu: New -> Integer

You can read in the article that places.history.expiration.transient_current_max_pages is a read-only pref and you can't modify this maximum via that pref. Did you verify that you are exceeding this maximum? You would have to create a new integer pref with the name places.history.expiration.max_pages and set the value of the pref to the desired number of history items like you can see in my post above. Preferences can be created on the about:config page via the right-click context menu: New -> Integer

Question owner

cor-el said

You can read in the article that places.history.expiration.transient_current_max_pages is a read-only pref and you can't modify this maximum via that pref. Did you verify that you are exceeding this maximum? You would have to create a new integer pref with the name places.history.expiration.max_pages and set the value of the pref to the desired number of history items like you can see in my post above. Preferences can be created on the about:config page via the right-click context menu: New -> Integer

Hi again! First of all, happy new year! :) Unfourtnately, I have been pretty busy with real life so I hadn't so much time to use more time on this problem.

I made a new interger and wrote: places.history.expiration.max_pages. After importing a lot new history from chrome+app on phone it seems like the deletion have fourtnately stopped which is very good. Thanks you 1000 times really. I am really grateful for all your replies and help I got here. Now I am really satisfied. ^_^

If you don't mind, can I ask one last question. With making a new integer, do you know how long this new integer-file will last before deleting history. I think I have set the value on the maximum, but do you know if this could occur in the future again. I really want to avoid this. I mean is there a way to see when I almost reach the page limit? And if so, how do I solve it if it were going to happen again? Do I simply do the same procedure with making a new integer-file?

''cor-el [[#answer-941077|said]]'' <blockquote> You can read in the article that places.history.expiration.transient_current_max_pages is a read-only pref and you can't modify this maximum via that pref. Did you verify that you are exceeding this maximum? You would have to create a new integer pref with the name places.history.expiration.max_pages and set the value of the pref to the desired number of history items like you can see in my post above. Preferences can be created on the about:config page via the right-click context menu: New -> Integer </blockquote> Hi again! First of all, happy new year! :) Unfourtnately, I have been pretty busy with real life so I hadn't so much time to use more time on this problem. I made a new interger and wrote: places.history.expiration.max_pages. After importing a lot new history from chrome+app on phone it seems like the deletion have fourtnately stopped which is very good. Thanks you 1000 times really. I am really grateful for all your replies and help I got here. Now I am really satisfied. ^_^ If you don't mind, can I ask one last question. With making a new integer, do you know how long this new integer-file will last before deleting history. I think I have set the value on the maximum, but do you know if this could occur in the future again. I really want to avoid this. I mean is there a way to see when I almost reach the page limit? And if so, how do I solve it if it were going to happen again? Do I simply do the same procedure with making a new integer-file?
cor-el
  • Top 10 Contributor
  • Moderator
17425 solutions 157456 answers

What is the current value of places.history.expiration.max_pages?

How long this lasts would only depend upon how many pages you visit. Keep in mind that too many pages can slow down Firefox or even cause hangs or crashes. I would suggest to at least make a backup of your history (e.g. places.sqlite) and possibly bookmark backups in the bookmarkbackups folder as well.


http://www.nirsoft.net/utils/browsing_history_view.html

What is the current value of places.history.expiration.max_pages? How long this lasts would only depend upon how many pages you visit. Keep in mind that too many pages can slow down Firefox or even cause hangs or crashes. I would suggest to at least make a backup of your history (e.g. places.sqlite) and possibly bookmark backups in the bookmarkbackups folder as well. ---- http://www.nirsoft.net/utils/browsing_history_view.html

Question owner

cor-el said

What is the current value of places.history.expiration.max_pages? How long this lasts would only depend upon how many pages you visit. Keep in mind that too many pages can slow down Firefox or even cause hangs or crashes. I would suggest to at least make a backup of your history (e.g. places.sqlite) and possibly bookmark backups in the bookmarkbackups folder as well.

http://www.nirsoft.net/utils/browsing_history_view.html

Yeah, I did it right now. :) Thank for the tip. I think I have learned my lession. I actually don't mind if too much history makes the web browser a bit more slow.

I know most people doesn't care about these things, but I guess we all are different. In my case, I am a history freak. I love to see statistic of my history for as far I can go back. That's why I don't want it to be deleted.

Now that I have made all my points the only thing left is to thank you again and change the problems status to solved. :D

''cor-el [[#answer-949016|said]]'' <blockquote> What is the current value of places.history.expiration.max_pages? How long this lasts would only depend upon how many pages you visit. Keep in mind that too many pages can slow down Firefox or even cause hangs or crashes. I would suggest to at least make a backup of your history (e.g. places.sqlite) and possibly bookmark backups in the bookmarkbackups folder as well. ---- http://www.nirsoft.net/utils/browsing_history_view.html </blockquote> Yeah, I did it right now. :) Thank for the tip. I think I have learned my lession. I actually don't mind if too much history makes the web browser a bit more slow. I know most people doesn't care about these things, but I guess we all are different. In my case, I am a history freak. I love to see statistic of my history for as far I can go back. That's why I don't want it to be deleted. Now that I have made all my points the only thing left is to thank you again and change the problems status to solved. :D