How do I extend the depth of the links in the "back" button?
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);Read this answer in context 👍 1
All Replies (3)
الحل المُختار
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);
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.
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.