more then 1 browser widget in a web standalone?
Mark Waddingham
mark at livecode.com
Mon Apr 24 11:05:16 EDT 2023
On 2023-04-24 15:46, matthias rebbe via use-livecode wrote:
> I can now confirm that more than one Browser Widget will work in Web
> standalones, but not all URLs that work in LC IDE or Desktop
> standalones will work in Web standalones.
> For example this one here fails in Web Standalones.
>
> https://www.whatismybrowser.com/de/
The web browser widget is implemented as an IFrame - this comes with it
a fair amount of security restrictions unless the website being embedded
has appropriate cross-origin settings (or comes from the same host as
the surrounding page).
In this case, I suspect the website is just refusing to be embedded -
indeed if you go to:
https://www.w3schools.com/html/tryit.asp?filename=tryhtml_iframe_height_width
Then change the src to the website above then it won't work there
either.
Warmest Regards,
Mark.
--
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Build Amazing Things
More information about the use-livecode
mailing list