Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<script>
window.addEventListener('load', () => {
window.parent.postMessage('load');
});
document.addEventListener('freeze', () => {
window.parent.postMessage('freeze');
});
document.addEventListener('resume', () => {
window.parent.postMessage('resume');
});
worker = new Worker("subframe_worker1.js");
</script>