Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to inject into dynamic iframes? #64

Open
TiborUdvari opened this issue Aug 16, 2024 · 0 comments
Open

How to inject into dynamic iframes? #64

TiborUdvari opened this issue Aug 16, 2024 · 0 comments

Comments

@TiborUdvari
Copy link

Is there a way to load the extension/polyfill after an initial load?

I'm using web editors that load iframes dynamically once one presses a "play" button, notably the p5.js web editor.

Here is an examples through the p5.js web editor: https://editor.p5js.org/TiborUdvari/sketches/G1S1g40xx
The same example working directly: https://www.tiborudvari.com/sketchbook/spatial-computing/hello-box/index.html

I'm no expert in web extensions, but I'm guessing this is where the polyfill actually loads?


I also noticed it was the code that is near #11.

What would be the best way to approach this?

For some context, I'm working on a way of doing live coding with webxr, like this, but for development purposes it would be great to have it working with the Immersive Web Emulator.

@TiborUdvari TiborUdvari changed the title How to delay initialisation for dynamic iframes? How to inject into dynamic iframes? Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant