您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Show some API stats in profile page
// ==UserScript== // @name osu! Profile Detail // @description Show some API stats in profile page // @author JebwizOscar // @icon http://osu.ppy.sh/favicon.ico // @include http://osu.ppy.sh/u/* // @include https://osu.ppy.sh/u/* // @grant GM_xmlhttpRequest // @grant GM_openInTab // @grant GM_setValue // @grant GM_getValue // @version 1.6.0.0059 // @namespace https://gf.qytechs.cn/users/3079 // ==/UserScript== var ver = 59; var code = document.documentElement.innerHTML; var udt = code.match("var localUserId = ([0-9]+)"); var prefix = document.location.protocol + "//osupd.og.gs/"; function main() { qstr = "sv=" + ver + udstr; var a, b; a = document.getElementsByTagName("head")[0]; b = document.createElement("style"); b.type = "text/css"; b.innerHTML = ".unexpanded { display:none; }"; a.appendChild(b); GM_xmlhttpRequest({ method: "GET", url: prefix + "pf_det.php?" + qstr + "&u=" + uid + "&m=" + e, headers: { Referer: location.href }, onload: function(a) { var c, b = a.responseText; $(".beatmapListing").append(b); $("body").append('<script> var sv=' + ver + '; </script>'); GM_xmlhttpRequest({ method: "GET", url: prefix + "pf_det.js", headers: { Referer: location.href }, onload: function(a) { var b = a.responseText; $("body").append('<script>' + b + '</script>'); } }); } }); } if (code.match("var userId = ([0-9]+)")){ var uid = code.match("var userId = ([0-9]+)")[1]; var e = code.match("var activeGameMode = ([0-9])")[1]; if (null !== udt) { ud = udt[1]; udstr = "&ud=" + ud; } else { ud = "0"; udstr = ""; } main(); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址