View Full Version : Link Cloaking

05-02-2005, 12:05 AM
Does anyone know anything about how to hide those links on the bottom left side of internet explorer, so it shows something different when they put their mouse cursor over the link, thanks alot for any help.

05-02-2005, 07:22 AM
Simply use the onMouseover/ onMouseout events within the link in question, such as:

<a href="http://google.com" onMouseover="window.status='Search here'; return true" onMouseout="window.status=''">Google></a>

05-02-2005, 12:13 PM
Simply use the onMouseover/ onMouseout events within the link in question [...]I think it's rather irresponsible to hand out advice like this. I find it hard to believe there can be any legitimate reason to disguise link destinations, particularly considering the potential abuse.

Thankfully, decent user agents will prevent this from happening. Both Opera and Mozilla products can disable tampering with the status bar. Moreover, Opera will always display link information in the status bar, and in a tool-tip (if enabled), regardless of script options.


05-02-2005, 06:13 PM
There is a moral issue with this depending on how the webmaster decides to use such a status bar effect, but I think in the majority of cases, it's simply an annoying technique, such as putting a description of the link onMouseover. And xxstarvisionsxx wouldn't have trouble learning how to do this easily on any JavaScript archive (well, DD doesn't have one, but...). :)

05-03-2005, 01:56 PM
This is mainly due to the fact that I run 1 massive affiliate site search portal, 2 other sites and 3 forums total, and link cloaking for affiliate links is a smart idea if you ask me.

The links actually do go to the proper sites but does not show the actual affiliate link after the main URL in the browser.

Thankyou for this code I have implemented it into my main page and have alot of links to update, this is going to take a seriously long time.

02-03-2006, 01:16 AM

Hide Status bar message http://www.javascriptkit.com/script/script2/hidestatus.shtml

also add this and you can say what ever you like

<body OnLoad="window.defaultStatus='Add your text here';" >