2

建议对具有以下内容的 HTML5 页面使用什么内容安全策略:

1) Facebook 插件

2) 推特插件

3) 谷歌加一

4) 谷歌翻译

6) 来自 cdn.mywebsite.com

7) 优酷

我收到很多错误,如下所示:

The frame requesting access set 'document.domain' to 'facebook.com', but the frame being accessed did not. Both must set 'document.domain' to the same value to allow access.

我正在使用 YouTube 视频 iframe 和许多社交小部件,包括 Pinterest API 等。需要你的帮助。

4

0 回答 0