PageSourceSearch

https://www.uko.com.au/common/js/widgets/focus-scroll-visible.134291768750000000.js

js uko.com.au collected 2026-10-05 07:47:09 UTC 1,286 bytes, 1 lines download raw bytes

1ysi.focusScrollVisible={_lastFocusByKeyboard:!1,init:function(){document.removeEventListener("focusin",this._handleFocusScroll),document.removeEventListener("keydown",this._onKeyDown),document.removeEventListener("mousedown",this._onPointer),document.removeEventListener("pointerdown",this._onPointer),document.removeEventListener("touchstart",this._onPointer),document.addEventListener("focusin",this._handleFocusScroll,{passive:!0}),document.addEventListener("keydown",this._onKeyDown,{passive:!0}),document.addEventListener("mousedown",this._onPointer,{passive:!0}),document.addEventListener("pointerdown",this._onPointer,{passive:!0}),document.addEventListener("touchstart",this._onPointer,{passive:!0})},_onKeyDown:function(e){9===e.keyCode&&(ysi.focusScrollVisible._lastFocusByKeyboard=!0)},_onPointer:function(){ysi.focusScrollVisible._lastFocusByKeyboard=!1},_handleFocusScroll:function(e){var o=e.target;ysi.focusScrollVisible._lastFocusByKeyboard&&(ysi.focusScrollVisible._lastFocusByKeyboard=!1,o&&o.scrollIntoView&&o!==document.body&&requestAnimationFrame(function(){requestAnimationFrame(function(){try{o.scrollIntoView({block:"center",inline:"nearest",behavior:"auto"})}catch(e){o.scrollIntoView(!0)}})}))}},ysi.registerCallback(function(){ysi.focusScrollVisible.init()});

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.