1if ('serviceWorker' in navigator) { 2 window.addEventListener('load', () => { 3 navigator.serviceWorker.register('/scripts/swjs.js', { scope: '/' }) 4 .then(reg => console.log('SW registered', reg)) 5 .catch(err => console.log('SW failed', err)); 6 }); 7}
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.