PageSourceSearch

https://orangecountyanimalservicesfl.net/Portals/_default/Skins/NetPets/scripts/keyboard-focus.js

js orangecountyanimalservicesfl.net collected 2026-09-29 12:09:38 UTC 557 bytes, 20 lines download raw bytes

1(function(body) {
2	var usingKeyboard;
3	var preFocus = function(event) {
4		usingKeyboard = (event.type === 'keydown');
5	};
6	var addFocus = function(event) {
7		if (usingKeyboard )		
8			event.target.classList.add('focus-keyboard');
9	};
10	var removeFocus = function(event) {
11		event.target.classList.remove('focus-keyboard');
12	};
13	var bindEvents = function() {
14		body.addEventListener('keydown', preFocus);
15		body.addEventListener('focusin', addFocus);
16		body.addEventListener('focusout', removeFocus);
17	};
18	bindEvents();
19
20})(document.body);

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.