我想在网站上隐藏地址栏。 [英] I want to hide the adress bar in website .

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

问题描述

我想隐藏网站中的地址栏。我怎么能隐藏?是否有可能通过javascript或asp代码..请建议代码...我想要完整的代码..请做必要的



我有什么试过:



i想隐藏网站上的地址栏。

i want to hide the adress bar in website . how can i hide ?? whether it is possible by javascript or asp code.. please suggest code ... i want full code of that .. please do needful

What I have tried:

i want to hide the adress bar in website .

推荐答案

为什么不穿你在这里发布问题之前在Google或Bing上搜索了吗?

如果你搜索了谷歌,你尝试过的任何东西?



为什么要隐藏地址栏?



您可以通过打开一个新窗口(至少对于IE)以编程方式执行此操作。

请查看以下链接 -

http: //www.coderanch.com/t/118289/HTML-CSS-JavaScript/hide-address-bar [ ^ ]

javascript - 隐藏所有浏览器中的地址栏 - Stack Overflow [ ^ ]



如果你需要掩盖域名本身,即使你也可以这样做。

查看域名掩盖 - 维基百科,免费的百科全书 [ ^ ]了解更多详情。这必须通过主机面板完成。



注意:除非确实有必要,否则请不要采用这种方法。



希望,这些帮助:)
Why don't you search in Google or Bing prior to post the question here?
If you have searched google, anything you have tried implementing?

Why exactly you want to hide the address bar?

You can do this programatically, by opening a new window (at least for IE).
Please check following links-
http://www.coderanch.com/t/118289/HTML-CSS-JavaScript/hide-address-bar[^]
javascript - Hiding address bar in all browsers - Stack Overflow[^]

If you need to mask the domain itself, even you can do that too.
Check Domain masking - Wikipedia, the free encyclopedia[^] for more details. This has to be done with the hosting panel.

NOTE: Unless it's really necessary, please do not take this approach for many reasons.

Hope, these help :)


基本上,你不能 - 出于安全考虑的原因。
如果你能隐藏真正的地址栏,你可以把你自己的地址栏看起来很像,可以用来欺骗用户认为他们正在访问正确的网站而不是你的网站。令人讨厌的网站可以伪装成你的银行,配有安全指标,同时吸取你的登录信息并清空帐户。



你不能这样做:即使你的动机是纯粹的,不是每个人都这样,所以我们必须接受限制以防止欺诈。

对不起!
Basically, you can't - for good security reasons.
If you could hide the real address bar, you could put up your own address bar "look-alike" which could be used to fool users into thinking they are visiting the "right" site instead of yours. Nasty sites could pretend to be your bank, complete with Secure indicators, while siphoning off your login details and emptying the account.

You can't do it: even if your motives are pure, not everyone is like that, so we have to accept restrictions to prevent fraud.
Sorry!


一个大的NO。

这是每个MalWare的梦想功能。

所有你能做的就是打开一个没有任何导航的弹出窗口,但不能在主窗口打开。
A big NO.
It is the dream function of every MalWare.
All you can do is open a popup window without any navigation, but not on main window.


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

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