1document.addEventListener("DOMContentLoaded", function() { 2 3 var infoPopups = document.querySelectorAll('.info-popup'); 4 5 infoPopups.forEach(function(infoPopup) { 6 infoPopup.addEventListener("click", function(event) { 7 var w = event.currentTarget.dataset.width; 8 var h = event.currentTarget.dataset.height; 9 10 var left = (screen.width / 2) - (w / 2); 11 var top = (screen.height / 2) - (h / 2); 12 13 var NWin = window.open(event.currentTarget.href, '', 'scrollbars=1,width=' + w + ',height=' + h + ',top=' + top + ',left=' + left); 14 15 if (window.focus) { 16 NWin.focus(); 17 } 18 19 event.preventDefault(); 20 }); 21 }); 22 23});
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.