A.M*_*M.K 4 html javascript iframe html5 sandbox
我刚刚创建了一个带有sandbox属性的iFrame .每当我试图打开一个链接与target="_blank"或target="_top"或当我尝试使用window.open()没有任何反应.
这是我的代码:
<iframe src="http://www.google.com/"
sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts">
Apparently your browser doesn't support iFrames!
</iframe>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5883 次 |
| 最近记录: |