blob: f6b8d5f0b27ad9677825f2ca35dafc68b42746e8 [file] [log] [blame]
avm99963847ee632019-03-27 00:57:44 +01001{
2 "manifest_version": 2,
avm99963a3d1ef32019-03-30 23:33:29 +01003 "name": "__MSG_appName__",
avm99963666575f2020-08-08 15:40:39 +02004 "version": "0",
avm999636c357302020-08-09 19:54:08 +02005#if defined(CHROMIUM)
avm99963666575f2020-08-08 15:40:39 +02006 "version_name": "dirty",
avm999636c357302020-08-09 19:54:08 +02007#endif
avm99963a3d1ef32019-03-30 23:33:29 +01008 "description": "__MSG_appDescription__",
avm99963847ee632019-03-27 00:57:44 +01009 "icons": {
avm99963d8498752019-03-27 01:09:56 +010010 "512": "icons/512.png",
11 "128": "icons/128.png"
avm99963847ee632019-03-27 00:57:44 +010012 },
13 "content_scripts": [
14 {
15 "matches": ["https://support.google.com/s/community*"],
avm99963943b8492020-08-31 23:40:43 +020016 "js": ["common/content_scripts.js", "content_scripts/console_inject.js"]
avm99963847ee632019-03-27 00:57:44 +010017 },
18 {
avm999636d9c5fe2019-06-04 00:35:53 +020019 "matches": ["https://support.google.com/s/community*"],
avm999630bc113a2020-09-07 13:02:11 +020020 "js": ["common/content_scripts.js", "content_scripts/console_inject_start.js"],
avm9996306167752020-09-08 00:50:36 +020021 "css": ["common/console.css"],
avm999636d9c5fe2019-06-04 00:35:53 +020022 "run_at": "document_start"
23 },
24 {
avm99963847ee632019-03-27 00:57:44 +010025 "matches": ["https://support.google.com/*/threads*"],
avm99963a560aba2020-08-31 13:32:29 +020026 "js": ["content_scripts/forum_inject.js"]
avm99963cbea3142019-03-28 00:48:15 +010027 },
28 {
29 "matches": ["https://support.google.com/*/thread/*"],
avm9996336b8dbc2020-09-01 21:16:19 +020030 "exclude_matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/new*"],
avm99963943b8492020-08-31 23:40:43 +020031 "js": ["common/content_scripts.js", "content_scripts/thread_inject.js"],
avm99963134f1ef2019-03-30 19:05:27 +010032 "run_at": "document_end"
avm99963d0757252019-03-30 20:13:00 +010033 },
34 {
avm99963ad65e752020-09-01 00:13:59 +020035 "matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/*"],
avm9996336b8dbc2020-09-01 21:16:19 +020036 "exclude_matches": ["https://support.google.com/*/thread/new*"],
avm99963ad65e752020-09-01 00:13:59 +020037 "js": ["common/content_scripts.js", "content_scripts/profileindicator_inject.js"]
38 },
39 {
avm99963d0757252019-03-30 20:13:00 +010040 "matches": ["https://support.google.com/*/profile/*"],
avm9996306167752020-09-08 00:50:36 +020041 "js": ["common/content_scripts.js", "content_scripts/profile_inject.js"],
42 "css": ["common/forum.css"]
avm99963847ee632019-03-27 00:57:44 +010043 }
44 ],
45 "permissions": [
46 "https://support.google.com/s/community*",
avm99963cbea3142019-03-28 00:48:15 +010047 "https://support.google.com/*/threads*",
48 "https://support.google.com/*/thread/*",
49 "storage"
50 ],
avm99963129fb502020-08-28 05:18:53 +020051 "web_accessible_resources": [
avm99963e51444e2020-08-31 14:50:06 +020052 "injections/profileindicator_inject.js",
avm999630bc113a2020-09-07 13:02:11 +020053 "injections/profileindicator_inject.css",
54 "injections/ccdarktheme.css",
55 "injections/ccdarktheme_switch.css"
avm99963129fb502020-08-28 05:18:53 +020056 ],
avm999631a1d2b72020-08-20 03:15:20 +020057 "browser_action": {},
avm999636c357302020-08-09 19:54:08 +020058#if defined(CHROMIUM)
avm99963cbea3142019-03-28 00:48:15 +010059 "options_page": "options.html",
avm999636c357302020-08-09 19:54:08 +020060#endif
avm99963cbea3142019-03-28 00:48:15 +010061 "options_ui": {
62 "page": "options.html",
avm999636c357302020-08-09 19:54:08 +020063#if defined(CHROMIUM)
avm99963cbea3142019-03-28 00:48:15 +010064 "chrome_style": true,
avm999636c357302020-08-09 19:54:08 +020065#endif
66#if defined(GECKO)
67 "browser_style": true,
68#endif
avm99963cbea3142019-03-28 00:48:15 +010069 "open_in_tab": false
70 },
71 "background": {
avm999636c357302020-08-09 19:54:08 +020072#if defined(CHROMIUM)
73 "persistent": false,
74#endif
avm999634c1a6792020-08-31 21:30:42 +020075 "scripts": [
76 "common/common.js",
77 "background.js"
78 ]
avm99963a3d1ef32019-03-30 23:33:29 +010079 },
avm999636c357302020-08-09 19:54:08 +020080#if defined(GECKO)
81 "browser_specific_settings": {
82 "gecko": {
83 "id": "twpowertools@avm99963.com",
avm99963f478c362020-12-02 01:15:41 +010084 "strict_min_version": "57.0"
avm999636c357302020-08-09 19:54:08 +020085 }
86 },
87#endif
avm99963a3d1ef32019-03-30 23:33:29 +010088 "default_locale": "en"
avm999636a7cbcb2019-03-27 01:16:28 +010089}