搜尋 Mozilla 技術支援網站

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

了解更多

How to remove duplicated entries in history only differenced by URI fragment

  • 1 回覆
  • 3 有這個問題
  • 4 次檢視
  • 最近回覆由 Illian J

more options

When navigating in some pages, specially in google docs, the browser's URI fragment (the part after the #) changes frequently for each page/header/slide, and all of them are stored in the history.

That behavior adds lots of entries in the history and also hinders the usage of the search functionality of the address bar (as all the duplicates are shown instead of shown only one and other pages). I want to keep one entry per document, at least in specific pages like gdocs where the "fragment" doesn't add any useful information and each document can have lots of them.

Is there any way to configure that behavior, to not save every fragment in the history?


To reproduce the above behavior (the same behavior happens in other pages, not only gdocs):

- Open any gdocs document with several headers, or a gdocs presentation with several pages. - Navigate all the document/presentation, and check the history. - Close the document/presentation tab/window. - In a new window/tab, use the address bar to search the document/presentation by the document name: several entries for the same document/presentation are shown (and if they are lots of them, no other different entries with same words are shown in the address bar). - Check also the history: several entries of the same document/presentation are shown (it could be hundreds for long documents, and thousands after seen few documents).

When navigating in some pages, specially in google docs, the browser's URI fragment (the part after the #) changes frequently for each page/header/slide, and all of them are stored in the history. That behavior adds lots of entries in the history and also hinders the usage of the search functionality of the address bar (as all the duplicates are shown instead of shown only one and other pages). I want to keep one entry per document, at least in specific pages like gdocs where the "fragment" doesn't add any useful information and each document can have lots of them. Is there any way to configure that behavior, to not save every fragment in the history? To reproduce the above behavior (the same behavior happens in other pages, not only gdocs): - Open any gdocs document with several headers, or a gdocs presentation with several pages. - Navigate all the document/presentation, and check the history. - Close the document/presentation tab/window. - In a new window/tab, use the address bar to search the document/presentation by the document name: several entries for the same document/presentation are shown (and if they are lots of them, no other different entries with same words are shown in the address bar). - Check also the history: several entries of the same document/presentation are shown (it could be hundreds for long documents, and thousands after seen few documents).

所有回覆 (1)

more options

Maybe, instead of an option to not save every fragment (as it could be against the behavior of history), it could be really helpful an option to "compact?" the history, leaving only one result per page/document for specific domains (like google docs and other domains).