Don't Train

Disables the gym to prevent you from training while stacking.

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

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

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ć!)

Advertisement:

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ć!)

Advertisement:

// ==UserScript==
// @name         Don't Train
// @namespace    https://greasyfork.org/en/scripts/383075-don-t-train
// @version      0.2
// @description  Disables the gym to prevent you from training while stacking.
// @author       cryosis7 [926640]
// @match        *.torn.com/gym.php*
// ==/UserScript==

const EXPLICIT_MODE = true;
const TERRY_CRUZ = true;

$(window).load(function() {
    $('#gymroot').replaceWith(`
    <div class='m-top10'>
        <div class='title-black top-round' aria-level='5'>STOP</div>
        <div class="bottom-round cont-gray p10">
        <p>    
        ${!EXPLICIT_MODE ?
            "You are <span style='color: red; font-weight:bold'>NOT</span> allowed to train right now!"
            : "YOU SON OF A BITCH, <span style='color: red; font-weight:bold'>DON'T</span> YOU FUCKING <u>DARE</u> SPEND THAT ENERGY!"
        }
        </p><br/>
        ${TERRY_CRUZ ?
            "</br><center><img src=https://i.imgur.com/CFPkW8Z.jpg width=80%/></center>" : ""
        }
        <br/>
        <p>If you want to train, disable this script.</p>
        </div>
        <hr class="page-head-delimiter m-top10">
        </div>
    `)
    $('.doctorn-widgets').remove();
});