-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.json
More file actions
70 lines (70 loc) · 1.74 KB
/
Copy pathmanifest.json
File metadata and controls
70 lines (70 loc) · 1.74 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
{
"manifest_version": 3,
"name": "Sharp",
"version": "0.5.2",
"description": "Filter your timeline with your own AI provider, word rules and per-author rules.",
"permissions": ["storage"],
"host_permissions": [
"https://x.com/*",
"https://twitter.com/*",
"https://www.youtube.com/*",
"https://m.youtube.com/*",
"https://openrouter.ai/*",
"https://api.openai.com/*",
"https://api.anthropic.com/*"
],
"optional_host_permissions": ["https://*/*"],
"background": {
"service_worker": "background.js",
"type": "module"
},
"content_scripts": [
{
"matches": ["https://x.com/*", "https://twitter.com/*"],
"js": ["wire.js"],
"run_at": "document_start",
"world": "MAIN"
},
{
"matches": ["https://x.com/*", "https://twitter.com/*"],
"js": ["content.js"],
"css": ["content.css"],
"run_at": "document_start"
},
{
"matches": ["https://www.youtube.com/*", "https://m.youtube.com/*"],
"js": ["content.js"],
"css": ["content.css"],
"run_at": "document_start"
}
],
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
}
},
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"commands": {
"toggle-filtering": {
"suggested_key": {
"default": "Alt+Shift+F"
},
"description": "Turn filtering on or off"
},
"toggle-thread": {
"suggested_key": {
"default": "Alt+Shift+T"
},
"description": "Stop filtering the thread you are viewing"
}
}
}