简体   繁体   中英

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

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM