links and status bar

Status
Not open for further replies.

Icecube

Up 24h/day
Mar 14, 2007
1,169
9
0
Europe
hey guys, when I need to hide an aff link directly with javascript I always use this code (that is what CJ gives you when you check the "mask link" option or how they call it...)

Code:
<a href="http://www.myaffiliatecompany.com/?id=12345" onmouseout="window.status=' ';return true;" onmouseover="window.status='http://www.companydomain.com';return true;">Anchor Text</a>


this works only in IE, does anyone have some js code that works in firefox and opera?
 


only way it would work in ff is if the user turned off the status bar protection setting in the options. otherwise there's no way, afaik.
 
+1 on Chuckle's comment. Firefox is inherently a better browser because of these "no fucking duh" features to keep your browser from getting fished, etc.

If you're really worried about your links, just pass them through a link processor page on your site. Same effect basically, plus you get the added bonus of being able to keep a database of your outbound traffic for reporting use.
 
thank you guys

daveEMG, I know what you mean, some time ago I made a post to explain how to do such a thing, but my aim was, in addition to this, write something else in the status bar rather than name.com/view/linkname or whatever shape you I decide to give it

so I think I'll have to stick with that code( I remember that this status bar thing was one of the main reasons that convinced me to switch to FF some years ago...)
 
Status
Not open for further replies.