搜尋 Mozilla 技術支援網站

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

了解更多

Is there any way to prevent a website from adding history entries in the back button dropdown menu just because I clicked a button, which opened a confirmation modal, and closed the modal, remaining on the same initial page?

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

more options

For instance there is a site I use, which has a list of my posts, with buttons to delete the posts. I click the delete button, this opens an "Are you sure?" modal window, I click delete, the modal closes, I am on the same original list page with the same URL, but now I have another pseudo-page in my back button history that I have to go through.

If I do this with three more posts, I will have an additional three back button history dropdown entries to navigate back through.

When I exceed the number of entries shown in the dropdown, I have to keep clicking through the quasi-paginated list of duplicated back button history entries for the same exact page, to get back to the page I was on before ever going to the list page.

For instance there is a site I use, which has a list of my posts, with buttons to delete the posts. I click the delete button, this opens an "Are you sure?" modal window, I click delete, the modal closes, I am on the same original list page with the same URL, but now I have another pseudo-page in my back button history that I have to go through. If I do this with three more posts, I will have an additional three back button history dropdown entries to navigate back through. When I exceed the number of entries shown in the dropdown, I have to keep clicking through the quasi-paginated list of duplicated back button history entries for the same exact page, to get back to the page I was on before ever going to the list page.

所有回覆 (1)

more options

There is no way to prevent a website from adding entries to the tab history if you open a new page (link) in the same tab. You can hold the left mouse button on either back or forward button or right-click the button to open tab history list and skip entries.