Anchor targets
Links are prewired to attempt navigation. Results log updates on click.
Open _top Open _parent Open _self Open _blank
idle idle idle idle
Self-contained HTML for probing navigation, storage, JS, and permissions behavior inside sandboxed or cross-origin frames.
Run the tests in a normal tab, then in sandboxed iframes to see which capabilities flip between success and blocked.
If a test turns green, a remediation note appears under that section to show how to block it.
Example iframe variants:
<iframe src="iframe-sandbox-test-suite.html"></iframe>
<iframe src="iframe-sandbox-test-suite.html" sandbox></iframe>
<iframe src="iframe-sandbox-test-suite.html" sandbox="allow-scripts allow-forms"></iframe>
<iframe src="iframe-sandbox-test-suite.html" sandbox="allow-scripts allow-same-origin"></iframe>
Common toggles:
If blocked and you expect navigation to work, add allow-top-navigation-by-user-activation (or allow-top-navigation) and allow-scripts for scripted redirects.
Links are prewired to attempt navigation. Results log updates on click.
Open _top Open _parent Open _self Open _blank
idle idle idle idle
idle idle idle
idle idle
If blocked and you expect popups, add allow-popups (and allow-popups-to-escape-sandbox if needed).
idle idle idle
idle idle
If blocked and you expect form submissions, add allow-forms.
Submitting with target _top/_parent/_self may navigate away from this page.
If blocked and you expect storage, add allow-same-origin and keep the frame on the same origin as the host.
idle idle
idle idle
idle
If blocked and you expect scripts, add allow-scripts and relax CSP for inline, data:, or 'unsafe-eval' as needed.
idle
idle
idle idle
idle idle idle
If blocked and you expect top-frame access, keep the frame same-origin and add allow-same-origin. Otherwise use postMessage with origin checks.
idle idle
If blocked and you expect pointer lock, add allow-pointer-lock and ensure a user gesture.
idle idle
If blocked and you expect downloads, add allow-downloads (or allow-downloads-without-user-activation).
idle
If blocked and you expect clipboard access, add allow="clipboard-read; clipboard-write" on the iframe and require a user gesture.
idle idle
If blocked and you expect fullscreen, add allow-fullscreen and require a user gesture.
idle
If blocked and you expect access, add iframe allow permissions (for example: geolocation; microphone; camera) and configure Permissions-Policy.
idle
idle
idle