Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

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
  • 7 views
  • Last reply by 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.

All Replies (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.