1(() => { 2 'use strict'; 3 4 const config = window.wedoyuEnginePwa; 5 6 if (! config || ! ('serviceWorker' in navigator) || ! window.isSecureContext) { 7 return; 8 } 9 10 window.addEventListener('load', async () => { 11 try { 12 const registration = await navigator.serviceWorker.register(config.url, { 13 scope: config.scope, 14 updateViaCache: 'none', 15 }); 16 17 await registration.update(); 18 } catch (error) { 19 console.warn('WEDOYU Service Worker konnte nicht registriert werden.', error); 20 } 21 }); 22})();
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.