// ==UserScript== // @name Torrentz : The Bobcat add-on // @namespace http://torrentzBobCat // @homepage http://www.youtube.com/watch?v=1QyuIDw0CIw&feature=youtu.be // @description Torrentz.eu: Add IMDB ratings, download links, movie plot/actors, and other goodies. Also features an light built-in serie tracker. Torrentz gets so much simpler and efficient! Demo video here: http://www.youtube.com/watch?v=1QyuIDw0CIw&feature=youtu.be // @author CoolMatt // @version 1.6.0 // @grant none // @include *://torrentz.* // @match *://torrentz.com/* // @match *://torrentz.eu/* // @match *://torcache.net/* // @downloadURL none // ==/UserScript== // @date 19 Jun 2013 // @license GPL version 3 or any later version; http://www.gnu.org/copyleft/gpl.html //Define the namespace var Torrentz = Torrentz || {}; Torrentz.GM = {}; Torrentz.GM.BobCatTorrentz = {}; Torrentz.GM.BobCatTorrentz = { //Store info about movies of the page PageCache_movieInfo: {}, //Lookup table [torrentId -> movieKey] - as several torrents can point at the same movie info PageCache_lk_id_info: {}, start: function () { // Load and inject css initCss(); // Add the 'bobcat touch' this.addBadgeAndButtons(); //// Prevent scripts to bounce you to another page //window.onbeforeunload = function () { // return "Exit this page?"; //}; // Hide visual spam $("div.cloud").hide(); // Load store var moviesStore = Enbalaba.GetLocalStore("moviesInfo"), moviesData = moviesStore.get(), that = this, results; //Calculate cache size and clear it if too big this.checkCacheSize(moviesStore); //Get rid of this incredibly annoying & ridiculous advertising banner $("body>iframe:first").hide(); // Append download modal $("body").append("
Click a link below in order to download your torrent