This commit is contained in:
Xmader 2020-11-20 10:20:17 -05:00
parent 0832c9484d
commit 704770780d
No known key found for this signature in database
GPG key ID: A20B97FB9EB730E4
3 changed files with 10 additions and 3 deletions

9
dist/main.js vendored
View file

@ -5,7 +5,7 @@
// @supportURL https://github.com/Xmader/musescore-downloader/issues
// @updateURL https://msdl.librescore.org/install.user.js
// @downloadURL https://msdl.librescore.org/install.user.js
// @version 0.15.13
// @version 0.15.14
// @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/*/*
@ -26891,6 +26891,13 @@ Please pipe the document into a Node stream.\
const observer = new MutationObserver(() => {
// check if the buttons are still in document when dom updates
if (!document.contains(el)) {
try {
this.getBtnParent();
}
catch (_a) {
observer.disconnect();
this.commit(BtnListMode.ExtWindow);
}
// re-commit
// performance issue?
el = this._commit();

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "musescore-downloader",
"version": "0.15.13",
"version": "0.15.14",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -1,6 +1,6 @@
{
"name": "musescore-downloader",
"version": "0.15.13",
"version": "0.15.14",
"description": "download sheet music from musescore.com for free, no login or Musescore Pro required | 免登录、免 Musescore Pro免费下载 musescore.com 上的曲谱",
"main": "dist/main.js",
"repository": {