搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

how to force browser to retain iframe history and back button should work as per iframe history and not browser history

  • 2 回覆
  • 4 有這個問題
  • 7 次檢視
  • 最近回覆由 vijuagrawal

more options

I have iframe in an html page,within iframe i navigate to different pages/site,

but when i press back button firefox take me to history page of browser rather than history of iframe

I want back button to take me to last page visited in iframe.

I have iframe in an html page,within iframe i navigate to different pages/site, but when i press back button firefox take me to history page of browser rather than history of iframe I want back button to take me to last page visited in iframe.

所有回覆 (2)

more options

hello, try to right-click the frame & in the context menu go to this frame > show only this frame, then the contents of this frame will open in a new tab and from there on it should create a history so that you can go backwards/forwards...

more options

when i run my iframe on Mozilla version 5 its run fine But back button does work fine on version 11 and higher.