1 2 3 4 5
fetch("delivering.sjs?task=header&worker=true") .then(r => r.text()) .then(text => { postMessage("All good!"); });