Source code

Revision control

Copy as Markdown

Other Tools

navigator.locks.request("exclusive", () => {
const channel = new BroadcastChannel("strongworker");
channel.postMessage("lock acquired");
});
postMessage("onload");