【发布时间】:2015-07-10 23:02:39
【问题描述】:
在谷歌浏览器最新稳定版中打开此页面使用(HTTPS,由于其他依赖必须使用HTTPS)https://example.com/test.php
在页面内,我只有这个代码(这是兄弟打印机维护页面):
<iframe sandbox="" id="iframe_display_modules" src="https://192.168.1.57/general/information.html?kind=item"></iframe>
现在,谷歌浏览器不尊重我使用“沙盒”的参数。我可以通过单击 iframe 中的任何链接来使用它,这是不允许的,对吗?
谁能建议我如何阻止用户点击该 iframe?
【问题讨论】:
-
用户只能看到,但我希望他们无法提交,或者我希望他们不要浏览该 iframe 中的其他链接。
标签: javascript jquery html google-chrome iframe