PageSourceSearch

https://www.airgradient.com/service-worker.js

js airgradient.com collected 2026-09-24 09:06:29 UTC 466 bytes, 15 lines download raw bytes

1self.addEventListener('install', e => {
2  e.waitUntil(
3    caches.open('ag-map-app').then(cache => {
4      return cache.addAll([
5        '/images/icons/manifest-icon-192x192.png',
6        '/images/icons/manifest-icon-512x512.png'
7      ]);
8    })
9  );
10  self.skipWaiting(); // Immediately activate the service worker after installation
11});
12
13self.addEventListener('activate', e => {
14  clients.claim(); // Claim clients to ensure control over the page immediately
15});

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.