Thumb

IMDb friends iSOHUNT (or other torrent search)

By Freeloader Morris Last update May 24, 2009 — Installed 495 times. Daily Installs: 1, 0, 3, 0, 0, 0, 2, 0, 2, 1, 1, 1, 0, 4, 1, 0, 1, 0, 4, 1, 0, 1, 0, 2, 0, 0, 0, 1, 7, 0, 0, 3

There are 7 previous versions of this script.

// ==UserScript==
// @name           IMDb friends iSOHUNT (or other torrent search)
// @namespace      random_4
// @description    Adds a direct link to iSOHUNT (or another) search engine just below the movie title on IMDb
// @include        http://*.imdb.com/title/tt*/
// @exclude        http://*.imdb.com/title/tt*/*/*
// @author         Freeloader @ http://FreeWebHosting.UK.To/
// ==/UserScript==

var site_name = "iSOHUNT";
var torrent_site = "http://isohunt.com";
var query_url = "/torrents/";
var modifiers = "?ihs1=2&iho1=d&iht=1"; // i.e. to sort the list of results, etc.

var find_movie_url = torrent_site + query_url + escape(document.title.substring(0,document.title.indexOf('(')-1)) + modifiers;
document.getElementsByTagName("h1")[0].innerHTML += "<br/><span style='font-size:13px;'><a href='" + 
                                                    find_movie_url + 
                                                    "'><img src='" + 
                                                    torrent_site + 
                                                    "/favicon.ico'/> Find @ " + 
                                                    site_name + 
                                                    "</a></span>";

/* hide ads -- users without NoScript or no ad blocker might uncomment the section below (or if using Opera, etc.) */
/*
var ifrm=document.getElementsByTagName('iframe');
for(var i=-1; ++i<ifrm.length;){ 
	ifrm[i].style.display="none";
}
var ads=document.evaluate("//DIV[contains(@id,'sponsored')]",document,null,XPathResult.ANY_TYPE,null);
var ad=ads.iterateNext();
while(ad){
	ad.parentNode.removeChild(ad);
	ad = ads.iterateNext();
}
*/