Jump to content
Search Community

Refused to display 'https://gsap.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

morganmoskalyk

Recommended Posts

morganmoskalyk
Posted

I'm attempting to render an iframe in a react app, where the child iframe uses gsap.

I'm getting the following error: chromewebdata/:1 Refused to display 'https://gsap.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'. chromewebdata/:1 Refused to display 'https://gsap.com/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Is it possible to remove this restriction? It would really extend the functionality of the app I'm building to developers

Thanks

See the Pen by '%20in%20a%20frame%20because%20it%20set%20'X-Frame-Options'%20to%20'sameorigin'. (@'%20in%20a%20frame%20because%20it%20set%20'X-Frame-Options'%20to%20'sameorigin'.) on CodePen.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...