首页 > 解决方案 > 在 iframe 中显示 startpage.com

问题描述

我想在 iframe中显示https://startpage.com 。这样做时,我收到以下错误:

Refused to frame 'https://www.startpage.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

Google.com 也same-origin默认发送,但根据How to show google.com in an iframe? ,有办法规避。

StartPage 是否有类似的可能?

标签: iframecontent-security-policystart-page

解决方案


推荐阅读