Sandbox允许iframe的相同origin属性在chrome,firefox中不起作用

时间:2013-12-12 12:22:09

标签: html5 google-chrome firefox iframe sandbox

我已经在我的https网站中关注了iframe, 我在iframe中使用sandbox-“allow-same-origin”属性来禁用混合内容警告。

 <iframe scrolling="no" id='frame1' sandbox="allow-same-origin"></iframe>

它适用于ie,但它在firefox 23+和chrome 30 +

中不断显示混合内容

任何方式我都可以在firefox和chrome中压制这些警告吗?

0 个答案:

没有答案