1changeprogress = function(progress){ 2 progress -= 4 3 $("#argprogress .progress-bar").css("width",`${progress}%`) 4} 5function start_progress(){ 6 var tick = 1 7 $("#argprogress").fadeIn(150) 8 var loadingtime = window.performance.timing["loadEventEnd"] - window.performance.timing["navigationStart"] 9 var nowtime = 0 10 var clock = setInterval(function(){ 11 nowtime += tick 12 if(nowtime > loadingtime){ 13 }else{ 14 nowprogress = Math.round(nowtime / loadingtime * 100) 15 changeprogress(nowprogress) 16 } 17 }, tick); 18 return clock 19} 20 21function stop_progress(clock){ 22 $("#argprogress div").css("transition","all 600ms ease-in-out 0s") 23 clearInterval(clock) 24 changeprogress(104) 25 setTimeout(function() { 26 $("#argprogress").fadeOut(150) 27 setTimeout(function() { 28 changeprogress(-4) 29 $("#argprogress div").css("transition","all 200ms linear 0s") 30 }, 150); 31 }, 500); 32} 33 34addclass = "bg-gradient-primary" 35 36$("body").append("<style>#argprogress{position: fixed;top: 0;width: 100%;left: 0;border: none;z-index: 105;overflow: hidden;height: 5px;display: flex;background-color: #e9ecef;}</style>") 37$("body").append(`<div id="argprogress" style="display:none;"><div class="progress-bar ${addclass}" style="width:0%;border: none;"></div></div>`) 38$("#argprogress div").css("transition","all 200ms linear 0s")
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.