Repository navigation
Expand file tree
/
Copy pathmanifest.json
More file actions
63 lines (63 loc) · 1.54 KB
/
Copy pathmanifest.json
File metadata and controls
63 lines (63 loc) · 1.54 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"manifest_version": 3,
"name": "ClarityLens",
"short_name": "ClarityLens",
"version": "1.0.0",
"description": "On-device AI for summarization, rewriting, translation, proofreading, and image descriptions using Chrome's Built-in AI APIs",
"icons": {
"16": "icons/icon-16.png",
"48": "icons/icon-48.png",
"128": "icons/icon-128.png"
},
"action": {
"default_popup": "ui/popup.html",
"default_icon": {
"16": "icons/icon-16.png",
"48": "icons/icon-48.png",
"128": "icons/icon-128.png"
},
"default_title": "ClarityLens"
},
"background": {
"service_worker": "background/service-worker.js",
"type": "module"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["content/content.js"],
"run_at": "document_idle",
"all_frames": false
}
],
"permissions": [
"activeTab",
"scripting",
"storage",
"contextMenus"
],
"host_permissions": [],
"options_page": "ui/options.html",
"commands": {
"simplify-selection": {
"suggested_key": {
"default": "Ctrl+Shift+S",
"mac": "Command+Shift+S"
},
"description": "Simplify selected text"
},
"translate-page": {
"suggested_key": {
"default": "Ctrl+Shift+T",
"mac": "Command+Shift+T"
},
"description": "Translate current page"
}
},
"web_accessible_resources": [
{
"resources": ["ui/*.css", "assets/*"],
"matches": ["<all_urls>"]
}
]
}