Torn - Stable Hunting Button

Sets a consistent height for the hunting results list, preventing the 'Hunt Again' button from shifting.

// ==UserScript==
// @name         Torn - Stable Hunting Button
// @namespace    http://tampermonkey.net/
// @version      1.2
// @description  Sets a consistent height for the hunting results list, preventing the 'Hunt Again' button from shifting.
// @author       defend [2683949]
// @match        *://www.torn.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=torn.com
// @grant        GM_addStyle
// ==/UserScript==

(function() {
    'use strict';

    GM_addStyle(`
        .hunt-result-wrap ul.kill-list {
            min-height: 140px;
            max-height: 140px;
            overflow-y: auto;
            margin-bottom: 10px;
            padding-right: 5px;
        }

        .hunt-result-wrap .hunt-btn-area br {
            display: none;
        }
    `);
})();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址