Some common types used in other WebExtension APIs.

Types

extensionTypes.ImageDetails
Details about the format and quality of an image.
extensionTypes.ImageFormat
The format of an image.
extensionTypes.InjectDetails
Injects details into a page.
extensionTypes.RunAt
The soonest that the JavaScript or CSS will be injected into the tab.
extensionTypes.CSSOrigin
Indicates whether a CSS stylesheet injected by tabs.insertCSS should be treated as an "author" or "user" stylesheet.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxOperaFirefox for Android
ImageDetailsChrome Partial support Partial
Notes
Partial support Partial
Notes
Notes This feature is supported but not exposed through the 'extensionTypes' object.
Edge Partial support 14
Notes
Partial support 14
Notes
Notes This feature is supported but not exposed through the 'extensionTypes' object.
Firefox Full support 45Opera Partial support Partial
Notes
Partial support Partial
Notes
Notes This feature is supported but not exposed through the 'extensionTypes' object.
Firefox Android Full support 48
ImageFormatChrome Partial support Partial
Notes
Partial support Partial
Notes
Notes This feature is supported but not exposed through the 'extensionTypes' object.
Edge Partial support 14
Notes
Partial support 14
Notes
Notes This feature is supported but not exposed through the 'extensionTypes' object.
Firefox Full support 45Opera Partial support Partial
Notes
Partial support Partial
Notes
Notes This feature is supported but not exposed through the 'extensionTypes' object.
Firefox Android Full support 48
RunAtChrome Partial support 20
Notes
Partial support 20
Notes
Notes This feature is supported but not exposed through the 'extensionTypes' object.
Edge No support NoFirefox Full support 45Opera Partial support 15
Notes
Partial support 15
Notes
Notes This feature is supported but not exposed through the 'extensionTypes' object.
Firefox Android Full support 48
CSSOriginChrome No support NoEdge No support NoFirefox Full support 53Opera No support NoFirefox Android Full support 53

Legend

Full support  
Full support
Partial support  
Partial support
No support  
No support
See implementation notes.
See implementation notes.

Acknowledgements

This API is based on Chromium's chrome.extensionTypes API. This documentation is derived from extension_types.json in the Chromium code.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

Contributors to this page: hellosct1, wbamberg, snoack, rolfedh
Last updated by: hellosct1,