我将一些HTML加载到iframe中但是当引用的文件使用http而不是https时,我收到以下错误:
[已阻止] {current_pagename}的页面从{referenced_filename}运行了不安全的内容
有什么方法可以关闭它或以任何方式解决它?
iframe没有src属性,内容使用以下方式设置:
src
frame.open(); frame.write(html); frame.close();
html security https iframe http
html ×1
http ×1
https ×1
iframe ×1
security ×1