您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
You can use 'https://www.luogu.com.cn/user/ztrztr' to find the user calling "ztrztr!"
当前为
// ==UserScript== // @name Find User // @namespace http://tampermonkey.net/ // @version 0.1 // @description You can use 'https://www.luogu.com.cn/user/ztrztr' to find the user calling "ztrztr!" // @author ztrztr // @match *://*.www.luogu.com.cn/* // @icon https://www.google.com/s2/favicons?sz=64&domain=luogu.com.cn // @grant none // ==/UserScript== (function() { 'use strict'; var url = window.location.href; var res = url.split("/"); if (res[3] == "user") { fetch('https://www.luogu.com.cn/api/user/search?keyword=' + res[4]) .then(response => response.json()) .then(data => { console.log(data.users[0]); var dataa = data.users[0] console.log(dataa.uid); if (data.users.length == 0) window.location.replace("https://www.luogu.com.cn/"); if (res[4] != dataa.uid) { window.location.replace("https://www.luogu.com.cn/user/" + dataa.uid); } }); } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址