1(function () { 2 const links = document.querySelectorAll('.copy-the-code-shortcode'); 3 4 const copyToClipboard = str => { 5 navigator.clipboard.writeText(str); 6 } 7 8 const clickInteraction = (e) => { 9 e.preventDefault(); 10 copyToClipboard(e.target.dataset.content || e.target.text); 11 e.target.text = e.target.dataset.buttonCopyText; 12 setTimeout(() => e.target.text = e.target.dataset.buttonText, 1000); 13 } 14 15 Array.from(links).forEach(link => { 16 link.addEventListener('click', e => clickInteraction(e)); 17 link.addEventListener('keypress', e => { 18 if (e.keyCode === 13) clickInteraction(e); 19 }); 20 }); 21 22})();
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.