1 // Function to extract the query ID from the URL 2 function getQueryIdFromUrl() { 3 const urlParams = new URLSearchParams( window.location.search ); 4 return urlParams.get( 'query-id' ); 5 } 6 7 // Function to scroll to the div element with the query ID 8 function scrollToQueryId( queryId ) { 9 const targetElement = document.getElementById( queryId ); 10 if ( targetElement ) { 11 window.scrollTo( { 12 top: targetElement.offsetTop, 13 behavior: 'smooth' 14 } ); 15 } 16 } 17 18 // Get the query ID from the URL 19 const queryId = getQueryIdFromUrl(); 20 21 // Scroll to the div element with the query ID 22 scrollToQueryId( queryId );
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.