()
| 430 | } |
| 431 | |
| 432 | static async registerMailDisplayScript(): Promise<void> { |
| 433 | await (chrome as any).messageDisplayScripts.register({ |
| 434 | js: [ |
| 435 | {file: '/inject/fallback.js'}, |
| 436 | {file: '/inject/index.js'}, |
| 437 | ], |
| 438 | }); |
| 439 | } |
| 440 | |
| 441 | // sendMessage will send a tab messages to all active tabs and their frames. |
| 442 | // If onlyUpdateActiveTab is specified, it will only send a new message to any |