v0.1.6 - 扩大脚本作用 URL 范围

This commit is contained in:
Xmader 2019-11-04 01:32:16 -05:00
parent 9d4a8fedb1
commit 36e83b2886
4 changed files with 7 additions and 4 deletions

6
dist/main.js vendored
View file

@ -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);
// 获取最后三位,倒序排列