1imgload();���� 2$(window).scroll(function () { setTimeout(function () { imgload(); }, 200); });���� 3//window.onscroll=(function (){setTimeout(function (){imgload();},200); });���� 4function imgload() {���� 5 var offsetPage = window.pageYOffset ? window.pageYOffset : window.document.documentElement.scrollTop;���� 6 var offsetWindow = offsetPage + Number(window.innerHeight ? window.innerHeight : document.documentElement.clientHeight);���� 7 var imgarr = document.images;���� 8 for (var i = 0; i < imgarr.length; i++) {���� 9 if (imgarr[i]) {���� 10 postPage = imgarr[i].getBoundingClientRect().top + window.document.documentElement.scrollTop + window.document.body.scrollTop;���� 11 postWindow = postPage + Number(imgarr[i].height);���� 12���� 13 if (imgarr[i].src != imgarr[i].getAttribute("_src") && ((postPage > offsetPage && postPage < offsetWindow) || (postWindow > offsetPage && postWindow < offsetWindow))) {���� 14���� 15 if (imgarr[i].getAttribute("_src") != null && imgarr[i].getAttribute("_src") != undefined) {���� 16 var _img = new Image();���� 17 _img.src = imgarr[i].getAttribute("_src");���� 18 //imgarr[i].height="200";���� 19 imgarr[i].src = _img.src;���� 20 }���� 21 } else {���� 22 continue;���� 23 }���� 24 }���� 25 }���� 26} 27
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.