composeScripts API
Manifest file properties
compose_scripts
Scripts and CSS to inject into compose windows.
message_display_scripts
Scripts and CSS to inject into message display pages.
Types
ComposeScript
– [Added in TB 151]
A script and/or CSS to inject into compose windows via the manifest.
Note
The run_at option is not supported for compose scripts, because the compose editor does not load content in the same way as a regular web page.
object
css
The list of CSS files to inject.
js
The list of JavaScript files to inject.
ExtensionURL
A path relative to the root of the extension.
string
MessageDisplayScript
– [Added in TB 151]
A script and/or CSS to inject into message display pages via the manifest.
object
css
The list of CSS files to inject.
js
The list of JavaScript files to inject.
run_at