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

by 9 replies
28
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 =)
#main internet marketing discussion forum #ability #bar or #copy link #hide #mouse #status #stop #url
  • I have software that will do that. PM me.
  • 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?

    Thanks in advance (and thanks again Skywalker!)

    ~Russell Prisco =)
    • [1] reply
  • 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
  • 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
  • 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.
  • Use an external php file to redirect them.
  • 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.

Next Topics on Trending Feed