You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to execute a script in the context of an iframe (cross-origin) that's loaded in the shadow DOM of a web component. Obviously I can't do this from javascript executed in the context of the parent document because of the cross-origin policy, but also Firemonkey isn't matching the document in the iframe when its inside a shadow DOM (it works with a regular iframe).
Is this something that could be "fixed" in Firemonkey? Are there any workarounds available to me?
Thanks!
The text was updated successfully, but these errors were encountered:
I was hoping/expecting that my script would be injected when the iframe loaded its document (my @match matches the correct URI), as would be the case if the iframe is in the light DOM. I see the problem is more complicated than I realized. Thanks for your response 👍️.
I want to execute a script in the context of an iframe (cross-origin) that's loaded in the shadow DOM of a web component. Obviously I can't do this from javascript executed in the context of the parent document because of the cross-origin policy, but also Firemonkey isn't matching the document in the iframe when its inside a shadow DOM (it works with a regular iframe).
Is this something that could be "fixed" in Firemonkey? Are there any workarounds available to me?
Thanks!
The text was updated successfully, but these errors were encountered: