11 KiB
| title | chunk | source | category | tags | date_saved | instance |
|---|---|---|---|---|---|---|
| Application context - Glossary | MDN | 1/3 | https://developer.mozilla.org/en-US/docs/Glossary/Application_context | reference | web, html, css, javascript, documentation | 2026-05-05T05:24:20.353655+00:00 | kb-cron |
MDN HTML HTML: Markup language
HTML reference
HTML guides
Markup languages
CSS reference
CSS guides
Layout cookbook
JavaScriptJS JavaScript: Scripting language
JS reference
JS guides
Web APIs Web APIs: Programming interfaces
Web API reference
Web API guides
- Using the Web animation API
- Using the Fetch API
- Working with the History API
- Using the Web speech API
- Using web workers
Technologies
Topics
Learn Learn web development
Frontend developer course
- Getting started modules
- Core modules
- MDN Curriculum
- Check out the video course from Scrimba, our partner
Learn HTML
Learn CSS
Learn JavaScript
Tools Discover our tools
About Get to know MDN better
Application context
Application context refers to the top-level browsing context of a web application. It determines how an app's browsing context, such as a tab or a window, is presented and behaves.
Web developers define the application context in the web app's manifest file. They use the scope member in the manifest to specify the set of URLs that are considered part of the application context and to which the manifest applies.
The manifest is applied after the application context is created but before navigation begins to either a start URL or a deep link. A start URL is the initial page of the web app. A deep link is a URL that directs users to a specific page within the web app, bypassing the home page. The application context ensures that the app's defined behavior and presentation are maintained within its scope.
When an application context is created, browsers must immediately navigate to a start URL or a deep link. This navigation replaces the current entry in the browsing history. If the application context is created to navigate to a deep link, the browser navigates directly to that deep link; otherwise, it navigates to the start URL.
Note that the start URL is not necessarily the value of the start_url member in the manifest. Browsers may ignore the specified start_url or may allow users to change its value when adding the web app to their device's home screen or bookmarking it.