Hello, can anyone tell me why code doesn't work in Mozilla using location.replace? I'm rotating content in an iframe and I'm trying to make it so when the user clicks on the back button they can leave the page as normal. Right now they are stuck on the page when they click on the back button, because the history is reading the iframe content instead of the page before. Please let me know why location replace doesn't work in Mozilla an if there there are any work arounds. Thank you very much.

function rotateframe(){