krishean

clean_google_links.js

Jul 23rd, 2011
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 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);};
Add Comment
Please, Sign In to add comment