1if (window.top != window.self) { 2 window.top.location = window.self.location; 3} 4 5jQuery(function() { 6 jQuery('.post-title-block').each(function() { 7 const postHeader = jQuery(this); 8 const postDate = postHeader.find('.post-date:first'); 9 10 if (postDate.length) { 11 const postTitle = postHeader.find('.post-title:first'); 12 13 if (postHeader.height() >= (postTitle.height() + postDate.height())) { 14 //éãªã£ã¦ãªã 15 postDate.css('marginTop', '1px'); 16 } else { 17 //éãªã£ã¦ãããèª¿æ´ 18 var position = postDate.position(); 19 var margin = postHeader.height() 20 - (position.top - parseInt(postHeader.css('paddingTop'))) 21 - postDate.height() 22 - parseInt(postDate.css('marginBottom')) 23 - 1; 24 postDate.css('marginTop', margin + 'px'); 25 } 26 } 27 }); 28 29 const openers = document.getElementsByClassName('opener'); 30 31 for (let i = 0; i < openers.length; i++) { 32 openers[i].addEventListener('click', (event) => { 33 const opener = event.currentTarget; 34 const target = jQuery(document.getElementById(opener.dataset.targetId)); 35 const searchBox = document.getElementById('gsc-i-id1'); 36 37 if (opener.dataset.status === 'closed') { 38 target.slideDown(200); 39 searchBox.focus(); 40 searchBox.addEventListener('blur', () => { 41 target.slideUp(200, () => { 42 opener.dataset.status = 'closed'; 43 }); 44 }); 45 opener.dataset.status = 'open'; 46 } 47 }); 48 49 } 50});
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.