v0.11.1 - #47
This commit is contained in:
parent
9ba244b519
commit
67dc352004
3 changed files with 10 additions and 4 deletions
10
dist/main.js
vendored
10
dist/main.js
vendored
|
@ -5,7 +5,7 @@
|
||||||
// @supportURL https://github.com/Xmader/musescore-downloader/issues
|
// @supportURL https://github.com/Xmader/musescore-downloader/issues
|
||||||
// @updateURL https://msdl.librescore.org/install.user.js
|
// @updateURL https://msdl.librescore.org/install.user.js
|
||||||
// @downloadURL https://msdl.librescore.org/install.user.js
|
// @downloadURL https://msdl.librescore.org/install.user.js
|
||||||
// @version 0.11.0
|
// @version 0.11.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/*/*
|
||||||
|
@ -26732,6 +26732,7 @@ Please pipe the document into a Node stream.\
|
||||||
constructor(templateBtn) {
|
constructor(templateBtn) {
|
||||||
this.templateBtn = templateBtn;
|
this.templateBtn = templateBtn;
|
||||||
this.list = [];
|
this.list = [];
|
||||||
|
this.antiDetectionText = 'Download';
|
||||||
}
|
}
|
||||||
add(options) {
|
add(options) {
|
||||||
const btn = this.templateBtn.cloneNode(true);
|
const btn = this.templateBtn.cloneNode(true);
|
||||||
|
@ -26746,7 +26747,12 @@ Please pipe the document into a Node stream.\
|
||||||
const _set = textNode['__lookupSetter__'](_property);
|
const _set = textNode['__lookupSetter__'](_property);
|
||||||
Object.defineProperty(textNode, _property, {
|
Object.defineProperty(textNode, _property, {
|
||||||
set(v) { _set.call(textNode, v); },
|
set(v) { _set.call(textNode, v); },
|
||||||
get() { return 'Download'; },
|
get: () => {
|
||||||
|
// first time only
|
||||||
|
const t = this.antiDetectionText;
|
||||||
|
this.antiDetectionText = '';
|
||||||
|
return t;
|
||||||
|
},
|
||||||
});
|
});
|
||||||
const setText = (str) => {
|
const setText = (str) => {
|
||||||
textNode.textContent = str;
|
textNode.textContent = str;
|
||||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "musescore-downloader",
|
"name": "musescore-downloader",
|
||||||
"version": "0.11.0",
|
"version": "0.11.1",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "musescore-downloader",
|
"name": "musescore-downloader",
|
||||||
"version": "0.11.0",
|
"version": "0.11.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": {
|
||||||
|
|
Loading…
Reference in a new issue