在弹出窗口中隐藏网址栏 [英] Hide the url bar on a pop up window

查看:40
本文介绍了在弹出窗口中隐藏网址栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用window.open()在新窗口中弹出时,我无法隐藏网址栏.即使它是只读的,它仍然显示网址栏.我可以藏起来吗?我不希望用户看到该网址.

When I use window.open() to do a pop up on a new window, I'm unable to hide the url bar. It still shows the url bar even though it's read only. Can I hide it? I do not want user to see the url.

推荐答案

出于安全(防欺骗)的原因,在Internet Explorer 7及更高版本中,您无法删除Internet区域窗口中的地址栏.

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

这篇关于在弹出窗口中隐藏网址栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆