avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 1 | { |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 2 | #if defined(CHROMIUM || GECKO) |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 3 | "manifest_version": 2, |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 4 | #endif |
| 5 | #if defined(CHROMIUM_MV3) |
| 6 | "manifest_version": 3, |
| 7 | #endif |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 8 | "name": "__MSG_appName__", |
avm99963 | 666575f | 2020-08-08 15:40:39 +0200 | [diff] [blame] | 9 | "version": "0", |
Adrià Vilanova Martínez | d75966e | 2021-06-09 15:41:31 +0200 | [diff] [blame] | 10 | #if defined(CHROMIUM || CHROMIUM_MV3) |
avm99963 | 666575f | 2020-08-08 15:40:39 +0200 | [diff] [blame] | 11 | "version_name": "dirty", |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 12 | #endif |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 13 | "description": "__MSG_appDescription__", |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 14 | "icons": { |
avm99963 | d849875 | 2019-03-27 01:09:56 +0100 | [diff] [blame] | 15 | "512": "icons/512.png", |
| 16 | "128": "icons/128.png" |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 17 | }, |
| 18 | "content_scripts": [ |
| 19 | { |
| 20 | "matches": ["https://support.google.com/s/community*"], |
Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 21 | "js": ["communityConsoleMain.bundle.js"] |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 22 | }, |
| 23 | { |
avm99963 | 6d9c5fe | 2019-06-04 00:35:53 +0200 | [diff] [blame] | 24 | "matches": ["https://support.google.com/s/community*"], |
Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 25 | "js": ["communityConsoleStart.bundle.js"], |
| 26 | "css": ["css/common/console.css"], |
avm99963 | 6d9c5fe | 2019-06-04 00:35:53 +0200 | [diff] [blame] | 27 | "run_at": "document_start" |
| 28 | }, |
| 29 | { |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 30 | "matches": ["https://support.google.com/*/threads*"], |
Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 31 | "js": ["publicForum.bundle.js"] |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 32 | }, |
| 33 | { |
| 34 | "matches": ["https://support.google.com/*/thread/*"], |
avm99963 | 36b8dbc | 2020-09-01 21:16:19 +0200 | [diff] [blame] | 35 | "exclude_matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/new*"], |
Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 36 | "js": ["publicThread.bundle.js"], |
avm99963 | 134f1ef | 2019-03-30 19:05:27 +0100 | [diff] [blame] | 37 | "run_at": "document_end" |
avm99963 | d075725 | 2019-03-30 20:13:00 +0100 | [diff] [blame] | 38 | }, |
| 39 | { |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame] | 40 | "matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/*"], |
avm99963 | 36b8dbc | 2020-09-01 21:16:19 +0200 | [diff] [blame] | 41 | "exclude_matches": ["https://support.google.com/*/thread/new*"], |
Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 42 | "js": ["profileIndicator.bundle.js"] |
avm99963 | ad65e75 | 2020-09-01 00:13:59 +0200 | [diff] [blame] | 43 | }, |
| 44 | { |
Adrià Vilanova Martínez | 56d4d18 | 2021-06-09 14:56:15 +0200 | [diff] [blame] | 45 | "matches": ["https://support.google.com/*/profile/*", "https://support.google.com/profile/*"], |
Adrià Vilanova Martínez | 3083a43 | 2021-06-15 04:24:22 +0200 | [diff] [blame] | 46 | "all_frames": true, |
Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 47 | "js": ["profile.bundle.js"], |
| 48 | "css": ["css/common/forum.css"] |
avm99963 | 847ee63 | 2019-03-27 00:57:44 +0100 | [diff] [blame] | 49 | } |
| 50 | ], |
| 51 | "permissions": [ |
Adrià Vilanova Martínez | d75966e | 2021-06-09 15:41:31 +0200 | [diff] [blame] | 52 | #if defined(CHROMIUM || GECKO) |
| 53 | "https://support.google.com/*", |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 54 | #endif |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 55 | "storage" |
| 56 | ], |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 57 | #if defined(CHROMIUM_MV3) |
| 58 | "host_permissions": [ |
Adrià Vilanova Martínez | d75966e | 2021-06-09 15:41:31 +0200 | [diff] [blame] | 59 | "https://support.google.com/*" |
avm99963 | 129fb50 | 2020-08-28 05:18:53 +0200 | [diff] [blame] | 60 | ], |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 61 | #endif |
| 62 | "web_accessible_resources": [ |
| 63 | #if defined(CHROMIUM_MV3) |
| 64 | { |
| 65 | "resources": [ |
| 66 | #endif |
Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 67 | "profileIndicatorInject.bundle.js", |
| 68 | "batchLockInject.bundle.js", |
| 69 | |
| 70 | "css/profileindicator_inject.css", |
| 71 | "css/ccdarktheme.css", |
| 72 | "css/batchlock_inject.css", |
| 73 | "css/enhanced_announcements_dot.css", |
| 74 | "css/reposition_expand_thread.css", |
| 75 | "css/thread_list_avatars.css", |
| 76 | "css/autorefresh_list.css" |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 77 | #if defined(CHROMIUM_MV3) |
| 78 | ], |
| 79 | "matches": [ |
| 80 | "https://support.google.com/*" |
| 81 | ] |
| 82 | } |
| 83 | #endif |
| 84 | ], |
Adrià Vilanova Martínez | d75966e | 2021-06-09 15:41:31 +0200 | [diff] [blame] | 85 | #if defined(CHROMIUM || GECKO) |
avm99963 | 1a1d2b7 | 2020-08-20 03:15:20 +0200 | [diff] [blame] | 86 | "browser_action": {}, |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 87 | #endif |
| 88 | #if defined(CHROMIUM_MV3) |
| 89 | "action": {}, |
| 90 | #endif |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 91 | #if defined(CHROMIUM) |
avm99963 | a23bf1e | 2020-12-25 03:02:10 +0100 | [diff] [blame] | 92 | "options_page": "options/options.html", |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 93 | #endif |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 94 | "options_ui": { |
avm99963 | a23bf1e | 2020-12-25 03:02:10 +0100 | [diff] [blame] | 95 | "page": "options/options.html", |
avm99963 | cbea314 | 2019-03-28 00:48:15 +0100 | [diff] [blame] | 96 | "open_in_tab": false |
| 97 | }, |
| 98 | "background": { |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 99 | #if defined(CHROMIUM || GECKO) |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 100 | #if defined(CHROMIUM) |
| 101 | "persistent": false, |
| 102 | #endif |
Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 103 | "scripts": ["background.bundle.js"] |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 104 | #endif |
| 105 | #if defined(CHROMIUM_MV3) |
Adrià Vilanova Martínez | 3465e77 | 2021-07-11 19:18:41 +0200 | [diff] [blame] | 106 | "service_worker": "sw.bundle.js" |
avm99963 | bbc88c6 | 2020-12-25 03:44:41 +0100 | [diff] [blame] | 107 | #endif |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 108 | }, |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 109 | #if defined(GECKO) |
| 110 | "browser_specific_settings": { |
| 111 | "gecko": { |
| 112 | "id": "twpowertools@avm99963.com", |
avm99963 | f478c36 | 2020-12-02 01:15:41 +0100 | [diff] [blame] | 113 | "strict_min_version": "57.0" |
avm99963 | 6c35730 | 2020-08-09 19:54:08 +0200 | [diff] [blame] | 114 | } |
| 115 | }, |
| 116 | #endif |
avm99963 | a3d1ef3 | 2019-03-30 23:33:29 +0100 | [diff] [blame] | 117 | "default_locale": "en" |
avm99963 | 6a7cbcb | 2019-03-27 01:16:28 +0100 | [diff] [blame] | 118 | } |