| <!DOCTYPE html> |
| <body style="background: lightgrey;"> |
| <script> |
| window.parent.postMessage(JSON.stringify({"type": "child-four-loaded", "isActive": navigator.userActivation.isActive, |
| "hasBeenActive": navigator.userActivation.hasBeenActive}), "*"); |
| |
| window.addEventListener("message", event => { |
| if (event.source === window.parent && event.data == "report") { |
| window.parent.postMessage(JSON.stringify({"type": "child-four-report", "isActive": navigator.userActivation.isActive, |
| "hasBeenActive": navigator.userActivation.hasBeenActive}), "*"); |
| } |
| }); |
| |
| </script> |
| </body> |