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!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

When FF30 restores a session it truncates each tab’s “back” history to the 10 most recent pages. What happened?

  • 3 ردود
  • 3 have this problem
  • 1 view
  • آخر ردّ كتبه cor-el

more options

Previously FF would save all the previously visited pages up to the max specified in about:config (usually 50), but not it limits the number of "back" links to 10 + the current page. Addons like Session Manager have also been affected as any new session saved includes only the 10 most recent visited links. With FF's propensity to crash this is a major issue for me losing my browsing history.

Previously FF would save all the previously visited pages up to the max specified in about:config (usually 50), but not it limits the number of "back" links to 10 + the current page. Addons like Session Manager have also been affected as any new session saved includes only the 10 most recent visited links. With FF's propensity to crash this is a major issue for me losing my browsing history.

All Replies (3)

more options

Ten seems low to me, but I haven't tested.

Meanwhile, could you confirm that the per-tab history depth of 50 has not been lowered?

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box above the list, type or paste sess and pause while the list is filtered

(3) Scan down for the browser.sessionhistory.max_entries preference, which as you point out has a default value of 50.

(If you need to restore it to its original value, you can right-click > Reset it. Or you can double-click to enter a different value.)

more options

Okay, I see now. There are some new preferences that you will need to adjust.

(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.

(2) In the search box that appears above the list, type or paste sess and pause while the list is filtered

(3) Double-click the browser.sessionstore.max_serialize_back preference (default=10) and enter the desired number of pages you want to be able to go Back in a restored tab. I haven't checked the source to see whether there is a limit.

(4) Double-click the browser.sessionstore.max_serialize_forward preference (default=-1) and enter the desired number of pages you want to be able to go Forward in a restored tab. I haven't checked the source to see whether there is a limit.

Note to self: Bug 943339

Modified by jscher2000 - Support Volunteer

more options

See also:

  • bug 943339 - [Session Restore] Cap the amount of history we save

  • resource:///defaults/preferences/firefox.js
// number of back button session history entries to restore (-1 = all of them)
pref("browser.sessionstore.max_serialize_back", 10);
// number of forward button session history entries to restore (-1 = all of them)
pref("browser.sessionstore.max_serialize_forward", -1);

Modified by cor-el