We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

Add-ons

extensionTypes.RunAt

The soonest that the JavaScript or CSS will be injected into the tab.

Type

Values of this type are strings. Possible values are: "document_start", "document_end", "document_idle".

  • "document_start": corresponds to loading. The DOM is still loading.
  • "document_end": corresponds to interactive. The DOM has finished loading, but resources such as scripts and images may still be loading.
  • "document_idle": corresponds to complete. The document and all its resources have finished loading.

The default value is "document_idle".

Browser compatibility

ChromeEdgeFirefoxFirefox for AndroidOpera
Basic support201 No4548151

1. This feature is supported but not exposed through the 'extensionTypes' object.

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: LinusU, Makyen, wbamberg
Last updated by: LinusU,