We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

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.

All Replies (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.