您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Instead of showing the total XP recquiered on the XP bar, it only show the XP for the current level
当前为
// ==UserScript== // @name HaremHeroes XP for next level // @version 1.1 // @description Instead of showing the total XP recquiered on the XP bar, it only show the XP for the current level // @author Spychopat // @match http*://nutaku.haremheroes.com/* // @match http*://*.hentaiheroes.com/* // @namespace JDscripts // ==/UserScript== function getHero() { if(unsafeWindow.Hero === undefined) { setTimeout(autoLoop, Number(sessionStorage.autoLoopTimeMili)) //console.log(window.wrappedJSObject) } return unsafeWindow.Hero; } function refreshXp() { var xpActuelle = getHero().infos.Xp.cur - Hero.infos.Xp.min; var xpObjectif = getHero().infos.Xp.max - Hero.infos.Xp.min; var divXpBarInfos = document.getElementsByClassName("over reversed_tooltip")[0]; var spansXpBarInfos = divXpBarInfos.getElementsByTagName("span"); spansXpBarInfos[0].innerHTML = xpActuelle; spansXpBarInfos[2].innerHTML = xpObjectif; } (function() { 'use strict'; refreshXp(); setInterval(function() { refreshXp(); }, 1000); })();