[whatwg] Session History and onpopstate coupled with iframes
seon.wook at swook.net
Sun Nov 27 11:21:04 PST 2011
Dear whatwg users,
I have recently tried using HTML5's pushState() and window.onpopstate for
They do work and I quite like the functionalities.
However, recently while working on a series of webpages which incorporate
I found that the altering of iframe locations seemed to alter history as
When having changed the 'src' attributes of my iframes, I found that my
browsing history became flooded with entries from my current page.
(Used browsers: Firefox, Chrome)
I understand that as mentioned in
iframe history is kept track of, but what puzzles me is why the default
implementation, (which I realise is a work-in-progress),
has been done so that one cannot alter these automatic pushState's or
In fact, I have a feeling that such entries into the browsing history
should not be exposed to the user by default.
I realise that I am in no way experienced enough to question the decisions
which have been made,
but I find this default behaviour odd as it is preventing me from doing two
jobs at once:
1. Control basic history
2. Alter iframe attributes
If there exists methods which I can use and I have therefore caused
I do apologise and ask cordially for the solution.
Thank you for your attention.
*Seon Wook Park*
Email: seon.wook at swook.net
More information about the whatwg