1$(function () { 2 if ($('.datetime span').length != 0) { 3 if (typeof datetimeInterval !== 'undefined' && datetimeInterval != "") { 4 let interval = parseInt(datetimeInterval); 5 setTimeout(refreshTime, Math.max(0, interval) * 1000); 6 } 7 } 8 toggleAlterLinkPanel(false); 9 $(".alternativelink1 .alternativelink-content").on('mouseenter', function () { 10 toggleAlterLinkPanel(true); 11 }).on('mouseleave', function () { 12 toggleAlterLinkPanel(false); 13 }); 14 $(document).on('click', '.gamemenu', function () { 15 let gotoLocation = gameRoute.replace("_category", $(this).children("a").data("ggname").toLowerCase()); 16 window.location.href = gotoLocation; 17 }); 18 $(document).on('mouseenter', '.gamemenu', function () { 19 $(this).find('ul').stop(); 20 $(this).find('ul').removeAttr('style'); 21 $(this).find('ul').slideDown({ duration: 200 }); 22 }).on('mouseleave', '.gamemenu', function () { 23 $(this).find('ul').stop(); 24 $(this).find('ul').removeAttr('style'); 25 $(this).find('ul').hide(); 26 }); 27}); 28function refreshTime() { 29 fetch(`${getDateTime}`, { 30 method: 'GET', 31 headers: { 32 'Content-Type': 'application/json; charset=utf-8' 33 } 34 }) 35 .then(response => response.json()) 36 .then(msg => { 37 if (msg) { 38 $('.datetime span').html(msg.Item1); 39 setTimeout(refreshTime, Math.max(0, msg.Item2) * 1000); 40 } 41 }); 42} 43function toggleAlterLinkPanel(isHover) { 44 let $alterLinkHeader = $('.alternativelink1 .alternativelink-header'); 45 let $alterLinkBody = $('.alternativelink1 .alternativelink-body'); 46 if (isHover) { 47 $alterLinkHeader.stop(true).fadeTo(100, 1); 48 $alterLinkBody.stop(true).fadeIn(100); 49 } else { 50 $alterLinkHeader.stop(true).fadeTo(100, 0.75); 51 $alterLinkBody.stop(true).fadeOut(100); 52 } 53} 54 55
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.