A RetroSearch Logo

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

Search Query:

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

HTMLIFrameElement: sandbox-Eigenschaft - Web-APIs | MDN

HTMLIFrameElement: sandbox-Eigenschaft

Baseline Widely available

Die sandbox-Eigenschaft (nur lesbar) des HTMLIFrameElement Interface gibt eine DOMTokenList zurück, die zusätzliche Einschränkungen für das Verhalten des verschachtelten Inhalts angibt.

Sie spiegelt das sandbox-Attribut des <iframe>-Elements wider.

Wert

Eine DOMTokenList. Jedes Element muss einer der im sandbox-Attribut des <iframe>-Elements aufgeführten Token sein.

Beispiele
<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)); // Output: ["allow-same-origin", "allow-scripts"]

el.sandbox = "";
console.log(Array.from(el.sandbox)); // Output: []
Spezifikationen Browser-Kompatibilität MDN-Feedback-Box War diese Übersetzung hilfreich?

Diese Seite wurde automatisch aus dem Englischen übersetzt.


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