View Full Version : Hiding Url in staus bar

08-08-2008, 08:10 AM
How can I hide url which comes in status bar.

I am making a web application using javascript, YUI, cgi, perl. when a user clicks download he is redirected to another server. But the location is visible in the status bar. And hence anyone can access that location. I want to this, is there any wrapper to do so.


08-08-2008, 08:36 AM

08-08-2008, 10:04 AM
Well, it is not quite so. Modern browsers (except, of course, IE :rolleyes: ) do not accept anymore the hiding/changing of the status bar. Nor should they accept. The reason is simple: the user should always know where a link goes, so that the malicious redirection (phishing) possibility should be diminish this way. So that the trick:

<a href="www.google.com" onmouseover="window.status='';return true">google</a>

will work in IE only.

However, if the user is curious to see the real link, it might simply analyze the HTML or javascript code (view source - for instance), so that you can not 100&#37; secure cover that link.

nidhikayadav, you should try a server-side solution. Link to a server-side aplication (say php or asp...) which will simply redirect the navigation. And even so, some browsers might alert the user that he is to be carried to another domain. Why do you want to hide that address?