Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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 reply
  • 1 has this problem
  • 4 views
  • Last reply by cor-el

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.

All Replies (1)

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.