PageSourceSearch

https://atomtechsoft.com/jss/jquery.inview.min.js

js atomtechsoft.com collected 2026-10-06 22:31:51 UTC 1,252 bytes, 1 lines download raw bytes

1!function(t){var e,i,n={},o=document,l=window,a=o.documentElement,d=t.expando;t.event.special.inview={add:function(e){n[e.guid+"-"+this[d]]={data:e,$element:t(this)}},remove:function(t){try{delete n[t.guid+"-"+this[d]]}catch(t){}}},t(l).bind("scroll resize",function(){e=i=null}),!a.addEventListener&&a.attachEvent&&a.attachEvent("onfocusin",function(){i=null}),setInterval(function(){var d,h=t(),f=0;if(t.each(n,function(t,e){var i=e.data.selector,n=e.$element;h=h.add(i?n.find(i):n)}),d=h.length){var r;for((r=e)||((g={height:l.innerHeight,width:l.innerWidth}).height||!(r=o.compatMode)&&t.support.boxModel||(r="CSS1Compat"===r?a:o.body,g={height:r.clientHeight,width:r.clientWidth}),r=g),e=r,i=i||{top:l.pageYOffset||a.scrollTop||o.body.scrollTop,left:l.pageXOffset||a.scrollLeft||o.body.scrollLeft};f<d;f++)if(t.contains(a,h[f])){var c=(r=t(h[f])).height(),p=r.width(),s=r.offset(),g=r.data("inview");if(!i||!e)break;s.top+c>i.top&&s.top<i.top+e.height&&s.left+p>i.left&&s.left<i.left+e.width?(p=i.left>s.left?"right":i.left+e.width<s.left+p?"left":"both",c=i.top>s.top?"bottom":i.top+e.height<s.top+c?"top":"both",s=p+"-"+c,(!g||g!==s)&&r.data("inview",s).trigger("inview",[!0,p,c])):g&&r.data("inview",!1).trigger("inview",[!1])}}},250)}(jQuery);

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.