-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmanifest.json
41 lines (41 loc) · 1.06 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
{
"manifest_version": 3,
"name": "ChatGPT Translation Bot",
"description": "Use AI tools(ChatGPT) to translate any selected text on the website into your set language.",
"version": "1.2.6",
"permissions": [
"storage"
],
"host_permissions": [
"https://*/*"
],
"background": {
"service_worker": "background.js",
"type": "module"
},
"content_scripts": [
{
"matches": ["<all_urls>"],
"css": ["popup.css", "contentScript.css"],
"js": ["contentScript.js"]
}
],
"content_security_policy": {
"extension_pages": "script-src 'self'; object-src 'self'",
"sandbox": "sandbox allow-scripts; script-src 'self' https://gpt.navitechai.com http://localhost:8500 https://api.openai.com; object-src 'self'"
},
"action": {
"default_popup": "popup.html",
"default_icon": {
"16": "images/16x16.png",
"48": "images/48x48.png",
"128": "images/128x128.png"
}
},
"icons": {
"16": "images/16x16.png",
"48": "images/48x48.png",
"128": "images/128x128.png"
},
"default_locale": "en"
}