v0.5.1 - debug

This commit is contained in:
Xmader 2020-02-15 16:30:10 -05:00
parent 6ac1321f1a
commit afce6d6039
3 changed files with 4 additions and 4 deletions

4
dist/main.js vendored
View file

@ -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";

View file

@ -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": {

View file

@ -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