-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmetadata.js
More file actions
24 lines (23 loc) · 734 Bytes
/
Copy pathmetadata.js
File metadata and controls
24 lines (23 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
const pkg = require('../package.json');
module.exports = {
name: pkg.name,
namespace: 'https://trim21.me/',
version: pkg.version,
author: pkg.author,
source: pkg.repository.url,
supportURL: pkg.repository.url + '/issues',
license: 'MIT',
match: ['https://bgm.tv/subject/*/edit', 'https://bangumi.tv/subject/*/edit'],
require: [
'https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js',
'https://cdn.jsdelivr.net/npm/diff2html/bundles/js/diff2html.min.js',
'https://cdn.jsdelivr.net/npm/diff/dist/diff.min.js',
],
grant: ['GM_xmlhttpRequest'],
connect: ['example.com', 'www.example.com'],
resource: {
A: 'https://resource.a',
BB: 'https://resource.b',
},
'run-at': 'document-end',
};