cactus1000
Programmer
I know this is an easy one (I've dealt with this in the past, but can't remember how).
I replaced an old web page with a redirect to my new one using the JavaScript "location.replace" function.
However, when you get to the new page and hit the "back" button on the browser, you get stuck in an endless loop. (i.e., you go back to the redirect, which takes you to the page you are trying to leave, etc.)
What is the code to have the "back" function skip the redirect page?
I replaced an old web page with a redirect to my new one using the JavaScript "location.replace" function.
However, when you get to the new page and hit the "back" button on the browser, you get stuck in an endless loop. (i.e., you go back to the redirect, which takes you to the page you are trying to leave, etc.)
What is the code to have the "back" function skip the redirect page?