Skip navigation

Tag Archives: browser history


If you want to remove the current page from browser history so that after redirected to another page, user cannot return to the original page by pressing back button, here is a cool solution.

location.replace("https://vkanakaraj.wordpress.com/index.html");

You might know the replace method but using it wisely gives sweet results. haa…

Advertisements