您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shows only faction members that are in the hospital and hides the rest.
// ==UserScript== // @name Faction Hospital working v1.4 // @namespace http://tampermonkey.net/ // @version 1.4 // @description Shows only faction members that are in the hospital and hides the rest. // @author muffenman and help from Pi77Bull // @match https://www.torn.com/factions.php?step=profile&ID=* // @grant none // @run-at document-end // ==/UserScript== // What does this script do? // It hides all members on faction pages that are not in the hospital and displays the hospital time for those who are. $( ".faction-description" ).css("display", "none", "traveling"); //hides faction description $('.member-list > li:not(:contains("Hospital"))').css("display", "none"); //hides every member that is not in hospital $('.member-list > li:contains("Hospital")').each((i, j) => { //loops through every member that is in hospital $(j).find(".days").text($(j).find("#icon15").attr("title").substr(-16, 8)); //displays time that is found in the hospital icon $(".title .days").text("Time"); //changes Days column title to "Time" }); //console.log("Made by muffenman [2002712] and Pi77Bull [2082618] . If you like it, send us a message or a gift either is fine :P \"I love your script!\".");
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址