Source code

Revision control

Copy as Markdown

Other Tools

self.onmessage = (event) => {
fetch(event.data)
.then(response => response.text())
.then(text => self.postMessage(text));
};