avm99963 | cb0d012 | 2020-12-26 20:01:18 +0100 | [diff] [blame] | 1 | { |
| 2 | "manifest_version": 2, |
| 3 | "name": "__MSG_appName__", |
| 4 | "version": "0", |
| 5 | #if defined(CHROMIUM) |
| 6 | "version_name": "dirty", |
| 7 | #endif |
| 8 | "description": "__MSG_appDescription__", |
| 9 | "icons": { |
| 10 | "512": "icons/512.png", |
| 11 | "128": "icons/128.png" |
| 12 | }, |
| 13 | "content_scripts": [ |
| 14 | { |
| 15 | "matches": ["https://support.google.com/s/community*"], |
| 16 | "js": ["common/content_scripts.js", "content_scripts/console_inject.js"] |
| 17 | }, |
| 18 | { |
| 19 | "matches": ["https://support.google.com/s/community*"], |
| 20 | "js": ["common/content_scripts.js", "content_scripts/console_inject_start.js"], |
| 21 | "css": ["common/console.css"], |
| 22 | "run_at": "document_start" |
| 23 | }, |
| 24 | { |
| 25 | "matches": ["https://support.google.com/*/threads*"], |
| 26 | "js": ["content_scripts/forum_inject.js"] |
| 27 | }, |
| 28 | { |
| 29 | "matches": ["https://support.google.com/*/thread/*"], |
| 30 | "exclude_matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/new*"], |
| 31 | "js": ["common/content_scripts.js", "content_scripts/thread_inject.js"], |
| 32 | "run_at": "document_end" |
| 33 | }, |
| 34 | { |
| 35 | "matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/*"], |
| 36 | "exclude_matches": ["https://support.google.com/*/thread/new*"], |
| 37 | "js": ["common/content_scripts.js", "common/cs_event_listener.js", "content_scripts/profileindicator_inject.js"] |
| 38 | }, |
| 39 | { |
| 40 | "matches": ["https://support.google.com/*/profile/*"], |
| 41 | "js": ["common/content_scripts.js", "content_scripts/profile_inject.js"], |
| 42 | "css": ["common/forum.css"] |
| 43 | } |
| 44 | ], |
| 45 | "permissions": [ |
| 46 | "https://support.google.com/s/community*", |
| 47 | "https://support.google.com/*/threads*", |
| 48 | "https://support.google.com/*/thread/*", |
| 49 | "storage" |
| 50 | ], |
| 51 | "web_accessible_resources": [ |
| 52 | "injections/profileindicator_inject.js", |
| 53 | "injections/profileindicator_inject.css", |
| 54 | "injections/ccdarktheme.css", |
| 55 | "injections/batchlock_inject.js" |
| 56 | ], |
| 57 | "browser_action": {}, |
| 58 | #if defined(CHROMIUM) |
| 59 | "options_page": "options.html", |
| 60 | #endif |
| 61 | "options_ui": { |
| 62 | "page": "options.html", |
| 63 | #if defined(CHROMIUM) |
| 64 | "chrome_style": true, |
| 65 | #endif |
| 66 | #if defined(GECKO) |
| 67 | "browser_style": true, |
| 68 | #endif |
| 69 | "open_in_tab": false |
| 70 | }, |
| 71 | "background": { |
| 72 | #if defined(CHROMIUM) |
| 73 | "persistent": false, |
| 74 | #endif |
| 75 | "scripts": [ |
| 76 | "common/common.js", |
| 77 | "background.js" |
| 78 | ] |
| 79 | }, |
| 80 | #if defined(GECKO) |
| 81 | "browser_specific_settings": { |
| 82 | "gecko": { |
| 83 | "id": "twpowertools@avm99963.com", |
| 84 | "strict_min_version": "57.0" |
| 85 | } |
| 86 | }, |
| 87 | #endif |
| 88 | "default_locale": "en" |
| 89 | } |