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

搜索 | 用户支持

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

详细了解

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

  • 3 个回答
  • 3 人有此问题
  • 1 次查看
  • 最后回复者为 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.

所有回复 (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

由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);

由cor-el于修改