PageSourceSearch

https://www.balloustay.com/apps-shared/js/keyboard/shortcut-dom-order.js?20250917

js balloustay.com collected 2026-10-05 03:15:09 UTC 1,050 bytes, 31 lines download raw bytes

1/*  12/27/17 by AGN
2 * 
3 * -places the main content and main menu skip link shortcuts at the 
4 *  top of the DOM. 
5 * 
6 * -Also removes tabindex=1 to avoid an unlikely but possible issue. 
7 *  It's no longer needed once the links are in correct DOM position.
8 * 
9 * This function is called immediately from header_desktop.jsp using the 
10 * onload attribute of the external <script> tag which gives us access to 
11 * the DOM elements before the document has loaded and even before 
12 * document.readystate="interactive"  (Genius idea by Lev)
13 *  
14 */
15function ada_dom_order_correction() {
16	var shortcut_wrap = document.getElementById("shortcut-wrapper");
17	document.body.insertBefore(shortcut_wrap, document.body.firstChild);
18	ada_keyboard.clearSpecialIndex();
19	
20	setTimeout(function() {
21        ada_keyboard.correctPageTitleId();
22		ada_keyboard.correctMenuShortcut();
23		ada_keyboard.createAdditionalShortcuts();
24		ada_keyboard.addEvents();
25		ada_keyboard.scanZindex();
26		
27		if (ada_keyboard.config.skipLinkToMainNav) {
28			main_menu.init();
29		}
30	}, 1);
31}

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.