Page 1 of 1

Alternative to iframe

Posted: Wed Sep 06, 2023 6:18 pm
by arpberta
Is there any alternate to iframe for loading 'external' web sites within another web page.
I was hoping there might be an extension that would work, but I could not find one.

Previously, iframe has worked well when loading 'internal' web pages within another web page.

Thank you.

Re: Alternative to iframe

Posted: Wed Sep 06, 2023 6:29 pm
by crispy68
The only other alternative that I know that is used but a bit more complex is using ajax. Otherwise, I think iframe is still the best option assuming the other site you are loading in the iframe is allowed.

Did you see this:
https://www.wysiwygwebbuilder.com/iframeresizer.html

Re: Alternative to iframe

Posted: Wed Sep 06, 2023 6:49 pm
by BaconFries
As an "Alternative" you can use embed <embed></embed>
https://developer.mozilla.org/en-US/doc ... ment/embed
or object <object></object>
https://developer.mozilla.org/en-US/doc ... ent/object
See the following:
https://stackoverflow.com/questions/870 ... with-html5

Issues with them is the content (the page site inside) size it will display scrollbars if contents is to large to fit as what iframes do.