Don't Train

Disables the gym to prevent you from training while stacking.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

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

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

Advertisement:

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

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();
});