-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmetadata.cjs
More file actions
46 lines (45 loc) · 1.18 KB
/
metadata.cjs
File metadata and controls
46 lines (45 loc) · 1.18 KB
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
44
45
46
const {
author,
dependencies,
repository,
version,
description,
} = require("../package.json");
module.exports = {
name: {
$: "MetaTranslator",
fa: "مترجم متا",
},
namespace: "Violentmonkey Scripts",
version: version,
author: author,
source: repository.url,
license: "MIT",
match: ["*://*/*"],
description,
grant: [
"GM_setValue",
"GM_getValue",
"GM_deleteValue",
"GM_addValueChangeListener",
"GM_registerMenuCommand",
"GM_unregisterMenuCommand",
"GM_xmlhttpRequest",
// "GM_addStyle",
// "GM_getResourceText",
],
icon: "https://www.google.com/s2/favicons?sz=64&domain=translate.google.com",
require: [
"https://update.greasyfork.org/scripts/530526/1558038/ProgressUI-Module.js",
],
resource: [
// 'popup_css https://raw.githubusercontent.com/maanimis/MetaTranslator/refs/heads/develop/src/pages/popup.css',
],
connect: [],
"run-at": "document-end",
"inject-into": "content",
downloadURL:
"https://github.com/maanimis/MetaTranslator/releases/latest/download/index.prod.user.js",
updateURL:
"https://github.com/maanimis/MetaTranslator/releases/latest/download/index.prod.user.js",
};