1document.addEventListener('DOMContentLoaded', function() { 2 function isFocused(element) { 3 return document.activeElement === element; 4 } 5 var checkExist = setInterval(function() { 6 var elements = document.querySelectorAll('.material-grid__show-more'); 7 if (elements.length > 0) 8 elements.forEach(function(element) { 9 var sibling = element.closest('.paragraphs__item').querySelector('.material-grid__title'); 10 if (sibling && sibling.textContent.trim().endsWith('.')) {} else { 11 function disableScrolling() { 12 var x = window.scrollX; 13 var y = window.scrollY; 14 window.onscroll = function() { 15 window.scrollTo(x, y); 16 } 17 ; 18 } 19 function enableScrolling() { 20 window.onscroll = function() {} 21 ; 22 } 23 disableScrolling(); 24 element.click(); 25 setTimeout(function() { 26 enableScrolling(); 27 const listItems = document.querySelectorAll('.material-grid li'); 28 listItems.forEach( (li) => { 29 if (isFocused(li)) 30 li.blur(); 31 } 32 ); 33 }, 50); 34 } 35 }); 36 }, 100); 37 setTimeout(function() { 38 clearInterval(checkExist); 39 var h2Elements = document.querySelectorAll('.material-grid__title'); 40 h2Elements.forEach(function(h2) { 41 if (h2.textContent.trim().endsWith('.')) 42 h2.textContent = h2.textContent.trim().slice(0, -1); 43 }); 44 }, 4000); 45}); 46;
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.