Firefox iframe history

In the web application, we use IFRAME so that users can select elements for the parent page.

The problem is that FIREFOX (3.5) adds a copy of the same (parent) page to the history each time the IFRAME is opened.

The web application uses history.back () to navigate from the parent page to the one that called the page.

We can fix this by passing the page back as a parameter from the caller to the callee.

The BACK Still button remains broken (the user clicks the Back button, but remains on the same page).

Another problem that is being created is that we want some pages to be from the story. We do not want the user to go back to the INSERT page .

This is easily done using location.replace on the INSERT page when done, but not on FIREFOX with many elements of the same INSERT page .

+5
source share
2 answers

Not sure if your problem is the same as mine today, but ...

iframe iframes src (FF 4.0 ) "" iframe.

, iframe javascript , -. iframes src , , "".

+3

, ,

history.back(-2)

-3, -4, , history.back() or history.back(-1).

, , iframes -, , iframe -

+1

All Articles