1document.addEventListener('lazyReady', (event) => { 2 const scriptTag = document.querySelector('script[src*="/res/js/main.js"]') 3 const fontsUrl = scriptTag?.dataset.fontsUrl 4 5 if(!fontsUrl) { 6 return 7 } 8 9 const time = parseInt(scriptTag.dataset.time, 10) || 100 10 11 const { self } = event.detail 12 13 self.getLatency().then(latency => { 14 if (latency <= 1500) { 15 self.loadScript(fontsUrl, time) 16 } else { 17 console.log('Font loading disabled. Latency: ' + latency) 18 } 19 }) 20})
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.