在弹出窗口内嵌入一个网页,而无需使用iframe/embed/object/ajax

发布于 2025-02-04 11:08:27 字数 521 浏览 1 评论 0原文

打开SharePoint链接时创建了一个弹出组件

我在尝试使用以下 -iframe -目的 -ajax -emebed

它显示一个安全问题:

错误:拒绝框架'https://abcd.sharepoint.com/'因为祖先违反了以下内容安全策略指令: -Ancestors'self'teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.ymamer.com *.ymerm.com *.officeApps。 live.com *.office.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com”

有什么办法可以打开我创建的弹出窗口内的共享点链接,

谢谢

I have created a popup component using React, while trying to open the sharepoint link with the same popup page using the following

-Iframe
-Object
-AJAX
-Emebed

It is showing an security issue:

Error: Refused to frame 'https://abcd.sharepoint.com/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' teams.microsoft.com *.teams.microsoft.com *.skype.com *.teams.microsoft.us local.teams.office.com *.powerapps.com *.yammer.com *.officeapps.live.com *.office.com *.stream.azure-test.net *.microsoftstream.com *.dynamics.com *.microsoft.com".

Is there any way I can open the share point link inside the popup I have created

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文