PageSourceSearch

https://hawkesfarmacademy.org/js/get_onscreen_images.min.js

js hawkesfarmacademy.org collected 2026-09-29 11:30:21 UTC 871 bytes, 1 lines download raw bytes

1function get_onscreen_images(e=null){(null==e?$("[data-onscreenimage]:not(.on-demand-onscreenimage)"):e).each((function(){var e=$(this),n=$(this).data("onscreenimage");e.hasClass("onscreenimage-done")||("IntersectionObserver"in window?(e.get(0).getBoundingClientRect().top<=window.innerHeight+window.innerHeight/4||e.get(0).getBoundingClientRect().bottom>="-"+window.innerHeight/4)&&swap_onscreen_images(e,n):check_onscreen_fallback(e)&&swap_onscreen_images(e,n))}))}function swap_onscreen_images(e,n){e.is("img")?e.attr("src",n).addClass("onscreenimage-done"):e.css("background-image","url("+n+")").addClass("onscreenimage-done")}function check_onscreen_fallback(e){var n=$(window).height()/4,o=e.offset().top-n,i=o+e.outerHeight()+n+n,s=$(window).scrollTop(),t=s+$(window).height();return i>s&&o<t}$(window).on("load resize scroll",(function(){get_onscreen_images()}));

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.