blob: e3efb13daa048e354322f95eaea98a0696bec3cf [file] [log] [blame]
avm99963847ee632019-03-27 00:57:44 +01001{
avm99963bbc88c62020-12-25 03:44:41 +01002#if defined(CHROMIUM || GECKO)
avm99963847ee632019-03-27 00:57:44 +01003 "manifest_version": 2,
avm99963bbc88c62020-12-25 03:44:41 +01004#endif
5#if defined(CHROMIUM_MV3)
6 "manifest_version": 3,
7#endif
avm99963a3d1ef32019-03-30 23:33:29 +01008 "name": "__MSG_appName__",
avm99963666575f2020-08-08 15:40:39 +02009 "version": "0",
Adrià Vilanova Martínezd75966e2021-06-09 15:41:31 +020010#if defined(CHROMIUM || CHROMIUM_MV3)
avm99963666575f2020-08-08 15:40:39 +020011 "version_name": "dirty",
avm999636c357302020-08-09 19:54:08 +020012#endif
avm99963a3d1ef32019-03-30 23:33:29 +010013 "description": "__MSG_appDescription__",
avm99963847ee632019-03-27 00:57:44 +010014 "icons": {
avm99963d8498752019-03-27 01:09:56 +010015 "512": "icons/512.png",
16 "128": "icons/128.png"
avm99963847ee632019-03-27 00:57:44 +010017 },
18 "content_scripts": [
19 {
20 "matches": ["https://support.google.com/s/community*"],
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +020021 "js": ["communityConsoleMain.bundle.js"]
avm99963847ee632019-03-27 00:57:44 +010022 },
23 {
avm999636d9c5fe2019-06-04 00:35:53 +020024 "matches": ["https://support.google.com/s/community*"],
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +020025 "js": ["communityConsoleStart.bundle.js"],
26 "css": ["css/common/console.css"],
avm999636d9c5fe2019-06-04 00:35:53 +020027 "run_at": "document_start"
28 },
29 {
avm99963847ee632019-03-27 00:57:44 +010030 "matches": ["https://support.google.com/*/threads*"],
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +020031 "js": ["publicForum.bundle.js"]
avm99963cbea3142019-03-28 00:48:15 +010032 },
33 {
34 "matches": ["https://support.google.com/*/thread/*"],
avm9996336b8dbc2020-09-01 21:16:19 +020035 "exclude_matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/new*"],
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +020036 "js": ["publicThread.bundle.js"],
avm99963134f1ef2019-03-30 19:05:27 +010037 "run_at": "document_end"
avm99963d0757252019-03-30 20:13:00 +010038 },
39 {
avm99963ad65e752020-09-01 00:13:59 +020040 "matches": ["https://support.google.com/s/community*", "https://support.google.com/*/thread/*"],
avm9996336b8dbc2020-09-01 21:16:19 +020041 "exclude_matches": ["https://support.google.com/*/thread/new*"],
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +020042 "js": ["profileIndicator.bundle.js"]
avm99963ad65e752020-09-01 00:13:59 +020043 },
44 {
Adrià Vilanova Martínez56d4d182021-06-09 14:56:15 +020045 "matches": ["https://support.google.com/*/profile/*", "https://support.google.com/profile/*"],
Adrià Vilanova Martínez3083a432021-06-15 04:24:22 +020046 "all_frames": true,
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +020047 "js": ["profile.bundle.js"],
48 "css": ["css/common/forum.css"]
avm99963847ee632019-03-27 00:57:44 +010049 }
50 ],
51 "permissions": [
Adrià Vilanova Martínezd75966e2021-06-09 15:41:31 +020052#if defined(CHROMIUM || GECKO)
53 "https://support.google.com/*",
avm99963bbc88c62020-12-25 03:44:41 +010054#endif
avm99963cbea3142019-03-28 00:48:15 +010055 "storage"
56 ],
avm99963bbc88c62020-12-25 03:44:41 +010057#if defined(CHROMIUM_MV3)
58 "host_permissions": [
Adrià Vilanova Martínezd75966e2021-06-09 15:41:31 +020059 "https://support.google.com/*"
avm99963129fb502020-08-28 05:18:53 +020060 ],
avm99963bbc88c62020-12-25 03:44:41 +010061#endif
62 "web_accessible_resources": [
63#if defined(CHROMIUM_MV3)
64 {
65 "resources": [
66#endif
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +020067 "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"
avm99963bbc88c62020-12-25 03:44:41 +010077#if defined(CHROMIUM_MV3)
78 ],
79 "matches": [
80 "https://support.google.com/*"
81 ]
82 }
83#endif
84 ],
Adrià Vilanova Martínezd75966e2021-06-09 15:41:31 +020085#if defined(CHROMIUM || GECKO)
avm999631a1d2b72020-08-20 03:15:20 +020086 "browser_action": {},
avm99963bbc88c62020-12-25 03:44:41 +010087#endif
88#if defined(CHROMIUM_MV3)
89 "action": {},
90#endif
avm999636c357302020-08-09 19:54:08 +020091#if defined(CHROMIUM)
avm99963a23bf1e2020-12-25 03:02:10 +010092 "options_page": "options/options.html",
avm999636c357302020-08-09 19:54:08 +020093#endif
avm99963cbea3142019-03-28 00:48:15 +010094 "options_ui": {
avm99963a23bf1e2020-12-25 03:02:10 +010095 "page": "options/options.html",
avm99963cbea3142019-03-28 00:48:15 +010096 "open_in_tab": false
97 },
98 "background": {
avm99963bbc88c62020-12-25 03:44:41 +010099#if defined(CHROMIUM || GECKO)
avm999636c357302020-08-09 19:54:08 +0200100#if defined(CHROMIUM)
101 "persistent": false,
102#endif
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +0200103 "scripts": ["background.bundle.js"]
avm99963bbc88c62020-12-25 03:44:41 +0100104#endif
105#if defined(CHROMIUM_MV3)
Adrià Vilanova Martínez3465e772021-07-11 19:18:41 +0200106 "service_worker": "sw.bundle.js"
avm99963bbc88c62020-12-25 03:44:41 +0100107#endif
avm99963a3d1ef32019-03-30 23:33:29 +0100108 },
avm999636c357302020-08-09 19:54:08 +0200109#if defined(GECKO)
110 "browser_specific_settings": {
111 "gecko": {
112 "id": "twpowertools@avm99963.com",
avm99963f478c362020-12-02 01:15:41 +0100113 "strict_min_version": "57.0"
avm999636c357302020-08-09 19:54:08 +0200114 }
115 },
116#endif
avm99963a3d1ef32019-03-30 23:33:29 +0100117 "default_locale": "en"
avm999636a7cbcb2019-03-27 01:16:28 +0100118}