1 2 3 4
if ('serviceWorker' in navigator) { navigator.serviceWorker.register( 'name-member-service-worker.js'); }