extensionTypes.RunAt
尽快将 JavaScript、CSS 插入到标签页中的时间点。
类型
该类型的取值是字符串,可能取值包括 "document_start"
、"document_end"
、"document_idle"
。
"document_start"
: 对应于loading
——DOM 仍在加载中。"document_end"
: 对应于interactive
——DOM 已经加载完成,但资源(例如脚本和图像)可能仍在加载中。"document_idle"
: 对应于complete
——文档及其所有资源都已加载完成。
默认值为 "document_idle"
。
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
RunAt |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- Partial support
- Partial support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
备注:
此 API 基于 Chromium 的 chrome.extensionTypes
API。该文档衍生自 Chromium 代码中的 extension_types.json
。