// ==UserScript==
// @name Torrentz.com download shortcut
// @namespace rashid8928 & LordMike
// @description Adds download and magent link and in the search results of Torrentz.com, allowing you to download torrent without leaving search page
// @include http://www.torrentz.eu/*?f=*
// @include http://torrentz.eu/*?f=*
// @include https://www.torrentz.eu/*?f=*
// @include https://torrentz.eu/*?f=*
// ==/UserScript==
(function(){
var count=0;
while(h3=document.getElementsByTagName('dl')[count]){
fixLink(h3);
count++;
}
function fixLink(h3){
var link=h3.getElementsByTagName('a')[0];
var url=link.href;
var title=link.textContent;
var iMagnet=url.replace(/.+\//,'').toUpperCase();
var fMagnet=document.createElement('a');
var fdownlo1=document.createElement('a');
var fdownlo2=document.createElement('a');
var fdownlo3=document.createElement('a');
fMagnet.href="magnet:?xt=urn:btih:"+iMagnet+"&dn="+title;
fdownlo1.href="http://torrage.com/torrent/"+iMagnet+".torrent"
fdownlo2.href="http://torcache.com/torrent/"+iMagnet+".torrent"
fdownlo3.href="http://zoink.it/torrent/"+iMagnet+".torrent"
fMagnet.innerHTML="[Magnet]";
fdownlo1.innerHTML="[Torrage]";
fdownlo2.innerHTML="[TorCache]";
fdownlo3.innerHTML="[Zoink]";
h3.appendChild(fMagnet);
h3.appendChild(fdownlo1);
h3.appendChild(fdownlo2);
h3.appendChild(fdownlo3);
}
}
)()
Mozilla add on,User script,Grease Monkey Script, greasemonkey userscripts, updater userscripts mafia wars userscripts mafia wars autoplayer userscripts mafia wars wall userscripts scripts userscripts travian greasemonkey greasemonkey download greasemonkey facebook greasemonkey tutorial greasemonkey youtube greasemonkey travian greasemonkey chrome greasemonkey mafia wars greasemonkey mafia wars autoplayer
Friday, February 4, 2011
Torrentz.com download shortcut v2
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment