隐藏浏览器地址栏无需重新加载 [英] Hiding browser address bar without reloading

查看:145
本文介绍了隐藏浏览器地址栏无需重新加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要动态(​​通过JavaScript)喜欢隐藏地址栏。我意识到这可以打开一个弹出时进行,但在这种情况下,我不拥有的奢侈品(该文件从本地磁盘打开,我不想在地址栏显示恐怖和混乱的文件: //等URL)。

I would like dynamically (via JavaScript) hide the address bar. I realize this can be done when opening a pop-up, but in this case I don't have the luxury (the file is being opened from local disk and I don't want the address bar to show the horrible and confusing file:// etc URL).

这是可能的,如果是这样,怎么样?

Is this possible, and if so, how?

推荐答案

这是无法更改这些设置,一旦窗口已打开。想象一下恼人的是,如果网站可以删除地址栏离开他们的网站阻止你。在我的经验,大多数用户从来不看地址栏,一旦他们毫不犹豫地掏出facebok.com进去。

It isn't possible to change those settings once the window is open. Imagine how annoying that would be if sites could remove the address bar to stop you from leaving their site. In my experience most users never look at the address bar once they have plunked facebok.com into it.

这篇关于隐藏浏览器地址栏无需重新加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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