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*"], |
avm99963 | 943b849 | 2020-08-31 23:40:43 +0200 | [diff] [blame] | 16 | "js": ["common/content_scripts.js", "content_scripts/console_inject.js"] |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 17 | }, |
| 18 | { |
avm99963 | 6d9c5fe | 2019-06-04 00:35:53 +0200 | [diff] [blame] | 19 | "matches": ["https://support.google.com/s/community*"], |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 20 | "js": ["common/content_scripts.js", "content_scripts/console_inject_start.js"], |
avm99963 | 0616775 | 2020-09-08 00:50:36 +0200 | [diff] [blame] | 21 | "css": ["common/console.css"], |
avm99963 | 6d9c5fe | 2019-06-04 00:35:53 +0200 | [diff] [blame] | 22 | "run_at": "document_start" |
| 23 | }, |
| 24 | { |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 25 | "matches": ["https://support.google.com/*/threads*"], |
avm99963 | a560aba | 2020-08-31 13:32:29 +0200 | [diff] [blame] | 26 | "js": ["content_scripts/forum_inject.js"] |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 27 | }, |
| 28 | { |
| 29 | "matches": ["https://support.google.com/*/thread/*"], |
avm99963 | 36b8dbc | 2020-09-01 21:16:19 +0200 | [diff] [blame] | 30 | "exclude_matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/new*"], |
avm99963 | 943b849 | 2020-08-31 23:40:43 +0200 | [diff] [blame] | 31 | "js": ["common/content_scripts.js", "content_scripts/thread_inject.js"], |
avm99963 | 134f1ef | 2019-03-30 19:05:27 +0100 | [diff] [blame] | 32 | "run_at": "document_end" |
avm99963 | d075725 | 2019-03-30 20:13:00 +0100 | [diff] [blame] | 33 | }, |
| 34 | { |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame] | 35 | "matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/*"], |
avm99963 | 36b8dbc | 2020-09-01 21:16:19 +0200 | [diff] [blame] | 36 | "exclude_matches": ["https://support.google.com/*/thread/new*"], |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame] | 37 | "js": ["common/content_scripts.js", "content_scripts/profileindicator_inject.js"] |
| 38 | }, |
| 39 | { |
avm99963 | d075725 | 2019-03-30 20:13:00 +0100 | [diff] [blame] | 40 | "matches": ["https://support.google.com/*/profile/*"], |
avm99963 | 0616775 | 2020-09-08 00:50:36 +0200 | [diff] [blame] | 41 | "js": ["common/content_scripts.js", "content_scripts/profile_inject.js"], |
| 42 | "css": ["common/forum.css"] |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 43 | } |
| 44 | ], |
| 45 | "permissions": [ |
| 46 | "https://support.google.com/s/community*", |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 47 | "https://support.google.com/*/threads*", |
| 48 | "https://support.google.com/*/thread/*", |
| 49 | "storage" |
| 50 | ], |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 51 | "web_accessible_resources": [ |
avm99963 | e51444e | 2020-08-31 14:50:06 +0200 | [diff] [blame] | 52 | "injections/profileindicator_inject.js", |
avm99963 | 0bc113a | 2020-09-07 13:02:11 +0200 | [diff] [blame] | 53 | "injections/profileindicator_inject.css", |
| 54 | "injections/ccdarktheme.css", |
| 55 | "injections/ccdarktheme_switch.css" |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 56 | ], |
avm99963 | 1a1d2b7 | 2020-08-20 03:15:20 +0200 | [diff] [blame] | 57 | "browser_action": {}, |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 58 | #if defined(CHROMIUM) |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 59 | "options_page": "options.html", |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 60 | #endif |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 61 | "options_ui": { |
| 62 | "page": "options.html", |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 63 | #if defined(CHROMIUM) |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 64 | "chrome_style": true, |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 65 | #endif |
| 66 | #if defined(GECKO) |
| 67 | "browser_style": true, |
| 68 | #endif |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 69 | "open_in_tab": false |
| 70 | }, |
| 71 | "background": { |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 72 | #if defined(CHROMIUM) |
| 73 | "persistent": false, |
| 74 | #endif |
avm99963 | 4c1a679 | 2020-08-31 21:30:42 +0200 | [diff] [blame] | 75 | "scripts": [ |
| 76 | "common/common.js", |
| 77 | "background.js" |
| 78 | ] |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 79 | }, |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 80 | #if defined(GECKO) |
| 81 | "browser_specific_settings": { |
| 82 | "gecko": { |
| 83 | "id": "twpowertools@avm99963.com", |
| 84 | "strict_min_version": "55.0" |
| 85 | } |
| 86 | }, |
| 87 | #endif |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 88 | "default_locale": "en" |
avm99963 | 6a7cbcb | 2019-03-27 01:16:28 +0100 | [diff] [blame] | 89 | } |