PageSourceSearch

https://www.prospektmaschine.de/blog/wp-content/themes/masonic/js/skip-link-focus-fix.js?ver=20130115

js prospektmaschine.de collected 2026-09-25 23:35:19 UTC 760 bytes, 19 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
15                element.focus();
16            }
17        }, false);
18    }
19})();

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.