在框架/ iframe中禁用Cookie [英] Disable Cookies Inside A Frame/Iframe
本文介绍了在框架/ iframe中禁用Cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法编程禁用由框架/ iframe中显示的页面创建的Cookie?
Is there any way to programatically disable cookies being created by a page displayed inside of a frame/iframe? Or to generalise further, is it possible to programatically disable javascript running on such a page?
感谢,
DLiKS
推荐答案
使用iframe沙盒属性(html5)可能(以chrome实现)
with iframe sandbox attribute (html5) it will be possible (implemented in chrome)
http://dev.w3 .org / html5 / spec / Overview.html#attr-iframe-sandbox
NullUserException已经回答了您无需浏览器支持即可执行的操作
NullUserException already answered what you can do today without browser support
这篇关于在框架/ iframe中禁用Cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文