From 94a6a543a6109d05a7e4b07030382de6a9b9f7aa Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Thu, 13 Jan 2022 00:52:44 +0900 Subject: Web/Manifest/scope を変換準備 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- files/ja/web/manifest/scope/index.md | 78 ++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 files/ja/web/manifest/scope/index.md (limited to 'files/ja/web/manifest/scope/index.md') diff --git a/files/ja/web/manifest/scope/index.md b/files/ja/web/manifest/scope/index.md new file mode 100644 index 0000000000..e3a6102d9a --- /dev/null +++ b/files/ja/web/manifest/scope/index.md @@ -0,0 +1,78 @@ +--- +title: scope +slug: Web/Manifest/scope +tags: + - Manifest + - Web + - scope + - マニフェスト +translation_of: Web/Manifest/scope +--- +
{{QuickLinksWithSubpages("/ja/docs/Web/Manifest")}}
+ + + + + + + + + + + + +
String
必須いいえ
+ +

scope メンバーは文字列型で、このウェブアプリケーションのアプリケーションコンテキストのナビゲーションスコープを定義します。これは、マニフェストが適用されている時に見ることができるウェブページを制限するものです。ユーザーがスコープ外へ移動した場合は、ブラウザータブやウィンドウの中の通常のウェブページに戻ります。

+ +

scope が相対 URL である場合、ベース URL はマニフェストの URL になります。

+ +

+ +

スコープが相対パスの場合は、マニフェストの URL がベース URL として使用されます。

+ +
"scope": "/app/"
+
+ +

以下のスコープは、ナビゲーションを現在のサイトに制限します。

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

最後に、以下の例はナビゲーションを現在のサイトのサブディレクトリに制限します。

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

仕様書

+ + + + + + + + + + + + + + + + + + +
仕様書状態備考フィードバック
+

{{SpecName('Manifest', '#scope-member', 'scope')}}

+
+

{{Spec2('Manifest')}}

+
+

初回定義

+
+

Web App Manifest Working Group drafts

+
+ +

ブラウザーの互換性

+ +

{{Compat("html.manifest.scope")}}

-- cgit v1.2.3-54-g00ecf