avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 1 | { |
| 2 | "manifest_version": 2, |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 3 | "name": "__MSG_appName__", |
avm99963 | 666575f | 2020-08-08 15:40:39 +0200 | [diff] [blame] | 4 | "version": "0", |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 5 | #if defined(CHROMIUM) |
avm99963 | 666575f | 2020-08-08 15:40:39 +0200 | [diff] [blame] | 6 | "version_name": "dirty", |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 7 | #endif |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 8 | "description": "__MSG_appDescription__", |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 9 | "icons": { |
avm99963 | d849875 | 2019-03-27 01:09:56 +0100 | [diff] [blame] | 10 | "512": "icons/512.png", |
| 11 | "128": "icons/128.png" |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 12 | }, |
| 13 | "content_scripts": [ |
| 14 | { |
| 15 | "matches": ["https://support.google.com/s/community*"], |
| 16 | "js": ["console_inject.js"] |
| 17 | }, |
| 18 | { |
avm99963 | 6d9c5fe | 2019-06-04 00:35:53 +0200 | [diff] [blame] | 19 | "matches": ["https://support.google.com/s/community*"], |
| 20 | "js": ["console_inject_start.js"], |
| 21 | "run_at": "document_start" |
| 22 | }, |
| 23 | { |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 24 | "matches": ["https://support.google.com/*/threads*"], |
avm99963 | c2e7db3 | 2019-03-27 23:49:05 +0100 | [diff] [blame] | 25 | "js": ["forum_inject.js"] |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 26 | }, |
| 27 | { |
| 28 | "matches": ["https://support.google.com/*/thread/*"], |
avm99963 | 134f1ef | 2019-03-30 19:05:27 +0100 | [diff] [blame] | 29 | "js": ["thread_inject.js"], |
| 30 | "run_at": "document_end" |
avm99963 | d075725 | 2019-03-30 20:13:00 +0100 | [diff] [blame] | 31 | }, |
| 32 | { |
| 33 | "matches": ["https://support.google.com/*/profile/*"], |
| 34 | "js": ["profile_inject.js"] |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 35 | } |
| 36 | ], |
| 37 | "permissions": [ |
| 38 | "https://support.google.com/s/community*", |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 39 | "https://support.google.com/*/threads*", |
| 40 | "https://support.google.com/*/thread/*", |
| 41 | "storage" |
| 42 | ], |
avm99963 | 1a1d2b7 | 2020-08-20 03:15:20 +0200 | [diff] [blame^] | 43 | "browser_action": {}, |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 44 | #if defined(CHROMIUM) |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 45 | "options_page": "options.html", |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 46 | #endif |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 47 | "options_ui": { |
| 48 | "page": "options.html", |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 49 | #if defined(CHROMIUM) |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 50 | "chrome_style": true, |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 51 | #endif |
| 52 | #if defined(GECKO) |
| 53 | "browser_style": true, |
| 54 | #endif |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 55 | "open_in_tab": false |
| 56 | }, |
| 57 | "background": { |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 58 | #if defined(CHROMIUM) |
| 59 | "persistent": false, |
| 60 | #endif |
| 61 | "scripts": ["background.js"] |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 62 | }, |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 63 | #if defined(GECKO) |
| 64 | "browser_specific_settings": { |
| 65 | "gecko": { |
| 66 | "id": "twpowertools@avm99963.com", |
| 67 | "strict_min_version": "55.0" |
| 68 | } |
| 69 | }, |
| 70 | #endif |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 71 | "default_locale": "en" |
avm99963 | 6a7cbcb | 2019-03-27 01:16:28 +0100 | [diff] [blame] | 72 | } |