Closed dwands closed 9 years ago
Hi
Setting the src attribute on an iframe seems to add it to the browser history in firefox, here's a discussion I found about it:
http://stackoverflow.com/questions/2245883/browser-back-acts-on-nested-iframe-before-the-page-itself-is-there-a-way-to-av
The solution seems to be to replace the iframes's contentWindow.location instead of setting src.
Thanks,
Dave
@dwands will accept PR for this.
@dwands also if this is a bug of firefox only please can you find a reference link? Do not want to fix browser bugs that will be fixed soon.
Hi
Setting the src attribute on an iframe seems to add it to the browser history in firefox, here's a discussion I found about it:
http://stackoverflow.com/questions/2245883/browser-back-acts-on-nested-iframe-before-the-page-itself-is-there-a-way-to-av
The solution seems to be to replace the iframes's contentWindow.location instead of setting src.
Thanks,
Dave