搜尋 Mozilla 技術支援網站

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

了解更多

back button history

  • 5 回覆
  • 1 有這個問題
  • 6 次檢視
  • 最近回覆由 cor-el

more options

in previous versions, an extension allowed to increase the number of history entries in the back button. This tweak no longer works with version 60. Also, the config-entry browser.sessionhistory.max_entries has no effect on the number of entries shown when the back button is right-clicked. How is going back to the first page in a tab/window accomplished in the new firefox?

in previous versions, an extension allowed to increase the number of history entries in the back button. This tweak no longer works with version 60. Also, the config-entry browser.sessionhistory.max_entries has no effect on the number of entries shown when the back button is right-clicked. How is going back to the first page in a tab/window accomplished in the new firefox?

所有回覆 (5)

more options

I think this is the preference that you need to increase the "GoBack" context menu beyond the default of 10 items. browser.sessionstore.max_serialize_back

I believe that -1 makes to whatever the max stored "GoBack" pages for the tab are.

Based upon browser.sessionstore.max_serialize_forward which by default is -1 and older support answers I have found.

more options

Thanks for the quick answer.

However, I set browser.sessionstore.max_serialize_back to 200, but I see only the last 15 entries when right-clicking the back key. i.e. it does not work.

more options

The browser.sessionstore.max_serialize prefs apply to storing tab history data in sessionstore.jsonlz4.

I think that browser.sessionhistory.max_entries should still work.

It is of course possible that the Firefox version from the repositories that you use doesn't support this pref, so you can try to test this with the release from the Mozilla server.

more options

I couldn't find the right-mouse-click action in nsSHistory.cpp, so I cannot tell what should happen.

What does happen if i right-click on the back button: I get a maximum of 15 entries, independent of the values on the preferences variables. When I use the 15th, i.e. most backward, and repeat the action, I get 8 more. If the intermediate pages are still accessible, I can go back to the initial page in several steps. But if an intermediate page is no longer available (i.e. login required) I am lost.

Its the size of the drop-down menu that seems to limit the number of entries. This size is 15 (and always was) in firefox.

However, there was an extension https://addons.mozilla.org/en-US/firefox/addon/back-forward-history-tweaks/ which extended the menu to much larger number of lines.

Unfortunately, this extension is no longer compatible with the latest firefox.

more options

That maximum seems to be hard coded via MAX_HISTORY_MENU_ITEMS See FillHistoryMenu