1// Lazy Load Marker JS 2let pvgw_lazy_load_marker; 3 4(function ($) { 5 6 pvgw_lazy_load_marker = { 7 8 /** 9 * Initializes this object. 10 */ 11 init: function () { 12 const divMarker = $('#pvgw-marker'); 13 const imgSrc = divMarker.attr('data-src'); // get image source from data attribute 14 divMarker.replaceWith('<img src="' + imgSrc + '" width="1" height="1" alt="" loading="eager" data-no-lazy="1" style="display:none;" />'); 15 } 16 }; 17 18 // bind to document ready function 19 $(window).on('load', function(){ 20 pvgw_lazy_load_marker.init(); 21 }); 22 23}(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.