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

搜索 | 用户支持

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

详细了解

How do I extend the depth of the links in the "back" button?

  • 3 个回答
  • 2 人有此问题
  • 10 次查看
  • 最后回复者为 cor-el

more options

I needed to access the initial webpage URL of a site I was exploring. I had hundreds of URLs from this site and could not find the link in my history.

I naturally used the "back" button, but realized it only went back 10 links. Is there a way to increase the number of links shown, under Foxy's advanced options?

I needed to access the initial webpage URL of a site I was exploring. I had hundreds of URLs from this site and could not find the link in my history. I naturally used the "back" button, but realized it only went back 10 links. Is there a way to increase the number of links shown, under Foxy's advanced options?

被采纳的解决方案

You should be able to go back 50 pages. You can modify the value of this pref on the about:config page:

  • browser.sessionhistory.max_entries = 50 (default)

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Note that session restore only stores a limited amount of page.


  • resource:///defaults/pref/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);
定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

You should be able to go back 50 pages. You can modify the value of this pref on the about:config page:

  • browser.sessionhistory.max_entries = 50 (default)

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

Note that session restore only stores a limited amount of page.


  • resource:///defaults/pref/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);
more options

Two footnotes:

(1) The Library dialog (Ctrl+Shift+h) will show all the URLs you visited on the site -- you can enter part of the site name/address in the search box at the upper right to filter it down. However, the URLs are sorted by the most recent visit so if you circled back through the first page you visited, it will not be the last/oldest on the list any more.

(2) If you close Firefox and then restore your previous session, some of your back/forward button history is discarded.

more options

Note that I addressed (2) in the last part of my reply about browser.sessionstore.max_serialize prefs. and that only the back history is affected unless you modify these prefs.