A RetroSearch Logo

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

Search Query:

Showing content from https://developer.cdn.mozilla.net/ja/docs/Web/API/HTMLIFrameElement/sandbox below:

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

HTMLIFrameElement: sandbox プロパティ

Baseline Widely available

sandbox は HTMLIFrameElement インターフェイスの読み取り専用プロパティで、内部のコンテンツの動作に関する追加の制限を示す DOMTokenList を返します。

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

値

DOMTokenList です。各アイテムは、<iframe> 要素の sandbox 属性にリストされているトークンのいずれかでなければなりません。

例
<iframe
  id="el"
  title="example"
  src="https://example.com"
  sandbox="allow-same-origin allow-scripts"></iframe>
const el = document.getElementById("el");
console.log(Array.from(el.sandbox)); // 出力: ["allow-same-origin", "allow-scripts"]

el.sandbox = "";
console.log(Array.from(el.sandbox)); // 出力: []
仕様書 ブラウザーの互換性

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