Revision control
Copy as Markdown
Other Tools
[
{
"namespace": "manifest",
"annotations": [
{
"version_added": true
}
],
"types": [
{
"id": "ExtensionURL",
"annotations": [
{
"text": "A path relative to the root of the extension."
}
]
},
{
"id": "ThemeIcons",
"annotations": [
{
"text": "Define a set of icons for themes depending on whether Thunderbird detects that the theme uses dark or light text. All provided URLs must be relative to the <var>manifest.json</var> file."
}
]
},
{
"id": "IconPath",
"annotations": [
{
"text": "Either a <em>string</em> to specify a relative path of a single icon to be used for all sizes, or a <em>dictionary object</em> to specify paths for multiple icons in different sizes, so the icon does not have to be scaled for a device with a different pixel density. Each entry is a <em>name-value</em> pair with <em>value</em> being a relative path to an icon file, and <em>name</em> its size. Example:"
},
{
"code": "includes/IconPath.json"
},
{
"text": "See the $(url:mdn-icon-size)[MDN documentation about choosing icon sizes] for more information on this topic."
}
]
},
{
"id": "ImageDataOrExtensionURL",
"annotations": [
{
"text": "Defines an image resource. Either a image URL relative the the extensions <var>manifest.json</var> file (supported image formats are <var>JPEG</var>, <var>PNG</var>, <var>APNG</var>, <var>SVG</var> and <var>GIF</var>), or a data URL using a base64 encoded representation of a <var>PNG</var> or <var>JPEG</var> image."
},
{
"text": "Example for a base64 encoded <var>PNG</var> image:"
},
{
"code": "includes/base64Image"
}
]
}
]
}
]