1//ç»é¢åæå¦ç 2$(function(){ 3 4 classclose(); 5 6 7 function classclose() { 8 9 var limit = new Date(); 10 11 //1å¹´å¾ 12 limit.setFullYear(limit.getFullYear() + 1); 13 14 limit = sampleDate(limit, 'YYYY/MM/DD'); 15 16 limit = new Date(limit) 17 18 var CLASS = document.getElementsByClassName("release date"); 19 20 for(i=0;i<CLASS.length;i++) { 21 22 var releaceday = new Date(CLASS[i].innerText.replace("çºå£²æ¥ï¼","").replace("å¹´","/").replace("æ","/").replace("æ¥","/").replace("䏿¬","01").replace("䏿¬","01").replace("䏿¬","01")); 23 24 if (limit < releaceday) { 25 CLASS[i].style.display = "none"; 26 } else { 27 CLASS[i].style.display="inline-block"; 28 } 29 } 30 31 } 32 33 function sampleDate(date, format) { 34 35 format = format.replace(/YYYY/, date.getFullYear()); 36 format = format.replace(/MM/, date.getMonth() + 1); 37 format = format.replace(/DD/, date.getDate()); 38 39 return format; 40 } 41 42});
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.