How can i remove current page from router?

I’m trying to remove current page and then navigate to next page from router using

app.views.main.history.pop();
app.views.main.router.navigate('/list/'+storage.ReturnListLength()+'/')

but still the page can be visited when i click back button. Is there a way to do it?

You can add navigation properties reloadCurrent to replace the current page.

app.view.main.router.navigate({
    url: '/list/'+storage.ReturnListLength()+'/',
    reloadCurrent: true
});