-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
91 lines (90 loc) · 2.16 KB
/
manifest.json
File metadata and controls
91 lines (90 loc) · 2.16 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"manifest_version": 3,
"name": "Graphiti - Pubky URL Tagger",
"version": "1.0.0",
"description": "Publish deterministic link posts with tags to your Pubky homeserver and browse what your follows have shared",
"permissions": [
"storage",
"activeTab",
"tabs",
"sidePanel",
"webNavigation",
"notifications",
"alarms",
"offscreen"
],
"host_permissions": [
"http://*/*",
"https://*/*"
],
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"side_panel": {
"default_path": "sidepanel.html"
},
"background": {
"service_worker": "background.js",
"type": "module"
},
"content_scripts": [
{
"matches": ["http://*/*", "https://*/*"],
"js": ["content.js"],
"run_at": "document_idle",
"all_frames": false
}
],
"icons": {
"16": "icons/icon16.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"commands": {
"_execute_action": {
"suggested_key": {
"default": "Alt+P",
"mac": "Alt+P"
},
"description": "Open Graphiti popup"
},
"toggle-sidepanel": {
"suggested_key": {
"default": "Alt+S",
"mac": "Alt+S"
},
"description": "Toggle Graphiti sidebar (open/close)"
},
"open-annotations": {
"suggested_key": {
"default": "Alt+A",
"mac": "Alt+A"
},
"description": "Open Annotations tab in sidebar"
},
"toggle-drawing": {
"suggested_key": {
"default": "Alt+D",
"mac": "Alt+D"
},
"description": "Toggle drawing mode"
}
},
"content_security_policy": {
"extension_pages": "script-src 'self' 'wasm-unsafe-eval'; object-src 'self'"
// Note: 'wasm-unsafe-eval' is required for Pubky SDK WebAssembly support
},
"web_accessible_resources": [
{
"resources": ["src/profile/profile-renderer.html"],
"matches": ["<all_urls>"]
// Note: Profile renderer needs to be accessible from any page to display
// pubky:// URLs. This is a core feature requirement.
}
]
}