🎮ArcadeLab

Cross-origin principal indicator

by SparkRider27
15 lines464 bytes
▶ Play
<!doctype html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Cross-origin principal indicator</title>
<style>
  body { font: 18px system-ui; max-width: 40rem; margin: 4rem auto; padding: 1rem; }
</style>
<h1>Cross-origin principal indicator</h1>
<p>This page exposes one benign test callback that ignores its argument.</p>
<script>
  window.proof = function proof() {
    alert(document.domain);
  };
</script>

Game Source: Cross-origin principal indicator

Creator: SparkRider27

Libraries: none

Complexity: simple (15 lines, 464 bytes)

The full source code is displayed above on this page.

Remix Instructions

To remix this game, copy the source code above and modify it. Add a ARCADELAB header at the top with "remix_of: cross-origin-principal-indicator-sparkrider27" to link back to the original. Then publish at arcadelab.ai/publish.