When the user loads the page, I immediately do a window redirect to another location.
The problem is, when the user clicks back, it\'ll go back to the page which doe
Instead of using window.location = url; to redirect,
window.location = url;
try:
window.location.replace(url);
after using replace() the current page will not be saved in session history, meaning the user won't be able to use the Back button to navigate to it.