How to hide a destination URL? Help please.

8 replies
Hi buddies. After trying hard, I really can´t figure out how this could be done:
I have some buttons on my web page which are links to other site. When a visitor passes the mouse over them (without clicking), it becomes visible the destination URL in the status bar. I know this is the most normal thing and happens with each link in the world...But, what I want is to totally disable this function, so nothing appears in the bar when passing over buttons. In other words, I want them to have no idea at all about where they will arrive unless they click a button. Somebody can help me? :confused:

P.S: framed redirect is not a solution in my case.

Thanks in advance!

Chris
#destination #hide #url
  • Profile picture of the author Skyline_GTR
    Perhaps try to use a url shorten website like TiniUrl - Protect & Shorten Your URL! then they won't know where they will be going.
    Signature
    Gamerzplanet - Your #1 source for Online Gaming Needs!!
    Off Topic Forum - An Off Topic Forum!
    {{ DiscussionBoard.errors[2104298].message }}
  • Profile picture of the author williamrs
    You can use javascript.


    Insert the code below between your tags <head> and </head>
    <script language="JavaScript" type="text/javascript">
    <!--
    var statusmsg=""
    function hidestatus(){
    window.status=statusmsg
    return true
    }
    //-->
    </script>
    Inside each link you wish to hide the status bar message, add this onMouseover code into it as follows
    <a href="your_url" onMouseover="return hidestatus()">Link</a>

    Source: Hide StatusBar Message - JavaScript
    Signature
    Steal My Profit Strategy



    >> Download Now <<
    {{ DiscussionBoard.errors[2104524].message }}
    • Profile picture of the author chris casab
      Originally Posted by williamrs View Post

      You can use javascript.


      Insert the code below between your tags <head> and </head>


      Inside each link you wish to hide the status bar message, add this onMouseover code into it as follows



      Source: Hide StatusBar Message - JavaScript
      MMM sorry William. It didn´t work. Somebody just told me that javascript window.status is disables by default in the newest browsers. I think that´s the problem. Thanks anyways for your help!
      {{ DiscussionBoard.errors[2118921].message }}
      • Profile picture of the author williamrs
        Originally Posted by chris casab View Post

        MMM sorry William. It didn´t work. Somebody just told me that javascript window.status is disables by default in the newest browsers. I think that´s the problem. Thanks anyways for your help!
        I tested it on IE8 and it worked, but I didn't try with FF. Anyway, in this case I think you should try the code offered by Blackcat. It will cloack your URL and people won't see your affiliate link.


        William
        Signature
        Steal My Profit Strategy



        >> Download Now <<
        {{ DiscussionBoard.errors[2118937].message }}
  • Profile picture of the author blackcat123
    You can input following code in to a simple php file and replace the "YOURLINK" with your destination URL. So any visitor hover over the clickable link he will only see the destination of the php file not the actual destination.

    Code:
    <?php
    header('Location:YOURLINK');
    ?>
    Hope this will work
    Signature

    Yet To Come....

    {{ DiscussionBoard.errors[2104551].message }}
    • Profile picture of the author guzzi333
      Thanks I was just looking for these tips
      {{ DiscussionBoard.errors[2110377].message }}
    • Profile picture of the author chris casab
      Thanks blackcat. I have a plain HTML page. Can I still use your code? Where should I insert it? Thanks again!
      {{ DiscussionBoard.errors[2118916].message }}

Trending Topics