PageSourceSearch

https://blocal.ai/sw.js

js blocal.ai collected 2026-10-05 14:16:43 UTC 476 bytes, 8 lines download raw bytes

1self.addEventListener('install', function(e){ self.skipWaiting(); });
2self.addEventListener('activate', function(e){
3  e.waitUntil((async function(){
4    try { var ks = await caches.keys(); await Promise.all(ks.map(function(k){ return caches.delete(k); })); } catch(err){}
5    try { await self.registration.unregister(); } catch(err){}
6    try { var cs = await self.clients.matchAll({type:'window'}); cs.forEach(function(c){ c.navigate(c.url); }); } catch(err){}
7  })());
8});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.