且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

拒绝在框架中显示"https://www.google.co.in/",因为它将"X-Frame-Options"设置为"sameorigin".在Office 365中

更新时间:2021-09-09 21:57:13

在您的网站集管理功能上,点击"HTMLFieldSecurity" (_layouts/15/HtmlFieldSecurity.aspx),您需要在iframe中添加允许的Google域.如该图所示,来自该域.

On your site collection administration feature click the the "HTMLFieldSecurity" (_layouts/15/HtmlFieldSecurity.aspx), there you need to add the google domain in allowed from the iframes  from this domain as shown in this image.