NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name torrents9.red // @namespace Torrent9 // @include http://www.torrent9.red/* // @version 2 // @licence GPL-3.0 // @grant none // ==/UserScript== var torrents = document.querySelectorAll("a[title][href^='/torrent/']"); var link = null, dl; for (var i = 0; i < torrents.length; i++) { link = torrents[i]; dl = document.createElement("a"); dl.className = "btn btn-danger fa fa-download"; dl.href = link.href.replace(/torrent\/[0-9]+/, "/get_torrent/") + ".torrent"; link.parentNode.appendChild(dl); }