Sleazy Fork is available in English.

add_download_button

Add second download button just above Thanks button

Stan na 01-08-2015. Zobacz najnowsza wersja.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==UserScript==
// @name        add_download_button
// @namespace   empornium.me
// @version     0.1
// @author      hwang
// @description Add second download button just above Thanks button
// @include     http://*empornium*/torrents.php?id*
// @grant       none
// ==/UserScript==

//Find and clone download button element
var link = Sizzle("#torrent_buttons")[0].cloneNode(true);

//Find <div> to insert into
var main = Sizzle("#content .main_column")[0];

//Find <div> to insert before
var target = Sizzle('.head:contains(Thanks)')[0];

//Create new <div> element and place button into it
var new_div = document.createElement('div');
new_div.innerHTML = link.innerHTML;

//Insert new <div> into page
main.insertBefore(new_div, target);