您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Adds a link to the error page to download the replay
当前为
// ==UserScript== // @name Add download link to removed scores on osu.ppy.sh // @namespace http://tampermonkey.net/ // @version 0.1 // @description Adds a link to the error page to download the replay // @author InvisibleSymbol // @match https://osu.ppy.sh/scores/* // @grant none // @run-at document-idle // ==/UserScript== (function() { var area = document.querySelector("body > div.osu-layout__section.osu-layout__section--full.js-content.error_404 > div.osu-page.osu-page--generic.text-center"); if (!area) { return; } var link = document.createElement('a'); var para = document.createElement("p"); para.innerHTML = "Click here to download the replay"; link.href = window.location.href + "/download"; link.appendChild(para); area.prepend(link); })();