您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
不用等待 15 秒,直接显示下载链接。
当前为
// ==UserScript== // @name imslp download // @namespace http://tampermonkey.net/ // @version 0.1 // @description 不用等待 15 秒,直接显示下载链接。 // @author Distors // @match *://*.imslp.org/* // @icon https://imslp.org/apple-touch-icon.png // @grant none // @license GPL-3.0-only // ==/UserScript== (function() { 'use strict'; let t = setTimeout(() => { let e = document.getElementById('sm_dl_wait') if (e) { let a = document.createElement('a'); a.href = e.getAttribute('data-id'); a.innerText = '点击这里下载'; e.parentNode.replaceChild(a, e); clearTimeout(t); } }, 1000); })();