if ('serviceWorker' in navigator) {
  navigator.serviceWorker.register('/serviceWorker.js',{scope:'./'});
}

@@ -92,17 +92,248 @@
 %7Bscope:'
-.
+/'%7D);%0A  navigator.serviceWorker.register('/serviceWorker.js',%7Bscope:'/index.html'%7D);%0A  navigator.serviceWorker.register('/serviceWorker.js',%7Bscope:'/other.html'%7D);%0A  navigator.serviceWorker.register('/serviceWorker.js',%7Bscope:'/code
 /'%7D);%0A%7D%0A

Update site.js