1document.addEventListener('DOMContentLoaded', function() { 2 const icon = document.getElementById('icon'); 3 if(icon) 4 { 5 // Create a tooltip container 6 const tooltipContainer = document.createElement('div'); 7 tooltipContainer.className = 'tooltip-container'; 8 9 // Create the tooltip content 10 const tooltip = document.createElement('div'); 11 tooltip.className = 'tooltip'; 12 tooltip.innerHTML = ''; 13 14 // Append the tooltip to the tooltip container 15 tooltipContainer.appendChild(tooltip); 16 17 // Insert the tooltip container after the icon 18 icon.parentNode.insertBefore(tooltipContainer, icon.nextSibling); 19 20 // Add event listeners to show/hide the tooltip 21 icon.addEventListener('mouseover', () => { 22 tooltipContainer.classList.add('active'); 23 }); 24 25 icon.addEventListener('mouseout', () => { 26 tooltipContainer.classList.remove('active'); 27 }); 28 } 29});
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.