Home > Blockchain >  Exclude page from history
Exclude page from history

Time:11-04

Is there way of excluding a page from being registered to the history? If a user visited this page and then navigated to another and hits the 'previous page' button, then I want the user to end up 2 pages back and not on the previous page. I'm aware of how to do this with JS but I'd like to avoid JS if possible.

CodePudding user response:

NavigationManager.NavigateTo has the argument replace for this purpose, set to false by default.

Doc

  • Related