拒绝在框架中显示,因为它将 'X-Frame-Options' 设置为 'SAMEORIGIN'

Refused to display in a frame , because it set 'X-Frame-Options' to 'SAMEORIGIN'

我正在开发一个包含简单 iframe 的网站

<iframe src="" frameborder="0" scrolling="no" id="product" width="100%" height="100%"></iframe>

我在控制台中收到此错误消息: 拒绝在框架中显示“http://fr.allsaints.com/women/shop-accessories/allsaints-rally-keyfob/?colour=42&category=700”,因为它将 'X-Frame-Options' 设置为 'SAMEORIGIN'。

如何才能显示出来?

您可以要求运营该网站的人授予您框架的权限。

无法绕过来自其他站点的显式权限拒绝。