1 2 3 4 5 6
<script> const w = new Worker("./WorkerLocation.js"); w.onmessage = e => { parent.postMessage(e.data, "*"); } </script>