-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathuserscript.config.js
43 lines (42 loc) · 1.54 KB
/
userscript.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import packageConfig from "./package.json";
export default {
pkgName: packageConfig.name,
name: "DMHY download helper",
"name:zh-CN": "动漫花园下载助手",
description: packageConfig.description,
"description:zh-CN":
"动漫花园(share.dmhy.org)扩展,提供批量选择、列表下载种子文件及详情页树状展示等功能。",
author: packageConfig.author,
namespace: "https://github.com/kuoruan",
homepage: packageConfig.homepage,
supportURL: packageConfig.bugs ? packageConfig.bugs.url : "",
match: [
"*://dmhy.org/",
"*://dmhy.org/topics/list/*",
"*://dmhy.org/topics/list?*",
"*://dmhy.org/topics/view/*",
"*://www.dmhy.org/",
"*://www.dmhy.org/topics/list/*",
"*://www.dmhy.org/topics/list?*",
"*://www.dmhy.org/topics/view/*",
"*://share.dmhy.org/",
"*://share.dmhy.org/topics/list/*",
"*://share.dmhy.org/topics/list?*",
"*://share.dmhy.org/topics/view/*",
"*://dmhy.b168.net/",
"*://dmhy.b168.net/topics/list/*",
"*://dmhy.b168.net/topics/list?*",
"*://dmhy.b168.net/topics/view/*",
],
require: [
"https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.min.js",
"https://cdn.jsdelivr.net/npm/[email protected]/dist/index.min.js",
],
connect: ["dmhy.org", "b168.net"],
grant: ["GM_addStyle", "GM_setClipboard", "GM_xmlhttpRequest"],
source: "https://github.com/kuoruan/dmhy-download-helper.git",
license: packageConfig.license,
"run-at": "document-end",
version: packageConfig.version || "1.0.0",
icon: "https://share.dmhy.org/favicon.ico",
};