v0.5.1 - debug
This commit is contained in:
parent
6ac1321f1a
commit
afce6d6039
3 changed files with 4 additions and 4 deletions
4
dist/main.js
vendored
4
dist/main.js
vendored
|
@ -3,7 +3,7 @@
|
||||||
// @namespace https://www.xmader.com/
|
// @namespace https://www.xmader.com/
|
||||||
// @homepageURL https://github.com/Xmader/musescore-downloader/
|
// @homepageURL https://github.com/Xmader/musescore-downloader/
|
||||||
// @supportURL https://github.com/Xmader/musescore-downloader/issues
|
// @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 上的曲谱
|
// @description download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱
|
||||||
// @author Xmader
|
// @author Xmader
|
||||||
// @match https://musescore.com/*/*
|
// @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 msczURL = `https://musescore-mscz.99.workers.dev/${id}`;
|
||||||
const mxlURL = baseURL + "score.mxl";
|
const mxlURL = baseURL + "score.mxl";
|
||||||
const { midi: midiURL, mp3: mp3URL } = scorePlayer.urls;
|
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");
|
const downloadBtn = btnsDiv.querySelector("button, .button");
|
||||||
downloadBtn.onclick = null;
|
downloadBtn.onclick = null;
|
||||||
const imgType = getImgType() || "svg";
|
const imgType = getImgType() || "svg";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "musescore-downloader",
|
"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 上的曲谱",
|
"description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro,免费下载 musescore.com 上的曲谱",
|
||||||
"main": "dist/main.js",
|
"main": "dist/main.js",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
@ -77,7 +77,7 @@ const main = () => {
|
||||||
const mxlURL = baseURL + "score.mxl"
|
const mxlURL = baseURL + "score.mxl"
|
||||||
const { midi: midiURL, mp3: mp3URL } = scorePlayer.urls
|
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
|
const downloadBtn = btnsDiv.querySelector("button, .button") as HTMLElement
|
||||||
downloadBtn.onclick = null
|
downloadBtn.onclick = null
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue