Skip to content

Commit f60b468

Browse files
committed
Merge branch 'release/v0.1'
2 parents 57c24cc + 8fb94d2 commit f60b468

38 files changed

Lines changed: 1297 additions & 49 deletions

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
.idea
33
.vscode
4-
dist
4+
# dist
5+
.temp

config/metadata.cjs

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,29 @@ const {
77

88
module.exports = {
99
name: {
10-
$: "webpack-userscript-template",
11-
cn: "中文名",
12-
en: "english name",
10+
$: "MetaTranslator",
11+
en: "MetaTranslator",
1312
},
14-
namespace: "https://trim21.me/",
13+
namespace: "Violentmonkey Scripts",
1514
version: version,
1615
author: author,
1716
source: repository.url,
18-
// 'license': 'MIT',
19-
match: ["*://www.example.com/", "*://example.com/*"],
17+
'license': 'MIT',
18+
match: ["*://*/*"],
19+
grant: [
20+
"GM_setValue",
21+
"GM_getValue",
22+
"GM_deleteValue",
23+
"GM_addValueChangeListener",
24+
"GM_registerMenuCommand",
25+
"GM_unregisterMenuCommand",
26+
"GM_xmlhttpRequest",
27+
],
2028
require: [
21-
`https://cdn.jsdelivr.net/npm/jquery@${dependencies.jquery}/dist/jquery.min.js`,
29+
'https://update.greasyfork.org/scripts/530648/1558616/FileDownloader-Module.js',
30+
'https://update.greasyfork.org/scripts/530526/1558038/ProgressUI-Module.js',
31+
'https://cdnjs.cloudflare.com/ajax/libs/jszip/3.7.1/jszip.min.js'
2232
],
23-
grant: ["GM.xmlHttpRequest"],
24-
connect: ["httpbin.org"],
33+
connect: [],
2534
"run-at": "document-end",
2635
};

0 commit comments

Comments
 (0)