From 27147c409fd99c39ef6da6918ca493b0d9aa8ad2 Mon Sep 17 00:00:00 2001 From: Masahiro FUJIMOTO Date: Sat, 22 Jan 2022 10:39:16 +0900 Subject: 20220122-Web/HTTP/Headers/Feature-Policy/web-share --- .../http/headers/feature-policy/web-share/index.md | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 files/ja/web/http/headers/feature-policy/web-share/index.md (limited to 'files') diff --git a/files/ja/web/http/headers/feature-policy/web-share/index.md b/files/ja/web/http/headers/feature-policy/web-share/index.md new file mode 100644 index 0000000000..dfe6bd596e --- /dev/null +++ b/files/ja/web/http/headers/feature-policy/web-share/index.md @@ -0,0 +1,43 @@ +--- +title: web-share +slug: Web/HTTP/Headers/Feature-Policy/web-share +tags: + - Feature-Policy + - HTTP + - Web Share + - Experimental +browser-compat: http.headers.Feature-Policy.web-share +translation_of: Web/HTTP/Headers/Feature-Policy/web-share +--- +{{HTTPSidebar}} {{SeeCompatTable}} + +HTTP の {{HTTPHeader('Feature-Policy')}} ヘッダーにおける `web-share` ディレクティブは、減殺の文書が Web Share API の {{domxref("Navigator.share","Navigator.share()")}} メソッドを使用して、テキスト、リンク、画像、その他のコンテンツをユーザーが選択した任意の宛先にシェアすることを許可するかどうかを制御します。 + +## 構文 + +``` +Feature-Policy: web-share ; +``` + +- \ + - : この機能を許可するオリジンのリストです。 [`Feature-Policy`](/ja/docs/Web/HTTP/Headers/Feature-Policy#syntax) を参照してください。 + +## 既定のポリシー + +既定値は `'self'` です。 + +## 仕様書 + +{{Specifications}} + +## ブラウザーの互換性 + +{{Compat}} + +ブラウザーへの実装は で議論されています。 + +## 関連情報 + +- {{HTTPHeader('Feature-Policy')}} header +- [機能ポリシー](/en-US/docs/Web/HTTP/Feature_Policy) +- [機能ポリシーの使用](/en-US/docs/Web/HTTP/Feature_Policy/Using_Feature_Policy) -- cgit v1.2.3-54-g00ecf