Forum Moderators: open
The original JavaScript function
function clk(n,el) {
if(document.images){
(new Image()).src="/url?sa=T&start="+n+"&url="+escape(el.href);
}
return true;}
How it works
The listings' urls within the serps look like this:
<a href="http:*//www.webmasterworld.com/forum3/" onmousedown="return clk(2,this)">Google News</a>
the results position and result url was recorded while referers with keywords offset and other parameters.....
So after you click on any listing, a invisible image gets loaded:
http:*//google.com/url?sa=T&start=2&url=http ://www.webmasterworld.com/forum3/
Recently scripts changed to 3 parameters: el ct cd
function clk(el,ct,cd) {if(document.images){(new Image()).src="/url?sa=T&ct="+ct+"&cd="+cd+"&url="+escape(el.href);}return true;}
Example:
<a href=http://cvsbook.red-bean.com/ onmousedown="return clk(this,'res',4)" target=nw>A <font color=CC0033>CVS</font> Book</a><br>
it added a ct: maybe content type: 'res'