Skip to content

domis4/friendly-iframe-loader

Repository files navigation

friendly-iframe-loader

creates a friendly iframe, that can interact with window.parent even though it was hosted on another origin. usage:

yarn

launch react-app from localhost:8080

yarn start

launch cdn on localhost:8081 which triggers origin protection. The iframe can resize itself though.

yarn start-cnd

open localhost:8081 to see this example:

GIF of example

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published