Some common types used in other WebExtension APIs.
Some common types used in other WebExtension APIs.
extensionTypes.ImageDetailsDetails about the format and quality of an image.
extensionTypes.ImageFormatThe format of an image.
extensionTypes.InjectDetailsInjects details into a page.
extensionTypes.RunAtThe soonest that the JavaScript or CSS will be injected into the tab.
extensionTypes.CSSOriginIndicates whether a CSS stylesheet injected by tabs.insertCSS should be treated as an "author" or "user" stylesheet.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
CSSOrigin |
No | No | 53 | ? | No | No | ? | ? | 53 | ? | No | ? |
ImageDetails |
Yes | 14 | 45 | ? | Yes | 14 | ? | ? | 48 | ? | 15 | ? |
ImageFormat |
YesThis feature is supported but not exposed through the 'extensionTypes' object. |
14This feature is supported but not exposed through the 'extensionTypes' object. |
45 | ? | YesThis feature is supported but not exposed through the 'extensionTypes' object. |
14This feature is supported but not exposed through the 'extensionTypes' object. |
? | ? | 48 | ? | 15This feature is supported but not exposed through the 'extensionTypes' object. |
? |
RunAt |
20This feature is supported but not exposed through the 'extensionTypes' object. |
79This feature is supported but not exposed through the 'extensionTypes' object. |
45 | ? | 15This feature is supported but not exposed through the 'extensionTypes' object. |
14["This feature is supported but not exposed through the 'extensionTypes' object.", "'document_idle' and 'document_end' are treated the same."] |
? | ? | 48 | ? | 15["This feature is supported but not exposed through the 'extensionTypes' object.", "'document_idle' and 'document_end' are treated the same."] |
? |
Note: This API is based on Chromium's chrome.extensionTypes API. This documentation is derived from extension_types.json in the Chromium code.
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/extensionTypes