PageSourceSearch

https://app.backstagebaton.com/app/sw.js

js backstagebaton.com collected 2026-10-07 08:52:30 UTC 632 bytes, 18 lines download raw bytes

1// Minimal service worker — exists so Android Chrome treats Backstage Baton
2// as an installable PWA and fires the `beforeinstallprompt` event. We do
3// not cache or transform requests; the fetch handler is a pass-through so
4// the network behavior is identical to having no SW at all.
5//
6// If we want offline support later, add a cache strategy here.
7
8self.addEventListener('install', () => {
9  self.skipWaiting()
10})
11
12self.addEventListener('activate', (event) => {
13  event.waitUntil(self.clients.claim())
14})
15
16self.addEventListener('fetch', () => {
17  // Pass-through — required by Chrome's install criteria, but no caching.
18})

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.