<!DOCTYPE html>
<html>
<head>
  <script>
    window.top.postMessage(JSON.stringify({
        "type": "child-sameorigin-loaded",
        "isActive": navigator.userActivation.isActive,
        "hasBeenActive": navigator.userActivation.hasBeenActive
    }), "*");

    window.addEventListener("click", event => {
        window.top.postMessage(JSON.stringify({
            "type": "child-sameorigin-report",
            "isActive": navigator.userActivation.isActive,
            "hasBeenActive": navigator.userActiv