您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Shows you the health number, that's all...
// ==UserScript== // @name Surviv Health Mod // @namespace https://github.com/Michal2SAB // @version 1.0 // @description Shows you the health number, that's all... // @author Michal2SAB // @match *://surviv.io/* // @match *://surviv2.io/* // @match *://2dbattleroyale.com/* // @match *://2dbattleroyale.org/* // @match *://piearesquared.info/* // @match *://thecircleisclosing.com/* // @match *://archimedesofsyracuse.info/* // @match *://secantsecant.com/* // @match *://parmainitiative.com/* // @match *://nevelskoygroup.com/* // @match *://kugahi.com/* // @match *://chandlertallowmd.com/* // @match *://ot38.club/* // @match *://kugaheavyindustry.com/* // @match *://drchandlertallow.com/* // @match *://rarepotato.com/* // @grant none // @require http://code.jquery.com/jquery-3.4.1.min.js // ==/UserScript== (function() { 'use strict'; var lastHP = 0 var health = $("<span></span>") health.css({ display: "block", position: "fixed", "z-index": "2", margin: "6px 0 0 0", right: "12px", color: "blue", "font-weight": "bold", "font-size": "large", }) $("#ui-health-container").append(health) setInterval(function(){ var hp = Math.round(document.getElementById("ui-health-actual").style.width.slice(0,-1)) if(lastHP !== hp){ lastHP = hp health.html(Math.ceil(hp)) } }) })();