
YTSF 0.2 - Chrome version (tested in Chrome 3.0.195.38)
YTSF 0.2 - Firefox version (tested in Firefox 3.5.3)
The code:
javascript:(
function(){
function R(w){
try{
var d=w.document,i,T,N,r=1,s;
T=d.getElementsByTagName("a");
for(i=T.length-1;(i+1)&&(N=T[i]);--i)
if(N.className=="title" || N.className=="video-thumb-120 no-quicklist"){
N.href=N.onclick.toString().slice(42,62);
N.onclick='';
}
}
catch(E){r=0}
return r
}
R(self);
}
)()
The original AdBlock+ code can be found here or here.
No comments:
Post a Comment