弃用
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
|
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
manifest
弃用
|
Chrome 完整支持 4 | Edge 完整支持 12 |
Firefox
完整支持
3.5
|
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 |
完整支持
兼容性未知
弃用。不要用于新网站。
见实现注意事项。