Source code

Revision control

Copy as Markdown

Other Tools

self.onmessage = (e) => {
fetch(e.data, {mode: 'no-cors'}).then(() => {
self.postMessage('LOADED');
}, () => {
self.postMessage('FAILED');
});
};