start_url
| Type | String |
|---|
The start_url member is a string that represents the start URL of the web application — the preferred URL that should be loaded when the user launches the web application (e.g., when the user taps on the web application's icon from a device's application menu or homescreen).
A valid start_url needs to be same-origin with the document that references the manifest. If start_url is unspecified or invalid in any way (such as not a string, not a valid URL, or not a same-origin with the document), the document URL is used.
Note: The start_url member is purely advisory, and a user agent may ignore it or allow the user to alter it at install time or afterwards.
Examples
Absolute URL
"start_url": "https://example.com"
Relative URL
If the URL is relative, the manifest URL is used as the base URL to resolve it.
"start_url": "../startpoint.html"
Specifications
| Specification |
|---|
| Web Application Manifest # start_url-member |
Browser compatibility
BCD tables only load in the browser