搜尋 Mozilla 技術支援網站

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

Learn More

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

  • 3 回覆
  • 2 有這個問題
  • 114 次檢視
  • 最近回覆由 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.