-
Notifications
You must be signed in to change notification settings - Fork 0
/
manifest.ts
40 lines (39 loc) · 846 Bytes
/
manifest.ts
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
import { type ManifestV3Export } from "@crxjs/vite-plugin";
export const manifest: ManifestV3Export = {
manifest_version: 3,
name: "Timer lookup",
description: "Timer lookup extension for developer",
version: "1.0.0",
action: {
default_popup: "index.html",
},
icons: {
16: "timer.png",
32: "timer.png",
48: "timer.png",
128: "timer.png",
},
background: {
service_worker: "background/service-worker.ts",
type: "module",
},
permissions: ["scripting", "activeTab", "storage"],
content_scripts: [
{
js: ["content_scripts/content.ts"],
matches: ["<all_urls>"],
run_at: "document_start"
},
],
web_accessible_resources: [
{
matches: [
"<all_urls>"
],
resources: [
"assets/*.js",
],
"use_dynamic_url": true
}
],
};