PageSourceSearch

https://yano.ai/service-worker.js

js yano.ai collected 2026-10-05 14:47:44 UTC 481 bytes, 17 lines download raw bytes

1/* global self */
2
3// Minimal service worker.
4// Purpose:
5// - Make the app installable as a PWA on browsers that require an active SW.
6// - Provide a foundation for future Web Push (notifications) work.
7//
8// Intentionally does NOT intercept fetch() yet to avoid caching bugs during rapid iteration.
9
10self.addEventListener("install", (event) => {
11  event.waitUntil(self.skipWaiting())
12})
13
14self.addEventListener("activate", (event) => {
15  event.waitUntil(self.clients.claim())
16})
17

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.