~wuz/wuz.sh

ref: 0d01089078825854271524b11bcd6a39250f0068 wuz.sh/_includes/layouts/footer.njk -rw-r--r-- 459 bytes
0d010890 — Conlin Durbin Add black lives colors changes 1 year, 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<script>
if ('serviceWorker' in navigator) {
  window.addEventListener('load', function() {
    navigator.serviceWorker.register('/sw.js').then(function(registration) {
      // Registration was successful
      console.log('ServiceWorker registration successful with scope: ', registration.scope);
    }, function(err) {
      // registration failed :(
      console.log('ServiceWorker registration failed: ', err);
    });
  });
}
</script>
</body>
</html>