v0.1.6 - 扩大脚本作用 URL 范围
This commit is contained in:
parent
9d4a8fedb1
commit
36e83b2886
4 changed files with 7 additions and 4 deletions
6
dist/main.js
vendored
6
dist/main.js
vendored
|
@ -3,10 +3,10 @@
|
|||
// @namespace https://www.xmader.com/
|
||||
// @homepageURL https://github.com/Xmader/musescore-downloader/
|
||||
// @supportURL https://github.com/Xmader/musescore-downloader/issues
|
||||
// @version 0.1.5
|
||||
// @version 0.1.6
|
||||
// @description 免登录、免 Musescore Pro,下载 musescore.com 上的曲谱
|
||||
// @author Xmader
|
||||
// @match https://musescore.com/*/scores/*
|
||||
// @match https://musescore.com/*/*
|
||||
// @license MIT
|
||||
// @copyright Copyright (c) 2019 Xmader
|
||||
// @grant none
|
||||
|
@ -15,6 +15,8 @@
|
|||
(function () {
|
||||
'use strict';
|
||||
|
||||
if (!window.UGAPP || !window.UGAPP.store || !window.UGAPP.store.jmuse_settings) { return }
|
||||
|
||||
const getIndexPath = (id) => {
|
||||
const idStr = String(id);
|
||||
// 获取最后三位,倒序排列
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "musescore-downloader",
|
||||
"version": "0.1.5",
|
||||
"version": "0.1.6",
|
||||
"description": "免登录、免 Musescore Pro,下载 musescore.com 上的曲谱",
|
||||
"main": "dist/main.js",
|
||||
"repository": {
|
||||
|
|
|
@ -16,6 +16,7 @@ export default {
|
|||
format: "iife",
|
||||
sourcemap: false,
|
||||
banner: getBannerText,
|
||||
intro: "if (!window.UGAPP || !window.UGAPP.store || !window.UGAPP.store.jmuse_settings) { return }"
|
||||
},
|
||||
plugins: [
|
||||
typescript({
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// @version %VERSION%
|
||||
// @description 免登录、免 Musescore Pro,下载 musescore.com 上的曲谱
|
||||
// @author Xmader
|
||||
// @match https://musescore.com/*/scores/*
|
||||
// @match https://musescore.com/*/*
|
||||
// @license MIT
|
||||
// @copyright Copyright (c) 2019 Xmader
|
||||
// @grant none
|
||||
|
|
Loading…
Reference in a new issue