.WEBMANIFEST Bestandsextensie

Progressive Web Application Manifest

Ontwikkelaar W3C
Populariteit
3.8  |  6 Stemmen
 

Wat is een WEBMANIFEST-bestand?

A WEBMANIFEST file is a metadata file used by a progressive web application (PWA). It details a PWA's name, start URL, description, splash screen settings, icons, and intended orientation, among other settings. WEBMANIFEST files are comprised of JSON objects.

Meer informatie

Schermafbeelding van een .webmanifest-bestand in Microsoft Visual Studio Code 1.57
WEBMANIFEST-bestand geopend in Microsoft Visual Studio Code 1.57

PWAs are web applications that can be installed to a device, usually on the device's desktop or home screen. This allows users to access the web application just as they'd access a native OS application.

For example, in Google Chrome, users can navigate to app.starbucks.com, open Google Chrome's Settings menu, and then select Install Starbucks to install the Starbucks PWA. This creates a Starbucks application that users can open and use to place orders through app.starbucks.com.

Each PWA includes a WEBMANIFEST file, which is a JSON file that specifies the app's name, start URL (the URL used to load the app's primary screen), application icons, and many other settings. Each WEBMANIFEST file may include the following JSON objects:

  • background_color: Defines the background color of the PWA's load screen
  • categories: Defines the category or categories the PWA belongs to
  • description: Explains the app's purpose
  • dir: Defines the default direction in which the PWA displays text (left-to-right or right-to-left)
  • display:Defines the PWA's preferred display mode; can be set to fullscreen, standalone, minimal-ui, or browser
  • iarc_rating_id: Contains the PWA's International Age Rating Coalition certification code
  • icons: Specifies the images used as the PWA's icons
  • lang: Specifies the PWA's primary language
  • name: Specifies the PWA's name
  • orientation Specifies the PWA's default orientation; can be set to any, natural, landscape, landscape-primary, landscape-secondary, portrait, portrait-primary, or portrait-secondary
  • prefer_related_applications: Specifies whether the app(s) listed in the related_applications object should be preferred and opened instead of the PWA
  • protocol_handlers: Lists the protocols the PWA can register and handle
  • related_applications: Lists native applications that an OS can run instead of the PWA
  • scope: Restricts what webpages can be viewed within the PWA
  • screenshots: Specifies the images to be used as the PWA's screenshots in PWA stores
  • short_name: Defines the PWA's short name for cases in which the full name cannot be shown
  • shortcuts: Defines URLs used as links to key tasks or pages included in the PWA; used to assemble a context menu
  • start_url: The URL to be loaded by default when the user opens the PWA
  • theme_color: Defines the PWA's default theme color

Most WEBMANIFEST files include only some of the above settings. Developers typically link to WEBMANIFEST files within a PWA's primary .HTML file.

Een WEBMANIFEST-bestand openen

You can open and edit a WEBMANIFEST file in any text or source code editor, including Microsoft Visual Studio Code (cross-platform), GitHub Atom (cross-platform), Microsoft Notepad (Windows), Apple TextEdit (Mac), or Vim (Linux).

Open meer dan 400 bestandsformaten met File Viewer Plus.Gratis downloaden

Programma's die WEBMANIFEST-bestanden openen of ernaar verwijzen

Windows
Inbegrepen bij het besturingssysteem
Gratis
Mac
Inbegrepen bij het besturingssysteem
Gratis
Chrome OS
Inbegrepen bij het besturingssysteem
Categorie: Web
Bijgewerkt: 2021-07-08

Geverifieerd door FileInfo.com

Het FileInfo.com-team heeft onafhankelijk onderzoek gedaan naar het Progressive Web Application Manifest-bestandsformaat en de Mac, Windows, and Linux-apps die op deze pagina worden vermeld. Ons doel is 100% nauwkeurigheid en we publiceren alleen informatie over bestandstypen die we hebben geverifieerd.

Als u aanvullingen of updates voor deze pagina wilt voorstellen, kunt u het ons laten weten.