Open rxfe-a opened 7 months ago
i have this same issue, dynamic doesnt seem to work with the iframe
for example when i try to search something up on google it just creates a new line when i press enter
it seems its kinda fixed with the node js package? however its a 50% chance
i got the google page loaded but their builtin search bar doesnt work
yeah it just fails at rewriting the page
i got the google page loaded but their builtin search bar doesnt work
What the issue?
It seems that the Service Worker. Unregisters itself I am using the default SW included in the static files but that's not a problem neccesarilly. Whenever you run or create dynamic in a iframe. It will fail to rewrite the entire HTML page.
Fixes
It seems for me atleast that the NPM package version has fixed alot of issues. But this is a 50/50 chance of working
How to somewhat replicate
just run it in a iFrame. (Both redirecting from a HTML page inside of the iframe and Registering it from the main page work).
Possible Fixes (possibly bad on performance)
Make sure that the SW is always being registered correctly somewhat like UV where if its not complete it will register it for you
Add A checker that makes sure that the site is completely rewrittern (ik its difficult but its a suggestion)
Conclusion
Just use the NPM package version. and run your proxy and copy your dist files.
Related issues
65
14 (Not the issue itself since its fixed but the last comment)
DEMONSTRATION
https://private-user-images.githubusercontent.com/104333985/288658282-359e43e7-9bb5-4e40-bb80-747303d175e3.mp4?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDY4Mzk5MDMsIm5iZiI6MTcwNjgzOTYwMywicGF0aCI6Ii8xMDQzMzM5ODUvMjg4NjU4MjgyLTM1OWU0M2U3LTliYjUtNGU0MC1iYjgwLTc0NzMwM2QxNzVlMy5tcDQ_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwMjAyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDIwMlQwMjA2NDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0wZTgyNzk5OTk0ZTAxOGRkOGFlMGNhNjdkM2Q0N2VmMmQxZTFjZWQyMDYxY2Y0NWZiMmE0MjNiMDU2MmRmNjdhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.nXDaXndEyHYDByjCGiw8AATImKPu4zp97J5SYUql-8k