您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Just makes the "xx kills" text in monster log actually legible.
// ==UserScript== // @name DH3 Brighter Kills // @namespace com.anwinity.dh3 // @version 1.0.1 // @description Just makes the "xx kills" text in monster log actually legible. // @author Anwinity // @match dh3.diamondhunt.co // @grant none // ==/UserScript== (function() { 'use strict'; $(function() { const originalClicksItem = window.clicksItem; window.clicksItem = function(a) { originalClicksItem.apply(this, arguments); if(a=="combatLog") { let calls = 40; function waitUntilVisible() { calls--; let spans = $("#combat-combatLog-section table > tbody > tr:first-child > td:first-child span"); if(spans.length>0) { spans.css("color", "silver"); setTimeout(()=>$("#combat-combatLog-section table > tbody > tr:first-child > td:first-child span").css("color", "silver"), 200); setTimeout(()=>$("#combat-combatLog-section table > tbody > tr:first-child > td:first-child span").css("color", "silver"), 500); setTimeout(()=>$("#combat-combatLog-section table > tbody > tr:first-child > td:first-child span").css("color", "silver"), 1000); } else { if(calls>0) { setTimeout(waitUntilVisible, 50); } } } waitUntilVisible(); } } }); })();