imslp download

不用等待 15 秒,直接显示下载链接。

  1. // ==UserScript==
  2. // @name imslp download
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.11
  5. // @description 不用等待 15 秒,直接显示下载链接。
  6. // @author Distors
  7. // @match *://*.imslp.org/*
  8. // @icon https://imslp.org/apple-touch-icon.png
  9. // @grant none
  10. // @license GPL-3.0-only
  11. // ==/UserScript==
  12.  
  13. (function() {
  14. 'use strict';
  15.  
  16. let t = setInterval(() => {
  17. let e = document.getElementById('sm_dl_wait')
  18. if (e)
  19. {
  20. let a = document.createElement('a');
  21. a.href = e.getAttribute('data-id');
  22. a.innerText = '点击这里下载';
  23.  
  24. e.parentNode.replaceChild(a, e);
  25. clearInterval(t);
  26. }
  27. }, 1000);
  28. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址