1if ("serviceWorker" in navigator) { 2 window.addEventListener("load", function () { 3 navigator.serviceWorker.register(document.location.origin + "/serviceWorker.js") 4 .then(function (registration) { 5 console.log("Service Worker enregistré avec succès:", registration.scope) 6 }) 7 .catch(function (error) { 8 console.log("Ãchec de l\'enregistrement du Service Worker:", error); 9 }); 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.