PageSourceSearch

https://www.clamxav.com/js/custom.js

js clamxav.com collected 2026-09-24 17:11:41 UTC 1,144 bytes, 32 lines download raw bytes

1let $docSideMenuCategoryLabelCheck = $('.docs-menu-label-check');
2$docSideMenuCategoryLabelCheck.on('click', e => {
3	let menuWrapID = e.target.id + "-wrap";
4	let labelId = e.target.id + "-label";
5	if(e.target.checked === true) {
6		document.getElementById(menuWrapID).style.display="block";
7		document.getElementById(labelId).style.color="#36A9FF";
8	} else {
9		document.getElementById(menuWrapID).style.display="none";
10		document.getElementById(labelId).style.color="#36464e";
11	}
12})
13let $searchButton = $('.search-btn');
14let $mobileSearchButton = $('.mobile-search-btn');
15let $closeSearchButton = $('.close-btn');
16$searchButton.on('click', e => {
17	document.getElementById("searchWrap").style.display = "block";
18	document.getElementById("searchInput").focus();
19})
20$mobileSearchButton.on('click', e => {
21	document.getElementById("searchWrap").style.display = "block";
22})
23$closeSearchButton.on('click', e => {
24	document.getElementById("searchWrap").style.display = "none";
25})
26window.onload = function(){
27	document.onclick = function(e) {
28		if(e.target.id === 'searchWrap') {
29			document.getElementById("searchWrap").style.display = "none";
30		}
31	}
32}

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.