加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – 弹出窗口,如何在IE8中隐藏URL栏

发布时间:2020-12-16 07:14:46 所属栏目:asp.Net 来源:网络整理
导读:当我打开弹出窗口并设置location = 0或location = no时,url栏仍然显示在IE8和readonly中. 怎么能隐藏它? 谢谢 解决方法 它无法完成,现代浏览器不允许它在那将是一个主要的安全漏洞. 另见 this answer,shamelessly copied from David Dorward: In Internet
当我打开弹出窗口并设置location = 0或location = no时,url栏仍然显示在IE8和readonly中.

怎么能隐藏它?

谢谢

解决方法

它无法完成,现代浏览器不允许它在那将是一个主要的安全漏洞.
另见 this answer,shamelessly copied from David Dorward:

In Internet Explorer 7 and later,you cannot remove the address bar in Internet Zone windows,for security (anti-spoofing) reasons.

http://msdn.microsoft.com/en-us/library/ms536651%28VS.85%29.aspx

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读