您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds a % to player and mob health.
// ==UserScript== // @name Pendoria Health Percentages // @namespace http://pendoria.net/ // @version 1.0 // @author Puls3 // @include /^https?:\/\/(?:.+\.)?pendoria\.net\/?(?:.+)?$/ // @icon https://raw.githubusercontent.com/xPuls3/Pendorian-Elite-UI/master/favicon.ico // @grant none // @run-at document-end // @description Adds a % to player and mob health. // ==/UserScript== // This script was created by Puls3! // - Puls3 on Pendoria socket.on('battle data', function() { let elem1 = document.getElementById("mhp-value"); elem1.innerText = elem1.innerText + " (" + document.getElementById("mhp-background").style.width + ")"; let elem2 = document.getElementById("php-value"); elem2.innerText = elem2.innerText + " (" + document.getElementById("php-background").style.width + ")"; });