How Do You Hide A URL In Status Bar/ Mouse Over & Stop "Copy Link" Ability?

9 replies
I have a link that I'd like people to be able to click on but not see the actual link. So the ONLY way that they can EVER get to the destination URL is to click on the link wherever I've placed it.

ex: Click Here

Takes them to domain.com/whatever.html but shows domain.com (or whatever)

But I don't want anyone to ever know that they're being sent to /whatever.html

So the only ways I can think of that they could possibly know are:

1. URL address bar
2. Bottom left corner (when hovering over a link)
3. Copy Link Location (right clicking)

So How can I handle this?

I found some code that will work for IE but not Firefox etc, and they give code for it to work in Firefox etc but it requires java to be active for it to work.

Code:
<a href="http://www.sell.com/?referrer=225" onMouseOver="window.status='http://www.sell.com';
return true" onMouseOut="window.status=''">Click here </a>
Code:
    <script language="javascript" type="text/javascript">
     function redirect(URL)
     {
       document.location=URL;
       return false;
     }
    </script>
Code:
<a href="http://www.sell.com" onclick="return
redirect('http://www.sell.com/?referrer=225');">Click here</a>
Looking for a solution that will work 100% of the time for most all browsers.

Anyone?

Thanks in advance,

~Russell Prisco =)
#ability #bar or #copy link #hide #mouse #status #stop #url
  • Profile picture of the author iw433
    I have software that will do that. PM me.
    Signature

    Bill Skywalker Edwards
    Address-O-Lite

    {{ DiscussionBoard.errors[887440].message }}
  • Profile picture of the author russellprisco
    Thanks Skywalker! I'm not exactly just looking for an affiliate cloaker though. I want the ONLY way someone can get to a specific web page to be by clicking on a link inside a members restricted area to prevent sharing of the link.

    So it will just show anchor text like "Click Here" but will not show the destination URL in the Address Bar, nor in the bottom left when you hover.

    And again, I don't want peoeple to be able to copy it using right click/ highlight+CTRL+C(or X)....

    Anybody Have Any Ideas? I guess the simplest way to describe what I want to do is.... I don't just want to Hide the LINK, I want to also HIDE the URL and remove the ability to copy it.

    Thanks in advance (and thanks again Skywalker!)

    ~Russell Prisco =)
    {{ DiscussionBoard.errors[899045].message }}
  • Profile picture of the author gyar29
    Russell,

    The number of people that know how to disable JavaScript is pretty small. Then number of people that disable JavaScript for any length of time is even smaller. They quickly find that having JavaScript disabled has a huge detrimental effect on their surfing experience.

    I don't mean to imply that you should never worry about those that do disable JavaScript permanently, they do exist, but their numbers are small enough that you probably will not even notice them. Sometimes trying to build a website that does everything for everyone is counter productive. You spend more time thinking about minutiae than you do thinking about better ways of earning income.

    Gene
    {{ DiscussionBoard.errors[904042].message }}
  • Profile picture of the author Tyrus Antas
    It is true that the number of people who know how to skip this is small. But that small population is also the most likely to be interested in defeating whatever Russell is trying to do. And they have the knowledge to do that.

    Tyrus
    {{ DiscussionBoard.errors[904070].message }}
  • Profile picture of the author bgmacaw
    The way I'd do it would be to use a PHP script on my site as the link shown on the original page. In the script, I'd check the referrer and, if it's my site, I redirect to the target, if it's not my site, I redirect back to the original page.
    {{ DiscussionBoard.errors[904089].message }}
  • Profile picture of the author GarrieWilson
    Use an external php file to redirect them.
    Signature
    Screw You, NameCheap!
    $1 Off NameSilo Domain Coupons:

    SAVEABUCKDOMAINS & DOLLARDOMAINSAVINGS
    {{ DiscussionBoard.errors[904217].message }}
  • Profile picture of the author BurgerBoy
    You can use the following for your link and it won't show anything on a mouseover but the url of your page the link is on.

    <a onclick="x=window.open('http://www.TheUrlOfTheLink .com')" href="#">What ever you want the link to say Click Here</a>
    It will go to the page you want it to go to plus it'll open the link in a new window.
    Signature
    {{ DiscussionBoard.errors[905403].message }}

Trending Topics