extension.setUpdateUrlData()
设置扩展的更新 URL 的参数。对于托管在浏览器供应商商店中的扩展,该值将被忽略。
语法
js
browser.extension.setUpdateUrlData(
data // 字符串
)
参数
data
-
string
。
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
setUpdateUrlData |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No 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.extension
API。该文档衍生自 Chromium 代码中的 extension.json
。