1// Check if the user is on a Mac and update the shortcut key for search accordingly 2document.addEventListener("readystatechange", () => { 3 if (document.readyState === "interactive") { 4 let isMac = navigator.platform.toUpperCase().indexOf("MAC") >= 0; 5 let shortcutKeyElement = document.querySelector("#search-toggle .nav-link"); 6 if (shortcutKeyElement && isMac) { 7 // use the unicode for command key 8 shortcutKeyElement.innerHTML = '⌘ k <i class="fa-solid fa-magnifying-glass"></i>'; 9 } 10 } 11});
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.