PageSourceSearch

https://status.net/templates/wp-content/themes/arcdn-stts-wp-theme…/js/skip-link-focus-fix.js?ver=20130115

js status.net collected 2026-09-24 08:39:41 UTC 675 bytes, 18 lines download raw bytes

1( function() {
2  var is_webkit = navigator.userAgent.toLowerCase().indexOf( 'webkit' ) > -1,
3    is_opera  = navigator.userAgent.toLowerCase().indexOf( 'opera' )  > -1,
4    is_ie    = navigator.userAgent.toLowerCase().indexOf( 'msie' )  > -1;
5
6  if ( ( is_webkit || is_opera || is_ie ) && document.getElementById && window.addEventListener ) {
7    window.addEventListener( 'hashchange', function() {
8      var element = document.getElementById( location.hash.substring( 1 ) );
9
10      if ( element ) {
11        if ( ! /^(?:a|select|input|button|textarea)$/i.test( element.tagName ) )
12          element.tabIndex = -1;
13
14        element.focus();
15      }
16    }, false );
17  }
18})();

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.