forked from yaroslav-n/tweetGPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanifest.json
43 lines (43 loc) · 1.01 KB
/
manifest.json
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
{
"name": "tweetGPT",
"action": {
"default_popup": "./src/popup/popup.html"
},
"manifest_version": 3,
"version": "1.0",
"description": "Writes tweets with chatGPT",
"permissions": [
"activeTab",
"scripting",
"storage"
],
"host_permissions": [
"https://chat.openai.com/*"
],
"content_scripts": [
{
"matches": ["https://*.twitter.com/*"],
"css": ["css/inject.css"],
"js": ["lib/inject.js"]
},
{
"matches": ["https://chat.openai.com/*"],
"js": ["lib/inject_openai.js"]
}
],
"icons": {
"16": "icons/16.png",
"32": "icons/32.png",
"48": "icons/48.png",
"128": "icons/128.png"
},
"background": {
"service_worker": "lib/background.js"
},
"web_accessible_resources": [
{
"resources": ["icons/button.svg", "icons/button_error.svg"],
"matches": ["https://*.twitter.com/*"]
}
]
}