-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.ts
More file actions
39 lines (38 loc) · 890 Bytes
/
manifest.ts
File metadata and controls
39 lines (38 loc) · 890 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import { defineManifest } from '@crxjs/vite-plugin';
import { version } from './package.json';
export default defineManifest({
manifest_version: 3,
name: 'Network Tracker',
version,
description:
'Track and monitor network requests (fetch/XHR) on any page with customizable rules.',
icons: {
'16': 'icon-16.png',
'32': 'icon-32.png',
'48': 'icon-48.png',
'128': 'icon-128.png',
},
action: {
default_popup: 'src/popup/index.html',
default_icon: {
'16': 'icon-16.png',
'32': 'icon-32.png',
'48': 'icon-48.png',
'128': 'icon-128.png',
},
},
permissions: ['storage'],
content_scripts: [
{
matches: ['<all_urls>'],
js: ['src/content/index.tsx'],
run_at: 'document_start',
},
],
web_accessible_resources: [
{
resources: ['hook.js'],
matches: ['<all_urls>'],
},
],
});