Click here to Skip to main content
15,890,438 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
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 .
Posted
Updated 9-May-16 22:39pm

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 :)
 
Share this answer
 
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!
 
Share this answer
 
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900