pixiebrix-extension
pixiebrix-extension copied to clipboard
Iframes are not updated until reload
Probably a minor issue, somewhat related to:
- https://github.com/pixiebrix/pixiebrix-extension/issues/1557
Repro
- Open https://ephiframe.vercel.app/Outer?iframe=https://extra-ephiframe.vercel.app/Cross-domain-iframe%3Fiframe%3D./nested
- Add button next to "Docs" in the Outer document
- Set
https://*.vercel.app/*as the site - Save
⚠️ At this point the button should appear in every iframed document, but doesn't.
- Reload the page
✅ The button now appears
- Make changes to the button
- Save
⚠️ Changes are still not reflected until a reload.
Demo for steps 6-7
https://github.com/pixiebrix/pixiebrix-extension/assets/1402241/babf1e6a-8506-41bd-91cc-ca4cdc351deb
Questions
What is the current support state for iframes? The dev tools cannot select elements inside iframes, but any pre-existing buttons are loaded.