您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
// ==UserScript== // @name BBU流量显示优化 // @namespace http://tampermonkey.net/ // @version 1.1 // @description try to take over the world! // @author 汪布斯 // @match http://1.1.2.3/ // @grant none // ==/UserScript== (function() { 'use strict'; let flow=0; let flowstr=document.getElementsByTagName("p")[6].innerHTML; let timestr=document.getElementsByTagName("p")[5].innerHTML; let time=(timestr.split(': ')[1]).split("M")[0]; time = (parseInt(time)/60).toFixed(2); let day = (time/24).toFixed(2); flowstr=(flowstr.split(': ')[1]).split(' ')[0]; flow = parseInt(flowstr); flow = (flow/1024).toFixed(2); document.getElementsByTagName("p")[6].innerHTML='已使用流量 Used flux : '+flow+"GB"; document.getElementsByTagName("p")[5].innerHTML='已使用时间 Used time : '+time+"小时="+day+"天"; //已使用时间 Used time : 37823 Min //console.log(time); })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址