Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>HTML Test: post window's name to top browsing context</title>
<script>
top.postMessage({
name: window.name,
isTop: (window.top === window)
}, "*");
</script>