musescore-downloader

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit afce6d6039ebadd3584505908dbe5ea6d6bd7b07
parent 6ac1321f1a67803ed8cf2445a1390ef3c36c24d3
Author: Xmader <xmader@outlook.com>
Date:   Sat, 15 Feb 2020 16:30:10 -0500

v0.5.1 - debug

Diffstat:
Mdist/main.js | 4++--
Mpackage.json | 2+-
Msrc/main.ts | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dist/main.js b/dist/main.js @@ -3,7 +3,7 @@ // @namespace https://www.xmader.com/ // @homepageURL https://github.com/Xmader/musescore-downloader/ // @supportURL https://github.com/Xmader/musescore-downloader/issues -// @version 0.5.0 +// @version 0.5.1 // @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱 // @author Xmader // @match https://musescore.com/*/* @@ -28881,7 +28881,7 @@ Please pipe the document into a Node stream.\ const msczURL = `https://musescore-mscz.99.workers.dev/${id}`; const mxlURL = baseURL + "score.mxl"; const { midi: midiURL, mp3: mp3URL } = scorePlayer.urls; - const btnsDiv = document.querySelector(".score-right .buttons-wrapper") || document.querySelectorAll("aside section > div")[3]; + const btnsDiv = document.querySelector(".score-right .buttons-wrapper") || document.querySelectorAll("aside section > div")[4]; const downloadBtn = btnsDiv.querySelector("button, .button"); downloadBtn.onclick = null; const imgType = getImgType() || "svg"; diff --git a/package.json b/package.json @@ -1,6 +1,6 @@ { "name": "musescore-downloader", - "version": "0.5.0", + "version": "0.5.1", "description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱", "main": "dist/main.js", "repository": { diff --git a/src/main.ts b/src/main.ts @@ -77,7 +77,7 @@ const main = () => { const mxlURL = baseURL + "score.mxl" const { midi: midiURL, mp3: mp3URL } = scorePlayer.urls - const btnsDiv = document.querySelector(".score-right .buttons-wrapper") || document.querySelectorAll("aside section > div")[3] + const btnsDiv = document.querySelector(".score-right .buttons-wrapper") || document.querySelectorAll("aside section > div")[4] const downloadBtn = btnsDiv.querySelector("button, .button") as HTMLElement downloadBtn.onclick = null