Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/manifest/scope/index.md
6573 views
---
title: scope slug: Web/Manifest/scope browser-compat: html.manifest.scope
---

{{QuickLinksWithSubpages("/en-US/docs/Web/Manifest")}}

Type String
Mandatory No

The scope member is a string that defines the navigation scope of this web application's application context. It restricts what web pages can be viewed while the manifest is applied. If the user navigates outside the scope, it reverts to a normal web page inside a browser tab or window.

If the scope is a relative URL, the base URL will be the URL of the manifest.

Examples

If the scope is relative, the manifest URL is used as a base URL:

"scope": "/app/"

The following scope limits navigation to the current site:

"scope": "https://example.com/"

Finally, the following example limits navigation to a subdirectory of the current site:

"scope": "https://example.com/subdirectory/"

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}