添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Latest editor's draft:
https://w3c.github.io/manifest/
History:
https://www.w3.org/standards/history/appmanifest/ Commit history Anssi Kostiainen ( Intel Corporation ) - Until Aaron Gustafson ( Microsoft Corporation ) - Until Mounir Lamouri ( Google Inc. ) Rob Dolin ( Microsoft Corporation )
Feedback:
GitHub w3c/manifest ( pull requests , new issue , open issues )
Browser support:
caniuse.com
This specification defines a JSON-based file format that provides developers with a centralized place to put metadata associated with a web application. This metadata includes, but is not limited to, the web application's name, links to icons, as well as the preferred URL to open when a user launches the web application. The manifest also allows developers to declare a default screen orientation for their web application, as well as providing the ability to set the display mode for the application (e.g., in fullscreen). Additionally, the manifest allows a developer to "scope" a web application to a URL. This restricts the URLs to which the manifest is applied and provides a means to "deep link" into a web application from other applications. Using this metadata, user agents can provide developers with means to create user experiences that are more comparable to that of a native application.

Status of This Document

This section describes the status of this document at the time of its publication. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.

Warning
Web Application Manifest An application manifest is a [ JSON ] document that contains startup parameters and application defaults for when a web application is launched. A manifest has an associated manifest URL , which is the [ URL ] from which the manifest was fetched. A manifest can have any of the following members at its root, all of which are optional. The members can appear in any order.
  • background_color
  • display
  • icons
  • identity
  • orientation
  • prefer_related_applications
  • related_applications
  • scope
  • short_name
  • shortcuts
  • start_url
  • theme_color Although it is optional for any member to appear in a manifest, some user agents might require one or more to be present to take full advantage of the capabilities afforded by this specification. Examples

    This section is non-normative.

    This section shows how developers can make use of the various features of this specification.

    1.1.1 Typical structure

    This section is non-normative.

    The following shows a typical manifest . Example 1 : Typical manifest "lang" : "en" , "dir" : "ltr" , "name" : "Super Racer 3000" , "short_name" : "Racer3K" , "icons" : [{ "src" : "icon/lowres.webp" , "sizes" : "64x64" , "type" : "image/webp" "src" : "icon/lowres.png" , "sizes" : "64x64" "src" : "icon/hd_hi" , "sizes" : "128x128" "scope" : "/" , "id" : "superracer" , "start_url" : "/start.html" , "display" : "fullscreen" , "orientation" : "landscape" , "theme_color" : "aliceblue" , "background_color" : "red"
  •