PageSourceSearch

https://bookings.sonjulia.com/bookcore/static/js/gtm/jquery.scroll_progress.min.js

js sonjulia.com collected 2026-09-26 14:32:31 UTC 790 bytes, 1 lines download raw bytes

1(function($){$.fn.scroll_progress=function(delay,percents,callback){var marks={};if(typeof($.debounce)=="undefined"){throw new Error("Este plugin dependen de la fucnion $.debounce")}if(!delay){delay=500}if(!percents){percents=[20,40,60,80,100]}$.each(percents,function(i,p){marks[p]=false});$(this).on("scroll",$.debounce(delay,false,function(){var docHeight=$(document).height();var winHeight=window.innerHeight?window.innerHeight:$window.height();var scrollDistance=$(window).scrollTop()+winHeight;var percent=Math.ceil(100*(scrollDistance/docHeight));var triggerPercent=0;$.each(marks,function(k,v){if(k<percent&&!v){marks[k]=true;triggerPercent=k}else{if(k==100&&percent>=98&&!v){marks[k]=true;triggerPercent=k}}});if(parseInt(triggerPercent)>0){callback(triggerPercent)}}))}})(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.