Anyone with a Google account may have started experiencing something rather unpleasant recently, when doing searches while logged in.
Google has begun adding extra tracking garbage to links, making it rather difficult to copy a link target from the search page.
A friend of mine wrote a javascript function that removes the "Google Goo", leaving you with a page full of nice, clean, copyable links.
It has been tested with FireFox 2 and 3, K-Meleon, and IE 6. It should work in all other versions of IE after IE6, as well. Also should work in Opera (in theory), but has not been tested.
What you need to do is create a new bookmark with the function as the target (copy & paste it in). When you do a Google search,
before you click anything, click the bookmark and it will clean the page.
Copy the function from the page linked below (don't create a bookmark with the page as the target, or it will not work)
http://pastebin.com/jpMiu5Vj (courtesy of
Krishean/
draconislabs.net)
UPDATE: His site is down. I think the xbox he was hosting it on died. So here is the code for it:
javascript:{function detect(el){var r=false;if(el.className&&el.onmousedown){var c=el.className.split(' '),m=el.onmousedown,t=false;var s=((m.toSource)?m.toSource():m.toString());for(var i=0;i<c.length;i++)if(c[i]=='l')t=true;r=(t&&(s.indexOf('return rwt(')!=-1||s.indexOf('return clk(')!=-1));}return r;}var a=document.getElementById('search').getElementsByTagName('a');for(var i=0;i<a.length;i++)if(detect(a[i]))a[i].setAttribute('onmousedown','');void(0);};