Skip to content

Write HTML. Render video. Built for agents.

430 B
Raw Blame
<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Sandbox origin probe</title>
  </head>
  <body>
    <script>
      let canAccessParent = false;
      try {
        canAccessParent = window.parent.document.body !== null;
      } catch {
        canAccessParent = false;
      }
      window.parent.postMessage({ source: "hf-sandbox-probe", canAccessParent }, "*");
    </script>
  </body>
</html>