blob: 10681eee28903c9c550e9b26c4167ab3192e127b [file] [log] [blame]
Adriàbf3ff682014-07-19 20:32:17 +02001{
Adrià Vilanova Martínez86fda492022-05-31 15:05:21 +02002#if defined(CHROMIUM || EDGE)
Adriàbf3ff682014-07-19 20:32:17 +02003 "manifest_version": 2,
Adrià Vilanova Martínez86fda492022-05-31 15:05:21 +02004#endif
5#if defined(CHROMIUM_MV3 || EDGE_MV3)
6 "manifest_version": 3,
7#endif
avm99963f01af0e2020-12-26 23:11:10 +01008 "name": "__MSG_appName__",
Adriàbf3ff682014-07-19 20:32:17 +02009 "description": "__MSG_appDescription__",
avm999631e9acd22021-01-16 16:14:34 +010010 "author": "Adrià Vilanova Martínez (@avm99963)",
11 "homepage_url": "https://gerrit.avm99963.com/plugins/gitiles/translateselectedtext/",
avm99963f01af0e2020-12-26 23:11:10 +010012 "version": "0",
13 "version_name": "dirty",
Adriàbf3ff682014-07-19 20:32:17 +020014 "permissions": [
15 "contextMenus",
16 "storage",
17 "notifications"
18 ],
19 "icons": {
Adrià348cbb72014-11-09 22:20:09 +010020 "16": "icons/translate-16.png",
21 "32": "icons/translate-32.png",
22 "64": "icons/translate-64.png",
23 "128": "icons/translate-128.png",
24 "256": "icons/translate-256.png"
Adriàbf3ff682014-07-19 20:32:17 +020025 },
26 "background": {
Adrià Vilanova Martínez86fda492022-05-31 15:05:21 +020027#if defined(CHROMIUM || EDGE)
avm99963ce257a92020-12-27 00:07:13 +010028 "scripts": [
Adrià Vilanova Martíneza197d862022-05-27 17:33:20 +020029 "background.bundle.js"
avm99963ce257a92020-12-27 00:07:13 +010030 ],
avm99963866f73d2015-06-29 17:09:36 +020031 "persistent": false
Adrià Vilanova Martínez86fda492022-05-31 15:05:21 +020032#endif
33#if defined(CHROMIUM_MV3 || EDGE_MV3)
34 "service_worker": "background.bundle.js"
35#endif
Adriàbf3ff682014-07-19 20:32:17 +020036 },
37 "options_page": "options.html",
Adrià956b32a2015-01-01 20:03:07 +010038 "options_ui": {
Adrià Vilanova Martínez86fda492022-05-31 15:05:21 +020039#if defined(CHROMIUM || EDGE)
40 "chrome_style": true,
41#endif
42 "page": "options.html"
Adrià956b32a2015-01-01 20:03:07 +010043 },
Adrià Vilanova Martínez86fda492022-05-31 15:05:21 +020044#if defined(CHROMIUM || EDGE)
avm99963ce257a92020-12-27 00:07:13 +010045 "browser_action": {},
Adrià Vilanova Martínez86fda492022-05-31 15:05:21 +020046#endif
47#if defined(CHROMIUM_MV3 || EDGE_MV3)
48 "action": {},
49#endif
Adrià Vilanova Martíneze5263f12022-05-29 19:22:13 +020050 "default_locale": "en",
Adrià Vilanova Martínez86fda492022-05-31 15:05:21 +020051#if defined(CHROMIUM || EDGE)
Adrià Vilanova Martíneze5263f12022-05-29 19:22:13 +020052 "minimum_chrome_version": "86.0.4198.0"
Adrià Vilanova Martínez86fda492022-05-31 15:05:21 +020053#endif
54#if defined(CHROMIUM_MV3 || EDGE_MV3)
55 "minimum_chrome_version": "96.0.4664.45"
56#endif
Adriàbf3ff682014-07-19 20:32:17 +020057}