I'm having a weird problem with an iframe refreshing it's parent: when I refresh the containing page, either directly through window.parent or through a message that is sent to the parent and the parent uses window.location.reload (or window.location=window.location or any of the various other ways of refreshing the current page), the Back Button history gets a new entry, so page1, page1, page1, page1 if I keep doing this.
This doesn't happen on my simplified test page, and it doesn't happen in FireFox at all. There's only one entry in chrome://history.
If I use the dev tools to add a link, with an onclick event that calls window.location.reload and then click on it, it doesn't get added to the back buttons history, if I use js to add a link and then call the click event, it does.
The only definite difference between my regular pages and my test pages, is that I don't have a bunch of telerik controls (radscriptmanager, radajaxmanager, radwindow managers) on my test pages.
from Refreshing current pages via js adds to BackButton history in chrome
No comments:
Post a Comment