PageSourceSearch

https://juniormotox.com/wp-content/themes/x-blog/assets/js/skip-link-focus-fix_ver-1.1.0.js

js juniormotox.com collected 2026-10-10 01:40:33 UTC 1,407 bytes, 42 lines download raw bytes

1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{
2let window = _____WB$wombat$assign$function_____("window");
3let self = _____WB$wombat$assign$function_____("self");
4let document = _____WB$wombat$assign$function_____("document");
5let location = _____WB$wombat$assign$function_____("location");
6let top = _____WB$wombat$assign$function_____("top");
7let parent = _____WB$wombat$assign$function_____("parent");
8let frames = _____WB$wombat$assign$function_____("frames");
9let opens = _____WB$wombat$assign$function_____("opens");
10/**
11 * File skip-link-focus-fix.js.
12 *
13 * Helps with accessibility for keyboard only users.
14 *
15 * Learn more: https://git.io/vWdr2
16 */
17( function() {
18	var isIe = /(trident|msie)/i.test( navigator.userAgent );
19
20	if ( isIe && document.getElementById && window.addEventListener ) {
21		window.addEventListener( 'hashchange', function() {
22			var id = location.hash.substring( 1 ),
23				element;
24
25			if ( ! ( /^[A-z0-9_-]+$/.test( id ) ) ) {
26				return;
27			}
28
29			element = document.getElementById( id );
30
31			if ( element ) {
32				if ( ! ( /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) ) ) {
33					element.tabIndex = -1;
34				}
35
36				element.focus();
37			}
38		}, false );
39	}
40} )();
41
42}

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.