🔍
嵌入测试器
测试URL是否可以嵌入iframe中。检查X-Frame-Options和CSP头。
🔍
试试示例:
iFrame加载测试
X-Frame-Options
Content-Security-Policy
嵌入代码
预览
关于嵌入测试
X-Frame-Options
X-Frame-Options头指示浏览器是否允许在iframe中渲染页面。
Content-Security-Policy
CSP的frame-ancestors指令指定可以嵌入页面的有效父级。
阻止嵌入的网站
Google, Facebook, Twitter, GitHub, most banking sites
允许嵌入的网站
YouTube, Vimeo, CodePen, Google Maps, FreeWebTools