Was ist Iframe-Sandbox-und-Allow-Generator?
Iframe-Sandbox-und-Allow-Generator ist ein Browser-Tool für diese Aufgabe: Generiere sicheres Iframe-Markup mit Sandbox-Flags und Allow-Berechtigungen nach Embed-Typ. Die Ausgabe bleibt lesbar, damit du sie vor dem Einbau in eine Live-Seite prüfen kannst.
Quick answer
Use the sandbox attribute on iframes to restrict what the embedded content can do -- such as submitting forms, opening popups, or running scripts. Add allow values one at a time and only as needed.
Limitations
- The sandbox attribute does not protect against clickjacking on the parent page. Use a Content-Security-Policy with frame-ancestors for that.
- Some iframe features, such as storage access and top-level navigation, behave differently across browsers when sandbox is applied.
- Removing sandbox does not retroactively expose APIs -- the iframe must be reloaded for sandbox changes to take effect.
So nutzt du dieses Tool
- Öffne das Tool und trage die relevanten Werte ein.
- Prüfe die erzeugte Ausgabe im Ergebnisfeld.
- Kopiere nur den Teil, der zu deiner Seite passt.
- Teste die Änderung im Browser, bevor du sie veröffentlichst.
Wofür du es nutzen kannst
- Wiederkehrende Publishing-Aufgaben schneller erledigen.
- Markup, CSS oder Checklisten vor einem Launch vorbereiten.
- Kleine Fehler vermeiden, die bei statischen Websites leicht übersehen werden.