mardi 5 juillet 2016

Javascript: How to navigate back and remove current state from history?

Lets imagine we have to html sites:

- login
- register

I start at login and i navigate to register, so my history stack is now:

login -> register

What i now need is a JavaScript function to navigate back from register to login

login <- register

and delete the register history entry so that the user cant use forward to get back to the register site.

Is that even possible?

Aucun commentaire:

Enregistrer un commentaire