Reputation: 189
I am developing a website that include a simple iframe
<iframe src="" frameborder="0" scrolling="no" id="product" width="100%" height="100%"></iframe>
I have this error message in the console: Refused to display 'http://fr.allsaints.com/women/shop-accessories/allsaints-rally-keyfob/?colour=42&category=700' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
How can I do to display it?
Upvotes: 1
Views: 3951
Reputation: 943089
You can ask whomever runs that website to grant you permission to frame it.
There's no way to bypass the explicit permission denial from a different site.
Upvotes: 5