A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/ja/docs/Web/API/HTMLIFrameElement/allow below:

HTMLIFrameElement: allow プãƒãƒ‘ティ - Web API

HTMLIFrameElement: allow プロパティ

Baseline Widely available

allow は HTMLIFrameElement インターフェイスのプロパティで、この <iframe> 要素に対して指定された権限ポリシーを示します。このポリシーは、リクエストのオリジンに基づいて、この <iframe> 要素で利用できる機能(例えば、 microphone、camera、battery、web-share などへのアクセス)を定義します。

allow 属性で指定する権限ポリシーは、Permissions-Policy ヘッダーで指定するポリシーの上位にさらに制限を実装します。 置き換えるものではありません。

詳しくは <iframe> の権限ポリシーの構文を参照してください。

これは <iframe> 要素の allow 属性を反映します。

値

A string indicates the 権限ポリシー specified for this <iframe> element, each policy must be separated by space.

例
<iframe
  id="el"
  src="https://example.com"
  allow="geolocation 'self' https://a.example.com https://b.example.com; fullscreen 'none'"></iframe>
const el = document.getElementById("el");
console.log(el.allow); // Output: "geolocation 'self' https://a.example.com https://b.example.com; fullscreen 'none'"

See Permissions Policy in <iframe> element for more available examples.

仕様書 ブラウザーの互換性 関連情報

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4