弃用
This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the 兼容性表格 at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

安全上下文
此特征只可用于 安全上下文 (HTTPS),在某些或所有 支持浏览器 .

manifest attribute of <html> element specifies a URL of a application cache manifest that is downloaded in the early stages of page load.

注意: manifest-based caching mechanism has been deprecated. Use service workers instead.

The manifest attribute has only effect during early stages of page load, thus changing it via regular DOM interfaces has no effect, Window.applicationCache interface instead.

规范

规范 状态 注释
HTML5
The definition of '<html> manifest attribute' in that specification.
推荐 添加支持 manifest attribute and deprecated it later

浏览器兼容性

The compatibility table in 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. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
manifest 弃用 Chrome 完整支持 4 Edge 完整支持 12 Firefox 完整支持 3.5
完整支持 3.5
部分支持 3 注意事项
注意事项 Versions of Firefox prior to 3.5 ignore the NETWORK and FALLBACK sections of the cache manifest file.
IE 完整支持 10 Opera 完整支持 10.6 Safari 完整支持 4 WebView Android 完整支持 4 Chrome Android 完整支持 18 Firefox Android 完整支持 4 Opera Android 完整支持 11 Safari iOS 完整支持 3.2 Samsung Internet Android 完整支持 1.0
Secure context required 弃用 Chrome 完整支持 70 Edge 完整支持 ≤79 Firefox 完整支持 60 IE ? Opera 完整支持 57 Safari ? WebView Android 完整支持 70 Chrome Android 完整支持 70 Firefox Android 完整支持 60 Opera Android 完整支持 49 Safari iOS ? Samsung Internet Android 完整支持 10.0

图例

完整支持

完整支持

兼容性未知 ?

兼容性未知

弃用。不要用于新网站。

弃用。不要用于新网站。

见实现注意事项。

见实现注意事项。

另请参阅

元数据

  • 最后修改: