can we enable or disable browser history through java script code ?? If possible please tell me the mechanism to do this .
I think it is not possible.
Can you try using document.location.replace()
it is used to clear the last entry in the history and replace it with the address of a new url.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With