1/* 2 3Custom script 4 5This file will not be overwritten by the updater 6 7*/ 8 9// JavaScript code 10function search_animal() { 11 let input = document.getElementById("searchbar").value; 12 input = input.toLowerCase(); 13 let x = document.getElementsByClassName("animals"); 14 15 for (i = 0; i < x.length; i++) { 16 if (!x[i].innerHTML.toLowerCase().includes(input)) { 17 x[i].style.display = "none"; 18 } else { 19 x[i].style.display = "block"; 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.