v0.11.6
This commit is contained in:
parent
506b485e82
commit
954d0d5e65
3 changed files with 8 additions and 3 deletions
7
dist/main.js
vendored
7
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.5
|
// @version 0.11.6
|
||||||
// @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/*/*
|
||||||
|
@ -26485,6 +26485,11 @@ Please pipe the document into a Node stream.\
|
||||||
return function (...args) {
|
return function (...args) {
|
||||||
const nodes = _fn.apply(this, args);
|
const nodes = _fn.apply(this, args);
|
||||||
const results = Array.prototype.filter.call(nodes, (e) => !l.has(e));
|
const results = Array.prototype.filter.call(nodes, (e) => !l.has(e));
|
||||||
|
results.forEach((e) => {
|
||||||
|
Object.defineProperty(e, 'querySelectorAll', {
|
||||||
|
value: qsaHook,
|
||||||
|
});
|
||||||
|
});
|
||||||
// convert back to a NodeList/HTMLCollection instead of an Array
|
// convert back to a NodeList/HTMLCollection instead of an Array
|
||||||
Object.setPrototypeOf(results, Object.getPrototypeOf(nodes));
|
Object.setPrototypeOf(results, Object.getPrototypeOf(nodes));
|
||||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
||||||
|
|
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "musescore-downloader",
|
"name": "musescore-downloader",
|
||||||
"version": "0.11.5",
|
"version": "0.11.6",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "musescore-downloader",
|
"name": "musescore-downloader",
|
||||||
"version": "0.11.5",
|
"version": "0.11.6",
|
||||||
"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