Javascript 具有社交插件和API调用的HTML5页面的内容安全策略

Javascript 具有社交插件和API调用的HTML5页面的内容安全策略,javascript,google-chrome,cross-domain-policy,content-security-policy,Javascript,Google Chrome,Cross Domain Policy,Content Security Policy,建议在HTML5页面上使用以下内容: 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. 1) Facebook插件 2) 推特插件 3) 谷歌加一 4) 谷歌翻译 6) 来自cdn.mywebsite

建议在HTML5页面上使用以下内容:

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.
1) Facebook插件

2) 推特插件

3) 谷歌加一

4) 谷歌翻译

6) 来自cdn.mywebsite.com

7) YouTube

我会遇到如下错误:

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和其他。我需要你的帮助