您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
replaces osu!direct button to nerinyan.moe download mirror. based on oSumAtrIX's script
// ==UserScript== // @name nerinyan.moe dl mirror // @version 1.21 // @description replaces osu!direct button to nerinyan.moe download mirror. based on oSumAtrIX's script // @author klovik // @include https://osu.ppy.sh/* // @namespace https://greasyfork.org/users/1087418 // ==/UserScript== (() => { 'use strict'; let button; let interval = setInterval(() => { if (!location.pathname.includes('/beatmapsets/') || (button = document.querySelector("div.beatmapset-header__buttons > a[href*=support]")) == null) return; button.querySelector("span > span.btn-osu-big__left > span").innerText = 'nerinyan.moe'; button.attributes.href.value = "https://api.nerinyan.moe/d/" + location.pathname.split('/')[2] }, 500); })();