Everybody knows that the good old school windows.status
is not working anymore when mouseover
a link. However, I found a site which seems to be blanking out the URL link while the link is always below the mouse.
More details below: Answered
Everybody knows that the good old school windows.status
is not working anymore when mouseover
a link. However, I found a site which seems to be blanking out the URL link while the link is always below the mouse.
More details below: Answered
Google AdSense uses an
onclick
JavaScript event handler to redirect the user in this case, not thehref
attribute of a link. Here is the (approximate) source code of the element (several iframes deep) that traps the user's mouse click. According to Firebug, the user's mouse click goes to the outertd
element.The actual text links are irrelevant; they are farther down than the height of the spammer's mouse-following iframe (which has a set opacity of 0.1, so it remains nearly invisible to the user).
ga
is just a function that changes the outside window's URL usingtop.location.href
:By the way, there's no need to worry about the spammer making money when you click on that particular ad because it is a public service ad (PSA). Clicks on PSAs do not earn any money for a publisher, and Google can show PSAs for several reasons including that the AdSense account has not been approved.
Perhaps I'm unclear on what you're trying to do (since the example link is gone), but does this seem right?
HTML:
jQuery: