您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Quick links on profiles to ScratchStats.com and my Scratch Stats. (Deprecated: Use Scratch Addons instead.)
// ==UserScript== // @name Shorter Scratch Stats Links // @namespace Hans5958 // @version 1 // @description Quick links on profiles to ScratchStats.com and my Scratch Stats. (Deprecated: Use Scratch Addons instead.) // @author Hans5958 // @license MIT // @match https://scratch.mit.edu/users/* // @grant none // @homepageURL https://github.com/Hans5958/userscripts // @supportURL https://github.com/Hans5958/userscripts/issues // ==/UserScript== var u = $("h2").html(), t1 = $("span.location"), t2 = t1[0] t1.addClass("group") t1.css("display", "inline") t2.outerHTML = `<br />${t2.outerHTML}<a class="group" href="https://scratchstats.com/${u}" target="_blank">ScratchStats.com</a><a href="https://hans5958.github.io/mini-htmls/scratch-stats#${u}" target="_blank">H's Scratch Stats</a>`