Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2008
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Hiding Url in staus bar

    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.

    Thanks
    Nidhika

  • #2
    Senior Coder rangana's Avatar
    Join Date
    Feb 2008
    Location
    Cebu City, Philippines
    Posts
    1,752
    Thanks
    65
    Thanked 372 Times in 365 Posts
    Code:
    window.status='';
    Learn how to javascript at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph

  • #3
    Kor
    Kor is offline
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Location
    Bucharest, ROMANIA
    Posts
    8,478
    Thanks
    58
    Thanked 379 Times in 375 Posts
    Well, it is not quite so. Modern browsers (except, of course, IE ) 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:
    Code:
    <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?
    Last edited by Kor; 08-08-2008 at 10:13 AM.
    KOR
    Offshore programming
    -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •