PageSourceSearch

https://ficohra.github.io/hra/scripts/register-sw.js

js ficohra.github.io collected 2026-10-03 09:11:37 UTC 352 bytes, 11 lines download raw bytes

1"use strict";
2window.C3_RegisterSW = async function() {
3    if (navigator.serviceWorker) try {
4        const a = await navigator.serviceWorker.register("sw.js", {
5            scope: "./"
6        });
7        console.info("Registered service worker on " + a.scope)
8    } catch (a) {
9        console.warn("Failed to register service worker: ", a)
10    }
11};

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.